mirror of https://github.com/GNOME/gimp.git
added a scrolled window in page 2, since the list of directories is too
* app/gui/user-install-dialog.c (user_install_dialog_run): added a scrolled window in page 2, since the list of directories is too long to fit in a 1024x768 screen. The user install dialog should now fit into a 800x600 screen. This should close #122211
This commit is contained in:
parent
ecedfa1131
commit
0632251cff
|
@ -1,3 +1,10 @@
|
||||||
|
2003-12-22 DindinX <david@dindinx.org>
|
||||||
|
|
||||||
|
* app/gui/user-install-dialog.c (user_install_dialog_run): added a
|
||||||
|
scrolled window in page 2, since the list of directories is too long
|
||||||
|
to fit in a 1024x768 screen. The user install dialog should now fit
|
||||||
|
into a 800x600 screen. This should close #122211
|
||||||
|
|
||||||
2003-12-21 Michael Natterer <mitch@gimp.org>
|
2003-12-21 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* plug-ins/common/convmatrix.c: indentation & whitespace cleanup.
|
* plug-ins/common/convmatrix.c: indentation & whitespace cleanup.
|
||||||
|
|
|
@ -785,6 +785,7 @@ user_install_dialog_run (const gchar *alternate_system_gimprc,
|
||||||
{
|
{
|
||||||
GtkWidget *hbox;
|
GtkWidget *hbox;
|
||||||
GtkWidget *vbox;
|
GtkWidget *vbox;
|
||||||
|
GtkWidget *scr;
|
||||||
GtkWidget *tv;
|
GtkWidget *tv;
|
||||||
GdkPixbuf *file_pixbuf;
|
GdkPixbuf *file_pixbuf;
|
||||||
GdkPixbuf *folder_pixbuf;
|
GdkPixbuf *folder_pixbuf;
|
||||||
|
@ -832,7 +833,13 @@ user_install_dialog_run (const gchar *alternate_system_gimprc,
|
||||||
|
|
||||||
PAGE_STYLE (tv);
|
PAGE_STYLE (tv);
|
||||||
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tv), FALSE);
|
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tv), FALSE);
|
||||||
gtk_box_pack_start (GTK_BOX (hbox), tv, FALSE, FALSE, 0);
|
scr = gtk_scrolled_window_new (NULL, NULL);
|
||||||
|
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scr),
|
||||||
|
GTK_POLICY_NEVER,
|
||||||
|
GTK_POLICY_AUTOMATIC);
|
||||||
|
gtk_box_pack_start (GTK_BOX (hbox), scr, FALSE, FALSE, 0);
|
||||||
|
gtk_widget_show (scr);
|
||||||
|
gtk_container_add (GTK_CONTAINER (scr), tv);
|
||||||
gtk_widget_show (tv);
|
gtk_widget_show (tv);
|
||||||
|
|
||||||
vbox = gtk_vbox_new (FALSE, 8);
|
vbox = gtk_vbox_new (FALSE, 8);
|
||||||
|
|
|
@ -785,6 +785,7 @@ user_install_dialog_run (const gchar *alternate_system_gimprc,
|
||||||
{
|
{
|
||||||
GtkWidget *hbox;
|
GtkWidget *hbox;
|
||||||
GtkWidget *vbox;
|
GtkWidget *vbox;
|
||||||
|
GtkWidget *scr;
|
||||||
GtkWidget *tv;
|
GtkWidget *tv;
|
||||||
GdkPixbuf *file_pixbuf;
|
GdkPixbuf *file_pixbuf;
|
||||||
GdkPixbuf *folder_pixbuf;
|
GdkPixbuf *folder_pixbuf;
|
||||||
|
@ -832,7 +833,13 @@ user_install_dialog_run (const gchar *alternate_system_gimprc,
|
||||||
|
|
||||||
PAGE_STYLE (tv);
|
PAGE_STYLE (tv);
|
||||||
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tv), FALSE);
|
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tv), FALSE);
|
||||||
gtk_box_pack_start (GTK_BOX (hbox), tv, FALSE, FALSE, 0);
|
scr = gtk_scrolled_window_new (NULL, NULL);
|
||||||
|
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scr),
|
||||||
|
GTK_POLICY_NEVER,
|
||||||
|
GTK_POLICY_AUTOMATIC);
|
||||||
|
gtk_box_pack_start (GTK_BOX (hbox), scr, FALSE, FALSE, 0);
|
||||||
|
gtk_widget_show (scr);
|
||||||
|
gtk_container_add (GTK_CONTAINER (scr), tv);
|
||||||
gtk_widget_show (tv);
|
gtk_widget_show (tv);
|
||||||
|
|
||||||
vbox = gtk_vbox_new (FALSE, 8);
|
vbox = gtk_vbox_new (FALSE, 8);
|
||||||
|
|
Loading…
Reference in New Issue