summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch
blob: d34257ba0fe0414a6bb20d63f682448b20eb895c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 <dongxiao.xu@intel.com>

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");