summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author“vijay.tiwari” <vijay.tiwari@samsung.com>2016-10-24 20:42:05 +0530
committer“vijay.tiwari” <vijay.tiwari@samsung.com>2016-10-24 20:43:59 +0530
commit511f77e6fb8a2e49458edadd46553f4d637a0545 (patch)
tree487b4356b876effe17ba2146dcb28be014860caa
parent6676427943afa77e183224533cdae6cb2eac36fc (diff)
downloadindicator-win-511f77e6fb8a2e49458edadd46553f4d637a0545.tar.gz
indicator-win-511f77e6fb8a2e49458edadd46553f4d637a0545.tar.bz2
indicator-win-511f77e6fb8a2e49458edadd46553f4d637a0545.zip
[W-Indicator-win]TSAM-9239 Fix for Both 'Sound/Brightness' and 'Do not disturb' popup display when short press on iconssubmit/tizen/20161024.155102accepted/tizen/wearable/20161028.150653
Change-Id: Id3ecae93cc0fb7b889bfadca5fa2e54504abb797
-rwxr-xr-xsrc/windicator_brightness.c2
-rwxr-xr-xsrc/windicator_volume.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/windicator_brightness.c b/src/windicator_brightness.c
index d7a4af4..30fc912 100755
--- a/src/windicator_brightness.c
+++ b/src/windicator_brightness.c
@@ -32,7 +32,7 @@ void on_clicked_small_brightness_icon(void *data, Evas_Object *obj, const char *
_D("on_clicked_small_brightness_icon");
struct appdata *ad = (struct appdata *)data;
ret_if(ad == NULL);
-
+ ret_if(ad->popup != NULL);
//launch setting
ad->launch_setting_trigger = 1;
windicator_util_launch_app(ad);
diff --git a/src/windicator_volume.c b/src/windicator_volume.c
index b791137..40ac155 100755
--- a/src/windicator_volume.c
+++ b/src/windicator_volume.c
@@ -49,6 +49,7 @@ void on_clicked_small_volume_icon(void *data, Evas_Object *obj, const char *emis
_D("on_clicked_small_volume_icon");
struct appdata *ad = (struct appdata *)data;
ret_if(ad == NULL);
+ ret_if(ad->popup != NULL);
/* Launch setting */
ad->launch_setting_trigger = 3;