diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-12-01 16:08:27 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-12-01 16:08:27 +0000 |
commit | b5974163f01f207200064f56ab4818257411834e (patch) | |
tree | 98013195e0cef58805ed6b9c55b50515c02faa60 /src | |
parent | 6a6c5f10d6424e6078966fe2f924c145d4ff59ee (diff) | |
parent | 15b78696682283776aac8cb93a6477fec3ef330c (diff) | |
download | ayatana-indicator-sound-b5974163f01f207200064f56ab4818257411834e.tar.gz ayatana-indicator-sound-b5974163f01f207200064f56ab4818257411834e.tar.bz2 ayatana-indicator-sound-b5974163f01f207200064f56ab4818257411834e.zip |
don't show notifications on scroll
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-sound.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indicator-sound.c b/src/indicator-sound.c index 80d9ce0..f45d926 100644 --- a/src/indicator-sound.c +++ b/src/indicator-sound.c @@ -727,7 +727,8 @@ indicator_sound_scroll (IndicatorObject * io, IndicatorObjectEntry * entry, //g_debug("indicator-sound-scroll - update slider with value %f", value); volume_widget_update(VOLUME_WIDGET(priv->volume_widget), value, "scroll updates"); - sound_state_manager_show_notification (priv->state_manager, value); + if (!gtk_widget_get_mapped(GTK_WIDGET (entry->menu))) + sound_state_manager_show_notification (priv->state_manager, value); } static void |