[geany/geany-plugins] 97f663: Auto-close: fix settings window minimum size

Pavel Roschin git-noreply at xxxxx
Mon Sep 8 18:07:13 UTC 2014


Branch:      refs/heads/master
Author:      Pavel Roschin <roshin at scriptumplus.ru>
Committer:   Pavel Roschin <roshin at scriptumplus.ru>
Date:        Fri, 02 May 2014 18:36:25 UTC
Commit:      97f663ff599ce01438abe7992249d5f05df7ed42
             https://github.com/geany/geany-plugins/commit/97f663ff599ce01438abe7992249d5f05df7ed42

Log Message:
-----------
Auto-close: fix settings window minimum size

If you have only one auto-close plugin enabled, settings window becomes
very small because of using sroll window.


Modified Paths:
--------------
    autoclose/src/autoclose.c

Modified: autoclose/src/autoclose.c
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -1022,6 +1022,7 @@ plugin_configure(GtkDialog *dialog)
 	GtkWidget *widget, *vbox, *frame, *container, *scrollbox;
 	vbox = gtk_vbox_new(FALSE, 0);
 	scrollbox = gtk_scrolled_window_new(NULL, NULL);
+	gtk_widget_set_size_request(GTK_WIDGET(scrollbox), 350, 400);
 	gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrollbox), vbox);
 	gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrollbox),
 		GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list