> @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'))
> @Dmitry: Yes, but it's still an issue that needs to be solved for Unity as well. menu_proxy_ insert( proxy, GTK_WIDGET(window), NAUTILUS_ WINDOW( window) ->details- >menubar, 0);
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_
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'))