summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@collabora.co.uk>2011-03-25 15:31:08 (GMT)
committerLars Wirzenius <lars.wirzenius@collabora.co.uk>2011-03-25 15:31:08 (GMT)
commitc85aa0139e09639f3a84ea0d55511b9909d453d8 (patch)
tree781732c6a47ef61fae4b73e396bfb63c0627cda4
parent8abc01dc70b1aa251c6c08992a8ee8c6f1aadcdf (diff)
downloadgtimelog-c85aa0139e09639f3a84ea0d55511b9909d453d8.tar.gz
gtimelog-c85aa0139e09639f3a84ea0d55511b9909d453d8.tar.xz
Add control-q for file/quit.
-rw-r--r--src/gtimelog/gtimelog.ui1025
1 files changed, 311 insertions, 714 deletions
diff --git a/src/gtimelog/gtimelog.ui b/src/gtimelog/gtimelog.ui
index 361030a..44f279f 100644
--- a/src/gtimelog/gtimelog.ui
+++ b/src/gtimelog/gtimelog.ui
@@ -2,328 +2,15 @@
<interface>
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy toplevel-contextual -->
- <object class="GtkTextBuffer" id="textbuffer1">
- <property name="text">19:20 did thist
-19:25 did something very very very very very very very very long to describe
-20:20 did that
-</property>
- </object>
- <object class="GtkUIManager" id="uimanager1"/>
- <object class="GtkUIManager" id="uimanager2"/>
- <object class="GtkUIManager" id="uimanager3"/>
- <object class="GtkWindow" id="submit_window">
- <property name="title" translatable="yes">Submit Time Log</property>
- <property name="window_position">center-on-parent</property>
- <property name="default_width">700</property>
- <property name="default_height">400</property>
- <property name="destroy_with_parent">True</property>
- <property name="type_hint">dialog</property>
- <property name="deletable">False</property>
- <child>
- <object class="GtkVBox" id="vbox4">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkToolbar" id="toolbar1">
- <property name="visible">True</property>
- <child>
- <object class="GtkToolButton" id="toggle_selection">
- <property name="visible">True</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_text" translatable="yes">Toggle the checkbox for all selected rows</property>
- <property name="is_important">True</property>
- <property name="label" translatable="yes">Toggle Selected Items</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkSeparatorToolItem" id="toolbutton1">
- <property name="visible">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolButton" id="edit_log_button">
- <property name="visible">True</property>
- <property name="tooltip_text" translatable="yes">Edit timelog.txt</property>
- <property name="is_important">True</property>
- <property name="label" translatable="yes">Edit timelog</property>
- <property name="use_underline">True</property>
- <property name="stock_id">gtk-edit</property>
- <signal name="clicked" handler="on_edit_log_button_clicked"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkScrolledWindow" id="scrolledwindow3">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">automatic</property>
- <property name="vscrollbar_policy">automatic</property>
- <property name="shadow_type">etched-in</property>
- <child>
- <object class="GtkTreeView" id="submit_tree">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="has_focus">True</property>
- <property name="headers_visible">False</property>
- <property name="rubber_banding">True</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkHButtonBox" id="vbox3">
- <property name="visible">True</property>
- <property name="border_width">10</property>
- <property name="spacing">4</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="cancel_submit_button">
- <property name="label">gtk-cancel</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_stock">True</property>
- <signal name="clicked" handler="on_cancel_submit_button_pressed"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="submit_report">
- <property name="label" translatable="yes">_Submit</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_underline">True</property>
- </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="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- <object class="GtkMenu" id="tray_icon_popup_menu">
- <child>
- <object class="GtkMenuItem" id="tray_hide">
- <property name="visible">True</property>
- <property name="label" translatable="yes">_Hide</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_hide_activate"/>
- </object>
- </child>
- <child>
- <object class="GtkMenuItem" id="tray_show">
- <property name="visible">True</property>
- <property name="label" translatable="yes">_Show</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_show_activate"/>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="quit1">
- <property name="label">gtk-quit</property>
- <property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- <signal name="activate" handler="on_quit_activate"/>
- </object>
- </child>
- </object>
- <object class="GtkMenu" id="task_list_popup_menu">
- <child>
- <object class="GtkImageMenuItem" id="task_list_reload">
- <property name="label">gtk-refresh</property>
- <property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- <signal name="activate" handler="on_task_list_reload"/>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="task_list_edit">
- <property name="label">gtk-edit</property>
- <property name="visible">True</property>
- <property name="use_underline">True</property>
- <property name="use_stock">True</property>
- <signal name="activate" handler="on_task_list_edit"/>
- </object>
- </child>
- </object>
- <object class="GtkDialog" id="calendar_dialog">
- <property name="title" translatable="yes">Choose a Date</property>
- <property name="window_position">mouse</property>
- <property name="type_hint">dialog</property>
- <child internal-child="vbox">
- <object class="GtkVBox" id="dialog-vbox2">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkCalendar" id="calendar">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child internal-child="action_area">
- <object class="GtkHButtonBox" id="dialog-action_area2">
- <property name="visible">True</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="cancelbutton1">
- <property name="label">gtk-cancel</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="okbutton1">
- <property name="label">gtk-ok</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </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="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- </child>
- <action-widgets>
- <action-widget response="-6">cancelbutton1</action-widget>
- <action-widget response="-5">okbutton1</action-widget>
- </action-widgets>
- </object>
- <object class="GtkDialog" id="about_dialog">
- <property name="title" translatable="yes">About TimeLog</property>
- <property name="window_position">center</property>
- <property name="type_hint">dialog</property>
- <child internal-child="vbox">
- <object class="GtkVBox" id="dialog-vbox1">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <object class="GtkVBox" id="vbox2">
- <property name="visible">True</property>
- <property name="border_width">16</property>
- <child>
- <object class="GtkLabel" id="label2">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;span weight="bold" size="xx-large"&gt;TimeLog&lt;/span&gt;
-
-GTimeLog is a time tracking application.
-
-&lt;small&gt;&#xA9; 2004&#x2013;2008 Marius Gedminas&lt;/small&gt;</property>
- <property name="use_markup">True</property>
- <property name="justify">center</property>
- </object>
- <packing>
- <property name="padding">16</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="position">2</property>
- </packing>
- </child>
- <child internal-child="action_area">
- <object class="GtkHButtonBox" id="dialog-action_area1">
- <property name="visible">True</property>
- <property name="layout_style">end</property>
- <child>
- <object class="GtkButton" id="ok_button">
- <property name="label">gtk-ok</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- </child>
- <action-widgets>
- <action-widget response="-5">ok_button</action-widget>
- </action-widgets>
- </object>
<object class="GtkWindow" id="main_window">
- <property name="visible">True</property>
<property name="title" translatable="yes">Time Log</property>
<property name="window_position">center</property>
<property name="default_width">800</property>
<property name="default_height">500</property>
- <property name="icon">/usr/share/pixmaps/gtimelog.png</property>
+ <property name="icon">gtimelog.png</property>
<child>
<object class="GtkVBox" id="vbox1">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
<child>
<object class="GtkMenuBar" id="main_menu">
<property name="visible">True</property>
@@ -333,41 +20,34 @@ GTimeLog is a time tracking application.
<property name="label" translatable="yes">_File</property>
<property name="use_underline">True</property>
<child type="submenu">
- <object class="GtkMenu" id="menu1">
- <property name="visible">True</property>
+ <object class="GtkMenu" id="menuitem1_menu">
<child>
- <object class="GtkImageMenuItem" id="edit_timelog_item">
+ <object class="GtkImageMenuItem" id="reload">
+ <property name="label">_Reload</property>
<property name="visible">True</property>
- <property name="use_action_appearance">True</property>
- <property name="related_action">edit_timelog</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
- <accelerator key="e" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <accelerator key="R" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="on_reread_activate"/>
</object>
</child>
<child>
- <object class="GtkImageMenuItem" id="reload_item">
+ <object class="GtkImageMenuItem" id="edit_timelog">
+ <property name="label">_Edit timelog.txt</property>
<property name="visible">True</property>
- <property name="use_action_appearance">True</property>
- <property name="related_action">reload</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
- <accelerator key="r" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <accelerator key="E" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="on_edit_timelog_activate"/>
</object>
</child>
<child>
- <object class="GtkSeparatorMenuItem" id="menuitem4">
+ <object class="GtkImageMenuItem" id="main_quit">
+ <property name="label">gtk-quit</property>
<property name="visible">True</property>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="quit_item">
- <property name="visible">True</property>
- <property name="use_action_appearance">True</property>
- <property name="related_action">quit</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
- <accelerator key="q" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <signal name="activate" handler="on_quit_activate"/>
</object>
</child>
</object>
@@ -375,66 +55,54 @@ GTimeLog is a time tracking application.
</object>
</child>
<child>
- <object class="GtkMenuItem" id="menuitem6">
+ <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="menu2">
- <property name="visible">True</property>
+ <object class="GtkMenu" id="view1_menu">
<child>
- <object class="GtkRadioMenuItem" id="view_today">
+ <object class="GtkMenuItem" id="view_today">
<property name="visible">True</property>
<property name="label" translatable="yes">_Today</property>
<property name="use_underline">True</property>
- <property name="active">True</property>
- <property name="draw_as_radio">True</property>
<signal name="activate" handler="on_view_today_activate"/>
</object>
</child>
<child>
- <object class="GtkRadioMenuItem" id="view_week">
+ <object class="GtkMenuItem" id="view_week">
<property name="visible">True</property>
<property name="label" translatable="yes">_Week</property>
<property name="use_underline">True</property>
- <property name="draw_as_radio">True</property>
- <property name="group">view_today</property>
- <accelerator key="w" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<signal name="activate" handler="on_view_week_activate"/>
</object>
</child>
<child>
- <object class="GtkRadioMenuItem" id="view_month">
+ <object class="GtkMenuItem" id="view_month">
<property name="visible">True</property>
<property name="label" translatable="yes">_Month</property>
<property name="use_underline">True</property>
- <property name="draw_as_radio">True</property>
- <property name="group">view_today</property>
<signal name="activate" handler="on_view_month_activate"/>
</object>
</child>
<child>
- <object class="GtkRadioMenuItem" id="view_last_week">
+ <object class="GtkMenuItem" id="view_last_week">
<property name="visible">True</property>
<property name="label" translatable="yes">_Last Week</property>
<property name="use_underline">True</property>
- <property name="draw_as_radio">True</property>
- <property name="group">view_today</property>
<signal name="activate" handler="on_view_last_week_activate"/>
</object>
</child>
<child>
- <object class="GtkRadioMenuItem" id="view_last_month">
+ <object class="GtkMenuItem" id="last_month">
<property name="visible">True</property>
<property name="label" translatable="yes">L_ast Month</property>
<property name="use_underline">True</property>
- <property name="draw_as_radio">True</property>
- <property name="group">view_today</property>
<signal name="activate" handler="on_view_last_month_activate"/>
</object>
</child>
<child>
- <object class="GtkSeparatorMenuItem" id="menuitem2">
+ <object class="GtkSeparatorMenuItem" id="menuitem3">
<property name="visible">True</property>
</object>
</child>
@@ -443,8 +111,6 @@ GTimeLog is a time tracking application.
<property name="visible">True</property>
<property name="label" translatable="yes">_Chronological</property>
<property name="use_underline">True</property>
- <property name="active">True</property>
- <property name="draw_as_radio">True</property>
<accelerator key="1" signal="activate" modifiers="GDK_MOD1_MASK"/>
<signal name="activate" handler="on_chronological_activate"/>
</object>
@@ -454,23 +120,25 @@ GTimeLog is a time tracking application.
<property name="visible">True</property>
<property name="label" translatable="yes">_Grouped</property>
<property name="use_underline">True</property>
- <property name="draw_as_radio">True</property>
+ <property name="active">True</property>
<property name="group">chronological</property>
<accelerator key="2" signal="activate" modifiers="GDK_MOD1_MASK"/>
<signal name="activate" handler="on_grouped_activate"/>
</object>
</child>
<child>
- <object class="GtkSeparatorMenuItem" id="menuitem7">
+ <object class="GtkSeparatorMenuItem" id="separator2">
<property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkCheckMenuItem" id="show_task_pane">
<property name="visible">True</property>
- <property name="label" translatable="yes">_Show tasks pane</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">_Tasks</property>
<property name="use_underline">True</property>
<property name="active">True</property>
+ <accelerator key="F9" signal="activate"/>
<signal name="toggled" handler="on_show_task_pane_toggled"/>
</object>
</child>
@@ -479,211 +147,114 @@ GTimeLog is a time tracking application.
</object>
</child>
<child>
- <object class="GtkMenuItem" id="menuitem8">
+ <object class="GtkMenuItem" id="menuitem2">
<property name="visible">True</property>
<property name="label" translatable="yes">_Report</property>
<property name="use_underline">True</property>
<child type="submenu">
- <object class="GtkMenu" id="menu3">
- <property name="visible">True</property>
- <child>
- <object class="GtkImageMenuItem" id="menuitem9">
- <property name="label" translatable="yes">_Submit report to server</property>
- <property name="visible">True</property>
- <property name="tooltip_text" translatable="yes">Open a window to submit rows from your timesheet</property>
- <property name="use_underline">True</property>
- <property name="image">image1</property>
- <property name="use_stock">False</property>
- <child type="submenu">
- <object class="GtkMenu" id="menu4">
- <property name="visible">True</property>
- <child>
- <object class="GtkImageMenuItem" id="submit_this_week_menu">
- <property name="label" translatable="yes">This Week</property>
- <property name="visible">True</property>
- <property name="image">image2</property>
- <property name="use_stock">False</property>
- <signal name="activate" handler="on_submit_this_week_menu_activate"/>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="submit_last_week_menu">
- <property name="label" translatable="yes">Last Week</property>
- <property name="visible">True</property>
- <property name="image">image3</property>
- <property name="use_stock">False</property>
- <signal name="activate" handler="on_submit_last_week_menu_activate"/>
- </object>
- </child>
- <child>
- <object class="GtkSeparatorMenuItem" id="menuitem10">
- <property name="visible">True</property>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="submit_this_month_menu">
- <property name="label" translatable="yes">This Month</property>
- <property name="visible">True</property>
- <property name="image">image4</property>
- <property name="use_stock">False</property>
- <signal name="activate" handler="on_submit_this_month_menu_activate"/>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="submit_last_month_menu">
- <property name="label" translatable="yes">Last Month</property>
- <property name="visible">True</property>
- <property name="image">image5</property>
- <property name="use_stock">False</property>
- <signal name="activate" handler="on_submit_last_month_menu_activate"/>
- </object>
- </child>
- <child>
- <object class="GtkSeparatorMenuItem" id="menuitem11">
- <property name="visible">True</property>
- </object>
- </child>
- <child>
- <object class="GtkImageMenuItem" id="submit_advanced_selection_menu">
- <property name="label" translatable="yes">Advanced Selection...</property>
- <property name="visible">True</property>
- <property name="image">image6</property>
- <property name="use_stock">False</property>
- <signal name="activate" handler="on_submit_advanced_selection_menu_activate"/>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- <child>
- <object class="GtkSeparatorMenuItem" id="menuitem12">
- <property name="visible">True</property>
- </object>
- </child>
+ <object class="GtkMenu" id="menuitem2_menu">
<child>
<object class="GtkImageMenuItem" id="daily_report">
- <property name="label" translatable="yes">_Daily Report</property>
+ <property name="label">_Daily Report</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
- <property name="image">image7</property>
- <property name="use_stock">False</property>
- <accelerator key="d" signal="activate" modifiers="GDK_CONTROL_MASK"/>
+ <property name="use_stock">True</property>
+ <accelerator key="D" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<signal name="activate" handler="on_daily_report_activate"/>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="yesterdays_report">
- <property name="label" translatable="yes">Daily Report for _Yesterday</property>
+ <property name="label">Daily Report for _Yesterday</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
- <property name="image">image11</property>
- <property name="use_stock">False</property>
+ <property name="use_stock">True</property>
<signal name="activate" handler="on_yesterdays_report_activate"/>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="previous_day_report">
- <property name="label" translatable="yes">Daily Report for a _Previous Day</property>
+ <property name="label">Daily Report for a _Previous Day...</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
- <property name="image">image8</property>
- <property name="use_stock">False</property>
+ <property name="use_stock">True</property>
<signal name="activate" handler="on_previous_day_report_activate"/>
</object>
</child>
<child>
- <object class="GtkSeparatorMenuItem" id="menuitem13">
- <property name="visible">True</property>
- </object>
- </child>
- <child>
<object class="GtkImageMenuItem" id="weekly_report">
- <property name="label" translatable="yes">_Weekly Report</property>
+ <property name="label">_Weekly Report</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
- <property name="image">image9</property>
- <property name="use_stock">False</property>
+ <property name="use_stock">True</property>
<signal name="activate" handler="on_weekly_report_activate"/>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="last_weeks_report">
- <property name="label" translatable="yes">Weekly Report for _Last Week</property>
+ <property name="label">Weekly Report for _Last Week</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
- <property name="image">image10</property>
- <property name="use_stock">False</property>
+ <property name="use_stock">True</property>
<signal name="activate" handler="on_last_weeks_report_activate"/>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="previous_week_report">
- <property name="label" translatable="yes">Weekly Report for a Pre_vious Week</property>
+ <property name="label">Weekly Report for a Pre_vious Week...</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
- <property name="image">image12</property>
- <property name="use_stock">False</property>
+ <property name="use_stock">True</property>
<signal name="activate" handler="on_previous_week_report_activate"/>
</object>
</child>
<child>
- <object class="GtkSeparatorMenuItem" id="menuitem14">
- <property name="visible">True</property>
- </object>
- </child>
- <child>
<object class="GtkImageMenuItem" id="monthly_report">
- <property name="label" translatable="yes">_Monthly Report</property>
+ <property name="label">_Monthly Report</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
- <property name="image">image13</property>
- <property name="use_stock">False</property>
+ <property name="use_stock">True</property>
<signal name="activate" handler="on_monthly_report_activate"/>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="last_month_report">
- <property name="label" translatable="yes">Monthly Report for Last Month</property>
+ <property name="label">Monthly Report for Last Month</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
- <property name="image">image14</property>
- <property name="use_stock">False</property>
+ <property name="use_stock">True</property>
<signal name="activate" handler="on_last_month_report_activate"/>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="previous_month_report">
- <property name="label" translatable="yes">Monthly Report for a Previous Month</property>
+ <property name="label">Monthly Report for a Previous Month...</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
- <property name="image">image15</property>
- <property name="use_stock">False</property>
+ <property name="use_stock">True</property>
<signal name="activate" handler="on_previous_month_report_activate"/>
</object>
</child>
<child>
- <object class="GtkSeparatorMenuItem" id="menuitem15">
+ <object class="GtkSeparatorMenuItem" id="separator1">
<property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="open_complete_spreadsheet">
- <property name="label" translatable="yes">_Complete Report in Spreadsheet</property>
+ <property name="label">_Complete Report in Spreadsheet</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
- <property name="image">image16</property>
- <property name="use_stock">False</property>
+ <property name="use_stock">True</property>
<signal name="activate" handler="on_open_complete_spreadsheet_activate"/>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="open_slack_spreadsheet">
- <property name="label" translatable="yes">Work/_Slacking stats in Spreadsheet</property>
+ <property name="label">Work/_Slacking stats in Spreadsheet</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
- <property name="image">image17</property>
- <property name="use_stock">False</property>
+ <property name="use_stock">True</property>
<signal name="activate" handler="on_open_slack_spreadsheet_activate"/>
</object>
</child>
@@ -692,28 +263,28 @@ GTimeLog is a time tracking application.
</object>
</child>
<child>
- <object class="GtkMenuItem" id="menuitem16">
+ <object class="GtkMenuItem" id="menuitem4">
<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="menu5">
- <property name="visible">True</property>
+ <object class="GtkMenu" id="menuitem4_menu">
<child>
- <object class="GtkMenuItem" id="online_help">
+ <object class="GtkImageMenuItem" id="about">
+ <property name="label">gtk-about</property>
<property name="visible">True</property>
- <property name="label" translatable="yes">_Online Documentation</property>
<property name="use_underline">True</property>
- <signal name="activate" handler="on_online_help_activate"/>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="on_about_activate"/>
</object>
</child>
<child>
- <object class="GtkImageMenuItem" id="about">
- <property name="label">gtk-about</property>
+ <object class="GtkMenuItem" id="online_help">
<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">_Online Documentation</property>
<property name="use_underline">True</property>
- <property name="use_stock">True</property>
- <signal name="activate" handler="on_about_activate"/>
+ <signal name="activate" handler="on_online_help_activate"/>
</object>
</child>
</object>
@@ -728,24 +299,10 @@ GTimeLog is a time tracking application.
</packing>
</child>
<child>
- <object class="GtkVBox" id="infobars">
- <property name="visible">True</property>
- <property name="orientation">vertical</property>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
<object class="GtkHPaned" id="hpaned1">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="position">500</property>
- <property name="position_set">True</property>
+ <property name="position">600</property>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
@@ -762,7 +319,6 @@ GTimeLog is a time tracking application.
<property name="wrap_mode">word</property>
<property name="left_margin">2</property>
<property name="right_margin">2</property>
- <property name="buffer">textbuffer1</property>
</object>
</child>
</object>
@@ -774,17 +330,13 @@ GTimeLog is a time tracking application.
<child>
<object class="GtkVBox" id="task_list_pane">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
<child>
- <object class="GtkLabel" id="label3">
+ <object class="GtkHBox" id="task_list_pane_hack_hbox">
<property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="xpad">2</property>
- <property name="ypad">5</property>
- <property name="label" translatable="yes">&lt;b&gt;_Tasks&lt;/b&gt;</property>
- <property name="use_markup">True</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">task_list</property>
+ <child>
+ <placeholder/>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -793,54 +345,108 @@ GTimeLog is a time tracking application.
</packing>
</child>
<child>
- <object class="GtkScrolledWindow" id="scrolledwindow2">
+ <object class="GtkHBox" id="task_pane_hbox">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">automatic</property>
- <property name="vscrollbar_policy">automatic</property>
- <property name="shadow_type">in</property>
+ <property name="spacing">6</property>
<child>
- <object class="GtkTreeView" id="task_list">
+ <object class="GtkVBox" id="task_list_pane_vbox">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="headers_visible">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkHBox" id="task_list_pane_heading">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkLabel" id="task_pane_title_label">
+ <property name="visible">True</property>
+ <property name="xalign">0</property>
+ <property name="xpad">2</property>
+ <property name="label" translatable="yes">&lt;b&gt;_Tasks&lt;/b&gt;</property>
+ <property name="use_markup">True</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">task_list</property>
+ </object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="task_pane_close_button">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="relief">none</property>
+ <signal name="clicked" handler="on_task_pane_close_button_activate"/>
+ <child>
+ <object class="GtkImage" id="task_pane_close_button_image">
+ <property name="visible">True</property>
+ <property name="stock">gtk-close</property>
+ <property name="icon-size">1</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkScrolledWindow" id="scrolledwindow2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkTreeView" id="task_list">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="headers_visible">False</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="task_pane_info_label">
+ <property name="label" translatable="yes">Downloading tasks...</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">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="task_list_pane_hack_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>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
- <child>
- <object class="GtkLabel" id="task_pane_info_label">
- <property name="ypad">5</property>
- <property name="label" translatable="yes">Downloading tasks...</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkEntry" id="task_filter">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="invisible_char">&#x25CF;</property>
- <property name="primary_icon_stock">gtk-find</property>
- <property name="secondary_icon_stock">gtk-clear</property>
- <property name="secondary_icon_activatable">True</property>
- <property name="secondary_icon_tooltip_text">Clear</property>
- <accelerator key="s" signal="grab-focus" modifiers="GDK_MOD1_MASK"/>
- <accelerator key="s" signal="grab-focus" modifiers="GDK_CONTROL_MASK"/>
- <accelerator key="k" signal="grab-focus" modifiers="GDK_CONTROL_MASK"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="padding">3</property>
- <property name="position">3</property>
- </packing>
- </child>
</object>
<packing>
<property name="resize">False</property>
@@ -849,7 +455,7 @@ GTimeLog is a time tracking application.
</child>
</object>
<packing>
- <property name="position">2</property>
+ <property name="position">1</property>
</packing>
</child>
<child>
@@ -874,9 +480,7 @@ GTimeLog is a time tracking application.
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="has_focus">True</property>
- <property name="invisible_char">&#x25CF;</property>
<property name="activates_default">True</property>
- <accelerator key="l" signal="grab-focus" modifiers="GDK_CONTROL_MASK"/>
</object>
<packing>
<property name="position">1</property>
@@ -889,7 +493,7 @@ GTimeLog is a time tracking application.
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="has_default">True</property>
- <property name="receives_default">True</property>
+ <property name="receives_default">False</property>
<property name="relief">half</property>
<property name="use_underline">True</property>
<property name="focus_on_click">False</property>
@@ -903,110 +507,120 @@ GTimeLog is a time tracking application.
</object>
<packing>
<property name="expand">False</property>
- <property name="position">3</property>
+ <property name="position">2</property>
</packing>
</child>
</object>
</child>
</object>
- <object class="GtkDialog" id="progress_window">
- <property name="border_width">5</property>
- <property name="title" translatable="yes">Submitting Report</property>
- <property name="resizable">False</property>
- <property name="modal">True</property>
+ <object class="GtkDialog" id="about_dialog">
+ <property name="title" translatable="yes">About TimeLog</property>
<property name="window_position">center</property>
- <property name="type_hint">normal</property>
- <property name="skip_taskbar_hint">True</property>
- <property name="deletable">False</property>
- <property name="transient_for">main_window</property>
- <property name="has_separator">False</property>
+ <property name="type_hint">dialog</property>
<child internal-child="vbox">
- <object class="GtkVBox" id="dialog-vbox3">
+ <object class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
- <property name="orientation">vertical</property>
- <property name="spacing">2</property>
<child>
- <object class="GtkHBox" id="hbox-progress1">
+ <object class="GtkVBox" id="vbox2">
<property name="visible">True</property>
- <property name="border_width">10</property>
- <property name="spacing">10</property>
+ <property name="border_width">16</property>
<child>
- <object class="GtkImage" id="image-progress1">
+ <object class="GtkLabel" id="about_text">
<property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="yalign">0</property>
- <property name="stock">gtk-save</property>
- <property name="icon-size">6</property>
+ <property name="label" translatable="yes">&lt;span weight="bold" size="xx-large"&gt;GTimeLog v%(version)s&lt;/span&gt;
+
+GTimeLog is a time tracking application.
+
+&lt;small&gt;&#xA9; 2004&#x2013;2011 Marius Gedminas and contributors&lt;/small&gt;</property>
+ <property name="use_markup">True</property>
+ <property name="justify">center</property>
</object>
<packing>
+ <property name="padding">16</property>
<property name="position">0</property>
</packing>
</child>
+ </object>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child internal-child="action_area">
+ <object class="GtkHButtonBox" id="dialog-action_area1">
+ <property name="visible">True</property>
+ <property name="layout_style">end</property>
<child>
- <object class="GtkVBox" id="vbox-progress1">
+ <object class="GtkButton" id="ok_button">
+ <property name="label">gtk-ok</property>
<property name="visible">True</property>
- <property name="orientation">vertical</property>
- <property name="spacing">10</property>
- <child>
- <object class="GtkLabel" id="label-progress1">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">&lt;big&gt;&lt;b&gt;Upload in progress...&lt;/b&gt;&lt;/big&gt;</property>
- <property name="use_markup">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label-progress2">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Submitting your report to the server.</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkProgressBar" id="progressbar">
- <property name="visible">True</property>
- <property name="activity_mode">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_stock">True</property>
</object>
<packing>
- <property name="position">1</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
</packing>
</child>
</object>
<packing>
- <property name="position">1</property>
+ <property name="expand">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-5">ok_button</action-widget>
+ </action-widgets>
+ </object>
+ <object class="GtkDialog" id="calendar_dialog">
+ <property name="title" translatable="yes">Choose a Date</property>
+ <property name="window_position">mouse</property>
+ <property name="type_hint">dialog</property>
+ <child internal-child="vbox">
+ <object class="GtkVBox" id="dialog-vbox2">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkCalendar" id="calendar">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="show_week_numbers">True</property>
+ </object>
+ <packing>
+ <property name="position">2</property>
</packing>
</child>
<child internal-child="action_area">
- <object class="GtkHButtonBox" id="dialog-progress-action_area3">
+ <object class="GtkHButtonBox" id="dialog-action_area2">
<property name="visible">True</property>
<property name="layout_style">end</property>
<child>
- <placeholder/>
+ <object class="GtkButton" id="cancelbutton1">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
</child>
<child>
- <object class="GtkButton" id="hide_button">
- <property name="label" translatable="yes">_Work in background</property>
+ <object class="GtkButton" id="okbutton1">
+ <property name="label">gtk-ok</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="use_underline">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_stock">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -1024,96 +638,79 @@ GTimeLog is a time tracking application.
</object>
</child>
<action-widgets>
- <action-widget response="0">hide_button</action-widget>
+ <action-widget response="-6">cancelbutton1</action-widget>
+ <action-widget response="-5">okbutton1</action-widget>
</action-widgets>
</object>
- <object class="GtkAction" id="edit_timelog">
- <property name="label">_Edit timelog.txt</property>
- <property name="short_label">Edit Timelog</property>
- <property name="tooltip">Open timelog.txt in a text editor</property>
- <property name="stock_id">gtk-edit</property>
- <signal name="activate" handler="on_edit_timelog_activate"/>
- </object>
- <object class="GtkAction" id="reload">
- <property name="label">_Reload timelog.txt</property>
- <property name="short_label">Reload</property>
- <property name="tooltip">Reread timelog.txt (useful if it was modified externally)</property>
- <property name="stock_id">gtk-refresh</property>
- <signal name="activate" handler="on_reread_activate"/>
- </object>
- <object class="GtkAccelGroup" id="accelgroup1"/>
- <object class="GtkAction" id="quit">
- <property name="label">_Quit</property>
- <property name="short_label">Quit</property>
- <property name="stock_id">gtk-quit</property>
- <signal name="activate" handler="on_quit_activate"/>
- </object>
- <object class="GtkImage" id="image1">
- <property name="visible">True</property>
- <property name="stock">gtk-indent</property>
- </object>
- <object class="GtkImage" id="image2">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image3">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image4">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image5">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image6">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image7">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image8">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image9">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image10">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image11">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image12">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image13">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image14">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
- </object>
- <object class="GtkImage" id="image15">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
+ <object class="GtkMenu" id="task_list_popup_menu">
+ <child>
+ <object class="GtkImageMenuItem" id="task_list_reload">
+ <property name="label">gtk-refresh</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="on_task_list_reload"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="task_list_edit">
+ <property name="label">gtk-edit</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="on_task_list_edit"/>
+ </object>
+ </child>
</object>
- <object class="GtkImage" id="image16">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
+ <object class="GtkMenu" id="tray_icon_popup_menu">
+ <child>
+ <object class="GtkMenuItem" id="tray_hide">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Hide</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_hide_activate"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkMenuItem" id="tray_show">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Show</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_show_activate"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="popup_quit">
+ <property name="label">gtk-quit</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="on_quit_activate"/>
+ </object>
+ </child>
</object>
- <object class="GtkImage" id="image17">
- <property name="visible">True</property>
- <property name="stock">gtk-justify-fill</property>
+ <object class="GtkMenu" id="app_indicator_menu">
+ <child>
+ <object class="GtkCheckMenuItem" id="appind_show">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">_Show GTimeLog</property>
+ <property name="use_underline">True</property>
+ <signal name="activate" handler="on_toggle_visible"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="appind_separator1">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImageMenuItem" id="appind_quit">
+ <property name="label">gtk-quit</property>
+ <property name="visible">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ <signal name="activate" handler="on_quit_activate"/>
+ </object>
+ </child>
</object>
</interface>