~ubuntu-branches/ubuntu/natty/indicator-sound/natty

« back to all changes in this revision

Viewing changes to src/sound-service-dbus.c

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-03-23 12:03:02 UTC
  • mfrom: (67.1.23 indicator-sound-ubuntu)
  • Revision ID: james.westby@ubuntu.com-20110323120302-7dv2px8v6pa72a69
Tags: 0.6.5-0ubuntu1
* New upstream release.
  - Media player should be automatically started up when play button is 
    pressed (LP: #714750)
  - volume goes to zero when using some players like banshee or 
    rhythmbox (LP: #730925)
  - handle banshee id change (LP: #737447)
  - filter out video playlists (LP: #739273)

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
{
149
149
  SoundServiceDbusPrivate * priv = SOUND_SERVICE_DBUS_GET_PRIVATE(self);
150
150
  priv->root_menuitem = dbusmenu_menuitem_new();
151
 
  g_debug("Root ID: %d", dbusmenu_menuitem_get_id(priv->root_menuitem));
 
151
  //g_debug("Root ID: %d", dbusmenu_menuitem_get_id(priv->root_menuitem));
152
152
  DbusmenuServer *server = dbusmenu_server_new (INDICATOR_SOUND_MENU_DBUS_OBJECT_PATH);
153
 
  const gchar* paths[] = {"/usr/share/banshee-1/icons", NULL};
154
 
  dbusmenu_server_set_icon_paths (server,
155
 
                                  paths);
156
153
  dbusmenu_server_set_root (server, priv->root_menuitem);
157
154
  g_object_unref (priv->root_menuitem);
158
155
  priv->device = device_new (self);