mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
remove "image-new-from-image" action.
2008-03-25 Michael Natterer <mitch@gimp.org> * app/actions/image-actions.c: remove "image-new-from-image" action. * app/actions/image-commands.[ch]: remove its callback and made the "image-new" callback use the current image's dimensions instead. * menus/image-menu.xml.in: use the "image-new" action. svn path=/trunk/; revision=25218
This commit is contained in:
parent
90c932f705
commit
c7bf68d2c7
5 changed files with 20 additions and 43 deletions
|
@ -127,26 +127,6 @@ image_new_cmd_callback (GtkAction *action,
|
|||
GtkWidget *dialog;
|
||||
return_if_no_widget (widget, data);
|
||||
|
||||
dialog = gimp_dialog_factory_dialog_new (global_dialog_factory,
|
||||
gtk_widget_get_screen (widget),
|
||||
"gimp-image-new-dialog", -1, FALSE);
|
||||
|
||||
if (dialog)
|
||||
{
|
||||
image_new_dialog_set (dialog, NULL, NULL);
|
||||
|
||||
gtk_window_present (GTK_WINDOW (dialog));
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
image_new_from_image_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
GtkWidget *dialog;
|
||||
return_if_no_widget (widget, data);
|
||||
|
||||
dialog = gimp_dialog_factory_dialog_new (global_dialog_factory,
|
||||
gtk_widget_get_screen (widget),
|
||||
"gimp-image-new-dialog", -1, FALSE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue