[Xfce4-commits] <midori:master> Reindent ui_markup definition in MidoriBrowser

Christian Dywan noreply at xfce.org
Sun Apr 4 21:34:01 CEST 2010


Updating branch refs/heads/master
         to 2b66adabf2642a0b8548e3cd88266f2b9bbe2b5d (commit)
       from e87705dc2a7891f1ced741e13e32000ad776a496 (commit)

commit 2b66adabf2642a0b8548e3cd88266f2b9bbe2b5d
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Apr 4 20:59:58 2010 +0200

    Reindent ui_markup definition in MidoriBrowser

 midori/midori-browser.c |  234 +++++++++++++++++++++++-----------------------
 1 files changed, 117 insertions(+), 117 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 19eefe9..5389aa2 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -5693,123 +5693,123 @@ midori_browser_destroy_cb (MidoriBrowser* browser)
 }
 
 static const gchar* ui_markup =
- "<ui>"
-  "<menubar>"
-   "<menu action='File'>"
-    "<menuitem action='WindowNew'/>"
-    "<menuitem action='TabNew'/>"
-    "<menuitem action='PrivateBrowsing'/>"
-    "<separator/>"
-    "<menuitem action='Open'/>"
-    "<separator/>"
-    "<menuitem action='SaveAs'/>"
-    "<menuitem action='AddSpeedDial'/>"
-    "<menuitem action='AddDesktopShortcut'/>"
-    "<separator/>"
-    "<menuitem action='TabClose'/>"
-    "<menuitem action='WindowClose'/>"
-    "<separator/>"
-    "<menuitem action='Print'/>"
-    "<separator/>"
-    "<menuitem action='Quit'/>"
-   "</menu>"
-   "<menu action='Edit'>"
-    #if WEBKIT_CHECK_VERSION (1, 1, 14)
-    "<menuitem action='Undo'/>"
-    "<menuitem action='Redo'/>"
-    "<separator/>"
-    #endif
-    "<menuitem action='Cut'/>"
-    "<menuitem action='Copy'/>"
-    "<menuitem action='Paste'/>"
-    "<menuitem action='Delete'/>"
-    "<separator/>"
-    "<menuitem action='SelectAll'/>"
-    "<separator/>"
-    "<menuitem action='Find'/>"
-    "<menuitem action='FindNext'/>"
-    #ifndef G_OS_WIN32
-    "<separator/>"
-    "<menuitem action='Preferences'/>"
-    #endif
-   "</menu>"
-   "<menu action='View'>"
-    "<menu action='Toolbars'>"
-     "<menuitem action='Menubar'/>"
-     "<menuitem action='Navigationbar'/>"
-     "<menuitem action='Bookmarkbar'/>"
-     "<menuitem action='Transferbar'/>"
-     "<menuitem action='Statusbar'/>"
-    "</menu>"
-    "<menuitem action='Panel'/>"
-    "<separator/>"
-    "<menuitem action='Stop'/>"
-    "<menuitem action='Reload'/>"
-    "<separator/>"
-    "<menuitem action='ZoomIn'/>"
-    "<menuitem action='ZoomOut'/>"
-    "<menuitem action='ZoomNormal'/>"
-    "<separator/>"
-    "<menu action='Encoding'>"
-     "<menuitem action='EncodingAutomatic'/>"
-     "<menuitem action='EncodingChinese'/>"
-     "<menuitem action='EncodingJapanese'/>"
-     "<menuitem action='EncodingKorean'/>"
-     "<menuitem action='EncodingRussian'/>"
-     "<menuitem action='EncodingUnicode'/>"
-     "<menuitem action='EncodingWestern'/>"
-     "<menuitem action='EncodingCustom'/>"
-    "</menu>"
-    "<menuitem action='SourceView'/>"
-    "<menuitem action='Fullscreen'/>"
-   "</menu>"
-   "<menu action='Go'>"
-    "<menuitem action='Back'/>"
-    "<menuitem action='Forward'/>"
-    "<menuitem action='Previous'/>"
-    "<menuitem action='Next'/>"
-    "<menuitem action='Homepage'/>"
-    "<menuitem action='Location'/>"
-    "<menuitem action='Search'/>"
-    "<menuitem action='Trash'/>"
-    "<menuitem action='RecentlyVisited'/>"
-   "</menu>"
-   "<menuitem action='Bookmarks'/>"
-   "<menuitem action='Tools'/>"
-   "<menuitem action='Window'/>"
-   "<menu action='Help'>"
-    "<menuitem action='HelpContents'/>"
-    "<menuitem action='HelpFAQ'/>"
-    "<menuitem action='HelpBugs'/>"
-    "<separator/>"
-    "<menuitem action='About'/>"
-   "</menu>"
-   /* For accelerators to work all actions need to be used
-     *somewhere* in the UI definition */
-   "<menu action='Dummy'>"
-    "<menuitem action='ScrollLeft'/>"
-    "<menuitem action='ScrollDown'/>"
-    "<menuitem action='ScrollUp'/>"
-    "<menuitem action='ScrollRight'/>"
-    "<menuitem action='FindPrevious'/>"
-    "<menuitem action='BookmarkAdd'/>"
-    "<menuitem action='BookmarkFolderAdd'/>"
-    "<menuitem action='BookmarksImport'/>"
-    "<menuitem action='BookmarksExport'/>"
-    "<menuitem action='ManageSearchEngines'/>"
-    "<menuitem action='ClearPrivateData'/>"
-    "<menuitem action='TabPrevious'/>"
-    "<menuitem action='TabNext'/>"
-    "<menuitem action='TabCurrent'/>"
-    "<menuitem action='LastSession'/>"
-    "<menuitem action='UndoTabClose'/>"
-    "<menuitem action='TrashEmpty'/>"
-    "<menuitem action='Preferences'/>"
-   "</menu>"
-  "</menubar>"
-  "<toolbar name='toolbar_navigation'>"
-  "</toolbar>"
- "</ui>";
+    "<ui>"
+        "<menubar>"
+            "<menu action='File'>"
+                "<menuitem action='WindowNew'/>"
+                "<menuitem action='TabNew'/>"
+                "<menuitem action='PrivateBrowsing'/>"
+                "<separator/>"
+                "<menuitem action='Open'/>"
+                "<separator/>"
+                "<menuitem action='SaveAs'/>"
+                "<menuitem action='AddSpeedDial'/>"
+                "<menuitem action='AddDesktopShortcut'/>"
+                "<separator/>"
+                "<menuitem action='TabClose'/>"
+                "<menuitem action='WindowClose'/>"
+                "<separator/>"
+                "<menuitem action='Print'/>"
+                "<separator/>"
+                "<menuitem action='Quit'/>"
+            "</menu>"
+            "<menu action='Edit'>"
+                #if WEBKIT_CHECK_VERSION (1, 1, 14)
+                "<menuitem action='Undo'/>"
+                "<menuitem action='Redo'/>"
+                "<separator/>"
+                #endif
+                "<menuitem action='Cut'/>"
+                "<menuitem action='Copy'/>"
+                "<menuitem action='Paste'/>"
+                "<menuitem action='Delete'/>"
+                "<separator/>"
+                "<menuitem action='SelectAll'/>"
+                "<separator/>"
+                "<menuitem action='Find'/>"
+                "<menuitem action='FindNext'/>"
+                #ifndef G_OS_WIN32
+                "<separator/>"
+                "<menuitem action='Preferences'/>"
+                #endif
+            "</menu>"
+            "<menu action='View'>"
+                "<menu action='Toolbars'>"
+                    "<menuitem action='Menubar'/>"
+                    "<menuitem action='Navigationbar'/>"
+                    "<menuitem action='Bookmarkbar'/>"
+                    "<menuitem action='Transferbar'/>"
+                    "<menuitem action='Statusbar'/>"
+                "</menu>"
+                "<menuitem action='Panel'/>"
+                "<separator/>"
+                "<menuitem action='Stop'/>"
+                "<menuitem action='Reload'/>"
+                "<separator/>"
+                "<menuitem action='ZoomIn'/>"
+                "<menuitem action='ZoomOut'/>"
+                "<menuitem action='ZoomNormal'/>"
+                "<separator/>"
+                "<menu action='Encoding'>"
+                    "<menuitem action='EncodingAutomatic'/>"
+                    "<menuitem action='EncodingChinese'/>"
+                    "<menuitem action='EncodingJapanese'/>"
+                    "<menuitem action='EncodingKorean'/>"
+                    "<menuitem action='EncodingRussian'/>"
+                    "<menuitem action='EncodingUnicode'/>"
+                    "<menuitem action='EncodingWestern'/>"
+                    "<menuitem action='EncodingCustom'/>"
+                "</menu>"
+                "<menuitem action='SourceView'/>"
+                "<menuitem action='Fullscreen'/>"
+            "</menu>"
+            "<menu action='Go'>"
+                "<menuitem action='Back'/>"
+                "<menuitem action='Forward'/>"
+                "<menuitem action='Previous'/>"
+                "<menuitem action='Next'/>"
+                "<menuitem action='Homepage'/>"
+                "<menuitem action='Location'/>"
+                "<menuitem action='Search'/>"
+                "<menuitem action='Trash'/>"
+                "<menuitem action='RecentlyVisited'/>"
+            "</menu>"
+            "<menuitem action='Bookmarks'/>"
+            "<menuitem action='Tools'/>"
+            "<menuitem action='Window'/>"
+            "<menu action='Help'>"
+                "<menuitem action='HelpContents'/>"
+                "<menuitem action='HelpFAQ'/>"
+                "<menuitem action='HelpBugs'/>"
+                "<separator/>"
+                "<menuitem action='About'/>"
+        "</menu>"
+        /* For accelerators to work all actions need to be used
+           *somewhere* in the UI definition */
+        "<menu action='Dummy'>"
+            "<menuitem action='ScrollLeft'/>"
+            "<menuitem action='ScrollDown'/>"
+            "<menuitem action='ScrollUp'/>"
+            "<menuitem action='ScrollRight'/>"
+            "<menuitem action='FindPrevious'/>"
+            "<menuitem action='BookmarkAdd'/>"
+            "<menuitem action='BookmarkFolderAdd'/>"
+            "<menuitem action='BookmarksImport'/>"
+            "<menuitem action='BookmarksExport'/>"
+            "<menuitem action='ManageSearchEngines'/>"
+            "<menuitem action='ClearPrivateData'/>"
+            "<menuitem action='TabPrevious'/>"
+            "<menuitem action='TabNext'/>"
+            "<menuitem action='TabCurrent'/>"
+            "<menuitem action='LastSession'/>"
+            "<menuitem action='UndoTabClose'/>"
+            "<menuitem action='TrashEmpty'/>"
+            "<menuitem action='Preferences'/>"
+            "</menu>"
+        "</menubar>"
+        "<toolbar name='toolbar_navigation'>"
+        "</toolbar>"
+    "</ui>";
 
 static void
 midori_browser_realize_cb (GtkStyle*      style,



More information about the Xfce4-commits mailing list