diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-02-17 15:21:30 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-02-17 17:25:21 -0800 |
commit | c35d91062f557d46625eb471cf1edf2c4d95b1b8 (patch) | |
tree | 38615dc7d1745a1802310c0be1d92c3bd5c2ce3b /meta/recipes-connectivity/connman/connman-gnome | |
parent | 6f286cccbee282d4e26bbdb820cfb74e434cc900 (diff) | |
download | poky-c35d91062f557d46625eb471cf1edf2c4d95b1b8.tar.gz |
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 <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/connman/connman-gnome')
-rw-r--r-- | meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch | 19 |
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 @@ | |||
1 | Even if all services are not available, we still need to let user have | ||
2 | the ability to configure network, for example, online/offline, etc. | ||
3 | Therefore enable the callback menu even when status is unavailable. | ||
4 | |||
5 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
6 | |||
7 | diff --git a/applet/status.c b/applet/status.c | ||
8 | index 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"); | ||