commit 7695cfb98ef6a2c4796c9b618fbeeea4234db901
parent a96fdf2c4ea562761d2b92c33f904b5dbb70acea
Author: Ricardo Mones <ricardo@mones.org>
Date: Sat, 20 Jan 2018 14:10:39 +0100
Prune more gtk_widget_set_size_request calls
Diffstat:
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/addrgather.c b/src/addrgather.c
@@ -1,6 +1,6 @@
/*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 2002-2012 Match Grun and the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 2002-2018 Match Grun and the Claws Mail team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
*/
/*
@@ -396,7 +395,6 @@ static void addrgather_page_fields(gint pageNum, gchar *pageLbl)
adjFolder = GTK_ADJUSTMENT(gtk_adjustment_new(DFL_FOLDER_SIZE, MIN_FOLDER_SIZE, G_MAXINT, 1, 10, 0));
spinbtnFolder = gtk_spin_button_new(GTK_ADJUSTMENT(adjFolder), 1, 0);
gtk_box_pack_start(GTK_BOX(hboxs), spinbtnFolder, FALSE, FALSE, 0);
- gtk_widget_set_size_request(spinbtnFolder, 100, -1);
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(spinbtnFolder), TRUE);
gtk_table_attach(GTK_TABLE(table), hboxs, 1, 2, top, (top + 1), GTK_FILL, 0, 0, 0);
CLAWS_SET_TIP(spinbtnFolder,
diff --git a/src/plugins/pgpcore/prefs_gpg.c b/src/plugins/pgpcore/prefs_gpg.c
@@ -174,7 +174,6 @@ static void prefs_gpg_create_widget_func(PrefsPage *_page,
gtk_widget_show(spinbtn_store_passphrase);
gtk_box_pack_start(GTK_BOX(hbox1), spinbtn_store_passphrase, FALSE,
FALSE, 0);
- gtk_widget_set_size_request(spinbtn_store_passphrase, 64, -1);
CLAWS_SET_TIP(spinbtn_store_passphrase,
_("Setting to '0' will store the passphrase for the whole session"));
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON