[Commits] [SCM] claws branch, master, updated. 3.15.0-180-ged7e8e3

mones at claws-mail.org mones at claws-mail.org
Sun Nov 26 20:54:09 CET 2017


The branch, master has been updated
       via  ed7e8e3ea59e94f8c695a145875e825d6ec6a86a (commit)
      from  d80cb788fd3a8cfbf8241f02e74a88004a729b9d (commit)

Summary of changes:
 src/prefs_compose_writing.c |    3 ---
 src/prefs_logging.c         |    2 --
 src/prefs_other.c           |    1 -
 src/prefs_receive.c         |    3 ---
 src/prefs_summaries.c       |    2 --
 src/prefs_wrapping.c        |    1 -
 6 files changed, 12 deletions(-)


- Log -----------------------------------------------------------------
commit ed7e8e3ea59e94f8c695a145875e825d6ec6a86a
Author: Olaf Hering <olaf at aepfle.de>
Date:   Wed Nov 22 18:03:16 2017 +0100

    Fix truncated input widgets in preferences window
    
    With larger UI fontsize some input fields are truncated, the numbers can
    not be read properly. Remove the hardcoded width values, let GTK pick a
    value.

diff --git a/src/prefs_compose_writing.c b/src/prefs_compose_writing.c
index 2f5aff2..2f7213d 100644
--- a/src/prefs_compose_writing.c
+++ b/src/prefs_compose_writing.c
@@ -155,7 +155,6 @@ static void prefs_compose_writing_create_widget(PrefsPage *_page, GtkWindow *win
 	spinbtn_autosave_adj = GTK_ADJUSTMENT(gtk_adjustment_new (50, 0, 1000, 1, 10, 0));
 	spinbtn_autosave_length = gtk_spin_button_new
 		(GTK_ADJUSTMENT (spinbtn_autosave_adj), 1, 0);
-	gtk_widget_set_size_request (spinbtn_autosave_length, 64, -1);	
 	gtk_widget_show (spinbtn_autosave_length);
 	gtk_box_pack_start (GTK_BOX (hbox_autosave), spinbtn_autosave_length, FALSE, FALSE, 0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_autosave_length), TRUE);
@@ -187,7 +186,6 @@ static void prefs_compose_writing_create_widget(PrefsPage *_page, GtkWindow *win
 		(GTK_ADJUSTMENT (spinbtn_undolevel_adj), 1, 0);
 	gtk_widget_show (spinbtn_undolevel);
 	gtk_box_pack_start (GTK_BOX (hbox_undolevel), spinbtn_undolevel, FALSE, FALSE, 0);
-	gtk_widget_set_size_request (spinbtn_undolevel, 64, -1);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_undolevel), TRUE);
 
 	/* Editing: warn when inserting large files in message body */
@@ -201,7 +199,6 @@ static void prefs_compose_writing_create_widget(PrefsPage *_page, GtkWindow *win
 	spinbtn_warn_large_insert_adj = GTK_ADJUSTMENT(gtk_adjustment_new (50, 0, 10000, 1, 10, 0));
 	spinbtn_warn_large_insert_size = gtk_spin_button_new
 		(GTK_ADJUSTMENT (spinbtn_warn_large_insert_adj), 1, 0);
-	gtk_widget_set_size_request (spinbtn_warn_large_insert_size, 64, -1);	
 	gtk_widget_show (spinbtn_warn_large_insert_size);
 	gtk_box_pack_start (GTK_BOX (hbox_warn_large_insert),
 			spinbtn_warn_large_insert_size, FALSE, FALSE, 0);
diff --git a/src/prefs_logging.c b/src/prefs_logging.c
index 99b6567..2b50358 100644
--- a/src/prefs_logging.c
+++ b/src/prefs_logging.c
@@ -148,7 +148,6 @@ static void prefs_logging_create_widget(PrefsPage *_page, GtkWindow *window,
 	gtk_widget_show (spinbtn_network_log_length);
 	gtk_box_pack_start (GTK_BOX (hbox_clip_network_log), spinbtn_network_log_length,
 			    FALSE, FALSE, 0);
-	gtk_widget_set_size_request (GTK_WIDGET (spinbtn_network_log_length), 64, -1);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_network_log_length), TRUE);
 
 	CLAWS_SET_TIP(spinbtn_network_log_length,
@@ -255,7 +254,6 @@ static void prefs_logging_create_widget(PrefsPage *_page, GtkWindow *window,
 	gtk_widget_show (spinbtn_filtering_log_length);
 	gtk_box_pack_start (GTK_BOX (hbox_clip_filtering_log), spinbtn_filtering_log_length,
 			    FALSE, FALSE, 0);
-	gtk_widget_set_size_request (GTK_WIDGET (spinbtn_filtering_log_length), 64, -1);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_filtering_log_length), TRUE);
 
 	CLAWS_SET_TIP(spinbtn_filtering_log_length,
diff --git a/src/prefs_other.c b/src/prefs_other.c
index 92e145c..1ea901a 100644
--- a/src/prefs_other.c
+++ b/src/prefs_other.c
@@ -569,7 +569,6 @@ static void prefs_other_create_widget(PrefsPage *_page, GtkWindow *window,
 	gtk_widget_show (spinbtn_iotimeout);
 	gtk_box_pack_start (GTK_BOX (hbox1), spinbtn_iotimeout,
 			    FALSE, FALSE, 0);
-	gtk_widget_set_size_request (spinbtn_iotimeout, 64, -1);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_iotimeout), TRUE);
 
 	label_iotimeout = gtk_label_new (_("seconds"));
