mirror of https://github.com/GNOME/gimp.git
app/actions/Makefile.am app/actions/file-dialog-actions.[ch]
2004-07-17 Sven Neumann <sven@gimp.org> * app/actions/Makefile.am * app/actions/file-dialog-actions.[ch] * app/actions/file-open-actions.[ch] * app/actions/file-save-actions.[ch]: these aren't needed any longer. * app/actions/actions.c: changed accordingly. * app/menus/Makefile.am * app/menus/file-dialog-menu.[ch] * app/menus/file-open-menu.[ch] * app/menus/file-save-menu.[ch]: these aren't needed any longer. * app/menus/menus.c: changed accordingly. * menus/Makefile.am * menus/file-open-menu.xml * menus/file-save-menu.xml: these are also not needed any longer.
This commit is contained in:
parent
a23024eb2b
commit
996b45696e
21
ChangeLog
21
ChangeLog
|
@ -1,3 +1,24 @@
|
|||
2004-07-17 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/actions/Makefile.am
|
||||
* app/actions/file-dialog-actions.[ch]
|
||||
* app/actions/file-open-actions.[ch]
|
||||
* app/actions/file-save-actions.[ch]: these aren't needed any
|
||||
longer.
|
||||
|
||||
* app/actions/actions.c: changed accordingly.
|
||||
|
||||
* app/menus/Makefile.am
|
||||
* app/menus/file-dialog-menu.[ch]
|
||||
* app/menus/file-open-menu.[ch]
|
||||
* app/menus/file-save-menu.[ch]: these aren't needed any longer.
|
||||
|
||||
* app/menus/menus.c: changed accordingly.
|
||||
|
||||
* menus/Makefile.am
|
||||
* menus/file-open-menu.xml
|
||||
* menus/file-save-menu.xml: these are also not needed any longer.
|
||||
|
||||
2004-07-17 Philip Lafleur <plafleur@cvs.gnome.org>
|
||||
|
||||
* plug-ins/bmp/bmpwrite.c (WriteImage): Applied a patch from
|
||||
|
|
|
@ -59,14 +59,6 @@ libappactions_a_SOURCES = \
|
|||
file-actions.h \
|
||||
file-commands.c \
|
||||
file-commands.h \
|
||||
file-dialog-actions.c \
|
||||
file-dialog-actions.h \
|
||||
file-dialog-commands.c \
|
||||
file-dialog-commands.h \
|
||||
file-open-actions.c \
|
||||
file-open-actions.h \
|
||||
file-save-actions.c \
|
||||
file-save-actions.h \
|
||||
file-commands.c \
|
||||
file-commands.h \
|
||||
fonts-actions.c \
|
||||
|
|
|
@ -55,8 +55,6 @@
|
|||
#include "edit-actions.h"
|
||||
#include "error-console-actions.h"
|
||||
#include "file-actions.h"
|
||||
#include "file-open-actions.h"
|
||||
#include "file-save-actions.h"
|
||||
#include "fonts-actions.h"
|
||||
#include "gradient-editor-actions.h"
|
||||
#include "gradients-actions.h"
|
||||
|
@ -125,12 +123,6 @@ static GimpActionFactoryEntry action_groups[] =
|
|||
{ "file",
|
||||
file_actions_setup,
|
||||
file_actions_update },
|
||||
{ "file-open",
|
||||
file_open_actions_setup,
|
||||
file_open_actions_update },
|
||||
{ "file-save",
|
||||
file_save_actions_setup,
|
||||
file_save_actions_update },
|
||||
{ "fonts",
|
||||
fonts_actions_setup,
|
||||
fonts_actions_update },
|
||||
|
|
|
@ -1,97 +0,0 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "libgimpwidgets/gimpwidgets.h"
|
||||
|
||||
#include "actions-types.h"
|
||||
|
||||
#include "plug-in/plug-in-proc.h"
|
||||
#include "plug-in/plug-ins.h"
|
||||
|
||||
#include "widgets/gimpactiongroup.h"
|
||||
#include "widgets/gimphelp-ids.h"
|
||||
|
||||
#include "file-dialog-commands.h"
|
||||
#include "file-dialog-actions.h"
|
||||
|
||||
#include "gimp-intl.h"
|
||||
|
||||
|
||||
void
|
||||
file_dialog_actions_setup (GimpActionGroup *group,
|
||||
GSList *file_procs,
|
||||
const gchar *xcf_proc_name)
|
||||
{
|
||||
GSList *list;
|
||||
|
||||
for (list = file_procs; list; list = g_slist_next (list))
|
||||
{
|
||||
PlugInProcDef *file_proc = list->data;
|
||||
gchar *help_id;
|
||||
GimpPlugInActionEntry entry;
|
||||
gchar *label;
|
||||
gboolean is_xcf;
|
||||
|
||||
if (! file_proc->menu_paths)
|
||||
continue;
|
||||
|
||||
is_xcf = (strcmp (file_proc->db_info.name, xcf_proc_name) == 0);
|
||||
|
||||
if (is_xcf)
|
||||
{
|
||||
help_id = g_strdup (GIMP_HELP_FILE_SAVE_XCF);
|
||||
}
|
||||
else
|
||||
{
|
||||
const gchar *progname;
|
||||
const gchar *locale_domain;
|
||||
const gchar *help_domain;
|
||||
|
||||
progname = plug_in_proc_def_get_progname (file_proc);
|
||||
|
||||
locale_domain = plug_ins_locale_domain (group->gimp, progname, NULL);
|
||||
help_domain = plug_ins_help_domain (group->gimp, progname, NULL);
|
||||
|
||||
help_id = plug_in_proc_def_get_help_id (file_proc, help_domain);
|
||||
}
|
||||
|
||||
if (file_proc->menu_label)
|
||||
label = file_proc->menu_label;
|
||||
else
|
||||
label = strrchr (file_proc->menu_paths->data, '/') + 1;
|
||||
|
||||
entry.name = file_proc->db_info.name;
|
||||
entry.stock_id = plug_in_proc_def_get_stock_id (file_proc);
|
||||
entry.label = label;
|
||||
entry.accelerator = NULL;
|
||||
entry.tooltip = NULL;
|
||||
entry.proc_def = file_proc;
|
||||
entry.help_id = help_id;
|
||||
|
||||
gimp_action_group_add_plug_in_actions (group, &entry, 1,
|
||||
G_CALLBACK (file_dialog_type_cmd_callback));
|
||||
|
||||
g_free (help_id);
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __FILE_DIALOG_ACTIONS_H__
|
||||
#define __FILE_DIALOG_ACTIONS_H__
|
||||
|
||||
|
||||
void file_dialog_actions_setup (GimpActionGroup *group,
|
||||
GSList *file_procs,
|
||||
const gchar *xcf_proc_name);
|
||||
|
||||
|
||||
#endif /* __FILE_DIALOG_ACTIONS_H__ */
|
|
@ -1,75 +0,0 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "libgimpwidgets/gimpwidgets.h"
|
||||
|
||||
#include "actions-types.h"
|
||||
|
||||
#include "core/gimp.h"
|
||||
|
||||
#include "widgets/gimpactiongroup.h"
|
||||
#include "widgets/gimphelp-ids.h"
|
||||
|
||||
#include "file-dialog-actions.h"
|
||||
#include "file-dialog-commands.h"
|
||||
#include "file-open-actions.h"
|
||||
|
||||
#include "gimp-intl.h"
|
||||
|
||||
|
||||
static GimpActionEntry file_open_actions[] =
|
||||
{
|
||||
{ "file-open-popup", NULL, N_("File Open Menu"), NULL, NULL, NULL,
|
||||
GIMP_HELP_FILE_OPEN }
|
||||
};
|
||||
|
||||
static GimpPlugInActionEntry file_open_file_type_actions[] =
|
||||
{
|
||||
{ "file-open-automatic", NULL,
|
||||
N_("Automatic"), NULL, NULL,
|
||||
NULL,
|
||||
GIMP_HELP_FILE_OPEN_BY_EXTENSION }
|
||||
};
|
||||
|
||||
|
||||
void
|
||||
file_open_actions_setup (GimpActionGroup *group)
|
||||
{
|
||||
gimp_action_group_add_actions (group,
|
||||
file_open_actions,
|
||||
G_N_ELEMENTS (file_open_actions));
|
||||
|
||||
gimp_action_group_add_plug_in_actions (group,
|
||||
file_open_file_type_actions,
|
||||
G_N_ELEMENTS (file_open_file_type_actions),
|
||||
G_CALLBACK (file_dialog_type_cmd_callback));
|
||||
|
||||
file_dialog_actions_setup (group, group->gimp->load_procs, "gimp_xcf_load");
|
||||
}
|
||||
|
||||
void
|
||||
file_open_actions_update (GimpActionGroup *group,
|
||||
gpointer data)
|
||||
{
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __FILE_OPEN_ACTIONS_H__
|
||||
#define __FILE_OPEN_ACTIONS_H__
|
||||
|
||||
|
||||
void file_open_actions_setup (GimpActionGroup *group);
|
||||
void file_open_actions_update (GimpActionGroup *group,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __FILE_OPEN_ACTIONS_H__ */
|
|
@ -1,75 +0,0 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "libgimpwidgets/gimpwidgets.h"
|
||||
|
||||
#include "actions-types.h"
|
||||
|
||||
#include "core/gimp.h"
|
||||
|
||||
#include "widgets/gimpactiongroup.h"
|
||||
#include "widgets/gimphelp-ids.h"
|
||||
|
||||
#include "file-dialog-actions.h"
|
||||
#include "file-dialog-commands.h"
|
||||
#include "file-save-actions.h"
|
||||
|
||||
#include "gimp-intl.h"
|
||||
|
||||
|
||||
static GimpActionEntry file_save_actions[] =
|
||||
{
|
||||
{ "file-save-popup", NULL, N_("File Save Menu"), NULL, NULL, NULL,
|
||||
GIMP_HELP_FILE_SAVE }
|
||||
};
|
||||
|
||||
static GimpPlugInActionEntry file_save_file_type_actions[] =
|
||||
{
|
||||
{ "file-save-by-extension", NULL,
|
||||
N_("By Extension"), NULL, NULL,
|
||||
NULL,
|
||||
GIMP_HELP_FILE_SAVE_BY_EXTENSION }
|
||||
};
|
||||
|
||||
|
||||
void
|
||||
file_save_actions_setup (GimpActionGroup *group)
|
||||
{
|
||||
gimp_action_group_add_actions (group,
|
||||
file_save_actions,
|
||||
G_N_ELEMENTS (file_save_actions));
|
||||
|
||||
gimp_action_group_add_plug_in_actions (group,
|
||||
file_save_file_type_actions,
|
||||
G_N_ELEMENTS (file_save_file_type_actions),
|
||||
G_CALLBACK (file_dialog_type_cmd_callback));
|
||||
|
||||
file_dialog_actions_setup (group, group->gimp->save_procs, "gimp_xcf_save");
|
||||
}
|
||||
|
||||
void
|
||||
file_save_actions_update (GimpActionGroup *group,
|
||||
gpointer data)
|
||||
{
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __FILE_SAVE_ACTIONS_H__
|
||||
#define __FILE_SAVE_ACTIONS_H__
|
||||
|
||||
|
||||
void file_save_actions_setup (GimpActionGroup *group);
|
||||
void file_save_actions_update (GimpActionGroup *group,
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __FILE_SAVE_ACTIONS_H__ */
|
|
@ -6,15 +6,8 @@ libappmenus_a_SOURCES = \
|
|||
menus-types.h \
|
||||
menus.c \
|
||||
menus.h \
|
||||
\
|
||||
file-dialog-menu.c \
|
||||
file-dialog-menu.h \
|
||||
file-menu.c \
|
||||
file-menu.h \
|
||||
file-open-menu.c \
|
||||
file-open-menu.h \
|
||||
file-save-menu.c \
|
||||
file-save-menu.h \
|
||||
image-menu.c \
|
||||
image-menu.h \
|
||||
plug-in-menus.c \
|
||||
|
|
|
@ -1,69 +0,0 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "menus-types.h"
|
||||
|
||||
#include "plug-in/plug-in-proc.h"
|
||||
|
||||
#include "widgets/gimpuimanager.h"
|
||||
|
||||
#include "file-dialog-menu.h"
|
||||
|
||||
|
||||
void
|
||||
file_dialog_menu_setup (GimpUIManager *manager,
|
||||
const gchar *ui_path,
|
||||
GSList *file_procs)
|
||||
{
|
||||
GSList *list;
|
||||
guint merge_id;
|
||||
|
||||
merge_id = gtk_ui_manager_new_merge_id (GTK_UI_MANAGER (manager));
|
||||
|
||||
for (list = file_procs; list; list = g_slist_next (list))
|
||||
{
|
||||
PlugInProcDef *file_proc = list->data;
|
||||
gchar *path;
|
||||
gchar *p;
|
||||
|
||||
if (! file_proc->menu_paths)
|
||||
continue;
|
||||
|
||||
p = strchr (file_proc->menu_paths->data, '/');
|
||||
|
||||
if (p)
|
||||
path = g_strdup_printf ("%s%s", ui_path, p);
|
||||
else
|
||||
path = g_strdup (ui_path);
|
||||
|
||||
gtk_ui_manager_add_ui (GTK_UI_MANAGER (manager), merge_id,
|
||||
path,
|
||||
file_proc->db_info.name,
|
||||
file_proc->db_info.name,
|
||||
GTK_UI_MANAGER_MENUITEM,
|
||||
FALSE);
|
||||
|
||||
g_free (path);
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
/* The GIMP -- an open manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __FILE_DIALOG_MENU_H__
|
||||
#define __FILE_DIALOG_MENU_H__
|
||||
|
||||
|
||||
void file_dialog_menu_setup (GimpUIManager *manager,
|
||||
const gchar *ui_path,
|
||||
GSList *file_procs);
|
||||
|
||||
|
||||
#endif /* __FILE_DIALOG_MENU_H__ */
|
|
@ -1,38 +0,0 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "menus-types.h"
|
||||
|
||||
#include "core/gimp.h"
|
||||
|
||||
#include "widgets/gimpuimanager.h"
|
||||
|
||||
#include "file-dialog-menu.h"
|
||||
#include "file-open-menu.h"
|
||||
|
||||
|
||||
void
|
||||
file_open_menu_setup (GimpUIManager *manager,
|
||||
const gchar *ui_path)
|
||||
{
|
||||
file_dialog_menu_setup (manager, ui_path, manager->gimp->load_procs);
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
/* The GIMP -- an open manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __FILE_OPEN_MENU_H__
|
||||
#define __FILE_OPEN_MENU_H__
|
||||
|
||||
|
||||
void file_open_menu_setup (GimpUIManager *manager,
|
||||
const gchar *ui_path);
|
||||
|
||||
|
||||
#endif /* __FILE_OPEN_MENU_H__ */
|
|
@ -1,38 +0,0 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "menus-types.h"
|
||||
|
||||
#include "core/gimp.h"
|
||||
|
||||
#include "widgets/gimpuimanager.h"
|
||||
|
||||
#include "file-dialog-menu.h"
|
||||
#include "file-save-menu.h"
|
||||
|
||||
|
||||
void
|
||||
file_save_menu_setup (GimpUIManager *manager,
|
||||
const gchar *ui_path)
|
||||
{
|
||||
file_dialog_menu_setup (manager, ui_path, manager->gimp->save_procs);
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
/* The GIMP -- an open manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __FILE_SAVE_MENU_H__
|
||||
#define __FILE_SAVE_MENU_H__
|
||||
|
||||
|
||||
void file_save_menu_setup (GimpUIManager *manager,
|
||||
const gchar *ui_path);
|
||||
|
||||
|
||||
#endif /* __FILE_SAVE_MENU_H__ */
|
|
@ -32,8 +32,6 @@
|
|||
|
||||
#include "actions/actions.h"
|
||||
|
||||
#include "file-open-menu.h"
|
||||
#include "file-save-menu.h"
|
||||
#include "image-menu.h"
|
||||
#include "menus.h"
|
||||
#include "tool-options-menu.h"
|
||||
|
@ -113,22 +111,6 @@ menus_init (Gimp *gimp)
|
|||
NULL,
|
||||
NULL);
|
||||
|
||||
gimp_menu_factory_manager_register (global_menu_factory, "<Load>",
|
||||
"file-open",
|
||||
NULL,
|
||||
"/file-open-popup",
|
||||
"file-open-menu.xml",
|
||||
file_open_menu_setup,
|
||||
NULL);
|
||||
|
||||
gimp_menu_factory_manager_register (global_menu_factory, "<Save>",
|
||||
"file-save",
|
||||
NULL,
|
||||
"/file-save-popup",
|
||||
"file-save-menu.xml",
|
||||
file_save_menu_setup,
|
||||
NULL);
|
||||
|
||||
gimp_menu_factory_manager_register (global_menu_factory, "<Layers>",
|
||||
"layers",
|
||||
NULL,
|
||||
|
|
|
@ -17,8 +17,6 @@ menudata_DATA = \
|
|||
colormap-editor-menu.xml \
|
||||
documents-menu.xml \
|
||||
error-console-menu.xml \
|
||||
file-open-menu.xml \
|
||||
file-save-menu.xml \
|
||||
fonts-menu.xml \
|
||||
gradient-editor-menu.xml \
|
||||
gradients-menu.xml \
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE ui SYSTEM "gtkuimanager.dtd">
|
||||
|
||||
<ui>
|
||||
<popup action="file-open-popup">
|
||||
<placeholder name="Internal">
|
||||
<menuitem action="file-open-automatic" />
|
||||
</placeholder>
|
||||
<separator />
|
||||
</popup>
|
||||
</ui>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE ui SYSTEM "gtkuimanager.dtd">
|
||||
|
||||
<ui>
|
||||
<popup action="file-save-popup">
|
||||
<placeholder name="Internal">
|
||||
<menuitem action="file-save-by-extension" />
|
||||
</placeholder>
|
||||
<separator />
|
||||
</popup>
|
||||
</ui>
|
|
@ -1,3 +1,7 @@
|
|||
2004-07-17 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* POTFILES.in: removed some files that disappeared.
|
||||
|
||||
2004-07-16 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* POTFILES.in: added app/widgets/gimpfileprocview.c.
|
||||
|
|
|
@ -23,8 +23,6 @@ app/actions/edit-commands.c
|
|||
app/actions/error-console-actions.c
|
||||
app/actions/file-actions.c
|
||||
app/actions/file-commands.c
|
||||
app/actions/file-open-actions.c
|
||||
app/actions/file-save-actions.c
|
||||
app/actions/fonts-actions.c
|
||||
app/actions/gradient-editor-actions.c
|
||||
app/actions/gradient-editor-commands.c
|
||||
|
|
12
po/de.po
12
po/de.po
|
@ -6,10 +6,10 @@
|
|||
# Christian Neumair <chris@gnome-de.org>
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GIMP 1.3.27\n"
|
||||
"Project-Id-Version: GIMP 2.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2004-06-24 02:37+0200\n"
|
||||
"PO-Revision-Date: 2004-06-07 13:27+0200\n"
|
||||
"PO-Revision-Date: 2004-07-17 00:34+0200\n"
|
||||
"Last-Translator: Sven Neumann <sven@gimp.org>\n"
|
||||
"Language-Team: German <gnome-de@gnome.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -8959,9 +8959,8 @@ msgid "Select transparent areas"
|
|||
msgstr "Transparente Bereiche auswählen"
|
||||
|
||||
#: app/tools/gimpselectionoptions.c:530
|
||||
#, fuzzy
|
||||
msgid "Auto shrink selection"
|
||||
msgstr "Auswahl automatisch verkleinern"
|
||||
msgstr "Automatisch verkleinern"
|
||||
|
||||
#: app/tools/gimpsheartool.c:100
|
||||
msgid "Shear"
|
||||
|
@ -8972,9 +8971,8 @@ msgid "Shear the layer or selection"
|
|||
msgstr "Ebene oder Auswahl scheren"
|
||||
|
||||
#: app/tools/gimpsheartool.c:102
|
||||
#, fuzzy
|
||||
msgid "S_hear"
|
||||
msgstr "Schere"
|
||||
msgstr "Sc_heren"
|
||||
|
||||
#: app/tools/gimpsheartool.c:158
|
||||
msgid "Shearing Information"
|
||||
|
@ -8985,12 +8983,10 @@ msgid "Shearing..."
|
|||
msgstr "Scheren..."
|
||||
|
||||
#: app/tools/gimpsheartool.c:166
|
||||
#, fuzzy
|
||||
msgid "Shear magnitude X:"
|
||||
msgstr "Scherneigung X:"
|
||||
|
||||
#: app/tools/gimpsheartool.c:173
|
||||
#, fuzzy
|
||||
msgid "Shear magnitude Y:"
|
||||
msgstr "Scherneigung X:"
|
||||
|
||||
|
|
Loading…
Reference in New Issue