diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-03-22 19:53:19 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-03-22 19:53:19 +0000 |
commit | 0a7074927f2f600b6e7eb98459b97b73de0baa8d (patch) | |
tree | 17fdc92413bd0a354f0d36c0284df7aa0d6a45f4 /src/voip-input-menu-item.c | |
parent | 851b1bb2b1acaa5440f66d69948a066779ddf862 (diff) | |
download | ayatana-indicator-sound-0a7074927f2f600b6e7eb98459b97b73de0baa8d.tar.gz ayatana-indicator-sound-0a7074927f2f600b6e7eb98459b97b73de0baa8d.tar.bz2 ayatana-indicator-sound-0a7074927f2f600b6e7eb98459b97b73de0baa8d.zip |
protected now against any type ot irregular spam dbusmenu may throw at it
Diffstat (limited to 'src/voip-input-menu-item.c')
-rw-r--r-- | src/voip-input-menu-item.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/voip-input-menu-item.c b/src/voip-input-menu-item.c index a92f91c..5507caf 100644 --- a/src/voip-input-menu-item.c +++ b/src/voip-input-menu-item.c @@ -73,7 +73,9 @@ voip_input_menu_item_class_init (VoipInputMenuItemClass *klass) static void voip_input_menu_item_init (VoipInputMenuItem *self) { +/* g_debug("Building new Slider Menu Item"); +*/ dbusmenu_menuitem_property_set( DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_VOIP_INPUT_MENUITEM_TYPE ); @@ -117,7 +119,9 @@ handle_event (DbusmenuMenuitem * mi, if (value != NULL){ if (IS_VOIP_INPUT_MENU_ITEM (mi)) { VoipInputMenuItemPrivate* priv = VOIP_INPUT_MENU_ITEM_GET_PRIVATE (VOIP_INPUT_MENU_ITEM (mi)); +/* g_debug ("Handle event in the voip input level backend instance - %f", percent); +*/ pa_cvolume new_volume; pa_cvolume_init(&new_volume); new_volume.channels = 1; @@ -167,7 +171,9 @@ voip_input_menu_item_update (VoipInputMenuItem* item, // Only send over the mute updates if the state has changed. // in this order - volume first mute last!! if (priv->mute != source->mute){ +/* g_debug ("voip menu item - update - mute = %i", priv->mute); +*/ GVariant* new_mute_update = g_variant_new_int32 (source->mute); dbusmenu_menuitem_property_set_variant (DBUSMENU_MENUITEM(item), DBUSMENU_VOIP_INPUT_MENUITEM_MUTE, |