view menu items
- From: John Russell <jjrussell gmail com>
- To: f-spot-list gnome org
- Subject: view menu items
- Date: Sat, 24 Dec 2005 10:19:00 -0500
Attached is a patch to add access to the browse and edit views in the
view menu. I know that you can do it by clicking the button but it
seems appropriate to have the ability to change the main view modes
from the menu. Also I assigned key bindings to them because the mouse
hurtsssss ussss.
Ctrl-b for browse view
Ctrl-e for edit view
John
Index: src/f-spot.glade
===================================================================
RCS file: /cvs/gnome/f-spot/src/f-spot.glade,v
retrieving revision 1.134
diff -u -r1.134 f-spot.glade
--- src/f-spot.glade 20 Dec 2005 20:13:53 -0000 1.134
+++ src/f-spot.glade 24 Dec 2005 15:14:46 -0000
@@ -7285,6 +7285,34 @@
</child>
<child>
+ <widget class="GtkMenuItem" id="browse1">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Switch main view to browse</property>
+ <property name="label" translatable="yes">B_rowse</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleViewBrowse" last_modification_time="Wed, 30 Nov 2005 04:47:09 GMT"/>
+ <accelerator key="b" modifiers="GDK_CONTROL_MASK" signal="activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkMenuItem" id="edit_image1">
+ <property name="visible">True</property>
+ <property name="tooltip" translatable="yes">Switch main view to browse</property>
+ <property name="label" translatable="yes">_Edit Image</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleViewPhoto" last_modification_time="Wed, 30 Nov 2005 04:47:09 GMT"/>
+ <accelerator key="e" modifiers="GDK_CONTROL_MASK" signal="activate"/>
+ </widget>
+ </child>
+
+ <child>
+ <widget class="GtkSeparatorMenuItem" id="separator26">
+ <property name="visible">True</property>
+ </widget>
+ </child>
+
+ <child>
<widget class="GtkCheckMenuItem" id="display_toolbar">
<property name="visible">True</property>
<property name="label" translatable="yes">Display Too_lbar</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]