Removed auto-save from preferences and marked it as not yet implemented
in gimprc. The code is still there for later reuse. Changed the WMCLASS on the image close confirmation dialog to 'really_close'. --Sven
This commit is contained in:
@ -1,3 +1,12 @@
|
||||
Sat Mar 21 15:43:34 MET 1998 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gimprc.in
|
||||
* app/commands.c: removed auto-save from preferences and marked
|
||||
it as not implemented in gimprc. The code is still there for later
|
||||
reuse.
|
||||
* app/gdisplay_ops.c: changed the WMCLASS on the image close
|
||||
confirmation dialog to 'really_close'
|
||||
|
||||
Sat Mar 21 14:43:06 MET 1998 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* docs/gimp_quick_reference.[ps|tar.gz]:
|
||||
|
@ -1261,14 +1261,18 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||
&allow_resize_windows);
|
||||
gtk_widget_show (button);
|
||||
|
||||
button = gtk_check_button_new_with_label("Auto save");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
/* Don't show the Auto-save button until we really
|
||||
have auto-saving in the gimp.
|
||||
|
||||
button = gtk_check_button_new_with_label("Auto save");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
auto_save);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
|
||||
gtk_signal_connect (GTK_OBJECT (button), "toggled",
|
||||
(GtkSignalFunc) file_prefs_toggle_callback,
|
||||
&auto_save);
|
||||
gtk_widget_show (button);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
|
||||
gtk_signal_connect (GTK_OBJECT (button), "toggled",
|
||||
(GtkSignalFunc) file_prefs_toggle_callback,
|
||||
&auto_save);
|
||||
gtk_widget_show (button);
|
||||
*/
|
||||
|
||||
button = gtk_check_button_new_with_label("Disable cursor updating");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
|
@ -1261,14 +1261,18 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||
&allow_resize_windows);
|
||||
gtk_widget_show (button);
|
||||
|
||||
button = gtk_check_button_new_with_label("Auto save");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
/* Don't show the Auto-save button until we really
|
||||
have auto-saving in the gimp.
|
||||
|
||||
button = gtk_check_button_new_with_label("Auto save");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
auto_save);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
|
||||
gtk_signal_connect (GTK_OBJECT (button), "toggled",
|
||||
(GtkSignalFunc) file_prefs_toggle_callback,
|
||||
&auto_save);
|
||||
gtk_widget_show (button);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
|
||||
gtk_signal_connect (GTK_OBJECT (button), "toggled",
|
||||
(GtkSignalFunc) file_prefs_toggle_callback,
|
||||
&auto_save);
|
||||
gtk_widget_show (button);
|
||||
*/
|
||||
|
||||
button = gtk_check_button_new_with_label("Disable cursor updating");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
|
@ -326,8 +326,8 @@ gdisplay_close_warning_dialog (char *image_name,
|
||||
menus_set_sensitive ("<Image>/File/Close", FALSE);
|
||||
|
||||
warning_dialog = mbox = gtk_dialog_new ();
|
||||
/* should this be imaeg_window or the actual image naem??? */
|
||||
gtk_window_set_wmclass (GTK_WINDOW (mbox), "image_window", "Gimp");
|
||||
/* should this be image_window or the actual image name??? */
|
||||
gtk_window_set_wmclass (GTK_WINDOW (mbox), "really_close", "Gimp");
|
||||
gtk_window_set_title (GTK_WINDOW (mbox), image_name);
|
||||
gtk_window_position (GTK_WINDOW (mbox), GTK_WIN_POS_MOUSE);
|
||||
gtk_object_set_user_data (GTK_OBJECT (mbox), gdisp);
|
||||
|
@ -326,8 +326,8 @@ gdisplay_close_warning_dialog (char *image_name,
|
||||
menus_set_sensitive ("<Image>/File/Close", FALSE);
|
||||
|
||||
warning_dialog = mbox = gtk_dialog_new ();
|
||||
/* should this be imaeg_window or the actual image naem??? */
|
||||
gtk_window_set_wmclass (GTK_WINDOW (mbox), "image_window", "Gimp");
|
||||
/* should this be image_window or the actual image name??? */
|
||||
gtk_window_set_wmclass (GTK_WINDOW (mbox), "really_close", "Gimp");
|
||||
gtk_window_set_title (GTK_WINDOW (mbox), image_name);
|
||||
gtk_window_position (GTK_WINDOW (mbox), GTK_WIN_POS_MOUSE);
|
||||
gtk_object_set_user_data (GTK_OBJECT (mbox), gdisp);
|
||||
|
@ -1261,14 +1261,18 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||
&allow_resize_windows);
|
||||
gtk_widget_show (button);
|
||||
|
||||
button = gtk_check_button_new_with_label("Auto save");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
/* Don't show the Auto-save button until we really
|
||||
have auto-saving in the gimp.
|
||||
|
||||
button = gtk_check_button_new_with_label("Auto save");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
auto_save);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
|
||||
gtk_signal_connect (GTK_OBJECT (button), "toggled",
|
||||
(GtkSignalFunc) file_prefs_toggle_callback,
|
||||
&auto_save);
|
||||
gtk_widget_show (button);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
|
||||
gtk_signal_connect (GTK_OBJECT (button), "toggled",
|
||||
(GtkSignalFunc) file_prefs_toggle_callback,
|
||||
&auto_save);
|
||||
gtk_widget_show (button);
|
||||
*/
|
||||
|
||||
button = gtk_check_button_new_with_label("Disable cursor updating");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
|
@ -1261,14 +1261,18 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||
&allow_resize_windows);
|
||||
gtk_widget_show (button);
|
||||
|
||||
button = gtk_check_button_new_with_label("Auto save");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
/* Don't show the Auto-save button until we really
|
||||
have auto-saving in the gimp.
|
||||
|
||||
button = gtk_check_button_new_with_label("Auto save");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
auto_save);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
|
||||
gtk_signal_connect (GTK_OBJECT (button), "toggled",
|
||||
(GtkSignalFunc) file_prefs_toggle_callback,
|
||||
&auto_save);
|
||||
gtk_widget_show (button);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
|
||||
gtk_signal_connect (GTK_OBJECT (button), "toggled",
|
||||
(GtkSignalFunc) file_prefs_toggle_callback,
|
||||
&auto_save);
|
||||
gtk_widget_show (button);
|
||||
*/
|
||||
|
||||
button = gtk_check_button_new_with_label("Disable cursor updating");
|
||||
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button),
|
||||
|
@ -157,6 +157,8 @@
|
||||
(ruler-units pixels)
|
||||
|
||||
# Disable auto saving
|
||||
# Auto saving is not yet implemented! Nothing will be auto-saved, no matter
|
||||
# how you set this here.
|
||||
# Just uncomment the line below...
|
||||
# (dont-auto-save)
|
||||
|
||||
|
Reference in New Issue
Block a user