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

gEDA-cvs: gaf.git: branch: master updated (1.6.0-20091004-88-ge94dd52)



The branch, master has been updated
       via  e94dd5222f2267218572e81cfae9fbbdc2f70021 (commit)
       via  a800451bef4df21797df3707b672571e5441e594 (commit)
      from  9c71110a49be8a677f7ea3eabaebf6479873c7af (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/lib/system-gschemrc.in |   20 ++++++++++----------
 gschem/src/rcstrings.c        |   20 ++++++++++----------
 gschem/src/x_menus.c          |    2 +-
 3 files changed, 21 insertions(+), 21 deletions(-)


=================
 Commit Messages
=================

commit e94dd5222f2267218572e81cfae9fbbdc2f70021
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    gschem: Provide accelerator mnemonics for root menus

:100644 100644 ce6587f... ad8c452... M	gschem/lib/system-gschemrc.in
:100644 100644 814f1e7... 8c6bb23... M	gschem/src/rcstrings.c

commit a800451bef4df21797df3707b672571e5441e594
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    gschem: Allow mnemonics for root menus, such as _File, _Edit etc..

:100644 100644 80cb131... 5b4a597... M	gschem/src/x_menus.c

=========
 Changes
=========

commit e94dd5222f2267218572e81cfae9fbbdc2f70021
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    gschem: Provide accelerator mnemonics for root menus

diff --git a/gschem/lib/system-gschemrc.in b/gschem/lib/system-gschemrc.in
index ce6587f..ad8c452 100644
--- a/gschem/lib/system-gschemrc.in
+++ b/gschem/lib/system-gschemrc.in
@@ -1558,16 +1558,16 @@
 ; Now actually add the menus.  The order here defines the order in which
 ; the menus appear in the top menu bar.
 ;
-(add-menu "File" file-menu-items)
-(add-menu "Edit" edit-menu-items)
-(add-menu "Buffer" buffer-menu-items)
-(add-menu "View" view-menu-items)
-(add-menu "Page" page-menu-items)
-(add-menu "Add" add-menu-items)
-(add-menu "Hierarchy" hierarchy-menu-items)
-(add-menu "Attributes" attributes-menu-items)
-(add-menu "Options" options-menu-items)
-(add-menu "Help" help-menu-items)   
+(add-menu "_File" file-menu-items)
+(add-menu "_Edit" edit-menu-items)
+(add-menu "_Buffer" buffer-menu-items)
+(add-menu "_View" view-menu-items)
+(add-menu "_Page" page-menu-items)
+(add-menu "_Add" add-menu-items)
+(add-menu "Hie_rarchy" hierarchy-menu-items)
+(add-menu "A_ttributes" attributes-menu-items)
+(add-menu "_Options" options-menu-items)
+(add-menu "_Help" help-menu-items)
 
 ;
 ; End of keymapping related keywords
diff --git a/gschem/src/rcstrings.c b/gschem/src/rcstrings.c
index 814f1e7..8c6bb23 100644
--- a/gschem/src/rcstrings.c
+++ b/gschem/src/rcstrings.c
@@ -1,5 +1,5 @@
 
-_("File")
+_("_File")
 _("New Window")
 _("_New")
 _("_Open...")
@@ -14,7 +14,7 @@ _("Execute Script...")
 _("_Close")
 _("_Quit")
 
-_("Edit")
+_("_Edit")
 _("_Undo")
 _("_Redo")
 _("Cu_t")
@@ -43,7 +43,7 @@ _("Update Component")
 _("Show/Hide Inv Text")
 _("Make Inv Text Vis")
 
-_("Buffer")
+_("_Buffer")
 _("Copy into 1")
 _("Copy into 2")
 _("Copy into 3")
@@ -60,7 +60,7 @@ _("Paste from 3")
 _("Paste from 4")
 _("Paste from 5")
 
-_("View")
+_("_View")
 _("_Redraw")
 _("_Pan")
 _("Zoom _Box")
@@ -71,7 +71,7 @@ _("Zoom _Full")
 _("_Dark color scheme")
 _("_Light color scheme")
 
-_("Page")
+_("_Page")
 _("_Manager...")
 _("_Previous")
 _("_Next")
@@ -80,7 +80,7 @@ _("_Revert")
 _("_Close")
 _("_Discard")
 
-_("Add")
+_("_Add")
 _("_Component...")
 _("_Net")
 _("B_us")
@@ -93,13 +93,13 @@ _("A_rc")
 _("_Pin")
 _("Pictu_re...")
 
-_("Hierarchy")
+_("Hie_rarchy")
 _("_Down Schematic")
 _("Down _Symbol")
 _("_Up")
 _("D_ocumentation...")
 
-_("Attributes")
+_("A_ttributes")
 _("_Attach")
 _("_Detach")
 _("Show _Value")
@@ -111,7 +111,7 @@ _("_Hide Specific Text...")
 _("_Show Specific Text...")
 _("A_utonumber Text...")
 
-_("Options")
+_("_Options")
 _("_Text Size...")
 _("Cycle _grid styles")
 _("Toggle _Snap On/Off")
@@ -124,7 +124,7 @@ _("Toggle _Magnetic Net")
 _("Show _Log Window...")
 _("Show _Coord Window...")
 
-_("Help")
+_("_Help")
 _("gEDA Docu_mentation...")
 _("gschem _FAQ...")
 _("gEDA _Wiki...")

commit a800451bef4df21797df3707b672571e5441e594
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    gschem: Allow mnemonics for root menus, such as _File, _Edit etc..

diff --git a/gschem/src/x_menus.c b/gschem/src/x_menus.c
index 80cb131..5b4a597 100644
--- a/gschem/src/x_menus.c
+++ b/gschem/src/x_menus.c
@@ -209,7 +209,7 @@ void get_main_menu(GtkWidget ** menubar)
     }
     
     menu_name = (char *) gettext(*raw_menu_name);
-    root_menu = gtk_menu_item_new_with_label (menu_name);
+    root_menu = gtk_menu_item_new_with_mnemonic (menu_name);
     /* do not free *raw_menu_name */
 
     /* no longer right justify the help menu since that has gone out of style */




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs