[network-manager-applet] Add missing gtk_widget_show calls for menu items
- From: Beniamino Galvani <bgalvani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] Add missing gtk_widget_show calls for menu items
- Date: Wed, 13 Sep 2017 08:07:48 +0000 (UTC)
commit 4b2f46c3a7e17a271e9b8ce36ee932dc7d6285f9
Author: Viktor Odintsev <zakhams gmail com>
Date: Thu Aug 31 04:54:06 2017 +0300
Add missing gtk_widget_show calls for menu items
https://bugzilla.gnome.org/show_bug.cgi?id=787462
src/applet-device-broadband.c | 2 ++
src/applet-device-wifi.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/applet-device-broadband.c b/src/applet-device-broadband.c
index 4929d34..2afdbf1 100644
--- a/src/applet-device-broadband.c
+++ b/src/applet-device-broadband.c
@@ -707,6 +707,7 @@ add_connection_item (NMDevice *device,
(GClosureNotify) menu_item_info_destroy, 0);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
+ gtk_widget_show (item);
}
static void
@@ -782,6 +783,7 @@ add_menu_item (NMDevice *device,
applet);
gtk_widget_set_sensitive (GTK_WIDGET (item), FALSE);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
+ gtk_widget_show (item);
}
/* Add the default / inactive connection items */
diff --git a/src/applet-device-wifi.c b/src/applet-device-wifi.c
index 98fe6a2..d0ea6a1 100644
--- a/src/applet-device-wifi.c
+++ b/src/applet-device-wifi.c
@@ -655,6 +655,7 @@ create_new_ap_item (NMDeviceWifi *device,
(GClosureNotify) wifi_menu_item_info_destroy, 0);
gtk_menu_shell_append (GTK_MENU_SHELL (submenu), GTK_WIDGET (subitem));
+ gtk_widget_show (subitem);
}
gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), submenu);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]