[Commits] [SCM] claws branch, gtk3, updated. 3.99.0-7-gf286c28a6
paul at claws-mail.org
paul at claws-mail.org
Fri Nov 13 10:36:49 CET 2020
The branch, gtk3 has been updated
via f286c28a6ee253828e18b5d46714b6b0306d364b (commit)
from 2a3a6f0088c43efa56111618aaf5ae7cd3c34bf8 (commit)
Summary of changes:
src/prefs_folder_item.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit f286c28a6ee253828e18b5d46714b6b0306d364b
Author: paul <paul at claws-mail.org>
Date: Fri Nov 13 09:36:45 2020 +0000
don't expand 'Discard folder item' button unnecessarily, make it labe width
diff --git a/src/prefs_folder_item.c b/src/prefs_folder_item.c
index 21936f52c..b7e8dfeb9 100644
--- a/src/prefs_folder_item.c
+++ b/src/prefs_folder_item.c
@@ -578,9 +578,14 @@ static void prefs_folder_item_general_create_widget_func(PrefsPage * page_,
SET_TOGGLE_SENSITIVITY (checkbtn_offlinesync, hbox);
SET_TOGGLE_SENSITIVITY (checkbtn_offlinesync, hbox2);
+ hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
+ gtk_widget_show (hbox);
clean_cache_btn = gtk_button_new_with_label(_("Discard folder cache"));
+ gtk_box_pack_start (GTK_BOX (hbox), clean_cache_btn, FALSE, FALSE, 0);
+ gtk_widget_set_hexpand(hbox, FALSE);
+ gtk_widget_set_halign(hbox, GTK_ALIGN_FILL);
gtk_widget_show (clean_cache_btn);
- gtk_grid_attach(GTK_GRID(table), clean_cache_btn, 0, rowcount, 1, 1);
+ gtk_grid_attach(GTK_GRID(table), hbox, 0, rowcount, 1, 1);
g_signal_connect(G_OBJECT(clean_cache_btn), "clicked",
G_CALLBACK(clean_cache_cb),
page);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list