<column type="gboolean"/>
</columns>
</object>
- <object class="GtkListStore" id="times">
+ <object class="GtkTreeStore" id="sites">
+ <columns>
+ <!-- column-name code -->
+ <column type="gchararray"/>
+ <!-- column-name name -->
+ <column type="gchararray"/>
+ </columns>
+ </object>
+ <object class="GtkTreeStore" id="times">
<columns>
<!-- column-name string -->
<column type="gchararray"/>
<column type="gint"/>
</columns>
</object>
- <object class="GtkTreeStore" id="sites">
- <columns>
- <!-- column-name code -->
- <column type="gchararray"/>
- <!-- column-name name -->
- <column type="gchararray"/>
- </columns>
- </object>
<object class="AWeatherGui" id="main_window">
<property name="title" translatable="yes">AWeather</property>
<child>
<property name="use_stock">True</property>
</object>
</child>
+ <child>
+ <object class="GtkImageMenuItem" id="main_menu_file_cleancache">
+ <property name="visible">True</property>
+ <property name="related_action">cleancache</property>
+ <property name="use_action_appearance">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ </child>
<child>
<object class="GtkSeparatorMenuItem" id="main_menu_file_0">
<property name="visible">True</property>
<child type="submenu">
<object class="GtkMenu" id="main_menu_help_menu">
<property name="visible">True</property>
+ <child>
+ <object class="GtkImageMenuItem" id="main_menu_help_contents">
+ <property name="visible">True</property>
+ <property name="related_action">contents</property>
+ <property name="use_action_appearance">True</property>
+ <property name="use_underline">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSeparatorMenuItem" id="separatormenuitem1">
+ <property name="visible">True</property>
+ </object>
+ </child>
<child>
<object class="GtkImageMenuItem" id="main_menu_help_about">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="model">times</property>
<property name="headers_visible">False</property>
+ <child>
+ <object class="GtkTreeViewColumn" id="main_time_text">
+ <property name="title">Time</property>
+ <child>
+ <object class="GtkCellRendererText" id="main_time_rend"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ </child>
</object>
</child>
</object>
<property name="upper">8</property>
<property name="step_increment">1</property>
</object>
+ <object class="GtkAction" id="contents">
+ <property name="label">Contents</property>
+ <property name="short_label">Contents</property>
+ <property name="tooltip">AWeather Reference Manual</property>
+ <property name="stock_id">gtk-help</property>
+ <signal name="activate" handler="on_contents"/>
+ </object>
+ <object class="GtkAction" id="cleancache">
+ <property name="label">Clean cache</property>
+ <property name="short_label">Clean cache</property>
+ <property name="tooltip">Clean out old cached files</property>
+ <property name="stock_id">gtk-clear</property>
+ <signal name="activate" handler="on_cleancache"/>
+ </object>
</interface>