Permalink
Browse files

Add an option to change the update frequency in the dialog.

  • Loading branch information...
1 parent 0cc8429 commit 0d98d880a17fbe8f7313ff55d090ff53aeb3ab93 @davekeogh committed Mar 4, 2009
Showing with 58 additions and 4 deletions.
  1. +58 −4 reddit_tray_icon.ui
View
62 reddit_tray_icon.ui
@@ -34,6 +34,9 @@
<property name="label" translatable="yes">_Username:</property>
<property name="use_underline">True</property>
</object>
+ <packing>
+ <property name="x_options">GTK_FILL</property>
+ </packing>
</child>
<child>
<object class="GtkLabel" id="label2">
@@ -45,6 +48,7 @@
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
+ <property name="x_options">GTK_FILL</property>
</packing>
</child>
<child>
@@ -93,12 +97,57 @@
</packing>
</child>
<child>
+ <object class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="label3">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Check for new messages every</property>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="update_spinbutton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="max_length">2</property>
+ <property name="width_chars">2</property>
+ <property name="adjustment">update_adjustment</property>
+ <property name="snap_to_ticks">True</property>
+ <property name="numeric">True</property>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label4">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">minutes</property>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkFrame" id="message_frame">
<property name="visible">True</property>
<property name="label_xalign">0</property>
<property name="shadow_type">in</property>
<child>
- <object class="GtkAlignment" id="alignment3">
+ <object class="GtkAlignment" id="alignment2">
<property name="visible">True</property>
<property name="top_padding">4</property>
<property name="bottom_padding">4</property>
@@ -116,11 +165,11 @@
</child>
</object>
<packing>
- <property name="position">2</property>
+ <property name="position">3</property>
</packing>
</child>
<child>
- <object class="GtkHButtonBox" id="hbuttonbox2">
+ <object class="GtkHButtonBox" id="hbuttonbox1">
<property name="visible">True</property>
<property name="spacing">6</property>
<property name="layout_style">end</property>
@@ -156,12 +205,17 @@
</child>
</object>
<packing>
- <property name="position">3</property>
+ <property name="position">4</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</object>
+ <object class="GtkAdjustment" id="update_adjustment">
+ <property name="lower">5</property>
+ <property name="upper">99</property>
+ <property name="step_increment">1</property>
+ </object>
</interface>

0 comments on commit 0d98d88

Please sign in to comment.