[geany/geany-plugins] 5019a6: Merge pull request #242 from b4n/autoclose/prefs-size

Colomban Wendling git-noreply at xxxxx
Sun Jul 5 15:52:09 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 05 Jul 2015 15:52:09 UTC
Commit:      5019a66e1b6ea54f3b62de8c62e01baac7cb133c
             https://github.com/geany/geany-plugins/commit/5019a66e1b6ea54f3b62de8c62e01baac7cb133c

Log Message:
-----------
Merge pull request #242 from b4n/autoclose/prefs-size

autoclose: Don't scroll the preferences UI horizontally


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

Modified: autoclose/src/autoclose.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -1009,10 +1009,10 @@ 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_widget_set_size_request(GTK_WIDGET(scrollbox), -1, 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);
+		GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
 
 #define WIDGET_FRAME(description) G_STMT_START {                               \
     container = gtk_vbox_new(FALSE, 0);                                        \



--------------
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