summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch')
-rw-r--r--meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch b/meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch
new file mode 100644
index 0000000000..d34257ba0f
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch
@@ -0,0 +1,19 @@
1Even if all services are not available, we still need to let user have
2the ability to configure network, for example, online/offline, etc.
3Therefore enable the callback menu even when status is unavailable.
4
5Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
6
7diff --git a/applet/status.c b/applet/status.c
8index 13ec752..d817f22 100644
9--- a/applet/status.c
10+++ b/applet/status.c
11@@ -231,8 +231,6 @@ void status_unavailable(void)
12 {
13 icon_animation_stop(animation);
14
15- available = FALSE;
16-
17 gtk_status_icon_set_from_pixbuf(statusicon, pixbuf_notifier);
18 gtk_status_icon_set_tooltip(statusicon,
19 "Connection Manager daemon is not running");