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,7 +5334,8 @@ _action_trash_empty_activate (GtkAction* action,
} }
} }
static const GtkActionEntry entries[] = { static const GtkActionEntry entries[] =
{
{ "File", NULL, N_("_File") }, { "File", NULL, N_("_File") },
{ "WindowNew", STOCK_WINDOW_NEW, { "WindowNew", STOCK_WINDOW_NEW,
N_("New _Window"), "<Ctrl>n", N_("New _Window"), "<Ctrl>n",
@ -5539,10 +5540,11 @@ static const GtkActionEntry entries[] = {
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, { "Menubar", NULL,
N_("_Menubar"), "", N_("_Menubar"), "",
N_("Show menubar"), G_CALLBACK (_action_menubar_activate), N_("Show menubar"), G_CALLBACK (_action_menubar_activate),
@ -5567,18 +5569,19 @@ static const GtkToggleActionEntry toggle_entries[] = {
N_("_Statusbar"), "", N_("_Statusbar"), "",
N_("Show statusbar"), G_CALLBACK (_action_statusbar_activate), N_("Show statusbar"), G_CALLBACK (_action_statusbar_activate),
FALSE }, 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, {
{ "EncodingAutomatic", NULL,
N_("_Automatic"), "", N_("_Automatic"), "",
NULL, 1 }, NULL, 1 },
{ "EncodingChinese", NULL, { "EncodingChinese", NULL,
N_("Chinese (BIG5)"), "", N_("Chinese (BIG5)"), "",
NULL, 1 }, NULL, 1 },
{ "EncodingJapanese", NULL, { "EncodingJapanese", NULL,
/* i18n: A double underscore "__" is used to prevent an unwanted mnemonic */ /* i18n: A double underscore "__" is used to prevent the mnemonic */
N_("Japanese (SHIFT__JIS)"), "", N_("Japanese (SHIFT__JIS)"), "",
NULL, 1 }, NULL, 1 },
{ "EncodingKorean", NULL, { "EncodingKorean", NULL,
@ -5596,8 +5599,8 @@ static const GtkRadioActionEntry encoding_entries[] = {
{ "EncodingCustom", NULL, { "EncodingCustom", NULL,
N_("Custom..."), "", N_("Custom..."), "",
NULL, 1 }, 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,