diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-11-08 20:15:45 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-11-08 20:15:45 +0000 |
commit | 47ee9667e158eb6a75951aaeb25c2012fd9874fc (patch) | |
tree | a285fc48457366b49b382e398e649cefdb21688a /tests/testfilechooserbutton.c | |
parent | d0e90e40b1645ed93bf1dfca4f45693489c813e9 (diff) | |
download | gtk+-47ee9667e158eb6a75951aaeb25c2012fd9874fc.tar.gz |
Disable the SAVE and CREATE_FOLDER modes. (#157675, Christian Persch)
2004-11-08 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooserbutton.c (main): Disable the SAVE
and CREATE_FOLDER modes. (#157675, Christian Persch)
Diffstat (limited to 'tests/testfilechooserbutton.c')
-rw-r--r-- | tests/testfilechooserbutton.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testfilechooserbutton.c b/tests/testfilechooserbutton.c index cbf3eaea87..0897aefbea 100644 --- a/tests/testfilechooserbutton.c +++ b/tests/testfilechooserbutton.c @@ -134,6 +134,7 @@ main (int argc, char *argv[]) group_box = gtk_vbox_new (FALSE, 6); gtk_container_add (GTK_CONTAINER (alignment), group_box); + /* open mode */ hbox = gtk_hbox_new (FALSE, 12); gtk_box_pack_start (GTK_BOX (group_box), hbox, FALSE, FALSE, 0); @@ -155,6 +156,7 @@ main (int argc, char *argv[]) g_signal_connect (button, "clicked", G_CALLBACK (properties_button_clicked_cb), chooser); gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0); + /* select folder mode */ hbox = gtk_hbox_new (FALSE, 12); gtk_box_pack_start (GTK_BOX (group_box), hbox, FALSE, FALSE, 0); @@ -177,6 +179,8 @@ main (int argc, char *argv[]) g_signal_connect (button, "clicked", G_CALLBACK (properties_button_clicked_cb), chooser); gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0); +#if 0 + /* save mode */ hbox = gtk_hbox_new (FALSE, 12); gtk_box_pack_start (GTK_BOX (group_box), hbox, FALSE, FALSE, 0); @@ -199,6 +203,7 @@ main (int argc, char *argv[]) g_signal_connect (button, "clicked", G_CALLBACK (properties_button_clicked_cb), chooser); gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0); + /* create folder mode */ hbox = gtk_hbox_new (FALSE, 12); gtk_box_pack_start (GTK_BOX (group_box), hbox, FALSE, FALSE, 0); @@ -220,6 +225,7 @@ main (int argc, char *argv[]) button = gtk_button_new_with_label ("Properties..."); g_signal_connect (button, "clicked", G_CALLBACK (properties_button_clicked_cb), chooser); gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0); +#endif g_object_unref (label_group); |