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)
This commit is contained in:
Matthias Clasen 2004-11-08 20:15:45 +00:00 committed by Matthias Clasen
parent d0e90e40b1
commit 47ee9667e1
5 changed files with 18 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2004-11-08 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooserbutton.c (main): Disable the SAVE
and CREATE_FOLDER modes. (#157675, Christian Persch)
* gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the
website button if the url is unset. (#157630, John Finlay)

View File

@ -1,5 +1,8 @@
2004-11-08 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooserbutton.c (main): Disable the SAVE
and CREATE_FOLDER modes. (#157675, Christian Persch)
* gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the
website button if the url is unset. (#157630, John Finlay)

View File

@ -1,5 +1,8 @@
2004-11-08 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooserbutton.c (main): Disable the SAVE
and CREATE_FOLDER modes. (#157675, Christian Persch)
* gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the
website button if the url is unset. (#157630, John Finlay)

View File

@ -1,5 +1,8 @@
2004-11-08 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooserbutton.c (main): Disable the SAVE
and CREATE_FOLDER modes. (#157675, Christian Persch)
* gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the
website button if the url is unset. (#157630, John Finlay)

View File

@ -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);