diff -u indicator-sound-0.6.6.1/debian/changelog indicator-sound-0.6.6.1/debian/changelog --- indicator-sound-0.6.6.1/debian/changelog +++ indicator-sound-0.6.6.1/debian/changelog @@ -1,3 +1,9 @@ +indicator-sound (0.6.6.1-0ubuntu4) natty; urgency=low + + * Player control for rhythmbox in sound-indicator + + -- Khurshid Alam (Technologist) Sat, 22 Sep 2012 12:15:07 +0530 + indicator-sound (0.6.6.1-0ubuntu3) natty; urgency=low * debian/patches/lp_750823.patch only in patch2: unchanged: --- indicator-sound-0.6.6.1.orig/src/player-controller.c +++ indicator-sound-0.6.6.1/src/player-controller.c @@ -533,7 +533,7 @@ _tmp4_ = gee_abstract_list_get ((GeeAbstractList*) self->custom_items, (gint) PLAYER_CONTROLLER_WIDGET_ORDER_TRANSPORT); _tmp5_ = (PlayerItem*) _tmp4_; _tmp6_ = g_app_info_get_id (self->priv->_app_info); - dbusmenu_menuitem_property_set_bool ((DbusmenuMenuitem*) _tmp5_, DBUSMENU_MENUITEM_PROP_VISIBLE, g_strcmp0 (_tmp6_, "banshee.desktop") == 0); + dbusmenu_menuitem_property_set_bool ((DbusmenuMenuitem*) _tmp5_, DBUSMENU_MENUITEM_PROP_VISIBLE, g_strcmp0 (_tmp6_, "rhythmbox.desktop") == 0); _g_object_unref0 (_tmp5_); _g_object_unref0 (playlists_menuitem); return; @@ -550,7 +550,7 @@ _g_object_unref0 (_tmp10_); _g_object_unref0 (_tmp8_); _tmp14_ = g_app_info_get_id (self->priv->_app_info); - if (g_strcmp0 (_tmp14_, "banshee.desktop") == 0) { + if (g_strcmp0 (_tmp14_, "rhythmbox.desktop") == 0) { gpointer _tmp15_ = NULL; PlayerItem* _tmp16_; TransportMenuitem* transport; only in patch2: unchanged: --- indicator-sound-0.6.6.1.orig/src/player-controller.vala +++ indicator-sound-0.6.6.1/src/player-controller.vala @@ -150,12 +150,12 @@ playlists_menuitem.root_item.property_set_bool (MENUITEM_PROP_VISIBLE, false ); this.custom_items[widget_order.TRANSPORT].property_set_bool (MENUITEM_PROP_VISIBLE, - this.app_info.get_id() == "banshee.desktop"); + this.app_info.get_id() == "rhythmbox.desktop"); return; } this.custom_items[widget_order.METADATA].property_set_bool (MENUITEM_PROP_VISIBLE, this.custom_items[widget_order.METADATA].populated(MetadataMenuitem.attributes_format())); - if (this.app_info.get_id() == "banshee.desktop"){ + if (this.app_info.get_id() == "rhythmbox.desktop"){ TransportMenuitem transport = this.custom_items[widget_order.TRANSPORT] as TransportMenuitem; transport.handle_cached_action(); }