GNOME Bugzilla – Bug 694271
order of nautilus_application_startup() is wrong
Last modified: 2013-02-20 16:16:20 UTC
It does init_desktop() before setting up the menus. The result is that you get slightly weird behaviour. If the desktop is set to be drawn on startup then the desktop window is created before the menu is set and then the GTK_APP_MENU_OBJECT_PATH property is not set. If you create a normal nautilus window first and then go into the tweak-tool and enable the desktop then the desktop window ends up with the property set. Correct fix is to move init_desktop() to under nautilus_application_init_actions(). I'm not even sure why Gtk is letting this happen without complaining...
Created attachment 236933 [details] [review] NautilusApplication: change startup() order Move init_desktop() under nautilus_application_init_actions() so that we have the appmenu setup by the time we create the desktop window (so that the property is set properly).
Review of attachment 236933 [details] [review]: Looks good, thanks.
Attachment 236933 [details] pushed as ccb3881 - NautilusApplication: change startup() order