[Xfce4-commits] <xfce4-mpc-plugin:master> place gettext _() calls where the text actually is
Landry Breuil
noreply at xfce.org
Sat May 15 09:42:01 CEST 2010
Updating branch refs/heads/master
to c7c6783f05344cf875b3ebce0d488a407bf1b2e4 (commit)
from 6270c18d3ccf0731a86ca9d43a90399a79043d1a (commit)
commit c7c6783f05344cf875b3ebce0d488a407bf1b2e4
Author: Landry Breuil <landry at xfce.org>
Date: Sat May 15 09:41:42 2010 +0200
place gettext _() calls where the text actually is
panel-plugin/xfce4-mpc-plugin.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/panel-plugin/xfce4-mpc-plugin.c b/panel-plugin/xfce4-mpc-plugin.c
index 5715cfc..9a40a5b 100644
--- a/panel-plugin/xfce4-mpc-plugin.c
+++ b/panel-plugin/xfce4-mpc-plugin.c
@@ -692,7 +692,7 @@ add_separator_and_label_with_markup(XfcePanelPlugin* plugin, gchar* lbl)
{
GtkWidget *separator, *menuitem, *label;
separator = gtk_separator_menu_item_new();
- menuitem = gtk_menu_item_new_with_label(_(lbl));
+ menuitem = gtk_menu_item_new_with_label(lbl);
gtk_widget_set_sensitive(menuitem, FALSE);
label = gtk_bin_get_child(GTK_BIN(menuitem));
gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
@@ -739,11 +739,11 @@ mpc_create (XfcePanelPlugin * plugin)
mpc->appl = gtk_menu_item_new_with_label (_("Launch"));
g_signal_connect (G_OBJECT(mpc->appl), "activate", G_CALLBACK (mpc_launch_client), mpc);
- add_separator_and_label_with_markup(plugin, "<b><i>Commands</i></b>");
+ add_separator_and_label_with_markup(plugin, _("<b><i>Commands</i></b>"));
xfce_panel_plugin_menu_insert_item(plugin,GTK_MENU_ITEM(mpc->random));
xfce_panel_plugin_menu_insert_item(plugin,GTK_MENU_ITEM(mpc->repeat));
xfce_panel_plugin_menu_insert_item(plugin,GTK_MENU_ITEM(mpc->appl));
- add_separator_and_label_with_markup(plugin, "<b><i>Outputs</i></b>");
+ add_separator_and_label_with_markup(plugin, _("<b><i>Outputs</i></b>"));
gtk_widget_show (mpc->repeat);
gtk_widget_show (mpc->random);
gtk_widget_show (mpc->appl);
More information about the Xfce4-commits
mailing list