From 5136f54d0566e8a4695dcc100043c9bfec2443a5 Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 1 Nov 2006 04:07:17 +0000 Subject: added the option 'Open inbox on startup'. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1260 ee746299-78ed-0310-b773-934348b2243d --- src/prefs_common_dialog.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/prefs_common_dialog.c') diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c index 0a0e4e20..80e8aa8b 100644 --- a/src/prefs_common_dialog.c +++ b/src/prefs_common_dialog.c @@ -185,6 +185,7 @@ static struct Interface { GtkWidget *checkbtn_openunread; GtkWidget *checkbtn_mark_as_read_on_newwin; GtkWidget *checkbtn_openinbox; + GtkWidget *checkbtn_openinbox_startup; GtkWidget *checkbtn_immedexec; #ifndef G_OS_WIN32 GtkWidget *checkbtn_comply_gnome_hig; @@ -452,6 +453,8 @@ static PrefsUIData ui_data[] = { prefs_set_data_from_toggle, prefs_set_toggle}, {"open_inbox_on_inc", &interface.checkbtn_openinbox, prefs_set_data_from_toggle, prefs_set_toggle}, + {"open_inbox_on_startup", &interface.checkbtn_openinbox_startup, + prefs_set_data_from_toggle, prefs_set_toggle}, {"immediate_execution", &interface.checkbtn_immedexec, prefs_set_data_from_toggle, prefs_set_toggle}, @@ -2048,6 +2051,7 @@ static void prefs_details_create(void) GtkWidget *checkbtn_openunread; GtkWidget *checkbtn_mark_as_read_on_newwin; GtkWidget *checkbtn_openinbox; + GtkWidget *checkbtn_openinbox_startup; GtkWidget *checkbtn_immedexec; GtkWidget *hbox1; GtkWidget *hbox_spc; @@ -2085,7 +2089,7 @@ static void prefs_details_create(void) PACK_CHECK_BUTTON (vbox2, checkbtn_openunread, - _("Open first unread message when entering a folder")); + _("Open first unread message when a folder is opened")); SET_TOGGLE_SENSITIVITY_REV (checkbtn_always_show_msg, checkbtn_openunread); @@ -2096,7 +2100,9 @@ static void prefs_details_create(void) PACK_CHECK_BUTTON (vbox2, checkbtn_openinbox, - _("Go to inbox after receiving new mail")); + _("Open inbox after receiving new mail")); + PACK_CHECK_BUTTON + (vbox2, checkbtn_openinbox_startup, _("Open inbox on startup")); vbox3 = gtk_vbox_new (FALSE, 0); gtk_widget_show (vbox3); @@ -2161,6 +2167,7 @@ static void prefs_details_create(void) interface.checkbtn_mark_as_read_on_newwin = checkbtn_mark_as_read_on_newwin; interface.checkbtn_openinbox = checkbtn_openinbox; + interface.checkbtn_openinbox_startup = checkbtn_openinbox_startup; interface.checkbtn_immedexec = checkbtn_immedexec; #ifndef G_OS_WIN32 -- cgit v1.2.3