aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-menu-manager.c
diff options
context:
space:
mode:
authorDavid Barth <david.barth@canonical.com>2010-03-15 14:29:31 +0100
committerDavid Barth <david.barth@canonical.com>2010-03-15 14:29:31 +0100
commita328ac78b812c6ff782aac701975ceded0ea2f4f (patch)
treea72f66303e0a2404f82a2e71ff20bd3cd14e732b /src/dbus-menu-manager.c
parent1e4f7e51d59456dac5c8d3e0a99b843b27c4cd63 (diff)
downloadayatana-indicator-sound-a328ac78b812c6ff782aac701975ceded0ea2f4f.tar.gz
ayatana-indicator-sound-a328ac78b812c6ff782aac701975ceded0ea2f4f.tar.bz2
ayatana-indicator-sound-a328ac78b812c6ff782aac701975ceded0ea2f4f.zip
applying i18n fix from Luca Ferretti
Diffstat (limited to 'src/dbus-menu-manager.c')
-rw-r--r--src/dbus-menu-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dbus-menu-manager.c b/src/dbus-menu-manager.c
index 38ed727..1628a59 100644
--- a/src/dbus-menu-manager.c
+++ b/src/dbus-menu-manager.c
@@ -117,7 +117,7 @@ void dbus_menu_manager_update_mute_ui(gboolean incoming_mute_value)
b_all_muted = incoming_mute_value;
dbusmenu_menuitem_property_set(mute_all_menuitem,
DBUSMENU_MENUITEM_PROP_LABEL,
- _(b_all_muted == FALSE ? "Mute All" : "Unmute"));
+ b_all_muted == FALSE ? _("Mute All") : _("Unmute"));
}
@@ -191,7 +191,7 @@ static void rebuild_sound_menu(DbusmenuMenuitem *root, SoundServiceDbus *service
{
// Mute button
mute_all_menuitem = dbusmenu_menuitem_new();
- dbusmenu_menuitem_property_set(mute_all_menuitem, DBUSMENU_MENUITEM_PROP_LABEL, _(b_all_muted == FALSE ? "Mute All" : "Unmute"));
+ dbusmenu_menuitem_property_set(mute_all_menuitem, DBUSMENU_MENUITEM_PROP_LABEL, b_all_muted == FALSE ? _("Mute All") : _("Unmute"));
g_signal_connect(G_OBJECT(mute_all_menuitem), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(set_global_mute_from_ui), NULL);
dbusmenu_menuitem_property_set_bool(mute_all_menuitem, DBUSMENU_MENUITEM_PROP_ENABLED, b_sink_available);
@@ -230,7 +230,7 @@ static void set_global_mute_from_ui()
toggle_global_mute(b_all_muted);
dbusmenu_menuitem_property_set(mute_all_menuitem,
DBUSMENU_MENUITEM_PROP_LABEL,
- _(b_all_muted == FALSE ? "Mute All" : "Unmute"));
+ b_all_muted == FALSE ? _("Mute All") : _("Unmute"));
}