[eog] Bug 581180 – Set as background on Right click



commit d6a21b8f3adcb5a38f889cd419514835e3ff8226
Author: Cyriac Thomas <cyriacsmail gmail com>
Date:   Sun May 3 21:15:32 2009 +0200

    Bug 581180 â?? Set as background on Right click
    
    Added Set as Desktop background on the right click menu for the
    main image and image collection. Also added a Keyboard shortcut
    "Ctrl+F8" for the same. Fixes bug #581180.
---
 ChangeLog        |    8 ++++++++
 data/eog-ui.xml  |    2 ++
 src/eog-window.c |    4 ++--
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 041aac6..ec8e2f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-05-03  Cyriac Thomas  <cyriacsmail gmail com>
+
+	* src/eog-window.c:
+	* data/eog-ui.xml:
+	Added Set as Desktop background on the right click menu for the
+	main image and image collection. Also added a Keyboard shortcut
+	"Ctrl+F8" for the same. Fixes bug #581180.
+
 2009-05-02  Felix Riemann  <friemann svn gnome org>
 
 	* git.mk: Add Behdad's git.mk script to generate .gitignore files.
diff --git a/data/eog-ui.xml b/data/eog-ui.xml
index 8369de8..1bb7524 100644
--- a/data/eog-ui.xml
+++ b/data/eog-ui.xml
@@ -114,6 +114,7 @@
     <menuitem action="EditMoveToTrash"/>
     <separator/>
     <menuitem action="FileProperties"/>
+    <menuitem action="SetAsWallpaper"/>
   </popup>
 
   <popup name="ViewPopup">
@@ -129,6 +130,7 @@
     <menuitem action="EditMoveToTrash"/>
     <separator/>
     <menuitem action="FileProperties"/>
+    <menuitem action="SetAsWallpaper"/>
   </popup>
 
   <accelerator name="ControlEqualAccel" action="ControlEqual"/>
diff --git a/src/eog-window.c b/src/eog-window.c
index 785f987..419c24b 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -3498,8 +3498,8 @@ static const GtkActionEntry action_entries_image[] = {
 	{ "EditRotate270", "object-rotate-left", N_("Rotate Counterc_lockwise"), "<ctrl><shift>r",
 	  N_("Rotate the image 90 degrees to the left"),
 	  G_CALLBACK (eog_window_cmd_rotate_270) },
-	{ "SetAsWallpaper", NULL, N_("Set as _Desktop Background"), NULL,
-	  N_("Set the selected image as the desktop background"),
+	{ "SetAsWallpaper", NULL, N_("Set as _Desktop Background"),
+	  "<control>F8", N_("Set the selected image as the desktop background"),
 	  G_CALLBACK (eog_window_cmd_wallpaper) },
 	{ "EditMoveToTrash", "user-trash", N_("Move to _Trash"), NULL,
 	  N_("Move the selected image to the trash folder"),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]