[Xfce4-commits] <ristretto:master> Improve sizing of editor-chooser dialog
Stephan Arts
noreply at xfce.org
Mon Apr 2 21:28:02 CEST 2012
Updating branch refs/heads/master
to 9f035285abc987a6360d4ed3bd29abd38cd2fdc6 (commit)
from 31df6f36015608b53126d87cd0799c9d1a1de859 (commit)
commit 9f035285abc987a6360d4ed3bd29abd38cd2fdc6
Author: Stephan Arts <stephan at xfce.org>
Date: Mon Apr 2 21:23:15 2012 +0200
Improve sizing of editor-chooser dialog
src/main_window.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/main_window.c b/src/main_window.c
index 7577bff..ea48b44 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -3333,6 +3333,18 @@ rstto_main_window_launch_editor_chooser (
label = gtk_label_new (label_text);
check_button = gtk_check_button_new_with_mnemonic(_("Use as _default for this kind of file"));
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
+ gtk_scrolled_window_set_policy (
+ GTK_SCROLLED_WINDOW (scrolled_window),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
+ gtk_scrolled_window_set_shadow_type (
+ GTK_SCROLLED_WINDOW (scrolled_window),
+ GTK_SHADOW_IN);
+ gtk_widget_set_size_request (
+ scrolled_window,
+ 300,
+ 200);
+
treeview = gtk_tree_view_new ();
list_store = gtk_list_store_new (3, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_OBJECT);
More information about the Xfce4-commits
mailing list