[Commits] [SCM] claws branch, master, updated. 3.13.2-200-gf6769c0

mones at claws-mail.org mones at claws-mail.org
Sat Jul 23 13:11:28 CEST 2016


The branch, master has been updated
       via  f6769c0ac6eb0338fa98fcfd41f0453a6de1f1b6 (commit)
      from  60b6b8ef14e29d27a7e82afb0698988974d531ba (commit)

Summary of changes:
 src/prefs_receive.c |   16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit f6769c0ac6eb0338fa98fcfd41f0453a6de1f1b6
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sat Jul 23 13:09:49 2016 +0200

    Use current style of preferences for time fields

diff --git a/src/prefs_receive.c b/src/prefs_receive.c
index a5fcc23..9e623a8 100644
--- a/src/prefs_receive.c
+++ b/src/prefs_receive.c
@@ -113,6 +113,8 @@ static void prefs_receive_create_widget(PrefsPage *_page, GtkWindow *window,
 	GtkWidget *spinbtn_autochk_min;
 	GtkWidget *spinbtn_autochk_hour;
 	GtkWidget *label_autochk2;
+	GtkWidget *label_autochk1;
+	GtkWidget *label_autochk0;
 	GtkWidget *checkbtn_chkonstartup;
 	GtkWidget *checkbtn_openinbox;
 	GtkWidget *checkbtn_scan_after_inc;
@@ -171,11 +173,21 @@ static void prefs_receive_create_widget(PrefsPage *_page, GtkWindow *window,
 
 	gtk_widget_show (spinbtn_autochk_hour);
 	gtk_box_pack_start (GTK_BOX (hbox_autochk), spinbtn_autochk_hour, FALSE, FALSE, 0);
+
+	label_autochk0 = gtk_label_new (_("hours"));
+	gtk_widget_show (label_autochk0);
+	gtk_box_pack_start (GTK_BOX (hbox_autochk), label_autochk0, FALSE, FALSE, 0);
+
 	spinbtn_autochk_adj = GTK_ADJUSTMENT(gtk_adjustment_new (5, 0, 59, 1, 10, 0));
 	spinbtn_autochk_min = gtk_spin_button_new
 		(GTK_ADJUSTMENT (spinbtn_autochk_adj), 1, 0);
 	gtk_widget_show (spinbtn_autochk_min);
 	gtk_box_pack_start (GTK_BOX (hbox_autochk), spinbtn_autochk_min, FALSE, FALSE, 0);
+
+	label_autochk1 = gtk_label_new (_("minutes"));
+	gtk_widget_show (label_autochk1);
+	gtk_box_pack_start (GTK_BOX (hbox_autochk), label_autochk1, FALSE, FALSE, 0);
+
 	spinbtn_autochk_adj = GTK_ADJUSTMENT(gtk_adjustment_new (5, 0, 59, 1, 10, 0));
 	spinbtn_autochk_sec = gtk_spin_button_new
 		(GTK_ADJUSTMENT (spinbtn_autochk_adj), 1, 0);
@@ -188,13 +200,15 @@ static void prefs_receive_create_widget(PrefsPage *_page, GtkWindow *window,
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_autochk_min), TRUE);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_autochk_hour), TRUE);
 
-	label_autochk2 = gtk_label_new (_("h/m/s"));
+	label_autochk2 = gtk_label_new (_("seconds"));
 	gtk_widget_show (label_autochk2);
 	gtk_box_pack_start (GTK_BOX (hbox_autochk), label_autochk2, FALSE, FALSE, 0);
 
 	SET_TOGGLE_SENSITIVITY(checkbtn_autochk, spinbtn_autochk_sec);
 	SET_TOGGLE_SENSITIVITY(checkbtn_autochk, spinbtn_autochk_min);
 	SET_TOGGLE_SENSITIVITY(checkbtn_autochk, spinbtn_autochk_hour);
+	SET_TOGGLE_SENSITIVITY(checkbtn_autochk, label_autochk0);
+	SET_TOGGLE_SENSITIVITY(checkbtn_autochk, label_autochk1);
 	SET_TOGGLE_SENSITIVITY(checkbtn_autochk, label_autochk2);
 
 	PACK_CHECK_BUTTON (vbox2, checkbtn_chkonstartup,

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list