Reindent ui_markup definition in MidoriBrowser

This commit is contained in:
Christian Dywan 2010-04-04 20:59:58 +02:00
parent e87705dc2a
commit 2b66adabf2

View file

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