diff --git a/src/prefs_receive.c b/src/prefs_receive.c
index 9e623a8..d1f04fb 100644
--- a/src/prefs_receive.c
+++ b/src/prefs_receive.c
@@ -193,9 +193,6 @@ static void prefs_receive_create_widget(PrefsPage *_page, GtkWindow *window,
 		(GTK_ADJUSTMENT (spinbtn_autochk_adj), 1, 0);
 	gtk_widget_show (spinbtn_autochk_sec);
 	gtk_box_pack_start (GTK_BOX (hbox_autochk), spinbtn_autochk_sec, FALSE, FALSE, 0);
-	gtk_widget_set_size_request (spinbtn_autochk_sec, 48, -1);
-	gtk_widget_set_size_request (spinbtn_autochk_min, 48, -1);
-	gtk_widget_set_size_request (spinbtn_autochk_hour, 48, -1);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_autochk_sec), TRUE);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_autochk_min), TRUE);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_autochk_hour), TRUE);
diff --git a/src/prefs_summaries.c b/src/prefs_summaries.c
index ed345c2..58aa939 100644
--- a/src/prefs_summaries.c
+++ b/src/prefs_summaries.c
@@ -402,7 +402,6 @@ static void prefs_summaries_create_widget(PrefsPage *_page, GtkWindow *window,
 	gtk_widget_show (spinbtn_ng_abbrev_len);
 	gtk_box_pack_start (GTK_BOX (hbox1), spinbtn_ng_abbrev_len,
 			    FALSE, FALSE, 0);
-	gtk_widget_set_size_request (spinbtn_ng_abbrev_len, 56, -1);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_ng_abbrev_len),
 				     TRUE);
 
@@ -537,7 +536,6 @@ static void prefs_summaries_create_widget(PrefsPage *_page, GtkWindow *window,
 			(GTK_ADJUSTMENT (spinbtn_mark_as_read_delay_adj), 1, 0);
 	gtk_box_pack_start (GTK_BOX (hbox1), spinbtn_mark_as_read_delay,
 			    FALSE, FALSE, 0);
-	gtk_widget_set_size_request (spinbtn_mark_as_read_delay, 56, -1);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_mark_as_read_delay),
 				     TRUE);
 	gtk_box_pack_start (GTK_BOX (hbox1), gtk_label_new
diff --git a/src/prefs_wrapping.c b/src/prefs_wrapping.c
index ed1bc29..0134cd9 100644
--- a/src/prefs_wrapping.c
+++ b/src/prefs_wrapping.c
@@ -93,7 +93,6 @@ static void prefs_wrapping_create_widget(PrefsPage *_page, GtkWindow *window,
 	spinbtn_linewrap_adj = GTK_ADJUSTMENT(gtk_adjustment_new (72, 20, 1024, 1, 10, 0));
 	spinbtn_linewrap = gtk_spin_button_new
 		(GTK_ADJUSTMENT (spinbtn_linewrap_adj), 1, 0);
-	gtk_widget_set_size_request (spinbtn_linewrap, 64, -1);
 	gtk_widget_show (spinbtn_linewrap);
 	gtk_box_pack_start (GTK_BOX (hbox1), spinbtn_linewrap, FALSE, FALSE, 0);
 	gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbtn_linewrap), TRUE);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list