sync with sylpheed 0.7.4
[claws.git] / src / mainwindow.c
index bbd9a87021be686b7814e7aa97c831ca07115a28..9e2fd0b9d4206ef228f79700ddd66c4def254739 100644 (file)
@@ -435,8 +435,7 @@ static void account_menu_cb  (GtkMenuItem   *menuitem,
 static void manual_open_cb      (MainWindow    *mainwin,
                                  guint          action,
                                  GtkWidget     *widget);
-
-static void faq_open_cb                (MainWindow     *mainwin,
+static void faq_open_cb                 (MainWindow    *mainwin,
                                  guint          action,
                                  GtkWidget     *widget);
 
@@ -714,9 +713,9 @@ static GtkItemFactoryEntry mainwin_entries[] =
        {N_("/_Help/_Manual/_French"),          NULL, manual_open_cb, MANUAL_LANG_FR, NULL},
        {N_("/_Help/_Manual/_Japanese"),        NULL, manual_open_cb, MANUAL_LANG_JA, NULL},
        {N_("/_Help/_FAQ"),                     NULL, NULL, 0, "<Branch>"},
-       {N_("/_Help/_FAQ/_English"),            NULL, faq_open_cb, FAQ_LANG_EN, NULL},
-       {N_("/_Help/_FAQ/_Spanish"),            NULL, faq_open_cb, FAQ_LANG_ES, NULL},
-       {N_("/_Help/_FAQ/_French"),             NULL, faq_open_cb, FAQ_LANG_FR, NULL},
+       {N_("/_Help/_FAQ/_English"),            NULL, faq_open_cb, MANUAL_LANG_EN, NULL},
+       {N_("/_Help/_FAQ/_Spanish"),            NULL, faq_open_cb, MANUAL_LANG_ES, NULL},
+       {N_("/_Help/_FAQ/_French"),             NULL, faq_open_cb, MANUAL_LANG_FR, NULL},
        {N_("/_Help/---"),                      NULL, NULL, 0, "<Separator>"},
        {N_("/_Help/_About"),                   NULL, about_show, 0, NULL}
 };
@@ -2979,10 +2978,9 @@ static void manual_open_cb(MainWindow *mainwin, guint action,
        manual_open((ManualLang)action);
 }
 
-static void faq_open_cb(MainWindow *mainwin, guint action,
-                       GtkWidget *widget)
+static void faq_open_cb(MainWindow *mainwin, guint action, GtkWidget *widget)
 {
-       faq_open((FaqLang)action);
+       faq_open((ManualLang)action);
 }
 
 static void scan_tree_func(Folder *folder, FolderItem *item, gpointer data)