~oem-solutions-group/unity-2d/indicator-sound

« back to all changes in this revision

Viewing changes to src/dbus-menu-manager.c

  • Committer: Ken VanDine
  • Date: 2010-09-14 19:13:49 UTC
  • mfrom: (28.2.108 indicator-sound)
  • mto: This revision was merged to the branch mainline in revision 71.
  • Revision ID: ken.vandine@canonical.com-20100914191349-pp888e13xbemy0kc
Tags: upstream-0.4.5
ImportĀ upstreamĀ versionĀ 0.4.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
 
51
51
static void set_global_mute_from_ui();
52
52
static gboolean idle_routine (gpointer data);
53
 
static void rebuild_sound_menu(DbusmenuMenuitem *root, SoundServiceDbus *service);
 
53
static void rebuild_sound_menu(DbusmenuMenuitem *root,
 
54
                               SoundServiceDbus *service);
54
55
static void refresh_menu();
55
56
 
 
57
 
56
58
/*-------------------------------------------------------------------------*/
57
59
//                          Public Methods
58
60
/*-------------------------------------------------------------------------*/
75
77
  return root_menuitem;
76
78
}
77
79
 
78
 
 
79
80
void dbus_menu_manager_update_volume(gdouble  volume)
80
81
{
81
82
  GValue value = {0};
213
214
  // Sound preferences dialog
214
215
  DbusmenuMenuitem *settings_mi = dbusmenu_menuitem_new();
215
216
  dbusmenu_menuitem_property_set(settings_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Sound Preferences..."));
216
 
//_("Sound Preferences..."));
 
217
  //_("Sound Preferences..."));
217
218
  dbusmenu_menuitem_child_append(root, settings_mi);
218
219
  g_signal_connect(G_OBJECT(settings_mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED,
219
220
                   G_CALLBACK(show_sound_settings_dialog), NULL);