[gimp] app: Put 'Export to' above 'Export...'
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Subject: [gimp] app: Put 'Export to' above 'Export...'
- Date: Fri, 3 Jul 2009 06:19:20 +0000 (UTC)
commit 46cdf8b16cbd708735584fa4cfe0294eaebfe947
Author: Martin Nordholts <martinn src gnome org>
Date: Fri Jul 3 08:16:08 2009 +0200
app: Put 'Export to' above 'Export...'
app/actions/file-actions.c | 16 ++++++++--------
menus/image-menu.xml.in | 2 +-
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/app/actions/file-actions.c b/app/actions/file-actions.c
index 694067d..fa10a17 100644
--- a/app/actions/file-actions.c
+++ b/app/actions/file-actions.c
@@ -138,17 +138,17 @@ static const GimpEnumActionEntry file_save_actions[] =
GIMP_SAVE_MODE_SAVE_AND_CLOSE, FALSE,
GIMP_HELP_FILE_SAVE },
- { "file-export", NULL,
- NC_("file-action", "Export..."), "<control><shift>E",
- NC_("file-action", "Export the image to various file formats such as PNG or JPEG"),
- GIMP_SAVE_MODE_EXPORT, FALSE,
- GIMP_HELP_FILE_EXPORT },
-
{ "file-export-to", NULL,
NC_("file-action", "Export to"), "<control>E",
NC_("file-action", "Export the image back to the import source in the import format"),
GIMP_SAVE_MODE_EXPORT_TO, FALSE,
- GIMP_HELP_FILE_EXPORT_TO }
+ GIMP_HELP_FILE_EXPORT_TO },
+
+ { "file-export", NULL,
+ NC_("file-action", "Export..."), "<control><shift>E",
+ NC_("file-action", "Export the image to various file formats such as PNG or JPEG"),
+ GIMP_SAVE_MODE_EXPORT, FALSE,
+ GIMP_HELP_FILE_EXPORT }
};
void
@@ -262,8 +262,8 @@ file_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("file-save-as", image && drawable);
SET_SENSITIVE ("file-save-a-copy", image && drawable);
SET_SENSITIVE ("file-revert", image && (GIMP_OBJECT (image)->name || source));
- SET_SENSITIVE ("file-export", image && drawable);
SET_SENSITIVE ("file-export-to", source || export_to);
+ SET_SENSITIVE ("file-export", image && drawable);
SET_SENSITIVE ("file-create-template", image);
if (source && ! export_to)
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index b8e8fc4..682c7e8 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -44,8 +44,8 @@
<menuitem action="file-revert" />
<separator />
<placeholder name="Export">
+ <menuitem action="file-export-to" />
<menuitem action="file-export" />
- <menuitem action="file-export-to" />
</placeholder>
<menuitem action="file-create-template" />
<separator />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]