hide the help buttons since we have no help (yet)

* app/fileops.c: hide the help buttons since we have no
        help (yet)
This commit is contained in:
Sven Neumann 1998-02-17 20:29:32 +00:00
parent 8f57aaed00
commit d1d77d301a
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Feb 17 21:23:20 MET 1998 Sven Neumann <sven@gimp.org>
* app/fileops.c: hide the help buttons since we have no
help (yet)
Tue Feb 17 20:55:12 MET 1998 Sven Neumann <sven@gimp.org> Tue Feb 17 20:55:12 MET 1998 Sven Neumann <sven@gimp.org>
* gimp_splash.ppm: added the splash-screen image drawn * gimp_splash.ppm: added the splash-screen image drawn

View File

@ -483,6 +483,8 @@ file_open_callback (GtkWidget *w,
gtk_signal_connect (GTK_OBJECT (fileload), "delete_event", gtk_signal_connect (GTK_OBJECT (fileload), "delete_event",
(GtkSignalFunc) file_delete_callback, fileload); (GtkSignalFunc) file_delete_callback, fileload);
gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION (fileload)->ok_button), "clicked", (GtkSignalFunc) file_open_ok_callback, fileload); gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION (fileload)->ok_button), "clicked", (GtkSignalFunc) file_open_ok_callback, fileload);
/* hide the help button because we have nothing to connect to it */
gtk_widget_hide ( GTK_FILE_SELECTION(fileload)->help_button);
} }
else else
@ -569,7 +571,8 @@ file_save_as_callback (GtkWidget *w,
gtk_signal_connect (GTK_OBJECT (filesave), "delete_event", gtk_signal_connect (GTK_OBJECT (filesave), "delete_event",
(GtkSignalFunc) file_delete_callback, filesave); (GtkSignalFunc) file_delete_callback, filesave);
gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION (filesave)->ok_button), "clicked", (GtkSignalFunc) file_save_ok_callback, filesave); gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION (filesave)->ok_button), "clicked", (GtkSignalFunc) file_save_ok_callback, filesave);
/* hide the help button because we have nothing to connect to it */
gtk_widget_hide ( GTK_FILE_SELECTION(filesave)->help_button);
} }
else else
{ {