Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add the first notification option to the glade file.

  • Loading branch information...
commit 2fb19b38b677b092220643bfaee5f06d1b37e470 1 parent 25ea2a7
Stephan Sokolow authored
Showing with 179 additions and 153 deletions.
  1. +179 −153 timeclock.glade
View
332 timeclock.glade
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
-<!--Generated with glade3 3.4.5 on Sun Jun 14 03:15:32 2009 -->
+<!--Generated with glade3 3.4.5 on Mon Jun 15 12:36:59 2009 -->
<glade-interface>
<widget class="GtkWindow" id="mainWin">
<property name="visible">True</property>
@@ -17,74 +17,81 @@
<property name="column_spacing">5</property>
<property name="row_spacing">5</property>
<child>
- <widget class="GtkRadioButton" id="btn_workMode">
+ <widget class="GtkHBox" id="mainWin_prefs_reset_hbox">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">_Work</property>
- <property name="use_underline">True</property>
- <property name="response_id">0</property>
- <property name="group">btn_sleepMode</property>
- <signal name="toggled" handler="on_mode_toggled"/>
+ <child>
+ <widget class="GtkButton" id="btn_prefs">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="tooltip" translatable="yes">Preferences</property>
+ <property name="response_id">0</property>
+ <signal name="clicked" handler="on_prefs_clicked"/>
+ <child>
+ <widget class="GtkImage" id="image1">
+ <property name="visible">True</property>
+ <property name="stock">gtk-preferences</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">5</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkButton" id="btn_reset">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="tooltip" translatable="yes">Reset all timers</property>
+ <property name="label" translatable="yes">_Reset</property>
+ <property name="use_underline">True</property>
+ <property name="response_id">0</property>
+ <signal name="clicked" handler="on_reset_clicked"/>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
</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="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
<property name="y_options">GTK_EXPAND</property>
</packing>
</child>
<child>
- <widget class="GtkRadioButton" id="btn_playMode">
+ <widget class="GtkHSeparator" id="mainWin_hseparator">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">_Leisure</property>
- <property name="use_underline">True</property>
- <property name="response_id">0</property>
- <property name="active">True</property>
- <property name="group">btn_sleepMode</property>
- <signal name="toggled" handler="on_mode_toggled"/>
</widget>
<packing>
- <property name="left_attach">2</property>
<property name="right_attach">3</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="y_options">GTK_EXPAND</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="y_padding">5</property>
</packing>
</child>
<child>
- <widget class="GtkRadioButton" id="btn_overheadMode">
+ <widget class="GtkProgressBar" id="progress_overheadMode">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">_Daily Routine</property>
- <property name="use_underline">True</property>
- <property name="response_id">0</property>
- <property name="active">True</property>
- <property name="group">btn_sleepMode</property>
- <signal name="toggled" handler="on_mode_toggled"/>
+ <property name="orientation">GTK_PROGRESS_RIGHT_TO_LEFT</property>
</widget>
<packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
<property name="y_options">GTK_EXPAND</property>
</packing>
</child>
<child>
- <widget class="GtkRadioButton" id="btn_sleepMode">
+ <widget class="GtkProgressBar" id="progress_playMode">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="tooltip" translatable="yes">Pause all timers</property>
- <property name="label" translatable="yes">_Snooze</property>
- <property name="use_underline">True</property>
- <property name="response_id">0</property>
- <property name="active">True</property>
- <signal name="toggled" handler="on_mode_toggled"/>
+ <property name="orientation">GTK_PROGRESS_RIGHT_TO_LEFT</property>
</widget>
<packing>
- <property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
<property name="y_options">GTK_EXPAND</property>
</packing>
</child>
@@ -100,81 +107,74 @@
</packing>
</child>
<child>
- <widget class="GtkProgressBar" id="progress_playMode">
+ <widget class="GtkRadioButton" id="btn_sleepMode">
<property name="visible">True</property>
- <property name="orientation">GTK_PROGRESS_RIGHT_TO_LEFT</property>
+ <property name="can_focus">True</property>
+ <property name="tooltip" translatable="yes">Pause all timers</property>
+ <property name="label" translatable="yes">_Snooze</property>
+ <property name="use_underline">True</property>
+ <property name="response_id">0</property>
+ <property name="active">True</property>
+ <signal name="toggled" handler="on_mode_toggled"/>
</widget>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
<property name="y_options">GTK_EXPAND</property>
</packing>
</child>
<child>
- <widget class="GtkProgressBar" id="progress_overheadMode">
+ <widget class="GtkRadioButton" id="btn_overheadMode">
<property name="visible">True</property>
- <property name="orientation">GTK_PROGRESS_RIGHT_TO_LEFT</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">_Daily Routine</property>
+ <property name="use_underline">True</property>
+ <property name="response_id">0</property>
+ <property name="active">True</property>
+ <property name="group">btn_sleepMode</property>
+ <signal name="toggled" handler="on_mode_toggled"/>
</widget>
<packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
<property name="y_options">GTK_EXPAND</property>
</packing>
</child>
<child>
- <widget class="GtkHSeparator" id="mainWin_hseparator">
+ <widget class="GtkRadioButton" id="btn_playMode">
<property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">_Leisure</property>
+ <property name="use_underline">True</property>
+ <property name="response_id">0</property>
+ <property name="active">True</property>
+ <property name="group">btn_sleepMode</property>
+ <signal name="toggled" handler="on_mode_toggled"/>
</widget>
<packing>
+ <property name="left_attach">2</property>
<property name="right_attach">3</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="y_padding">5</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="y_options">GTK_EXPAND</property>
</packing>
</child>
<child>
- <widget class="GtkHBox" id="mainWin_prefs_reset_hbox">
+ <widget class="GtkRadioButton" id="btn_workMode">
<property name="visible">True</property>
- <child>
- <widget class="GtkButton" id="btn_prefs">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="tooltip" translatable="yes">Preferences</property>
- <property name="response_id">0</property>
- <signal name="clicked" handler="on_prefs_clicked"/>
- <child>
- <widget class="GtkImage" id="image1">
- <property name="visible">True</property>
- <property name="stock">gtk-preferences</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">5</property>
- </packing>
- </child>
- <child>
- <widget class="GtkButton" id="btn_reset">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="tooltip" translatable="yes">Reset all timers</property>
- <property name="label" translatable="yes">_Reset</property>
- <property name="use_underline">True</property>
- <property name="response_id">0</property>
- <signal name="clicked" handler="on_reset_clicked"/>
- </widget>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">_Work</property>
+ <property name="use_underline">True</property>
+ <property name="response_id">0</property>
+ <property name="group">btn_sleepMode</property>
+ <signal name="toggled" handler="on_mode_toggled"/>
</widget>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
+ <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">GTK_EXPAND</property>
</packing>
</child>
@@ -203,60 +203,61 @@
<property name="column_spacing">5</property>
<property name="row_spacing">5</property>
<child>
- <widget class="GtkLabel" id="lbl_hours3">
+ <widget class="GtkSpinButton" id="spinBtn_overheadMode">
<property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Hours</property>
+ <property name="can_focus">True</property>
+ <property name="xalign">1</property>
+ <property name="adjustment">4 1 15 0.25 1 1</property>
+ <property name="digits">2</property>
+ <property name="numeric">True</property>
</widget>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
+ <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>
<child>
- <widget class="GtkLabel" id="lbl_hours2">
+ <widget class="GtkLabel" id="lbl_overheadMode">
<property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Hours</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">Daily _Routine:</property>
+ <property name="use_markup">True</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">spinBtn_overheadMode</property>
</widget>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</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="lbl_hours1">
+ <widget class="GtkLabel" id="lbl_workMode">
<property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Hours</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">_Work:</property>
+ <property name="use_markup">True</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">spinBtn_workMode</property>
</widget>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkSpinButton" id="spinBtn_playMode">
+ <widget class="GtkLabel" id="lbl_playMode">
<property name="visible">True</property>
- <property name="can_focus">True</property>
<property name="xalign">1</property>
- <property name="adjustment">6 1 15 0.25 1 1</property>
- <property name="digits">2</property>
- <property name="numeric">True</property>
+ <property name="label" translatable="yes">_Leisure:</property>
+ <property name="use_markup">True</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">spinBtn_playMode</property>
</widget>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
- <property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
@@ -279,61 +280,60 @@
</packing>
</child>
<child>
- <widget class="GtkLabel" id="lbl_playMode">
+ <widget class="GtkSpinButton" id="spinBtn_playMode">
<property name="visible">True</property>
+ <property name="can_focus">True</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">_Leisure:</property>
- <property name="use_markup">True</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">spinBtn_playMode</property>
+ <property name="adjustment">6 1 15 0.25 1 1</property>
+ <property name="digits">2</property>
+ <property name="numeric">True</property>
</widget>
<packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
+ <property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="lbl_workMode">
+ <widget class="GtkLabel" id="lbl_hours1">
<property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">_Work:</property>
- <property name="use_markup">True</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">spinBtn_workMode</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Hours</property>
</widget>
<packing>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="lbl_overheadMode">
+ <widget class="GtkLabel" id="lbl_hours2">
<property name="visible">True</property>
- <property name="xalign">1</property>
- <property name="label" translatable="yes">Daily _Routine:</property>
- <property name="use_markup">True</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">spinBtn_overheadMode</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Hours</property>
</widget>
<packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkSpinButton" id="spinBtn_overheadMode">
+ <widget class="GtkLabel" id="lbl_hours3">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="xalign">1</property>
- <property name="adjustment">4 1 15 0.25 1 1</property>
- <property name="digits">2</property>
- <property name="numeric">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Hours</property>
</widget>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="x_options">GTK_FILL</property>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
@@ -352,9 +352,35 @@
</packing>
</child>
<child>
- <widget class="GtkLabel" id="label1">
+ <widget class="GtkTable" id="table2">
<property name="visible">True</property>
- <property name="label" translatable="yes">TODO: Implement this</property>
+ <property name="border_width">5</property>
+ <property name="n_rows">2</property>
+ <child>
+ <widget class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">When a timer runs out...</property>
+ </widget>
+ <packing>
+ <property name="y_options"></property>
+ <property name="y_padding">5</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="checkbutton1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes">display notifications (Requires pynotify)</property>
+ <property name="response_id">0</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
</widget>
<packing>
<property name="position">1</property>
Please sign in to comment.
Something went wrong with that request. Please try again.