[Commits] [SCM] claws branch, gtk3, updated. 3.99.0-92-g874fd93c6
thorsten at claws-mail.org
thorsten at claws-mail.org
Wed Apr 28 09:39:21 CEST 2021
The branch, gtk3 has been updated
via 874fd93c6990f7a0c58e8180ebdfa6945ece8126 (commit)
from 3dfae5196cf6132ed01c0da30fb8946d38cea34b (commit)
Summary of changes:
src/mainwindow.c | 4 ++++
src/statusbar.c | 4 ++++
2 files changed, 8 insertions(+)
- Log -----------------------------------------------------------------
commit 874fd93c6990f7a0c58e8180ebdfa6945ece8126
Author: Thorsten Maerz <info at netztorte.de>
Date: Wed Apr 28 09:37:03 2021 +0200
Remove empty margins around statusbar
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 68d14db7b..df3ea6fd7 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1941,6 +1941,10 @@ MainWindow *main_window_create()
gtk_box_pack_start(GTK_BOX(hbox_stat), warning_btn, FALSE, FALSE, 0);
statusbar = statusbar_create();
+ gtk_widget_set_margin_left(statusbar, 2);
+ gtk_widget_set_margin_right(statusbar, 0);
+ gtk_widget_set_margin_top(statusbar, 0);
+ gtk_widget_set_margin_bottom(statusbar, 0);
gtk_box_pack_start(GTK_BOX(hbox_stat), statusbar, TRUE, TRUE, 0);
progressbar = gtk_progress_bar_new();
diff --git a/src/statusbar.c b/src/statusbar.c
index 9e13b45b8..c9dc39b10 100644
--- a/src/statusbar.c
+++ b/src/statusbar.c
@@ -53,6 +53,10 @@ GtkWidget *statusbar_create(void)
statusbar_list = g_list_append(statusbar_list, statusbar);
gtk_container_set_border_width(GTK_CONTAINER(statusbar), 1);
child = gtk_statusbar_get_message_area(GTK_STATUSBAR(statusbar));
+ gtk_widget_set_margin_top(GTK_WIDGET(child), 0);
+ gtk_widget_set_margin_bottom(GTK_WIDGET(child), 0);
+ gtk_widget_set_margin_left(GTK_WIDGET(child), 0);
+ gtk_widget_set_margin_right(GTK_WIDGET(child), 0);
parent = gtk_widget_get_parent(child);
gtk_container_remove(GTK_CONTAINER(parent), g_object_ref(child));
hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list