From c35d91062f557d46625eb471cf1edf2c4d95b1b8 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Thu, 17 Feb 2011 15:21:30 +0800 Subject: connman-gnome: Enable config menu popup even services are not available User may still want to configure networks even if current services are not available, for example, set online/offline mode, etc. Enable the popup menu even if the status is unavailable. This fixes [BUGID #472] Signed-off-by: Dongxiao Xu --- .../connman/connman-gnome/applet_menu_popup_fix.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch (limited to 'meta/recipes-connectivity/connman/connman-gnome') 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 @@ +Even if all services are not available, we still need to let user have +the ability to configure network, for example, online/offline, etc. +Therefore enable the callback menu even when status is unavailable. + +Signed-off-by: Dongxiao Xu + +diff --git a/applet/status.c b/applet/status.c +index 13ec752..d817f22 100644 +--- a/applet/status.c ++++ b/applet/status.c +@@ -231,8 +231,6 @@ void status_unavailable(void) + { + icon_animation_stop(animation); + +- available = FALSE; +- + gtk_status_icon_set_from_pixbuf(statusicon, pixbuf_notifier); + gtk_status_icon_set_tooltip(statusicon, + "Connection Manager daemon is not running"); -- cgit v1.2.3-54-g00ecf