[gthumb] added 'Print' and 'Save As' to the file context menu
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] added 'Print' and 'Save As' to the file context menu
- Date: Tue, 4 Sep 2012 18:48:45 +0000 (UTC)
commit 2b6b5401a0e1d1198499160ca779db6c0f2d2442
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Aug 30 16:47:01 2012 +0200
added 'Print' and 'Save As' to the file context menu
extensions/image_print/callbacks.c | 11 +++++++++++
gthumb/gth-browser-ui.h | 21 ++++++++++-----------
2 files changed, 21 insertions(+), 11 deletions(-)
---
diff --git a/extensions/image_print/callbacks.c b/extensions/image_print/callbacks.c
index 4b9749b..7022b91 100644
--- a/extensions/image_print/callbacks.c
+++ b/extensions/image_print/callbacks.c
@@ -45,6 +45,17 @@ static const char *fixed_ui_info =
" <toolitem action='File_Print'/>"
" </placeholder>"
" </toolbar>"
+" <popup name='FileListPopup'>"
+" <placeholder name='Open_Actions'>"
+" <menuitem action='File_Print'/>"
+" </placeholder>"
+" </popup>"
+
+" <popup name='FilePopup'>"
+" <placeholder name='Open_Actions'>"
+" <menuitem action='File_Print'/>"
+" </placeholder>"
+" </popup>"
"</ui>";
diff --git a/gthumb/gth-browser-ui.h b/gthumb/gth-browser-ui.h
index 3abd874..5b158f4 100644
--- a/gthumb/gth-browser-ui.h
+++ b/gthumb/gth-browser-ui.h
@@ -171,14 +171,13 @@ static const char *fixed_ui_info =
" </popup>"
" <popup name='FileListPopup'>"
-" <menuitem name='Open' action='File_Open'/>"
+" <menuitem action='View_Fullscreen'/>"
+" <placeholder name='Screen_Actions'/>"
+" <separator/>"
+" <placeholder name='Open_Actions'/>"
+" <menuitem action='File_SaveAs'/>"
" <menu name='OpenWith' action='OpenWithMenu'>"
" </menu>"
-" <placeholder name='Open_Actions'/>"
-" <separator/>"
-" <placeholder name='Screen_Actions'>"
-" <menuitem action='View_Fullscreen'/>"
-" </placeholder>"
" <separator/>"
" <placeholder name='File_Actions'/>"
" <separator/>"
@@ -190,13 +189,13 @@ static const char *fixed_ui_info =
" </popup>"
" <popup name='FilePopup'>"
+" <menuitem action='View_Fullscreen'/>"
+" <placeholder name='Screen_Actions'/>"
+" <separator/>"
+" <placeholder name='Open_Actions'/>"
+" <menuitem action='File_SaveAs'/>"
" <menu name='OpenWith' action='OpenWithMenu'>"
" </menu>"
-" <placeholder name='Open_Actions'/>"
-" <separator/>"
-" <placeholder name='Screen_Actions'>"
-" <menuitem action='View_Fullscreen'/>"
-" </placeholder>"
" <separator/>"
" <placeholder name='File_Actions'/>"
" <separator/>"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]