summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-09-28 10:43:00 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-10-04 09:37:16 -0400
commit2ef318db8bd846f1bc30d80300768c26b61f8980 (patch)
treed628127ad3823f9ceeba7792a77236d58a371824
parented14a32590dcaa23f9dbe9cd7df1e0c08a689787 (diff)
do not show wireless gadget popups if desklock is active
this gadget may be allowed on lockscreen, but configuration should be disabled
-rw-r--r--src/modules/wireless/wireless.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/wireless/wireless.c b/src/modules/wireless/wireless.c
index ffb99a478..2189363c8 100644
--- a/src/modules/wireless/wireless.c
+++ b/src/modules/wireless/wireless.c
@@ -896,6 +896,7 @@ _wireless_gadget_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, v
896 }; 896 };
897 897
898 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return; 898 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
899 if (e_desklock_state_get()) return;
899 if (auth_popup) return; 900 if (auth_popup) return;
900 for (type = 0; type < WIRELESS_SERVICE_TYPE_LAST; type++) 901 for (type = 0; type < WIRELESS_SERVICE_TYPE_LAST; type++)
901 if (obj == inst->icon[type]) 902 if (obj == inst->icon[type])