[Xfce4-commits] <xfce4-panel:master> Allow translations of the "Xfce Panel" string.
Nick Schermer
noreply at xfce.org
Fri Sep 24 21:28:01 CEST 2010
Updating branch refs/heads/master
to 74ac38c15394af57a1785b99bf4eb8066c5a9cfa (commit)
from 2f1559d5e3fb992cdd5a15ab52ac99cce1d3b5b1 (commit)
commit 74ac38c15394af57a1785b99bf4eb8066c5a9cfa
Author: Nick Schermer <nick at xfce.org>
Date: Fri Sep 24 21:25:34 2010 +0200
Allow translations of the "Xfce Panel" string.
libxfce4panel/xfce-panel-plugin.c | 2 +-
panel/panel-window.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libxfce4panel/xfce-panel-plugin.c b/libxfce4panel/xfce-panel-plugin.c
index 1728a49..72bb027 100644
--- a/libxfce4panel/xfce-panel-plugin.c
+++ b/libxfce4panel/xfce-panel-plugin.c
@@ -1069,7 +1069,7 @@ xfce_panel_plugin_menu_get (XfcePanelPlugin *plugin)
/* create a panel submenu item */
submenu = gtk_menu_new ();
- item = gtk_menu_item_new_with_mnemonic ("_Xfce Panel");
+ item = gtk_menu_item_new_with_mnemonic (_("_Xfce Panel"));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), submenu);
gtk_widget_show (item);
diff --git a/panel/panel-window.c b/panel/panel-window.c
index 8da1efb..0269520 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -2125,7 +2125,7 @@ panel_window_menu_popup (PanelWindow *window,
g_signal_connect (G_OBJECT (menu), "deactivate",
G_CALLBACK (panel_window_menu_deactivate), window);
- item = gtk_image_menu_item_new_with_label ("Xfce Panel");
+ item = gtk_image_menu_item_new_with_label (_("Xfce Panel"));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
gtk_widget_set_sensitive (item, FALSE);
gtk_widget_show (item);
More information about the Xfce4-commits
mailing list