|
|
@@ -12,8 +12,8 @@ |
|
|
|
<action id="newAction"> |
|
|
|
<property name="Type">Action</property> |
|
|
|
<property name="Label" translatable="yes" /> |
|
|
|
<property name="Sensitive">False</property> |
|
|
|
<property name="StockId">gtk-new</property> |
|
|
|
<signal name="Activated" handler="OnNewActionActivated" /> |
|
|
|
</action> |
|
|
|
<action id="openAction"> |
|
|
|
<property name="Type">Action</property> |
|
|
@@ -27,10 +27,6 @@ |
|
|
|
<property name="Sensitive">False</property> |
|
|
|
<property name="StockId">gtk-save</property> |
|
|
|
</action> |
|
|
|
<action id="Action"> |
|
|
|
<property name="Type">Action</property> |
|
|
|
<property name="Label" translatable="yes" /> |
|
|
|
</action> |
|
|
|
<action id="FileAction"> |
|
|
|
<property name="Type">Action</property> |
|
|
|
<property name="Label" translatable="yes">File</property> |
|
|
@@ -54,7 +50,6 @@ |
|
|
|
<action id="NewAction"> |
|
|
|
<property name="Type">Action</property> |
|
|
|
<property name="Label" translatable="yes">_New</property> |
|
|
|
<property name="Sensitive">False</property> |
|
|
|
<property name="ShortLabel" translatable="yes">_New</property> |
|
|
|
<property name="StockId">gtk-new</property> |
|
|
|
</action> |
|
|
@@ -755,4 +750,230 @@ |
|
|
|
</widget> |
|
|
|
</child> |
|
|
|
</widget> |
|
|
|
<widget class="Gtk.Dialog" id="ThePimp.NewFile" design-size="400 300"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="Title" translatable="yes">New Image</property> |
|
|
|
<property name="Icon">stock:gtk-new Menu</property> |
|
|
|
<property name="WindowPosition">CenterOnParent</property> |
|
|
|
<property name="Buttons">2</property> |
|
|
|
<property name="HelpButton">False</property> |
|
|
|
<property name="HasSeparator">False</property> |
|
|
|
<child internal-child="VBox"> |
|
|
|
<widget class="Gtk.VBox" id="dialog1_VBox"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="BorderWidth">2</property> |
|
|
|
<child> |
|
|
|
<widget class="Gtk.VBox" id="vbox2"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="Spacing">6</property> |
|
|
|
<property name="BorderWidth">5</property> |
|
|
|
<child> |
|
|
|
<widget class="Gtk.ComboBox" id="combobox1"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="IsTextCombo">True</property> |
|
|
|
<property name="Items" translatable="yes">Random Noise |
|
|
|
Bayer Dithering Pattern</property> |
|
|
|
<property name="Active">0</property> |
|
|
|
</widget> |
|
|
|
<packing> |
|
|
|
<property name="Position">0</property> |
|
|
|
<property name="AutoSize">True</property> |
|
|
|
<property name="Expand">False</property> |
|
|
|
<property name="Fill">False</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<widget class="Gtk.Table" id="table1"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="NRows">2</property> |
|
|
|
<property name="NColumns">3</property> |
|
|
|
<property name="RowSpacing">6</property> |
|
|
|
<property name="ColumnSpacing">6</property> |
|
|
|
<child> |
|
|
|
<widget class="Gtk.Entry" id="entry1"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="CanFocus">True</property> |
|
|
|
<property name="Text" translatable="yes">1024</property> |
|
|
|
<property name="IsEditable">True</property> |
|
|
|
<property name="WidthChars">6</property> |
|
|
|
<property name="Xalign">1</property> |
|
|
|
</widget> |
|
|
|
<packing> |
|
|
|
<property name="LeftAttach">1</property> |
|
|
|
<property name="RightAttach">2</property> |
|
|
|
<property name="AutoSize">False</property> |
|
|
|
<property name="XOptions">Fill</property> |
|
|
|
<property name="YOptions">Fill</property> |
|
|
|
<property name="XExpand">False</property> |
|
|
|
<property name="XFill">True</property> |
|
|
|
<property name="XShrink">False</property> |
|
|
|
<property name="YExpand">False</property> |
|
|
|
<property name="YFill">True</property> |
|
|
|
<property name="YShrink">False</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<widget class="Gtk.Entry" id="entry2"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="CanFocus">True</property> |
|
|
|
<property name="Text" translatable="yes">768</property> |
|
|
|
<property name="IsEditable">True</property> |
|
|
|
<property name="WidthChars">6</property> |
|
|
|
<property name="Xalign">1</property> |
|
|
|
</widget> |
|
|
|
<packing> |
|
|
|
<property name="TopAttach">1</property> |
|
|
|
<property name="BottomAttach">2</property> |
|
|
|
<property name="LeftAttach">1</property> |
|
|
|
<property name="RightAttach">2</property> |
|
|
|
<property name="AutoSize">False</property> |
|
|
|
<property name="XOptions">Fill</property> |
|
|
|
<property name="YOptions">Fill</property> |
|
|
|
<property name="XExpand">False</property> |
|
|
|
<property name="XFill">True</property> |
|
|
|
<property name="XShrink">False</property> |
|
|
|
<property name="YExpand">False</property> |
|
|
|
<property name="YFill">True</property> |
|
|
|
<property name="YShrink">False</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<widget class="Gtk.Label" id="label1"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="LabelProp" translatable="yes">px</property> |
|
|
|
</widget> |
|
|
|
<packing> |
|
|
|
<property name="LeftAttach">2</property> |
|
|
|
<property name="RightAttach">3</property> |
|
|
|
<property name="AutoSize">True</property> |
|
|
|
<property name="XOptions">Fill</property> |
|
|
|
<property name="YOptions">Fill</property> |
|
|
|
<property name="XExpand">False</property> |
|
|
|
<property name="XFill">True</property> |
|
|
|
<property name="XShrink">False</property> |
|
|
|
<property name="YExpand">False</property> |
|
|
|
<property name="YFill">True</property> |
|
|
|
<property name="YShrink">False</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<widget class="Gtk.Label" id="label2"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="LabelProp" translatable="yes">px</property> |
|
|
|
</widget> |
|
|
|
<packing> |
|
|
|
<property name="TopAttach">1</property> |
|
|
|
<property name="BottomAttach">2</property> |
|
|
|
<property name="LeftAttach">2</property> |
|
|
|
<property name="RightAttach">3</property> |
|
|
|
<property name="AutoSize">True</property> |
|
|
|
<property name="XOptions">Fill</property> |
|
|
|
<property name="YOptions">Fill</property> |
|
|
|
<property name="XExpand">False</property> |
|
|
|
<property name="XFill">True</property> |
|
|
|
<property name="XShrink">False</property> |
|
|
|
<property name="YExpand">False</property> |
|
|
|
<property name="YFill">True</property> |
|
|
|
<property name="YShrink">False</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<widget class="Gtk.Label" id="label3"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="LabelProp" translatable="yes">Width</property> |
|
|
|
<property name="Justify">Right</property> |
|
|
|
</widget> |
|
|
|
<packing> |
|
|
|
<property name="AutoSize">False</property> |
|
|
|
<property name="XOptions">0</property> |
|
|
|
<property name="YOptions">Fill</property> |
|
|
|
<property name="XExpand">False</property> |
|
|
|
<property name="XFill">False</property> |
|
|
|
<property name="XShrink">False</property> |
|
|
|
<property name="YExpand">False</property> |
|
|
|
<property name="YFill">True</property> |
|
|
|
<property name="YShrink">False</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<widget class="Gtk.Label" id="label4"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="LabelProp" translatable="yes">Height</property> |
|
|
|
<property name="Justify">Right</property> |
|
|
|
</widget> |
|
|
|
<packing> |
|
|
|
<property name="TopAttach">1</property> |
|
|
|
<property name="BottomAttach">2</property> |
|
|
|
<property name="AutoSize">False</property> |
|
|
|
<property name="XOptions">0</property> |
|
|
|
<property name="YOptions">Fill</property> |
|
|
|
<property name="XExpand">False</property> |
|
|
|
<property name="XFill">False</property> |
|
|
|
<property name="XShrink">False</property> |
|
|
|
<property name="YExpand">False</property> |
|
|
|
<property name="YFill">True</property> |
|
|
|
<property name="YShrink">False</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
</widget> |
|
|
|
<packing> |
|
|
|
<property name="Position">1</property> |
|
|
|
<property name="AutoSize">True</property> |
|
|
|
<property name="Expand">False</property> |
|
|
|
<property name="Fill">False</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
</widget> |
|
|
|
<packing> |
|
|
|
<property name="Position">0</property> |
|
|
|
<property name="AutoSize">True</property> |
|
|
|
<property name="Expand">False</property> |
|
|
|
<property name="Fill">False</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
</widget> |
|
|
|
</child> |
|
|
|
<child internal-child="ActionArea"> |
|
|
|
<widget class="Gtk.HButtonBox" id="dialog1_ActionArea"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="Spacing">6</property> |
|
|
|
<property name="BorderWidth">5</property> |
|
|
|
<property name="Size">2</property> |
|
|
|
<property name="LayoutStyle">End</property> |
|
|
|
<child> |
|
|
|
<widget class="Gtk.Button" id="buttonCancel"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="CanDefault">True</property> |
|
|
|
<property name="CanFocus">True</property> |
|
|
|
<property name="UseStock">True</property> |
|
|
|
<property name="Type">StockItem</property> |
|
|
|
<property name="StockId">gtk-cancel</property> |
|
|
|
<property name="ResponseId">-6</property> |
|
|
|
<property name="label">gtk-cancel</property> |
|
|
|
</widget> |
|
|
|
<packing> |
|
|
|
<property name="Expand">False</property> |
|
|
|
<property name="Fill">False</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
<child> |
|
|
|
<widget class="Gtk.Button" id="buttonOk"> |
|
|
|
<property name="MemberName" /> |
|
|
|
<property name="CanDefault">True</property> |
|
|
|
<property name="CanFocus">True</property> |
|
|
|
<property name="UseStock">True</property> |
|
|
|
<property name="Type">StockItem</property> |
|
|
|
<property name="StockId">gtk-ok</property> |
|
|
|
<property name="ResponseId">-5</property> |
|
|
|
<property name="label">gtk-ok</property> |
|
|
|
</widget> |
|
|
|
<packing> |
|
|
|
<property name="Position">1</property> |
|
|
|
<property name="Expand">False</property> |
|
|
|
<property name="Fill">False</property> |
|
|
|
</packing> |
|
|
|
</child> |
|
|
|
</widget> |
|
|
|
</child> |
|
|
|
</widget> |
|
|
|
</stetic-interface> |