[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-374-g402f9ed

ticho at claws-mail.org ticho at claws-mail.org
Thu Oct 4 21:35:23 CEST 2018


The branch, gtk3 has been updated
       via  402f9ed6111c53dbc055cb1dbd51a8d75ed96174 (commit)
      from  f71ca14f9f622a9dc14d23c96fb2f897ca25f71c (commit)

Summary of changes:
 src/gtk/prefswindow.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 402f9ed6111c53dbc055cb1dbd51a8d75ed96174
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Thu Oct 4 21:34:56 2018 +0200

    Restore prefswindow's remembered size correctly.

diff --git a/src/gtk/prefswindow.c b/src/gtk/prefswindow.c
index dfcc52b..608cf60 100644
--- a/src/gtk/prefswindow.c
+++ b/src/gtk/prefswindow.c
@@ -552,10 +552,11 @@ void prefswindow_open_full(const gchar *title, GSList *prefs_pages,
 			geometry.min_height = 550;
 		}
 	}
-	gtk_window_set_geometry_hints(GTK_WINDOW(prefswindow->window), NULL, &geometry,
-				      GDK_HINT_MIN_SIZE);
+	gtk_window_set_geometry_hints(GTK_WINDOW(prefswindow->window),
+			NULL, &geometry, GDK_HINT_MIN_SIZE);
 	if (prefswindow->save_width && prefswindow->save_height) {
-		gtk_widget_set_size_request(prefswindow->window, *(prefswindow->save_width),
+		gtk_window_set_default_size(GTK_WINDOW(prefswindow->window),
+				*(prefswindow->save_width),
 					    *(prefswindow->save_height));
 	}
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list