GNOME Bugzilla – Bug 722234
Use unity-control-center if running under Unity
Last modified: 2014-01-17 20:29:05 UTC
Created attachment 266320 [details] [review] Use unity-control-center if in Unity In Ubuntu 14.04 the system settings will be managed by unity-control-center instead of gnome-control-center [1]. This is done so the Ubuntu GNOME team can use newer versions of gnome-control-center without conflicting with Unity. The attached patch allows nautilus to use the unity-control-center when running under Unity, please consider it for inclusion. Thanks! [1] https://lists.ubuntu.com/archives/ubuntu-desktop/2013-December/004360.html
Created attachment 266322 [details] [review] Use unity-control-center if in Unity Had an uninitialized variable
Review of attachment 266322 [details] [review]: ::: src/nautilus-desktop-canvas-view.c @@ +532,3 @@ g_assert (NAUTILUS_VIEW (data)); + path = g_find_program_in_path ("unity-control-center"); Can you refactor these checks in a separate function, and also use it below? Something like get_control_center_command() that returns NULL if it also doesn't find gnome-control-center in path (you can just return early here if you hit that case, as the action will be hidden anyway).
Created attachment 266575 [details] [review] Use unity-control-center if in Unity
Attachment 266575 [details] pushed as 7e6e4c9 - Use unity-control-center if in Unity Thanks, I pushed a slightly modified version of this patch to git master.