panel string freeze breakage



Hi Guys,
	I've just committed two patches to gnome-panel that add
mnemonics to various menuitems. The patch would have gone in on Friday
if timezones didn't exist :-)

	The two bugs these patches came from are

http://bugzilla.gnome.org/show_bug.cgi?id=88503
http://bugzilla.gnome.org/show_bug.cgi?id=86501

	17 strings were changed in total. I've appended the diff.

Thanks,
Mark.

Index: GNOME_Panel_Popup.xml
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/GNOME_Panel_Popup.xml,v
retrieving revision 1.1
diff -u -p -r1.1 GNOME_Panel_Popup.xml
--- GNOME_Panel_Popup.xml	21 Feb 2002 11:12:57 -0000	1.1
+++ GNOME_Panel_Popup.xml	23 Jul 2002 02:16:19 -0000
@@ -4,10 +4,10 @@

          <placeholder delimit="top">

-         <menuitem name="remove" verb="RemoveAppletFromPanel" _label="Remove From Panel"
+         <menuitem name="remove" verb="RemoveAppletFromPanel" _label="_Remove From Panel"
                    pixtype="stock" pixname="gtk-remove"/>

-         <menuitem name="move" verb="MoveApplet" _label="Move"/>
+         <menuitem name="move" verb="MoveApplet" _label="_Move"/>

          </placeholder>
       </popup>
Index: applet.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/applet.c,v
retrieving revision 1.174
diff -u -p -r1.174 applet.c
--- applet.c	12 Jul 2002 03:06:56 -0000	1.174
+++ applet.c	23 Jul 2002 02:16:20 -0000
@@ -510,7 +510,7 @@ panel_applet_create_menu (AppletInfo *in
 		image = gtk_image_new_from_stock (GTK_STOCK_REMOVE,
 						  GTK_ICON_SIZE_MENU);

-		setup_menuitem (menuitem, image , _("Remove From Panel"));
+		setup_menuitem (menuitem, image , _("_Remove From Panel"));

 		g_signal_connect (menuitem, "activate",
 				  G_CALLBACK (applet_remove_callback), info);
@@ -521,7 +521,7 @@ panel_applet_create_menu (AppletInfo *in

 		/* FIXME: should have a "Move" pixmap.
 		 */
-		setup_menuitem (menuitem, NULL, _("Move"));
+		setup_menuitem (menuitem, NULL, _("_Move"));

 		g_signal_connect (menuitem, "activate",
 				  G_CALLBACK (move_applet_callback), info);
Index: drawer.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/drawer.c,v
retrieving revision 1.148
diff -u -p -r1.148 drawer.c
--- drawer.c	10 Jul 2002 23:39:48 -0000	1.148
+++ drawer.c	23 Jul 2002 02:16:21 -0000
@@ -620,10 +620,10 @@ load_drawer_applet (gchar       *mypanel
 		panel_applet_add_callback (drawer->info,
 					   "properties",
 					   GTK_STOCK_PROPERTIES,
-					   _("Properties"));
+					   _("_Properties"));

 	panel_applet_add_callback (
-		drawer->info, "help", GTK_STOCK_HELP, _("Help"));
+		drawer->info, "help", GTK_STOCK_HELP, _("_Help"));

 	return drawer;
 }
Index: launcher.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/launcher.c,v
retrieving revision 1.211
diff -u -p -r1.211 launcher.c
--- launcher.c	19 Jul 2002 03:04:41 -0000	1.211
+++ launcher.c	23 Jul 2002 02:16:21 -0000
@@ -727,9 +727,9 @@ load_launcher_applet_full (const char
 		panel_applet_add_callback (launcher->info,
 					   "properties",
 					   GTK_STOCK_PROPERTIES,
-					   _("Properties"));
+					   _("_Properties"));

-	panel_applet_add_callback (launcher->info, "help", GTK_STOCK_HELP, _("Help"));
+	panel_applet_add_callback (launcher->info, "help", GTK_STOCK_HELP, _("_Help"));

 	/* setup button according to ditem */
 	setup_button (launcher);
Index: logout.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/logout.c,v
retrieving revision 1.71
diff -u -p -r1.71 logout.c
--- logout.c	10 Jul 2002 23:39:49 -0000	1.71
+++ logout.c	23 Jul 2002 02:16:22 -0000
@@ -131,7 +131,7 @@ load_logout_applet (PanelWidget *panel,
 	if (!info)
 		return;

-	panel_applet_add_callback (info, "help", GTK_STOCK_HELP, _("Help"));
+	panel_applet_add_callback (info, "help", GTK_STOCK_HELP, _("_Help"));
 }

 static GtkWidget *
@@ -210,13 +210,13 @@ load_lock_applet (PanelWidget *panel,
 	  <jwz> and "xscreensaver-demo"
 	*/

-	panel_applet_add_callback (info, "activate", NULL, _("Activate Screensaver"));
-	panel_applet_add_callback (info, "lock", NULL, _("Lock Screen"));
-	panel_applet_add_callback (info, "exit", NULL, _("Kill Screensaver Daemon"));
-	panel_applet_add_callback (info, "restart", NULL, _("Restart Screensaver Daemon"));
+	panel_applet_add_callback (info, "activate", NULL, _("_Activate Screensaver"));
+	panel_applet_add_callback (info, "lock", NULL, _("_Lock Screen"));
+	panel_applet_add_callback (info, "exit", NULL, _("_Kill Screensaver Daemon"));
+	panel_applet_add_callback (info, "restart", NULL, _("Restart _Screensaver Daemon"));

 	if (!commie_mode)
-		panel_applet_add_callback (info, "prefs", NULL, _("Properties"));
+		panel_applet_add_callback (info, "prefs", NULL, _("_Properties"));

-	panel_applet_add_callback (info, "help", GTK_STOCK_HELP, _("Help"));
+	panel_applet_add_callback (info, "help", GTK_STOCK_HELP, _("_Help"));
 }
Index: menu.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/menu.c,v
retrieving revision 1.596
diff -u -p -r1.596 menu.c
--- menu.c	12 Jul 2002 03:06:56 -0000	1.596
+++ menu.c	23 Jul 2002 02:16:25 -0000
@@ -1419,7 +1419,7 @@ show_item_menu (GtkWidget *item, GdkEven
 					   "activate",
 					   G_CALLBACK(edit_dentry),
 					   sim);
-			setup_menuitem (menuitem, NULL, _("Properties"));
+			setup_menuitem (menuitem, NULL, _("_Properties"));
 			gtk_menu_shell_append (GTK_MENU_SHELL (sim->menu), menuitem);
 #endif /* FIXME */

@@ -4099,7 +4099,7 @@ load_menu_applet (const char  *params,

 		menu->info = info;

-		panel_applet_add_callback (info, "help", GTK_STOCK_HELP, _("Help"));
+		panel_applet_add_callback (info, "help", GTK_STOCK_HELP, _("_Help"));
 	}
 }





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]