[patch] fix bug #95117 ('View as List' and 'View as Icons' does not have mnemonic)
- From: Jan Arne Petersen <jpetersen gnome-de org>
- To: "nautilus-list [ML]" <nautilus-list gnome org>
- Subject: [patch] fix bug #95117 ('View as List' and 'View as Icons' does not have mnemonic)
- Date: 04 Nov 2002 21:11:02 +0100
Hi,
this patch add mnemonics to the 'View as List' and 'View as Icons'
entries.
Jan Arne Petersen
Index: Nautilus_shell.server.in
===================================================================
RCS file: /cvs/gnome/nautilus/src/Nautilus_shell.server.in,v
retrieving revision 1.20
diff -u -r1.20 Nautilus_shell.server.in
--- Nautilus_shell.server.in 30 May 2002 17:56:58 -0000 1.20
+++ Nautilus_shell.server.in 1 Nov 2002 23:58:38 -0000
@@ -27,7 +27,7 @@
<item value="trash"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="Icons"/>
- <oaf_attribute name="nautilus:view_as_label" type="string" _value="View as Icons"/>
+ <oaf_attribute name="nautilus:view_as_label" type="string" _value="View as _Icons"/>
<oaf_attribute name="nautilus:viewer_label" type="string" _value="Icons Viewer"/>
</oaf_server>
@@ -62,7 +62,7 @@
<item value="trash"/>
</oaf_attribute>
<oaf_attribute name="nautilus:view_as_name" type="string" _value="List"/>
- <oaf_attribute name="nautilus:view_as_label" type="string" _value="View as List"/>
+ <oaf_attribute name="nautilus:view_as_label" type="string" _value="View as _List"/>
<oaf_attribute name="nautilus:viewer_label" type="string" _value="List Viewer"/>
</oaf_server>
Index: nautilus-window.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-window.c,v
retrieving revision 1.398
diff -u -r1.398 nautilus-window.c
--- nautilus-window.c 31 Oct 2002 19:24:32 -0000 1.398
+++ nautilus-window.c 1 Nov 2002 23:58:41 -0000
@@ -1150,7 +1145,7 @@
char *menu_label;
menu_label = g_strdup (_(identifier->view_as_label));
- menu_item = gtk_menu_item_new_with_label (menu_label);
+ menu_item = gtk_menu_item_new_with_mnemonic (menu_label);
g_free (menu_label);
g_signal_connect_object (menu_item, "activate",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]