Reindent entries, toggle_entries, encoding_entries

This commit is contained in:
Christian Dywan 2010-04-04 21:27:24 +02:00
parent 23b093a248
commit 82ee513a96

View file

@ -5334,270 +5334,273 @@ _action_trash_empty_activate (GtkAction* action,
} }
} }
static const GtkActionEntry entries[] = { static const GtkActionEntry entries[] =
{ "File", NULL, N_("_File") }, {
{ "WindowNew", STOCK_WINDOW_NEW, { "File", NULL, N_("_File") },
N_("New _Window"), "<Ctrl>n", { "WindowNew", STOCK_WINDOW_NEW,
N_("Open a new window"), G_CALLBACK (_action_window_new_activate) }, N_("New _Window"), "<Ctrl>n",
{ "TabNew", STOCK_TAB_NEW, N_("Open a new window"), G_CALLBACK (_action_window_new_activate) },
NULL, "<Ctrl>t", { "TabNew", STOCK_TAB_NEW,
N_("Open a new tab"), G_CALLBACK (_action_tab_new_activate) }, NULL, "<Ctrl>t",
{ "PrivateBrowsing", NULL, N_("Open a new tab"), G_CALLBACK (_action_tab_new_activate) },
N_("P_rivate Browsing"), "<Ctrl><Shift>n", { "PrivateBrowsing", NULL,
N_("Don't save any private data while browsing"), N_("P_rivate Browsing"), "<Ctrl><Shift>n",
G_CALLBACK (_action_private_browsing_activate), }, N_("Don't save any private data while browsing"),
{ "Open", GTK_STOCK_OPEN, G_CALLBACK (_action_private_browsing_activate), },
NULL, "<Ctrl>o", { "Open", GTK_STOCK_OPEN,
N_("Open a file"), G_CALLBACK (_action_open_activate) }, NULL, "<Ctrl>o",
{ "SaveAs", GTK_STOCK_SAVE_AS, N_("Open a file"), G_CALLBACK (_action_open_activate) },
NULL, "<Ctrl>s", { "SaveAs", GTK_STOCK_SAVE_AS,
N_("Save to a file"), G_CALLBACK (_action_save_as_activate) }, NULL, "<Ctrl>s",
{ "AddSpeedDial", NULL, N_("Save to a file"), G_CALLBACK (_action_save_as_activate) },
N_("Add to Speed _dial"), "<Ctrl>h", { "AddSpeedDial", NULL,
N_("Add shortcut to speed dial"), G_CALLBACK (_action_add_speed_dial_activate) }, N_("Add to Speed _dial"), "<Ctrl>h",
{ "AddDesktopShortcut", NULL, N_("Add shortcut to speed dial"), G_CALLBACK (_action_add_speed_dial_activate) },
N_("Add Shortcut to the _desktop"), "<Ctrl>h", { "AddDesktopShortcut", NULL,
N_("Add shortcut to the desktop"), G_CALLBACK (_action_add_desktop_shortcut_activate) }, N_("Add Shortcut to the _desktop"), "<Ctrl>h",
{ "AddNewsFeed", NULL, N_("Add shortcut to the desktop"), G_CALLBACK (_action_add_desktop_shortcut_activate) },
N_("Subscribe to News _feed"), NULL, { "AddNewsFeed", NULL,
N_("Subscribe to this news feed"), G_CALLBACK (_action_add_news_feed_activate) }, N_("Subscribe to News _feed"), NULL,
{ "CompactAdd", GTK_STOCK_ADD, N_("Subscribe to this news feed"), G_CALLBACK (_action_add_news_feed_activate) },
NULL, NULL, { "CompactAdd", GTK_STOCK_ADD,
NULL, G_CALLBACK (_action_compact_add_activate) }, NULL, NULL,
{ "TabClose", GTK_STOCK_CLOSE, NULL, G_CALLBACK (_action_compact_add_activate) },
N_("_Close Tab"), "<Ctrl>w", { "TabClose", GTK_STOCK_CLOSE,
N_("Close the current tab"), G_CALLBACK (_action_tab_close_activate) }, N_("_Close Tab"), "<Ctrl>w",
{ "WindowClose", NULL, N_("Close the current tab"), G_CALLBACK (_action_tab_close_activate) },
N_("C_lose Window"), "<Ctrl><Shift>w", { "WindowClose", NULL,
N_("Close this window"), G_CALLBACK (_action_window_close_activate) }, N_("C_lose Window"), "<Ctrl><Shift>w",
{ "Print", GTK_STOCK_PRINT, N_("Close this window"), G_CALLBACK (_action_window_close_activate) },
NULL, "<Ctrl>p", { "Print", GTK_STOCK_PRINT,
N_("Print the current page"), G_CALLBACK (_action_print_activate) }, NULL, "<Ctrl>p",
{ "Quit", GTK_STOCK_QUIT, N_("Print the current page"), G_CALLBACK (_action_print_activate) },
NULL, "<Ctrl>q", { "Quit", GTK_STOCK_QUIT,
N_("Quit the application"), G_CALLBACK (_action_quit_activate) }, NULL, "<Ctrl>q",
N_("Quit the application"), G_CALLBACK (_action_quit_activate) },
{ "Edit", NULL, N_("_Edit"), NULL, NULL, G_CALLBACK (_action_edit_activate) }, { "Edit", NULL, N_("_Edit"), NULL, NULL, G_CALLBACK (_action_edit_activate) },
#if WEBKIT_CHECK_VERSION (1, 1, 14) #if WEBKIT_CHECK_VERSION (1, 1, 14)
{ "Undo", GTK_STOCK_UNDO, { "Undo", GTK_STOCK_UNDO,
NULL, "<Ctrl>z", NULL, "<Ctrl>z",
N_("Undo the last modification"), G_CALLBACK (_action_undo_activate) }, N_("Undo the last modification"), G_CALLBACK (_action_undo_activate) },
{ "Redo", GTK_STOCK_REDO, { "Redo", GTK_STOCK_REDO,
NULL, "<Ctrl><Shift>z", NULL, "<Ctrl><Shift>z",
N_("Redo the last modification"), G_CALLBACK (_action_redo_activate) }, N_("Redo the last modification"), G_CALLBACK (_action_redo_activate) },
#endif #endif
{ "Cut", GTK_STOCK_CUT, { "Cut", GTK_STOCK_CUT,
NULL, "<Ctrl>x", NULL, "<Ctrl>x",
N_("Cut the selected text"), G_CALLBACK (_action_cut_activate) }, N_("Cut the selected text"), G_CALLBACK (_action_cut_activate) },
{ "Copy", GTK_STOCK_COPY, { "Copy", GTK_STOCK_COPY,
NULL, "<Ctrl>c", NULL, "<Ctrl>c",
N_("Copy the selected text"), G_CALLBACK (_action_copy_activate) }, N_("Copy the selected text"), G_CALLBACK (_action_copy_activate) },
{ "Copy_", GTK_STOCK_COPY, { "Copy_", GTK_STOCK_COPY,
NULL, "<Ctrl>c", NULL, "<Ctrl>c",
N_("Copy the selected text"), G_CALLBACK (_action_copy_activate) }, N_("Copy the selected text"), G_CALLBACK (_action_copy_activate) },
{ "Paste", GTK_STOCK_PASTE, { "Paste", GTK_STOCK_PASTE,
NULL, "<Ctrl>v", NULL, "<Ctrl>v",
N_("Paste text from the clipboard"), G_CALLBACK (_action_paste_activate) }, N_("Paste text from the clipboard"), G_CALLBACK (_action_paste_activate) },
{ "Delete", GTK_STOCK_DELETE, { "Delete", GTK_STOCK_DELETE,
NULL, NULL, NULL, NULL,
N_("Delete the selected text"), G_CALLBACK (_action_delete_activate) }, N_("Delete the selected text"), G_CALLBACK (_action_delete_activate) },
{ "SelectAll", GTK_STOCK_SELECT_ALL, { "SelectAll", GTK_STOCK_SELECT_ALL,
NULL, "<Ctrl>a", NULL, "<Ctrl>a",
N_("Select all text"), G_CALLBACK (_action_select_all_activate) }, N_("Select all text"), G_CALLBACK (_action_select_all_activate) },
{ "Find", GTK_STOCK_FIND, { "Find", GTK_STOCK_FIND,
NULL, "<Ctrl>f", NULL, "<Ctrl>f",
N_("Find a word or phrase in the page"), G_CALLBACK (_action_find_activate) }, N_("Find a word or phrase in the page"), G_CALLBACK (_action_find_activate) },
{ "FindNext", GTK_STOCK_GO_FORWARD, { "FindNext", GTK_STOCK_GO_FORWARD,
N_("Find _Next"), "<Ctrl>g", N_("Find _Next"), "<Ctrl>g",
N_("Find the next occurrence of a word or phrase"), G_CALLBACK (_action_find_next_activate) }, N_("Find the next occurrence of a word or phrase"), G_CALLBACK (_action_find_next_activate) },
{ "FindPrevious", GTK_STOCK_GO_BACK, { "FindPrevious", GTK_STOCK_GO_BACK,
N_("Find _Previous"), "<Ctrl><Shift>g", N_("Find _Previous"), "<Ctrl><Shift>g",
N_("Find the previous occurrence of a word or phrase"), N_("Find the previous occurrence of a word or phrase"),
G_CALLBACK (_action_find_previous_activate) }, G_CALLBACK (_action_find_previous_activate) },
{ "Preferences", GTK_STOCK_PREFERENCES, { "Preferences", GTK_STOCK_PREFERENCES,
NULL, "<Ctrl><Alt>p", NULL, "<Ctrl><Alt>p",
N_("Configure the application preferences"), G_CALLBACK (_action_preferences_activate) }, N_("Configure the application preferences"), G_CALLBACK (_action_preferences_activate) },
{ "View", NULL, N_("_View") }, { "View", NULL, N_("_View") },
{ "Toolbars", NULL, N_("_Toolbars") }, { "Toolbars", NULL, N_("_Toolbars") },
{ "Reload", GTK_STOCK_REFRESH, { "Reload", GTK_STOCK_REFRESH,
NULL, "<Ctrl>r", NULL, "<Ctrl>r",
N_("Reload the current page"), G_CALLBACK (_action_reload_stop_activate) }, N_("Reload the current page"), G_CALLBACK (_action_reload_stop_activate) },
{ "Stop", GTK_STOCK_STOP, { "Stop", GTK_STOCK_STOP,
NULL, "Escape", NULL, "Escape",
N_("Stop loading the current page"), G_CALLBACK (_action_reload_stop_activate) }, N_("Stop loading the current page"), G_CALLBACK (_action_reload_stop_activate) },
{ "ReloadStop", GTK_STOCK_STOP, { "ReloadStop", GTK_STOCK_STOP,
NULL, "<Ctrl>r", NULL, "<Ctrl>r",
N_("Reload the current page"), G_CALLBACK (_action_reload_stop_activate) }, N_("Reload the current page"), G_CALLBACK (_action_reload_stop_activate) },
{ "ZoomIn", GTK_STOCK_ZOOM_IN, { "ZoomIn", GTK_STOCK_ZOOM_IN,
NULL, "<Ctrl>plus", NULL, "<Ctrl>plus",
N_("Increase the zoom level"), G_CALLBACK (_action_zoom_in_activate) }, N_("Increase the zoom level"), G_CALLBACK (_action_zoom_in_activate) },
{ "ZoomOut", GTK_STOCK_ZOOM_OUT, { "ZoomOut", GTK_STOCK_ZOOM_OUT,
NULL, "<Ctrl>minus", NULL, "<Ctrl>minus",
N_("Decrease the zoom level"), G_CALLBACK (_action_zoom_out_activate) }, N_("Decrease the zoom level"), G_CALLBACK (_action_zoom_out_activate) },
{ "ZoomNormal", GTK_STOCK_ZOOM_100, { "ZoomNormal", GTK_STOCK_ZOOM_100,
NULL, "<Ctrl>0", NULL, "<Ctrl>0",
N_("Reset the zoom level"), G_CALLBACK (_action_zoom_normal_activate) }, N_("Reset the zoom level"), G_CALLBACK (_action_zoom_normal_activate) },
{ "Encoding", NULL, N_("_Encoding") }, { "Encoding", NULL, N_("_Encoding") },
{ "SourceView", NULL, { "SourceView", NULL,
N_("View So_urce"), "<Ctrl><Alt>U", N_("View So_urce"), "<Ctrl><Alt>U",
N_("View the source code of the page"), G_CALLBACK (_action_source_view_activate) }, N_("View the source code of the page"), G_CALLBACK (_action_source_view_activate) },
{ "Fullscreen", GTK_STOCK_FULLSCREEN, { "Fullscreen", GTK_STOCK_FULLSCREEN,
NULL, "F11", NULL, "F11",
N_("Toggle fullscreen view"), G_CALLBACK (_action_fullscreen_activate) }, N_("Toggle fullscreen view"), G_CALLBACK (_action_fullscreen_activate) },
#if WEBKIT_CHECK_VERSION (1, 1, 4) #if WEBKIT_CHECK_VERSION (1, 1, 4)
{ "ScrollLeft", NULL, { "ScrollLeft", NULL,
N_("Scroll _Left"), "h", N_("Scroll _Left"), "h",
N_("Scroll to the left"), G_CALLBACK (_action_scroll_somewhere_activate) }, N_("Scroll to the left"), G_CALLBACK (_action_scroll_somewhere_activate) },
{ "ScrollDown", NULL, { "ScrollDown", NULL,
N_("Scroll _Down"), "j", N_("Scroll _Down"), "j",
N_("Scroll down"), G_CALLBACK (_action_scroll_somewhere_activate) }, N_("Scroll down"), G_CALLBACK (_action_scroll_somewhere_activate) },
{ "ScrollUp", NULL, { "ScrollUp", NULL,
N_("Scroll _Up"), "k", N_("Scroll _Up"), "k",
N_("Scroll up"), G_CALLBACK (_action_scroll_somewhere_activate) }, N_("Scroll up"), G_CALLBACK (_action_scroll_somewhere_activate) },
{ "ScrollRight", NULL, { "ScrollRight", NULL,
N_("Scroll _Right"), "l", N_("Scroll _Right"), "l",
N_("Scroll to the right"), G_CALLBACK (_action_scroll_somewhere_activate) }, N_("Scroll to the right"), G_CALLBACK (_action_scroll_somewhere_activate) },
#endif #endif
{ "Go", NULL, N_("_Go") }, { "Go", NULL, N_("_Go") },
{ "Back", GTK_STOCK_GO_BACK, { "Back", GTK_STOCK_GO_BACK,
NULL, "<Alt>Left", NULL, "<Alt>Left",
N_("Go back to the previous page"), G_CALLBACK (_action_back_activate) }, N_("Go back to the previous page"), G_CALLBACK (_action_back_activate) },
{ "Forward", GTK_STOCK_GO_FORWARD, { "Forward", GTK_STOCK_GO_FORWARD,
NULL, "<Alt>Right", NULL, "<Alt>Right",
N_("Go forward to the next page"), G_CALLBACK (_action_forward_activate) }, N_("Go forward to the next page"), G_CALLBACK (_action_forward_activate) },
{ "Previous", GTK_STOCK_MEDIA_PREVIOUS, { "Previous", GTK_STOCK_MEDIA_PREVIOUS,
NULL, "<Ctrl>Left", NULL, "<Ctrl>Left",
/* i18n: Visit the previous logical page, ie. in a forum or blog */ /* i18n: Visit the previous logical page, ie. in a forum or blog */
N_("Go to the previous sub-page"), G_CALLBACK (_action_previous_activate) }, N_("Go to the previous sub-page"), G_CALLBACK (_action_previous_activate) },
{ "Next", GTK_STOCK_MEDIA_NEXT, { "Next", GTK_STOCK_MEDIA_NEXT,
NULL, "<Ctrl>Right", NULL, "<Ctrl>Right",
/* i18n: Visit the following logical page, ie. in a forum or blog */ /* i18n: Visit the following logical page, ie. in a forum or blog */
N_("Go to the next sub-page"), G_CALLBACK (_action_next_activate) }, N_("Go to the next sub-page"), G_CALLBACK (_action_next_activate) },
{ "Homepage", STOCK_HOMEPAGE, { "Homepage", STOCK_HOMEPAGE,
NULL, "<Alt>Home", NULL, "<Alt>Home",
N_("Go to your homepage"), G_CALLBACK (_action_homepage_activate) }, N_("Go to your homepage"), G_CALLBACK (_action_homepage_activate) },
{ "TrashEmpty", GTK_STOCK_CLEAR, { "TrashEmpty", GTK_STOCK_CLEAR,
N_("Empty Trash"), "", N_("Empty Trash"), "",
N_("Delete the contents of the trash"), G_CALLBACK (_action_trash_empty_activate) }, N_("Delete the contents of the trash"), G_CALLBACK (_action_trash_empty_activate) },
{ "UndoTabClose", GTK_STOCK_UNDELETE, { "UndoTabClose", GTK_STOCK_UNDELETE,
N_("Undo _Close Tab"), "<Ctrl><Shift>t", N_("Undo _Close Tab"), "<Ctrl><Shift>t",
N_("Open the last closed tab"), G_CALLBACK (_action_undo_tab_close_activate) }, N_("Open the last closed tab"), G_CALLBACK (_action_undo_tab_close_activate) },
{ "BookmarkAdd", STOCK_BOOKMARK_ADD, { "BookmarkAdd", STOCK_BOOKMARK_ADD,
NULL, "<Ctrl>d", NULL, "<Ctrl>d",
N_("Add a new bookmark"), G_CALLBACK (_action_bookmark_add_activate) }, N_("Add a new bookmark"), G_CALLBACK (_action_bookmark_add_activate) },
{ "BookmarkFolderAdd", NULL, { "BookmarkFolderAdd", NULL,
N_("Add a new _folder"), "", N_("Add a new _folder"), "",
N_("Add a new bookmark folder"), G_CALLBACK (_action_bookmark_folder_add_activate) }, N_("Add a new bookmark folder"), G_CALLBACK (_action_bookmark_folder_add_activate) },
{ "BookmarksImport", NULL, { "BookmarksImport", NULL,
N_("_Import bookmarks"), "", N_("_Import bookmarks"), "",
NULL, G_CALLBACK (_action_bookmarks_import_activate) }, NULL, G_CALLBACK (_action_bookmarks_import_activate) },
{ "BookmarksExport", NULL, { "BookmarksExport", NULL,
N_("_Export bookmarks"), "", N_("_Export bookmarks"), "",
NULL, G_CALLBACK (_action_bookmarks_export_activate) }, NULL, G_CALLBACK (_action_bookmarks_export_activate) },
{ "ManageSearchEngines", GTK_STOCK_PROPERTIES, { "ManageSearchEngines", GTK_STOCK_PROPERTIES,
N_("_Manage Search Engines"), "<Ctrl><Alt>s", N_("_Manage Search Engines"), "<Ctrl><Alt>s",
N_("Add, edit and remove search engines..."), N_("Add, edit and remove search engines..."),
G_CALLBACK (_action_manage_search_engines_activate) }, G_CALLBACK (_action_manage_search_engines_activate) },
{ "ClearPrivateData", NULL, { "ClearPrivateData", NULL,
N_("_Clear Private Data"), "<Ctrl><Shift>Delete", N_("_Clear Private Data"), "<Ctrl><Shift>Delete",
N_("Clear private data..."), N_("Clear private data..."),
G_CALLBACK (_action_clear_private_data_activate) }, G_CALLBACK (_action_clear_private_data_activate) },
#if WEBKIT_CHECK_VERSION (1, 1, 17) #if WEBKIT_CHECK_VERSION (1, 1, 17)
{ "InspectPage", NULL, { "InspectPage", NULL,
N_("_Inspect Page"), "<Ctrl><Shift>i", N_("_Inspect Page"), "<Ctrl><Shift>i",
N_("Inspect page details and access developer tools..."), N_("Inspect page details and access developer tools..."),
G_CALLBACK (_action_inspect_page_activate) }, G_CALLBACK (_action_inspect_page_activate) },
#endif #endif
{ "TabPrevious", GTK_STOCK_GO_BACK, { "TabPrevious", GTK_STOCK_GO_BACK,
N_("_Previous Tab"), "<Ctrl>Page_Up", N_("_Previous Tab"), "<Ctrl>Page_Up",
N_("Switch to the previous tab"), G_CALLBACK (_action_tab_previous_activate) }, N_("Switch to the previous tab"), G_CALLBACK (_action_tab_previous_activate) },
{ "TabNext", GTK_STOCK_GO_FORWARD, { "TabNext", GTK_STOCK_GO_FORWARD,
N_("_Next Tab"), "<Ctrl>Page_Down", N_("_Next Tab"), "<Ctrl>Page_Down",
N_("Switch to the next tab"), G_CALLBACK (_action_tab_next_activate) }, N_("Switch to the next tab"), G_CALLBACK (_action_tab_next_activate) },
{ "TabCurrent", NULL, { "TabCurrent", NULL,
N_("Focus _Current Tab"), "<Ctrl>Home", N_("Focus _Current Tab"), "<Ctrl>Home",
N_("Focus the current tab"), G_CALLBACK (_action_tab_current_activate) }, N_("Focus the current tab"), G_CALLBACK (_action_tab_current_activate) },
{ "LastSession", NULL, { "LastSession", NULL,
N_("Open last _session"), NULL, N_("Open last _session"), NULL,
N_("Open the tabs saved in the last session"), NULL }, N_("Open the tabs saved in the last session"), NULL },
{ "Help", NULL, N_("_Help") }, { "Help", NULL, N_("_Help") },
{ "HelpContents", GTK_STOCK_HELP, { "HelpContents", GTK_STOCK_HELP,
N_("_Contents"), "F1", N_("_Contents"), "F1",
N_("Show the documentation"), G_CALLBACK (_action_help_link_activate) }, N_("Show the documentation"), G_CALLBACK (_action_help_link_activate) },
{ "HelpFAQ", NULL, { "HelpFAQ", NULL,
N_("_Frequent Questions"), NULL, N_("_Frequent Questions"), NULL,
N_("Show the Frequently Asked Questions"), G_CALLBACK (_action_help_link_activate) }, N_("Show the Frequently Asked Questions"), G_CALLBACK (_action_help_link_activate) },
{ "HelpBugs", NULL, { "HelpBugs", NULL,
N_("_Report a Bug"), NULL, N_("_Report a Bug"), NULL,
N_("Open Midori's bug tracker"), G_CALLBACK (_action_help_link_activate) }, N_("Open Midori's bug tracker"), G_CALLBACK (_action_help_link_activate) },
{ "About", GTK_STOCK_ABOUT, { "About", GTK_STOCK_ABOUT,
NULL, "", NULL, "",
N_("Show information about the program"), G_CALLBACK (_action_about_activate) }, N_("Show information about the program"), G_CALLBACK (_action_about_activate) },
{ "Dummy", NULL, "Dummy" }, { "Dummy", NULL, "Dummy" },
}; };
static const guint entries_n = G_N_ELEMENTS (entries); static const guint entries_n = G_N_ELEMENTS (entries);
static const GtkToggleActionEntry toggle_entries[] = { static const GtkToggleActionEntry toggle_entries[] =
{ "Menubar", NULL, {
N_("_Menubar"), "", { "Menubar", NULL,
N_("Show menubar"), G_CALLBACK (_action_menubar_activate), N_("_Menubar"), "",
FALSE }, N_("Show menubar"), G_CALLBACK (_action_menubar_activate),
{ "Navigationbar", NULL, FALSE },
N_("_Navigationbar"), "", { "Navigationbar", NULL,
N_("Show navigationbar"), G_CALLBACK (_action_navigationbar_activate), N_("_Navigationbar"), "",
FALSE }, N_("Show navigationbar"), G_CALLBACK (_action_navigationbar_activate),
{ "Panel", GTK_STOCK_INDENT, FALSE },
N_("Side_panel"), "F9", { "Panel", GTK_STOCK_INDENT,
N_("Show sidepanel"), G_CALLBACK (_action_panel_activate), N_("Side_panel"), "F9",
FALSE }, N_("Show sidepanel"), G_CALLBACK (_action_panel_activate),
{ "Bookmarkbar", NULL, FALSE },
N_("_Bookmarkbar"), "", { "Bookmarkbar", NULL,
N_("Show bookmarkbar"), G_CALLBACK (_action_bookmarkbar_activate), N_("_Bookmarkbar"), "",
FALSE }, N_("Show bookmarkbar"), G_CALLBACK (_action_bookmarkbar_activate),
{ "Transferbar", NULL, FALSE },
N_("_Transferbar"), "", { "Transferbar", NULL,
N_("Show transferbar"), G_CALLBACK (_action_transferbar_activate), N_("_Transferbar"), "",
FALSE }, N_("Show transferbar"), G_CALLBACK (_action_transferbar_activate),
{ "Statusbar", NULL, FALSE },
N_("_Statusbar"), "", { "Statusbar", NULL,
N_("Show statusbar"), G_CALLBACK (_action_statusbar_activate), N_("_Statusbar"), "",
FALSE }, N_("Show statusbar"), G_CALLBACK (_action_statusbar_activate),
}; FALSE },
static const guint toggle_entries_n = G_N_ELEMENTS (toggle_entries); };
static const guint toggle_entries_n = G_N_ELEMENTS (toggle_entries);
static const GtkRadioActionEntry encoding_entries[] = { static const GtkRadioActionEntry encoding_entries[] =
{ "EncodingAutomatic", NULL, {
N_("_Automatic"), "", { "EncodingAutomatic", NULL,
NULL, 1 }, N_("_Automatic"), "",
{ "EncodingChinese", NULL, NULL, 1 },
N_("Chinese (BIG5)"), "", { "EncodingChinese", NULL,
NULL, 1 }, N_("Chinese (BIG5)"), "",
{ "EncodingJapanese", NULL, NULL, 1 },
/* i18n: A double underscore "__" is used to prevent an unwanted mnemonic */ { "EncodingJapanese", NULL,
N_("Japanese (SHIFT__JIS)"), "", /* i18n: A double underscore "__" is used to prevent the mnemonic */
NULL, 1 }, N_("Japanese (SHIFT__JIS)"), "",
{ "EncodingKorean", NULL, NULL, 1 },
N_("Korean (EUC-KR)"), "", { "EncodingKorean", NULL,
NULL, 1 }, N_("Korean (EUC-KR)"), "",
{ "EncodingRussian", NULL, NULL, 1 },
N_("Russian (KOI8-R)"), "", { "EncodingRussian", NULL,
NULL, 1 }, N_("Russian (KOI8-R)"), "",
{ "EncodingUnicode", NULL, NULL, 1 },
N_("Unicode (UTF-8)"), "", { "EncodingUnicode", NULL,
NULL, 1 }, N_("Unicode (UTF-8)"), "",
{ "EncodingWestern", NULL, NULL, 1 },
N_("Western (ISO-8859-1)"), "", { "EncodingWestern", NULL,
NULL, 1 }, N_("Western (ISO-8859-1)"), "",
{ "EncodingCustom", NULL, NULL, 1 },
N_("Custom..."), "", { "EncodingCustom", NULL,
NULL, 1 }, N_("Custom..."), "",
}; NULL, 1 },
static const guint encoding_entries_n = G_N_ELEMENTS (encoding_entries); };
static const guint encoding_entries_n = G_N_ELEMENTS (encoding_entries);
static void static void
midori_browser_window_state_event_cb (MidoriBrowser* browser, midori_browser_window_state_event_cb (MidoriBrowser* browser,