Ok, Undo History actually makes more sense in the Dialogs menu.

--Sven
This commit is contained in:
Sven Neumann
2000-03-09 19:58:23 +00:00
parent 5fc0b8a9c0
commit d05156aa2a
14 changed files with 252 additions and 248 deletions

View File

@ -158,25 +158,6 @@ edit_redo_cmd_callback (GtkWidget *widget,
undo_redo (gdisp->gimage);
}
void
edit_undo_history_cmd_callback (GtkWidget *widget,
gpointer client_data)
{
GDisplay *gdisp;
GImage *gimage;
return_if_no_display (gdisp);
gimage = gdisp->gimage;
if (!gimage->undo_history)
gimage->undo_history = undo_history_new (gimage);
if (!GTK_WIDGET_VISIBLE (gimage->undo_history))
gtk_widget_show (gimage->undo_history);
else
gdk_window_raise (gimage->undo_history->window);
}
void
edit_cut_cmd_callback (GtkWidget *widget,
gpointer client_data)
@ -1230,6 +1211,25 @@ dialogs_display_filters_cmd_callback (GtkWidget *widget,
gdk_window_raise (gdisp->cd_ui->window);
}
void
dialogs_undo_history_cmd_callback (GtkWidget *widget,
gpointer client_data)
{
GDisplay *gdisp;
GImage *gimage;
return_if_no_display (gdisp);
gimage = gdisp->gimage;
if (!gimage->undo_history)
gimage->undo_history = undo_history_new (gimage);
if (!GTK_WIDGET_VISIBLE (gimage->undo_history))
gtk_widget_show (gimage->undo_history);
else
gdk_window_raise (gimage->undo_history->window);
}
void
dialogs_module_browser_cmd_callback (GtkWidget *widget,
gpointer client_data)