TRAYICON_NOTHING
} TrayIconType;
-static void trayicon_get_cb (gpointer data, guint action, GtkWidget *widget);
static void trayicon_get_all_cb (gpointer data, guint action, GtkWidget *widget);
static void trayicon_compose_cb (gpointer data, guint action, GtkWidget *widget);
static void trayicon_addressbook_cb (gpointer data, guint action, GtkWidget *widget);
static GtkItemFactoryEntry trayicon_popup_menu_entries[] =
{
- {N_("/_Get"), NULL, trayicon_get_cb, 0, NULL},
- {N_("/Get _All"), NULL, trayicon_get_all_cb, 0, NULL},
+ {N_("/_Get Mail"), NULL, trayicon_get_all_cb, 0, NULL},
{N_("/---"), NULL, NULL, 0, "<Separator>"},
{N_("/_Email"), NULL, trayicon_compose_cb, 0, NULL},
{N_("/Open A_ddressbook"), NULL, trayicon_addressbook_cb, 0, NULL},
{N_("/---"), NULL, NULL, 0, "<Separator>"},
{N_("/_Work Offline"), NULL, trayicon_toggle_offline_cb, 0, "<CheckItem>"},
{N_("/---"), NULL, NULL, 0, "<Separator>"},
- {N_("/E_xit Sylpheed"), NULL, trayicon_exit_cb, 0, NULL}
+ {N_("/E_xit Sylpheed-Claws"), NULL, trayicon_exit_cb, 0, NULL}
};
static void set_trayicon_pixmap(TrayIconType icontype)
/* initialize checkitem according to current offline state */
gtk_check_menu_item_set_active(
GTK_CHECK_MENU_ITEM(gtk_item_factory_get_item(traymenu_factory,
- _("/Offline"))), prefs_common.work_offline);
+ _("/Work Offline"))), prefs_common.work_offline);
updating_menu = FALSE;
gtk_menu_popup( GTK_MENU(traymenu_popup), NULL, NULL, NULL, NULL,
int plugin_init(gchar **error)
{
if ((sylpheed_get_version() > VERSION_NUMERIC)) {
- *error = g_strdup("Your sylpheed version is newer than the version the plugin was built with");
+ *error = g_strdup("Your version of Sylpheed-Claws is newer than the version the Trayicon plugin was built with");
return -1;
}
if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 3, 86))) {
- *error = g_strdup("Your sylpheed version is too old");
+ *error = g_strdup("Your version of Sylpheed-Claws is too old for the Trayicon plugin");
return -1;
}
}
/* popup menu callbacks */
-static void trayicon_get_cb( gpointer data, guint action, GtkWidget *widget )
-{
- MainWindow *mainwin = mainwindow_get_mainwindow();
- inc_mail_cb(mainwin, 0, NULL);
-}
-
static void trayicon_get_all_cb( gpointer data, guint action, GtkWidget *widget )
{
MainWindow *mainwin = mainwindow_get_mainwindow();