gucharmap r1657 - trunk/gucharmap



Author: chpe
Date: Fri Mar 21 10:51:40 2008
New Revision: 1657
URL: http://svn.gnome.org/viewvc/gucharmap?rev=1657&view=rev

Log:
Make the UI string shorter.


Modified:
   trunk/gucharmap/gucharmap-window.c

Modified: trunk/gucharmap/gucharmap-window.c
==============================================================================
--- trunk/gucharmap/gucharmap-window.c	(original)
+++ trunk/gucharmap/gucharmap-window.c	Fri Mar 21 10:51:40 2008
@@ -644,40 +644,40 @@
 };
 
 static const char ui_info [] =
-"  <menubar name=\"MenuBar\">"
-"    <menu name=\"FileMenu\" action=\"File\">"
-"	 <menuitem name=\"FileQuitMenu\" action=\"Quit\" />"
+  "<menubar name='MenuBar'>"
+    "<menu action='File'>"
+      "<menuitem action='Quit' />"
 #ifdef DEBUG_chpe
-"        <menuitem action=\"MoveNextScreen\" />"
+      "<menuitem action='MoveNextScreen' />"
 #endif
-"    </menu>"
-"    <menu name=\"ViewMenu\" action=\"View\">"
-"	 <menuitem name=\"ViewByScriptMenu\" action=\"ByScript\" />"
-"	 <menuitem name=\"ViewByUnicodeBlockMenu\" action=\"ByUnicodeBlock\" />"
-"	 <separator />"
-"	 <menuitem name=\"ViewSnapColumnsMenu\" action=\"SnapColumns\" />"
-"	 <separator />"
-"	 <menuitem name=\"ViewZoomInMenu\" action=\"ZoomIn\" />"
-"	 <menuitem name=\"ViewZoomOutMenu\" action=\"ZoomOut\" />"
-"	 <menuitem name=\"ViewNormalSizeMenu\" action=\"NormalSize\" />"
-"    </menu>"
-"    <menu name=\"SearchMenu\" action=\"Search\">"
-"	 <menuitem name=\"SearchFindMenu\" action=\"Find\" />"
-"	 <menuitem name=\"SearchFindNextMenu\" action=\"FindNext\" />"
-"	 <menuitem name=\"SearchFindPreviousMenu\" action=\"FindPrevious\" />"
-"    </menu>"
-"    <menu name=\"GoMenu\" action=\"Go\">"
-"	 <menuitem name=\"GoNextCharacterMenu\" action=\"NextCharacter\" />"
-"	 <menuitem name=\"GoPreviousCharacterMenu\" action=\"PreviousCharacter\" />"
-"	 <separator />"
-"	 <menuitem name=\"GoNextChapterMenu\" action=\"NextChapter\" />"
-"	 <menuitem name=\"GoPreviousChapterMenu\" action=\"PreviousChapter\" />"
-"    </menu>"
-"    <menu name=\"HelpMenu\" action=\"Help\">"
-"	 <menuitem name=\"HelpContentsMenu\" action=\"HelpContents\" />"
-"	 <menuitem name=\"HelpAboutMenu\" action=\"About\" />"
-"    </menu>"
-"  </menubar>";
+    "</menu>"
+    "<menu action='View'>"
+      "<menuitem action='ByScript' />"
+      "<menuitem action='ByUnicodeBlock' />"
+      "<separator />"
+      "<menuitem action='SnapColumns' />"
+      "<separator />"
+      "<menuitem action='ZoomIn' />"
+      "<menuitem action='ZoomOut' />"
+      "<menuitem action='NormalSize' />"
+    "</menu>"
+    "<menu action='Search'>"
+      "<menuitem action='Find' />"
+      "<menuitem action='FindNext' />"
+      "<menuitem action='FindPrevious' />"
+    "</menu>"
+    "<menu action='Go'>"
+      "<menuitem action='NextCharacter' />"
+      "<menuitem action='PreviousCharacter' />"
+      "<separator />"
+      "<menuitem action='NextChapter' />"
+      "<menuitem action='PreviousChapter' />"
+    "</menu>"
+    "<menu action='Help'>"
+      "<menuitem action='HelpContents' />"
+      "<menuitem action='About' />"
+    "</menu>"
+  "</menubar>";
 
 static GtkWidget *
 make_menu (GucharmapWindow *guw)



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