[f-spot] switch MainWindow to GtkBuilder
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot] switch MainWindow to GtkBuilder
- Date: Thu, 2 Jul 2009 08:23:18 +0000 (UTC)
commit 50cf5bf89ed0ad9d3473253a5a32064476359df8
Author: Mike Gemünde <mike gemuende de>
Date: Sat Jun 27 19:24:28 2009 +0200
switch MainWindow to GtkBuilder
src/MainWindow.cs | 138 ++++----
src/Makefile.am | 1 +
src/main_window.ui | 1054 ++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 1124 insertions(+), 69 deletions(-)
---
diff --git a/src/MainWindow.cs b/src/MainWindow.cs
index 4eb59fb..7e38560 100644
--- a/src/MainWindow.cs
+++ b/src/MainWindow.cs
@@ -36,101 +36,101 @@ public class MainWindow {
public Sidebar Sidebar;
TagSelectionWidget tag_selection_widget;
- [Glade.Widget] Gtk.Window main_window;
+ [GtkBeans.Builder.Object] Gtk.Window main_window;
- [Glade.Widget] Gtk.HPaned main_hpaned;
- [Glade.Widget] Gtk.VBox left_vbox;
- [Glade.Widget] Gtk.VBox group_vbox;
- [Glade.Widget] Gtk.VBox view_vbox;
+ [GtkBeans.Builder.Object] Gtk.HPaned main_hpaned;
+ [GtkBeans.Builder.Object] Gtk.VBox left_vbox;
+ [GtkBeans.Builder.Object] Gtk.VBox group_vbox;
+ [GtkBeans.Builder.Object] Gtk.VBox view_vbox;
- [Glade.Widget] Gtk.VBox toolbar_vbox;
+ [GtkBeans.Builder.Object] Gtk.VBox toolbar_vbox;
- [Glade.Widget] ScrolledWindow icon_view_scrolled;
- [Glade.Widget] Box photo_box;
- [Glade.Widget] Notebook view_notebook;
+ [GtkBeans.Builder.Object] ScrolledWindow icon_view_scrolled;
+ [GtkBeans.Builder.Object] Box photo_box;
+ [GtkBeans.Builder.Object] Notebook view_notebook;
ScrolledWindow tag_selection_scrolled;
- [Glade.Widget] Label status_label;
+ [GtkBeans.Builder.Object] Label status_label;
// File
- [Glade.Widget] MenuItem version_menu_item;
- [Glade.Widget] MenuItem create_version_menu_item;
- [Glade.Widget] MenuItem delete_version_menu_item;
- [Glade.Widget] MenuItem rename_version_menu_item;
+ [GtkBeans.Builder.Object] MenuItem version_menu_item;
+ [GtkBeans.Builder.Object] MenuItem create_version_menu_item;
+ [GtkBeans.Builder.Object] MenuItem delete_version_menu_item;
+ [GtkBeans.Builder.Object] MenuItem rename_version_menu_item;
- [Glade.Widget] MenuItem tools;
- [Glade.Widget] MenuItem export;
- [Glade.Widget] MenuItem pagesetup_menu_item;
- [Glade.Widget] MenuItem print;
- [Glade.Widget] MenuItem send_mail;
+ [GtkBeans.Builder.Object] MenuItem tools;
+ [GtkBeans.Builder.Object] MenuItem export;
+ [GtkBeans.Builder.Object] MenuItem pagesetup_menu_item;
+ [GtkBeans.Builder.Object] MenuItem print;
+ [GtkBeans.Builder.Object] MenuItem send_mail;
// Edit
- [Glade.Widget] MenuItem copy_location;
- [Glade.Widget] MenuItem select_none;
- [Glade.Widget] MenuItem rotate_left;
- [Glade.Widget] MenuItem rotate_right;
+ [GtkBeans.Builder.Object] MenuItem copy_location;
+ [GtkBeans.Builder.Object] MenuItem select_none;
+ [GtkBeans.Builder.Object] MenuItem rotate_left;
+ [GtkBeans.Builder.Object] MenuItem rotate_right;
- [Glade.Widget] MenuItem sharpen;
- [Glade.Widget] MenuItem adjust_time;
+ [GtkBeans.Builder.Object] MenuItem sharpen;
+ [GtkBeans.Builder.Object] MenuItem adjust_time;
- [Glade.Widget] MenuItem update_thumbnail;
- [Glade.Widget] MenuItem delete_from_drive;
- [Glade.Widget] MenuItem remove_from_catalog;
- [Glade.Widget] MenuItem set_as_background;
+ [GtkBeans.Builder.Object] MenuItem update_thumbnail;
+ [GtkBeans.Builder.Object] MenuItem delete_from_drive;
+ [GtkBeans.Builder.Object] MenuItem remove_from_catalog;
+ [GtkBeans.Builder.Object] MenuItem set_as_background;
- [Glade.Widget] MenuItem attach_tag;
- [Glade.Widget] MenuItem remove_tag;
+ [GtkBeans.Builder.Object] MenuItem attach_tag;
+ [GtkBeans.Builder.Object] MenuItem remove_tag;
// View
- [Glade.Widget] CheckMenuItem display_toolbar;
- [Glade.Widget] CheckMenuItem display_sidebar;
- [Glade.Widget] CheckMenuItem display_timeline;
- [Glade.Widget] CheckMenuItem display_filmstrip;
- [Glade.Widget] CheckMenuItem display_dates_menu_item;
- [Glade.Widget] CheckMenuItem display_tags_menu_item;
- [Glade.Widget] CheckMenuItem display_ratings_menu_item;
-
- [Glade.Widget] MenuItem zoom_in;
- [Glade.Widget] MenuItem zoom_out;
- [Glade.Widget] CheckMenuItem loupe_menu_item;
-
- [Glade.Widget] RadioMenuItem tag_icon_hidden;
- [Glade.Widget] RadioMenuItem tag_icon_small;
- [Glade.Widget] RadioMenuItem tag_icon_medium;
- [Glade.Widget] RadioMenuItem tag_icon_large;
-
- [Glade.Widget] RadioMenuItem month;
- [Glade.Widget] RadioMenuItem directory;
- [Glade.Widget] CheckMenuItem reverse_order;
+ [GtkBeans.Builder.Object] RadioMenuItem month;
+ [GtkBeans.Builder.Object] RadioMenuItem directory;
+ [GtkBeans.Builder.Object] CheckMenuItem display_toolbar;
+ [GtkBeans.Builder.Object] CheckMenuItem display_sidebar;
+ [GtkBeans.Builder.Object] CheckMenuItem display_timeline;
+ [GtkBeans.Builder.Object] CheckMenuItem display_filmstrip;
+ [GtkBeans.Builder.Object] CheckMenuItem display_dates_menu_item;
+ [GtkBeans.Builder.Object] CheckMenuItem display_tags_menu_item;
+ [GtkBeans.Builder.Object] CheckMenuItem display_ratings_menu_item;
+
+ [GtkBeans.Builder.Object] MenuItem zoom_in;
+ [GtkBeans.Builder.Object] MenuItem zoom_out;
+ [GtkBeans.Builder.Object] CheckMenuItem loupe_menu_item;
+
+ [GtkBeans.Builder.Object] RadioMenuItem tag_icon_hidden;
+ [GtkBeans.Builder.Object] RadioMenuItem tag_icon_small;
+ [GtkBeans.Builder.Object] RadioMenuItem tag_icon_medium;
+ [GtkBeans.Builder.Object] RadioMenuItem tag_icon_large;
+
+ [GtkBeans.Builder.Object] CheckMenuItem reverse_order;
// Find
- [Glade.Widget] MenuItem find_by_tag;
- [Glade.Widget] MenuItem find_add_tag;
- [Glade.Widget] MenuItem find_add_tag_with;
+ [GtkBeans.Builder.Object] MenuItem find_by_tag;
+ [GtkBeans.Builder.Object] MenuItem find_add_tag;
+ [GtkBeans.Builder.Object] MenuItem find_add_tag_with;
- [Glade.Widget] MenuItem clear_date_range;
- [Glade.Widget] MenuItem clear_rating_filter;
+ [GtkBeans.Builder.Object] MenuItem clear_date_range;
+ [GtkBeans.Builder.Object] MenuItem clear_rating_filter;
- [Glade.Widget] CheckMenuItem find_untagged;
+ [GtkBeans.Builder.Object] CheckMenuItem find_untagged;
- [Glade.Widget] MenuItem clear_roll_filter;
+ [GtkBeans.Builder.Object] MenuItem clear_roll_filter;
// Tags
- [Glade.Widget] MenuItem edit_selected_tag;
- [Glade.Widget] MenuItem delete_selected_tag;
+ [GtkBeans.Builder.Object] MenuItem edit_selected_tag;
+ [GtkBeans.Builder.Object] MenuItem delete_selected_tag;
- [Glade.Widget] MenuItem attach_tag_to_selection;
- [Glade.Widget] MenuItem remove_tag_from_selection;
+ [GtkBeans.Builder.Object] MenuItem attach_tag_to_selection;
+ [GtkBeans.Builder.Object] MenuItem remove_tag_from_selection;
// Other Widgets
- [Glade.Widget] Scale zoom_scale;
+ [GtkBeans.Builder.Object] Scale zoom_scale;
- [Glade.Widget] VBox info_vbox;
+ [GtkBeans.Builder.Object] VBox info_vbox;
- [Glade.Widget] Gtk.HBox tagbar;
- [Glade.Widget] Gtk.VBox tag_entry_container;
- [Glade.Widget] Gtk.VBox sidebar_vbox;
+ [GtkBeans.Builder.Object] Gtk.HBox tagbar;
+ [GtkBeans.Builder.Object] Gtk.VBox tag_entry_container;
+ [GtkBeans.Builder.Object] Gtk.VBox sidebar_vbox;
TagEntry tag_entry;
Gtk.Toolbar toolbar;
@@ -252,8 +252,8 @@ public class MainWindow {
if (Toplevel == null)
Toplevel = this;
- Glade.XML gui = new Glade.XML (null, "f-spot.glade", "main_window", "f-spot");
- gui.Autoconnect (this);
+ GtkBeans.Builder builder = new GtkBeans.Builder ("main_window.ui");
+ builder.Autoconnect (this);
LoadPreference (Preferences.MAIN_WINDOW_WIDTH);
LoadPreference (Preferences.MAIN_WINDOW_X);
diff --git a/src/Makefile.am b/src/Makefile.am
index 51859a0..b15cbea 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -399,6 +399,7 @@ F_SPOT_DISTRESOURCES = \
$(srcdir)/dces.rdf \
$(srcdir)/f-spot.glade \
$(srcdir)/UI.Dialog/ui/AdjustTimeDialog.ui \
+ $(srcdir)/main_window.ui \
$(srcdir)/UI.Dialog/ui/DateRangeDialog.ui \
$(srcdir)/UI.Dialog/ui/PreferenceDialog.glade \
$(srcdir)/FSpot.addin.xml
diff --git a/src/main_window.ui b/src/main_window.ui
new file mode 100644
index 0000000..abaa7e3
--- /dev/null
+++ b/src/main_window.ui
@@ -0,0 +1,1054 @@
+<?xml version="1.0"?>
+<interface>
+ <requires lib="gtk+" version="2.16"/>
+ <!-- interface-naming-policy toplevel-contextual -->
+ <object class="GtkWindow" id="main_window">
+ <property name="title" translatable="yes">F-Spot</property>
+ <property name="window_position">center</property>
+ <child>
+ <object class="GtkVBox" id="vbox41">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkMenuBar" id="menubar1">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkMenuItem" id="file1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Photo</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="file1_menu">
+ <child>
+ <object class="GtkImageMenuItem" id="new1">
+ <property name="label">_Import...</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="HandleImportCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator4">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="version_menu_item">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Version</property>
+ <property name="use_underline">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="create_version_menu_item">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Create _New Version...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleCreateVersionCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="delete_version_menu_item">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Delete Version</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleDeleteVersionCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="rename_version_menu_item">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Rename Version</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleRenameVersionCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator1">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="export">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Export to</property>
+ <property name="use_underline">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="print">
+ <property name="label">gtk-print</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="p" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="HandlePrintCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="pagesetup_menu_item">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Page Set_up...</property>
+ <property name="use_underline">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="send_mail">
+ <property name="label">Send by _Mail...</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="HandleSendMailCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator10">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="close1">
+ <property name="label">_Quit</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="w" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="HandleCloseCommand"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="edit2">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Edit</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="edit2_menu">
+ <child>
+ <object class="GtkMenuItem" id="copy_location">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Copy Locat_ion</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleCopyLocation"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="select_all">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Select _All</property>
+ <property name="use_underline">True</property>
+ <accelerator key="A" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="HandleSelectAllCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="select_none">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Select _None</property>
+ <property name="use_underline">True</property>
+ <accelerator key="A" signal="activate" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="HandleSelectNoneCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator13">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="rotate_left">
+ <property name="label">Rotate _Left</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="bracketleft" signal="activate"/>
+ <signal name="activate" handler="HandleRotate270Command"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="rotate_right">
+ <property name="label">Rotate _Right</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="bracketright" signal="activate"/>
+ <signal name="activate" handler="HandleRotate90Command"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator2">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="sharpen">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Sharpen...</property>
+ <property name="use_underline">True</property>
+ <accelerator key="s" signal="activate"/>
+ <signal name="activate" handler="HandleSharpen"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="adjust_time">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Adjust _Time...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleAdjustTime"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator19">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="update_thumbnail">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Re_fresh Thumbnail</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleUpdateThumbnailCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="delete_from_drive">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Delete From Drive</property>
+ <property name="use_underline">True</property>
+ <accelerator key="Delete" signal="activate" modifiers="GDK_SHIFT_MASK"/>
+ <signal name="activate" handler="HandleDeleteCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="remove_from_catalog">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Remove From Catalog</property>
+ <property name="use_underline">True</property>
+ <accelerator key="Delete" signal="activate"/>
+ <signal name="activate" handler="HandleRemoveCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="set_as_background">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Set as _Background</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleSetAsBackgroundCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator11">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="attach_tag">
+ <property name="label">_Attach Tag</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="HandleTagMenuActivate"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="remove_tag">
+ <property name="label">Rem_ove Tag</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="HandleTagMenuActivate"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator111">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="preferences3">
+ <property name="label">gtk-preferences</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="HandlePreferences"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="extensions">
+ <property name="visible">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="label" translatable="yes">Manage _Extensions</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleManageExtensions"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="view1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_View</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="view1_menu">
+ <child>
+ <object class="GtkImageMenuItem" id="slide_show">
+ <property name="label">_Slideshow</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="F5" signal="activate"/>
+ <signal name="activate" handler="HandleViewSlideShow"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="fullscreen1">
+ <property name="label">_Fullscreen</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="F11" signal="activate"/>
+ <signal name="activate" handler="HandleViewFullscreen"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator18">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="thumbnails_elements_menu">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Thumbnail _elements</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="tag_icon_size_menu">
+ <child>
+ <object class="GtkCheckMenuItem" id="display_dates_menu_item">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Dates</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <signal name="activate" handler="HandleDisplayDates"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="display_tags_menu_item">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">T_ags</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <signal name="activate" handler="HandleDisplayTags"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="display_ratings_menu_item">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Ratings</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <signal name="activate" handler="HandleDisplayRatings"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="components_menu">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Components</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="tag_icon_size_menu1">
+ <child>
+ <object class="GtkCheckMenuItem" id="display_sidebar">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Side_bar</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <accelerator key="F9" signal="activate"/>
+ <signal name="activate" handler="HandleDisplayInfoSidebar"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="display_timeline">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Timeline</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <signal name="activate" handler="HandleDisplayGroupSelector"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="display_filmstrip">
+ <property name="visible">True</property>
+ <property name="sensitive">False</property>
+ <property name="label" translatable="yes">_Filmstrip</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <signal name="activate" handler="HandleDisplayFilmstrip"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="display_toolbar">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Too_lbar</property>
+ <property name="use_underline">True</property>
+ <property name="active">True</property>
+ <signal name="activate" handler="HandleDisplayToolbar"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator17">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="zoom_in">
+ <property name="label">Zoom _in</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="plus" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <accelerator key="equal" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="HandleZoomIn"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="zoom_out">
+ <property name="label">Zoom _out</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="minus" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="HandleZoomOut"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="loupe_menu_item">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Loupe</property>
+ <property name="use_underline">True</property>
+ <accelerator key="v" signal="activate"/>
+ <signal name="activate" handler="HandleLoupe"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator16">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="tag_icon_size">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Tag Icons</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="tag_icon_size_menu2">
+ <child>
+ <object class="GtkRadioMenuItem" id="tag_icon_hidden">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Hidden</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleTagSizeChange"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkRadioMenuItem" id="tag_icon_small">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Small</property>
+ <property name="use_underline">True</property>
+ <property name="group">tag_icon_hidden</property>
+ <signal name="activate" handler="HandleTagSizeChange"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkRadioMenuItem" id="tag_icon_medium">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Medium</property>
+ <property name="use_underline">True</property>
+ <property name="group">tag_icon_hidden</property>
+ <signal name="activate" handler="HandleTagSizeChange"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkRadioMenuItem" id="tag_icon_large">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Large</property>
+ <property name="use_underline">True</property>
+ <property name="group">tag_icon_hidden</property>
+ <signal name="activate" handler="HandleTagSizeChange"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator3">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="reverse_order">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Reverse Order</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleReverseOrder"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="find">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Fin_d</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="find_menu">
+ <child>
+ <object class="GtkImageMenuItem" id="find_by_tag">
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="f" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="HandleFindByTag"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="find_add_tag">
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="HandleIncludeTag"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="find_add_tag_with">
+ <property name="visible">True</property>
+ <property name="sensitive">False</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleFindAddTagWith"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator225">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="rate_submenu">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">By _Rating</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="rate_find_menu">
+ <child>
+ <object class="GtkMenuItem" id="set_rating_filter1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Set Rating filter...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleSetRatingFilter"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="clear_rating_filter">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Clear Rating Filter</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleClearRatingFilter"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="date_submenu">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">By _Date</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="date_find_menu">
+ <child>
+ <object class="GtkMenuItem" id="set_date_range1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Set Date Range...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleSetDateRange"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="clear_date_range">
+ <property name="visible">True</property>
+ <property name="sensitive">False</property>
+ <property name="label" translatable="yes">_Clear Date Range</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleClearDateRange"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="rolls_submenu">
+ <property name="label">By _Import Roll</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="rolls_find_menu">
+ <child>
+ <object class="GtkMenuItem" id="last_roll">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Last Import Roll</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleSelectLastRoll"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="select_rolls">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Select Import Rolls...</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleSelectRolls"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="clear_roll_filter">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Clear Roll Filter</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleClearRollFilter"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator15">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkCheckMenuItem" id="find_untagged">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Untagged Photos</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="HandleFindUntagged"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="tags1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Tags</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="tags1_menu">
+ <child>
+ <object class="GtkImageMenuItem" id="create_new_category1">
+ <property name="label">Create New _Tag...</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="HandleCreateNewCategoryCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator8">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="edit_selected_tag">
+ <property name="label">_Edit Selected Tag...</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="HandleEditSelectedTag"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="delete_selected_tag">
+ <property name="label">_Delete Selected Tag</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="HandleDeleteSelectedTagCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separator12">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="attach_tag_to_selection">
+ <property name="label">_Attach Tag to Selection</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="t" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="HandleAttachTagCommand"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="remove_tag_from_selection">
+ <property name="label">_Remove Tag From Selection</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="HandleRemoveTagCommand"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="tools">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Tools</property>
+ <property name="use_underline">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="help1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Help</property>
+ <property name="use_underline">True</property>
+ <child type="submenu">
+ <object class="GtkMenu" id="help1_menu">
+ <child>
+ <object class="GtkImageMenuItem" id="help2">
+ <property name="label">_Contents</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="F1" signal="activate"/>
+ <signal name="activate" handler="HandleHelp"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="about1">
+ <property name="label">gtk-about</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="HandleAbout"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="toolbar_vbox">
+ <property name="visible">True</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="group_vbox">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkHPaned" id="main_hpaned">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="position">200</property>
+ <child>
+ <object class="GtkVBox" id="info_vbox">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkVBox" id="sidebar_vbox">
+ <property name="visible">True</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="left_vbox">
+ <property name="visible">True</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="resize">False</property>
+ <property name="shrink">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="view_vbox">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkNotebook" id="view_notebook">
+ <property name="visible">True</property>
+ <property name="show_tabs">False</property>
+ <property name="show_border">False</property>
+ <child>
+ <object class="GtkScrolledWindow" id="icon_view_scrolled">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">never</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label2">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Browse</property>
+ </object>
+ <packing>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="photo_box">
+ <property name="visible">True</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child type="tab">
+ <object class="GtkLabel" id="label3">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">View</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ <property name="tab_fill">False</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="tagbar">
+ <property name="border_width">2</property>
+ <property name="spacing">1</property>
+ <child>
+ <object class="GtkLabel" id="label160">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Tags: </property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="tag_entry_container">
+ <property name="visible">True</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="tag_close_button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="relief">none</property>
+ <signal name="pressed" handler="HandleTagBarCloseButtonPressed"/>
+ <child>
+ <object class="GtkImage" id="image23">
+ <property name="visible">True</property>
+ <property name="stock">gtk-close</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="resize">True</property>
+ <property name="shrink">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox61">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkHBox" id="hbox62">
+ <property name="width_request">142</property>
+ <property name="visible">True</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="status_label">
+ <property name="visible">True</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox63">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkEventBox" id="eventbox1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_BUTTON_PRESS_MASK</property>
+ <signal name="button_press_event" handler="HandleZoomOut"/>
+ <child>
+ <object class="GtkImage" id="far_image">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="tooltip_text" translatable="yes">Zoom Out</property>
+ <property name="icon_name">view-far</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHScale" id="zoom_scale">
+ <property name="width_request">100</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="adjustment">zoom_adjustment</property>
+ <property name="draw_value">False</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEventBox" id="eventbox2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_BUTTON_PRESS_MASK</property>
+ <signal name="button_press_event" handler="HandleZoomIn"/>
+ <child>
+ <object class="GtkImage" id="near_image">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="tooltip_text" translatable="yes">Zoom In</property>
+ <property name="icon_name">view-near</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">6</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ <object class="GtkAdjustment" id="zoom_adjustment">
+ <property name="value">0.78000000000000003</property>
+ <property name="upper">1</property>
+ <property name="step_increment">0.10000000000000001</property>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]