summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-02-17 07:21:30 (GMT)
committerSaul Wold <sgw@linux.intel.com>2011-02-18 01:25:21 (GMT)
commitc35d91062f557d46625eb471cf1edf2c4d95b1b8 (patch)
tree38615dc7d1745a1802310c0be1d92c3bd5c2ce3b /meta/recipes-connectivity/connman
parent6f286cccbee282d4e26bbdb820cfb74e434cc900 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-connectivity/connman/connman-gnome/applet_menu_popup_fix.patch19
-rw-r--r--meta/recipes-connectivity/connman/connman-gnome_0.5.bb5
2 files changed, 22 insertions, 2 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 0000000..d34257b
--- /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");
diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.5.bb b/meta/recipes-connectivity/connman/connman-gnome_0.5.bb
index 3b7d1b8..dc5527b 100644
--- a/meta/recipes-connectivity/connman/connman-gnome_0.5.bb
+++ b/meta/recipes-connectivity/connman/connman-gnome_0.5.bb
@@ -6,14 +6,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
6 file://properties/main.c;beginline=1;endline=20;md5=50c77c81871308b033ab7a1504626afb \ 6 file://properties/main.c;beginline=1;endline=20;md5=50c77c81871308b033ab7a1504626afb \
7 file://common/connman-dbus.c;beginline=1;endline=20;md5=de6b485c0e717a0236402d220187717a" 7 file://common/connman-dbus.c;beginline=1;endline=20;md5=de6b485c0e717a0236402d220187717a"
8DEPENDS = "gtk+ dbus" 8DEPENDS = "gtk+ dbus"
9PR = "r3" 9PR = "r4"
10 10
11RRECOMMENDS_${PN} = "python python-dbus connman connman-plugin-ethernet connman-plugin-loopback connman-plugin-udhcp connman-plugin-wifi connman-plugin-fake connman-plugin-bluetooth connman-plugin-dnsproxy" 11RRECOMMENDS_${PN} = "python python-dbus connman connman-plugin-ethernet connman-plugin-loopback connman-plugin-udhcp connman-plugin-wifi connman-plugin-fake connman-plugin-bluetooth connman-plugin-dnsproxy"
12 12
13SRC_URI = "http://www.kernel.org/pub/linux/network/connman/connman-gnome-${PV}.tar.gz \ 13SRC_URI = "http://www.kernel.org/pub/linux/network/connman/connman-gnome-${PV}.tar.gz \
14 file://connman-gnome.patch \ 14 file://connman-gnome.patch \
15 file://remove-connman-property-desktop-file.patch \ 15 file://remove-connman-property-desktop-file.patch \
16 file://service_name_update.patch" 16 file://service_name_update.patch \
17 file://applet_menu_popup_fix.patch"
17 18
18SRC_URI[md5sum] = "0e1c4c25d19cad9b08a216848a320716" 19SRC_URI[md5sum] = "0e1c4c25d19cad9b08a216848a320716"
19SRC_URI[sha256sum] = "4d5fe481b444fc3e64fd9caa149dbcd76de166a25733f18fd93da01d2abf5d1c" 20SRC_URI[sha256sum] = "4d5fe481b444fc3e64fd9caa149dbcd76de166a25733f18fd93da01d2abf5d1c"