[nautilus] NautilusApplication: change startup() order



commit ccb388100c9b10bf66edd3af69944968c37be2e3
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Feb 20 14:30:59 2013 +0000

    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).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694271

 src/nautilus-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index a22a9c6..972a50b 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -1570,11 +1570,11 @@ nautilus_application_startup (GApplication *app)
         * if there are problems.
         */
        check_required_directories (self);
-       init_desktop (self);
 
        do_upgrades_once (self);
 
        nautilus_application_init_actions (self);
+       init_desktop (self);
 
        nautilus_profile_end (NULL);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]