made handle box test non-modal, so other test can interact with handle

Thu May  3 16:27:34 2007  Tim Janik  <timj@imendio.com>

        * tests/testgtk.c (create_handle_box): made handle box test non-modal,
        so other test can interact with handle boxes.



svn path=/trunk/; revision=17785
This commit is contained in:
Tim Janik 2007-05-03 14:33:17 +00:00 committed by Tim Janik
parent d3aeccf774
commit 4b93b282aa
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Thu May 3 16:27:34 2007 Tim Janik <timj@imendio.com>
* tests/testgtk.c (create_handle_box): made handle box test non-modal,
so other test can interact with handle boxes.
2007-05-02 Emmanuele Bassi <ebassi@gnome.org>
Add search file support in the GtkFileChooser. Original patch

View File

@ -2321,7 +2321,7 @@ create_handle_box (GtkWidget *widget)
gtk_window_set_screen (GTK_WINDOW (window),
gtk_widget_get_screen (widget));
gtk_window_set_modal (GTK_WINDOW (window), TRUE);
gtk_window_set_modal (GTK_WINDOW (window), FALSE);
gtk_window_set_title (GTK_WINDOW (window),
"Handle Box Test");
gtk_window_set_resizable (GTK_WINDOW (window), TRUE);
@ -2698,7 +2698,7 @@ create_get_image (GtkWidget *widget)
src);
gtk_box_pack_start (GTK_BOX (hbox),
sw, TRUE, TRUE, 0);
sw, TRUE, TRUE, 0);
vbox = gtk_vbox_new (FALSE, 3);