Comment 30 for bug 826771

Revision history for this message
Matthieu Baerts (matttbe) wrote :

> @Dmitry: Yes, but it's still an issue that needs to be solved for Unity as well.
If this line has been added on the code, I guess it's not a bug if we use an Unity session but it's maybe an error:
     ubuntu_menu_proxy_insert(proxy, GTK_WIDGET(window), NAUTILUS_WINDOW(window)->details->menubar, 0);

But I think we don't have to restrict to an Ubuntu session. Or maybe we can detect if "unity-panel-service" is launched? I think it's easier to use g_spawn_command_line_sync in order to launch this command:
   $ pgrep unity-panel-service
 (if (standard_output != NULL && *standard_output != '\0' && *standard_output != '\n'))