[f-spot] port AdjustTimeDialog to GtkBuilder
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot] port AdjustTimeDialog to GtkBuilder
- Date: Fri, 26 Jun 2009 14:45:01 +0000 (UTC)
commit c0e5543aaba047e09d944faa9675468c2bae9afa
Author: Stephane Delcroix <stephane delcroix org>
Date: Fri Jun 26 08:41:29 2009 +0200
port AdjustTimeDialog to GtkBuilder
src/MainWindow.cs | 2 +-
src/Makefile.am | 1 +
src/UI.Dialog/AdjustTimeDialog.cs | 58 ++---
src/UI.Dialog/ui/AdjustTimeDialog.ui | 418 ++++++++++++++++++++++++++++++++++
src/f-spot.glade | 413 ---------------------------------
5 files changed, 446 insertions(+), 446 deletions(-)
---
diff --git a/src/MainWindow.cs b/src/MainWindow.cs
index c12f452..4eb59fb 100644
--- a/src/MainWindow.cs
+++ b/src/MainWindow.cs
@@ -1937,7 +1937,7 @@ public class MainWindow {
{
PhotoList list = new PhotoList (Selection.Items);
list.Sort (new Photo.CompareDateName ());
- new AdjustTimeDialog (db, list);
+ (new AdjustTimeDialog (db, list)).Run ();
}
public void HideLoupe ()
diff --git a/src/Makefile.am b/src/Makefile.am
index 24d5c3e..dd90c7a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -390,6 +390,7 @@ F_SPOT_ASSEMBLIES = \
F_SPOT_DISTRESOURCES = \
$(srcdir)/dces.rdf \
$(srcdir)/f-spot.glade \
+ $(srcdir)/UI.Dialog/ui/AdjustTimeDialog.ui \
$(srcdir)/UI.Dialog/ui/DateRangeDialog.ui \
$(srcdir)/UI.Dialog/ui/PreferenceDialog.glade \
$(srcdir)/FSpot.addin.xml
diff --git a/src/UI.Dialog/AdjustTimeDialog.cs b/src/UI.Dialog/AdjustTimeDialog.cs
index a446dde..31b61e6 100644
--- a/src/UI.Dialog/AdjustTimeDialog.cs
+++ b/src/UI.Dialog/AdjustTimeDialog.cs
@@ -5,6 +5,9 @@
* Larry Ewing <lewing novell com>
* Stephane Delcroix <stephane delcroix org>
*
+ *
+ * Copyright (c) 2006-2009 Novell, Inc.
+ *
* This is free software. See COPYING for details.
*/
@@ -15,34 +18,25 @@ using Mono.Unix;
using FSpot.Widgets;
namespace FSpot.UI.Dialog {
- public class AdjustTimeDialog : GladeDialog
+ public class AdjustTimeDialog : BuilderDialog
{
- [Glade.Widget] ScrolledWindow view_scrolled;
- [Glade.Widget] ScrolledWindow tray_scrolled;
-
- //[Glade.Widget] Button back_button;
- //[Glade.Widget] Button forward_button;
- [Glade.Widget] Button ok_button;
- [Glade.Widget] Button cancel_button;
-
- [Glade.Widget] SpinButton photo_spin;
-
- [Glade.Widget] Label name_label;
- [Glade.Widget] Label old_label;
- [Glade.Widget] Label count_label;
-
- [Glade.Widget] Gnome.DateEdit date_edit;
-
- [Glade.Widget] Frame tray_frame;
-
- [Glade.Widget] Gtk.Entry entry;
- [Glade.Widget] Gtk.Entry offset_entry;
-
- [Glade.Widget] Gtk.CheckButton difference_check;
- [Glade.Widget] Gtk.CheckButton interval_check;
- [Glade.Widget] Gtk.Frame action_frame;
- [Glade.Widget] Gtk.Entry spacing_entry;
- [Glade.Widget] Gtk.Label starting_label;
+ [GtkBeans.Builder.Object] ScrolledWindow view_scrolled;
+ [GtkBeans.Builder.Object] ScrolledWindow tray_scrolled;
+ [GtkBeans.Builder.Object] Button ok_button;
+ [GtkBeans.Builder.Object] Button cancel_button;
+ [GtkBeans.Builder.Object] SpinButton photo_spin;
+ [GtkBeans.Builder.Object] Label name_label;
+ [GtkBeans.Builder.Object] Label old_label;
+ [GtkBeans.Builder.Object] Label count_label;
+ [GtkBeans.Builder.Object] Gnome.DateEdit date_edit;
+ [GtkBeans.Builder.Object] Frame tray_frame;
+ [GtkBeans.Builder.Object] Gtk.Entry entry;
+ [GtkBeans.Builder.Object] Gtk.Entry offset_entry;
+ [GtkBeans.Builder.Object] Gtk.CheckButton difference_check;
+ [GtkBeans.Builder.Object] Gtk.CheckButton interval_check;
+ [GtkBeans.Builder.Object] Gtk.Frame action_frame;
+ [GtkBeans.Builder.Object] Gtk.Entry spacing_entry;
+ [GtkBeans.Builder.Object] Gtk.Label starting_label;
IBrowsableCollection collection;
BrowsablePointer Item;
@@ -51,7 +45,7 @@ namespace FSpot.UI.Dialog {
Db db;
TimeSpan gnome_dateedit_sucks;
- public AdjustTimeDialog (Db db, IBrowsableCollection collection) : base ("time_dialog")
+ public AdjustTimeDialog (Db db, IBrowsableCollection collection) : base ("AdjustTimeDialog.ui", "time_dialog")
{
this.db = db;
this.collection = collection;
@@ -83,7 +77,7 @@ namespace FSpot.UI.Dialog {
entry = (Gtk.Entry) date_edit.Children [2];
entry.Changed += HandleTimeChanged;
offset_entry.Changed += HandleOffsetChanged;
- Dialog.ShowAll ();
+ ShowAll ();
HandleCollectionChanged (collection);
spacing_entry.Changed += HandleSpacingChanged;
@@ -198,7 +192,7 @@ namespace FSpot.UI.Dialog {
if (! Item.IsValid)
throw new ApplicationException ("invalid item selected");
- Dialog.Sensitive = false;
+ Sensitive = false;
if (difference_check.Active)
ShiftByDifference ();
@@ -206,7 +200,7 @@ namespace FSpot.UI.Dialog {
SpaceByInterval ();
- Dialog.Destroy ();
+ Destroy ();
}
void HandleOffsetChanged (object sender, EventArgs args)
@@ -243,7 +237,7 @@ namespace FSpot.UI.Dialog {
void HandleCancelClicked (object sender, EventArgs args)
{
- Dialog.Destroy ();
+ Destroy ();
}
void HandleForwardClicked (object sender, EventArgs args)
diff --git a/src/UI.Dialog/ui/AdjustTimeDialog.ui b/src/UI.Dialog/ui/AdjustTimeDialog.ui
new file mode 100644
index 0000000..cb83838
--- /dev/null
+++ b/src/UI.Dialog/ui/AdjustTimeDialog.ui
@@ -0,0 +1,418 @@
+<?xml version="1.0"?>
+<!--*- mode: xml -*-->
+<interface>
+ <object class="GtkAdjustment" id="adjustment1">
+ <property name="upper">100</property>
+ <property name="lower">0</property>
+ <property name="page_increment">10</property>
+ <property name="step_increment">1</property>
+ <property name="page_size">10</property>
+ <property name="value">0</property>
+ </object>
+ <object class="GtkDialog" id="time_dialog">
+ <property name="visible">True</property>
+ <property name="title" translatable="yes">Adjust Time</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+ <property name="has_separator">False</property>
+ <child internal-child="vbox">
+ <object class="GtkVBox" id="dialog-vbox15">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkHBox" id="hbox76">
+ <property name="visible">True</property>
+ <property name="border_width">6</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkHBox" id="hbox81">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkVBox" id="vbox78">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkFrame" id="frame44">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">GTK_SHADOW_NONE</property>
+ <child>
+ <object class="GtkAlignment" id="alignment55">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkVBox" id="vbox75">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="name_label">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">img_000.jpg</property>
+ <property name="use_markup">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkScrolledWindow" id="view_scrolled">
+ <property name="width_request">320</property>
+ <property name="height_request">200</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox84">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkLabel" id="label209">
+ <property name="width_request">60</property>
+ <property name="visible">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="count_label">
+ <property name="visible">True</property>
+ <property name="xpad">30</property>
+ <property name="label" translatable="yes">1 of 1</property>
+ <property name="justify">GTK_JUSTIFY_CENTER</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="photo_spin">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="adjustment">adjustment1</property>
+ <property name="climb_rate">1</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox77">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkTable" id="table25">
+ <property name="visible">True</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">2</property>
+ <property name="column_spacing">6</property>
+ <property name="row_spacing">6</property>
+ <child>
+ <object class="GnomeDateEdit" id="date_edit">
+ <property name="visible">True</property>
+ <property name="dateedit_flags">GNOME_DATE_EDIT_SHOW_TIME | GNOME_DATE_EDIT_24_HR</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label197">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Adjusted date: </property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label198">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Current date:</property>
+ <property name="wrap">True</property>
+ </object>
+ <packing>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="old_label">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">0000:00:00 00:00:00</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
+ <property name="y_options"/>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox80">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label200">
+ <property name="visible">True</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">difference:</property>
+ <property name="justify">GTK_JUSTIFY_RIGHT</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="offset_entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">*</property>
+ <property name="width_chars">16</property>
+ <property name="text" translatable="yes">00:00:00</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label191">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Reference Photo</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkFrame" id="action_frame">
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">GTK_SHADOW_NONE</property>
+ <child>
+ <object class="GtkAlignment" id="alignment58">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkVBox" id="vbox79">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkRadioButton" id="difference_check">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Shift all photos by {0}</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox82">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkRadioButton" id="interval_check">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">Space all photos by</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">difference_check</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="spacing_entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">*</property>
+ <property name="width_chars">5</property>
+ <property name="text" translatable="yes">5</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="starting_label">
+ <property name="label" translatable="yes">min. Starting at {0}</property>
+ </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="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label204">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Action</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkFrame" id="tray_frame">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">GTK_SHADOW_NONE</property>
+ <child>
+ <object class="GtkAlignment" id="alignment57">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkScrolledWindow" id="tray_scrolled">
+ <property name="width_request">200</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label203">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Photos</b></property>
+ <property name="use_markup">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child internal-child="action_area">
+ <object class="GtkHButtonBox" id="dialog-action_area15">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+ <child>
+ <object class="GtkButton" id="cancel_button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="label">gtk-cancel</property>
+ <property name="use_stock">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="ok_button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="label">gtk-ok</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="0">difference_check</action-widget>
+ <action-widget response="0">interval_check</action-widget>
+ <action-widget response="-6">cancel_button</action-widget>
+ <action-widget response="-5">ok_button</action-widget>
+ </action-widgets>
+ </object>
+</interface>
diff --git a/src/f-spot.glade b/src/f-spot.glade
index 6c12c33..fdd7402 100644
--- a/src/f-spot.glade
+++ b/src/f-spot.glade
@@ -5031,419 +5031,6 @@
</child>
</widget>
- <widget class="GtkDialog" id="time_dialog">
- <property name="visible">True</property>
- <property name="title" translatable="yes">Adjust Time</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
- <property name="has_separator">False</property>
- <child internal-child="vbox">
- <widget class="GtkVBox" id="dialog-vbox15">
- <property name="visible">True</property>
- <child>
- <widget class="GtkHBox" id="hbox76">
- <property name="visible">True</property>
- <property name="border_width">6</property>
- <property name="spacing">6</property>
- <child>
- <widget class="GtkHBox" id="hbox81">
- <property name="visible">True</property>
- <child>
- <widget class="GtkVBox" id="vbox78">
- <property name="visible">True</property>
- <child>
- <widget class="GtkFrame" id="frame44">
- <property name="visible">True</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
- <child>
- <widget class="GtkAlignment" id="alignment55">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkVBox" id="vbox75">
- <property name="visible">True</property>
- <property name="spacing">6</property>
- <child>
- <widget class="GtkLabel" id="name_label">
- <property name="visible">True</property>
- <property name="label" translatable="yes">img_000.jpg</property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="GtkScrolledWindow" id="view_scrolled">
- <property name="width_request">320</property>
- <property name="height_request">200</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <child>
- <placeholder/>
- </child>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox84">
- <property name="visible">True</property>
- <child>
- <widget class="GtkLabel" id="label209">
- <property name="width_request">60</property>
- <property name="visible">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="count_label">
- <property name="visible">True</property>
- <property name="xpad">30</property>
- <property name="label" translatable="yes">1 of 1</property>
- <property name="justify">GTK_JUSTIFY_CENTER</property>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkSpinButton" id="photo_spin">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">0 0 100 1 10 10</property>
- <property name="climb_rate">1</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <widget class="GtkVBox" id="vbox77">
- <property name="visible">True</property>
- <property name="spacing">6</property>
- <child>
- <widget class="GtkTable" id="table25">
- <property name="visible">True</property>
- <property name="n_rows">2</property>
- <property name="n_columns">2</property>
- <property name="column_spacing">6</property>
- <property name="row_spacing">6</property>
- <child>
- <widget class="GnomeDateEdit" id="date_edit">
- <property name="visible">True</property>
- <property name="dateedit_flags">GNOME_DATE_EDIT_SHOW_TIME | GNOME_DATE_EDIT_24_HR</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label197">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Adjusted date: </property>
- </widget>
- <packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="label198">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Current date:</property>
- <property name="wrap">True</property>
- </widget>
- <packing>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="old_label">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">0000:00:00 00:00:00</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="x_options">GTK_FILL</property>
- <property name="y_options"></property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox80">
- <property name="visible">True</property>
- <property name="spacing">6</property>
- <child>
- <placeholder/>
- </child>
- <child>
- <widget class="GtkLabel" id="label200">
- <property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">difference:</property>
- <property name="justify">GTK_JUSTIFY_RIGHT</property>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkEntry" id="offset_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="invisible_char">*</property>
- <property name="width_chars">16</property>
- <property name="text" translatable="yes">00:00:00</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkLabel" id="label191">
- <property name="visible">True</property>
- <property name="label" translatable="yes"><b>Reference Photo</b></property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkFrame" id="action_frame">
- <property name="label_xalign">0</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
- <child>
- <widget class="GtkAlignment" id="alignment58">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkVBox" id="vbox79">
- <property name="visible">True</property>
- <property name="spacing">6</property>
- <child>
- <widget class="GtkRadioButton" id="difference_check">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">Shift all photos by {0}</property>
- <property name="use_underline">True</property>
- <property name="response_id">0</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="GtkHBox" id="hbox82">
- <property name="visible">True</property>
- <property name="spacing">6</property>
- <child>
- <widget class="GtkRadioButton" id="interval_check">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">Space all photos by</property>
- <property name="use_underline">True</property>
- <property name="response_id">0</property>
- <property name="draw_indicator">True</property>
- <property name="group">difference_check</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="GtkEntry" id="spacing_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="invisible_char">*</property>
- <property name="width_chars">5</property>
- <property name="text" translatable="yes">5</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <widget class="GtkLabel" id="starting_label">
- <property name="label" translatable="yes">min. Starting at {0}</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkLabel" id="label204">
- <property name="visible">True</property>
- <property name="label" translatable="yes"><b>Action</b></property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkFrame" id="tray_frame">
- <property name="visible">True</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
- <child>
- <widget class="GtkAlignment" id="alignment57">
- <property name="visible">True</property>
- <property name="left_padding">12</property>
- <child>
- <widget class="GtkScrolledWindow" id="tray_scrolled">
- <property name="width_request">200</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
- <child>
- <placeholder/>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- <child>
- <widget class="GtkLabel" id="label203">
- <property name="visible">True</property>
- <property name="label" translatable="yes"><b>Photos</b></property>
- <property name="use_markup">True</property>
- </widget>
- <packing>
- <property name="type">label_item</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child internal-child="action_area">
- <widget class="GtkHButtonBox" id="dialog-action_area15">
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
- <child>
- <widget class="GtkButton" id="cancel_button">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="label">gtk-cancel</property>
- <property name="use_stock">True</property>
- <property name="response_id">-6</property>
- </widget>
- </child>
- <child>
- <widget class="GtkButton" id="ok_button">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="label">gtk-ok</property>
- <property name="use_stock">True</property>
- <property name="response_id">-5</property>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="pack_type">GTK_PACK_END</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
<widget class="GtkDialog" id="last_import_rolls_filter">
<property name="visible">True</property>
<property name="title" translatable="yes">Filter on selected rolls</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]