[network-manager-applet/tweak_menu_order] Display the wifi related items next to the APs
- From: Sebastien Bacher <sbacher src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/tweak_menu_order] Display the wifi related items next to the APs
- Date: Wed, 22 May 2019 15:34:43 +0000 (UTC)
commit e55e73d689590b36c46112b4b565f0b45dbb6472
Author: Sebastien Bacher <seb128 ubuntu com>
Date: Wed May 22 17:32:29 2019 +0200
Display the wifi related items next to the APs
It seems more logical than having the VPN section in between
src/applet.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index 1c489b6d..7862b6b3 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -1458,8 +1458,6 @@ nma_menu_add_vpn_submenu (GtkWidget *menu, NMApplet *applet)
GPtrArray *list;
int i;
- nma_menu_add_separator_item (menu);
-
vpn_menu = GTK_MENU (gtk_menu_new ());
item = GTK_MENU_ITEM (gtk_menu_item_new_with_mnemonic (_("_VPN Connections")));
@@ -1625,14 +1623,14 @@ static void nma_menu_show_cb (GtkWidget *menu, NMApplet *applet)
}
nma_menu_add_devices (menu, applet);
- nma_menu_add_vpn_submenu (menu, applet);
if (has_usable_wifi (applet)) {
/* Add the "Hidden Wi-Fi network..." entry */
- nma_menu_add_separator_item (menu);
nma_menu_add_hidden_network_item (menu, applet);
nma_menu_add_create_network_item (menu, applet);
+ nma_menu_add_separator_item (menu);
}
+ nma_menu_add_vpn_submenu (menu, applet);
if (!INDICATOR_ENABLED (applet))
gtk_widget_show_all (menu);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]