[network-manager-applet] applet: Keep network selection at top of indicator menu



commit e12c09a13ab410c68d46d8d0c7cd290bbcb8da9b
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Fri May 20 14:31:26 2016 +0800

    applet: Keep network selection at top of indicator menu
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783937

 src/applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index 4ac7fab..1cb0ec6 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -2023,9 +2023,9 @@ applet_update_menu (gpointer user_data)
 
        /* Update the menu */
        if (INDICATOR_ENABLED (applet)) {
-               nma_context_menu_populate (applet, menu);
                nma_menu_show_cb (GTK_WIDGET (menu), applet);
                nma_menu_add_separator_item (GTK_WIDGET (menu));
+               nma_context_menu_populate (applet, menu);
                nma_context_menu_update (applet);
        } else
                nma_menu_show_cb (GTK_WIDGET (menu), applet);


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