Prune more gtk_widget_set_size_request calls
authorRicardo Mones <ricardo@mones.org>
Sat, 20 Jan 2018 13:10:39 +0000 (14:10 +0100)
committerRicardo Mones <ricardo@mones.org>
Sat, 20 Jan 2018 13:10:39 +0000 (14:10 +0100)
src/addrgather.c
src/plugins/pgpcore/prefs_gpg.c

index 253f23a48b91858f777b14faa0dd14a925c1da76..03ab8e37e4e25a88f9809d0338b8c9d8e147288d 100644 (file)
@@ -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,
index 1f2c5b37ee487d38a3dd355c54de6d466b3cc260..867133c3723142fd8bc70e41695c38ac4cc7aec1 100644 (file)
@@ -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