Revision 2164 src/mainwindow.c
| mainwindow.c (revision 2164) | ||
|---|---|---|
| 79 | 79 |
#include "prefs_template.h" |
| 80 | 80 |
#include "prefs_search_folder.h" |
| 81 | 81 |
#include "prefs_toolbar.h" |
| 82 |
#include "plugin_manager.h" |
|
| 82 | 83 |
#include "action.h" |
| 83 | 84 |
#include "account.h" |
| 84 | 85 |
#include "account_dialog.h" |
| ... | ... | |
| 95 | 96 |
#include "codeconv.h" |
| 96 | 97 |
#include "about.h" |
| 97 | 98 |
#include "manual.h" |
| 99 |
#include "update_check.h" |
|
| 98 | 100 |
#include "version.h" |
| 99 | 101 |
|
| 100 | 102 |
#define AC_LABEL_WIDTH 240 |
| ... | ... | |
| 495 | 497 |
static void prefs_template_open_cb (MainWindow *mainwin, |
| 496 | 498 |
guint action, |
| 497 | 499 |
GtkWidget *widget); |
| 500 |
static void plugin_manager_open_cb (MainWindow *mainwin, |
|
| 501 |
guint action, |
|
| 502 |
GtkWidget *widget); |
|
| 498 | 503 |
#ifndef G_OS_WIN32 |
| 499 | 504 |
static void prefs_actions_open_cb (MainWindow *mainwin, |
| 500 | 505 |
guint action, |
| ... | ... | |
| 522 | 527 |
static void help_cmdline_cb (MainWindow *mainwin, |
| 523 | 528 |
guint action, |
| 524 | 529 |
GtkWidget *widget); |
| 530 |
static void update_check_cb (MainWindow *mainwin, |
|
| 531 |
guint action, |
|
| 532 |
GtkWidget *widget); |
|
| 525 | 533 |
|
| 526 | 534 |
static void scan_tree_func (Folder *folder, |
| 527 | 535 |
FolderItem *item, |
| ... | ... | |
| 857 | 865 |
#ifndef G_OS_WIN32 |
| 858 | 866 |
{N_("/_Configuration/_Actions..."), NULL, prefs_actions_open_cb, 0, NULL},
|
| 859 | 867 |
#endif |
| 868 |
{N_("/_Configuration/Plug-in _manager..."),
|
|
| 869 |
NULL, plugin_manager_open_cb, 0, NULL}, |
|
| 860 | 870 |
{N_("/_Configuration/---"), NULL, NULL, 0, "<Separator>"},
|
| 861 | 871 |
{N_("/_Configuration/_Preferences for current account..."),
|
| 862 | 872 |
NULL, prefs_account_open_cb, 0, NULL}, |
| ... | ... | |
| 879 | 889 |
{N_("/_Help/_FAQ/_Italian"), NULL, faq_open_cb, MANUAL_LANG_IT, NULL},
|
| 880 | 890 |
{N_("/_Help/_Command line options"), NULL, help_cmdline_cb, 0, NULL},
|
| 881 | 891 |
{N_("/_Help/---"), NULL, NULL, 0, "<Separator>"},
|
| 892 |
{N_("/_Help/_Update check..."), NULL, update_check_cb, 0, NULL},
|
|
| 893 |
{N_("/_Help/---"), NULL, NULL, 0, "<Separator>"},
|
|
| 882 | 894 |
{N_("/_Help/_About"), NULL, about_show, 0, NULL}
|
| 883 | 895 |
}; |
| 884 | 896 |
|
| ... | ... | |
| 3852 | 3864 |
prefs_template_open(); |
| 3853 | 3865 |
} |
| 3854 | 3866 |
|
| 3867 |
static void plugin_manager_open_cb(MainWindow *mainwin, guint action, |
|
| 3868 |
GtkWidget *widget) |
|
| 3869 |
{
|
|
| 3870 |
plugin_manager_open(); |
|
| 3871 |
} |
|
| 3872 |
|
|
| 3855 | 3873 |
#ifndef G_OS_WIN32 |
| 3856 | 3874 |
static void prefs_actions_open_cb(MainWindow *mainwin, guint action, |
| 3857 | 3875 |
GtkWidget *widget) |
| ... | ... | |
| 4027 | 4045 |
help_command_line_show(); |
| 4028 | 4046 |
} |
| 4029 | 4047 |
|
| 4048 |
static void update_check_cb(MainWindow *mainwin, guint action, |
|
| 4049 |
GtkWidget *widget) |
|
| 4050 |
{
|
|
| 4051 |
update_check(TRUE); |
|
| 4052 |
} |
|
| 4053 |
|
|
| 4030 | 4054 |
static void scan_tree_func(Folder *folder, FolderItem *item, gpointer data) |
| 4031 | 4055 |
{
|
| 4032 | 4056 |
MainWindow *mainwin = (MainWindow *)data; |
Also available in: Unified diff