2000-08-16 Richard Hult <rhult@hem.passagen.se> * mail-ops.c (cleanup_display_message): Use a configurable timeout. * mail-config.c (mail_config_set_mark_as_seen_timeout): New function for the settable mark-as-seen timeout. (mail_config_mark_as_seen_timeout): Likewise. (mail_config_write): Write the timeout setting. (config_read): Read timeout setting. * mail-config-gui.c (mail_config): Add option for the settable mark-as-seen timeout. (mail_config_apply_clicked): Likewise. (timeout_changed): New function for the timeout setting. svn path=/trunk/; revision=4859
497 lines
12 KiB
XML
497 lines
12 KiB
XML
<?xml version="1.0"?>
|
|
<GTK-Interface>
|
|
|
|
<project>
|
|
<name>config</name>
|
|
<program_name>config</program_name>
|
|
<directory></directory>
|
|
<source_directory>src</source_directory>
|
|
<pixmaps_directory>pixmaps</pixmaps_directory>
|
|
<language>C</language>
|
|
<gnome_support>True</gnome_support>
|
|
<gettext_support>True</gettext_support>
|
|
<output_main_file>False</output_main_file>
|
|
<output_support_files>False</output_support_files>
|
|
<output_build_files>False</output_build_files>
|
|
<output_translatable_strings>True</output_translatable_strings>
|
|
<translatable_strings_file>mail-config.glade.h</translatable_strings_file>
|
|
</project>
|
|
|
|
<widget>
|
|
<class>GnomePropertyBox</class>
|
|
<name>dialog</name>
|
|
<width>460</width>
|
|
<height>360</height>
|
|
<position>GTK_WIN_POS_NONE</position>
|
|
<modal>False</modal>
|
|
<allow_shrink>False</allow_shrink>
|
|
<allow_grow>False</allow_grow>
|
|
<auto_shrink>False</auto_shrink>
|
|
|
|
<widget>
|
|
<class>GtkNotebook</class>
|
|
<child_name>GnomePropertyBox:notebook</child_name>
|
|
<name>notebook</name>
|
|
<can_focus>True</can_focus>
|
|
<show_tabs>True</show_tabs>
|
|
<show_border>True</show_border>
|
|
<tab_pos>GTK_POS_TOP</tab_pos>
|
|
<scrollable>False</scrollable>
|
|
<tab_hborder>2</tab_hborder>
|
|
<tab_vborder>2</tab_vborder>
|
|
<popup_enable>False</popup_enable>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox4</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>0</spacing>
|
|
|
|
<widget>
|
|
<class>GtkScrolledWindow</class>
|
|
<name>scrolledwindow4</name>
|
|
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
|
|
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
|
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
|
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkCList</class>
|
|
<name>clistIdentities</name>
|
|
<can_focus>True</can_focus>
|
|
<columns>4</columns>
|
|
<column_widths>80,80,80,80</column_widths>
|
|
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
|
|
<show_titles>True</show_titles>
|
|
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>CList:title</child_name>
|
|
<name>label27</name>
|
|
<label>Identities</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>CList:title</child_name>
|
|
<name>label28</name>
|
|
<label>Address</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>CList:title</child_name>
|
|
<name>label29</name>
|
|
<label>Organization</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>CList:title</child_name>
|
|
<name>label30</name>
|
|
<label>Signature File</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkVButtonBox</class>
|
|
<name>vbuttonbox4</name>
|
|
<layout_style>GTK_BUTTONBOX_START</layout_style>
|
|
<spacing>5</spacing>
|
|
<child_min_width>85</child_min_width>
|
|
<child_min_height>27</child_min_height>
|
|
<child_ipad_x>7</child_ipad_x>
|
|
<child_ipad_y>0</child_ipad_y>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>cmdIdentitiesAdd</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<label>Add</label>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>cmdIdentitiesEdit</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<label>Edit</label>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>cmdIdentitiesDelete</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<label>Delete</label>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>Notebook:tab</child_name>
|
|
<name>label1</name>
|
|
<label>Identities</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox5</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>0</spacing>
|
|
|
|
<widget>
|
|
<class>GtkScrolledWindow</class>
|
|
<name>scrolledwindow5</name>
|
|
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
|
|
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
|
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
|
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkCList</class>
|
|
<name>clistSources</name>
|
|
<can_focus>True</can_focus>
|
|
<columns>1</columns>
|
|
<column_widths>80</column_widths>
|
|
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
|
|
<show_titles>True</show_titles>
|
|
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>CList:title</child_name>
|
|
<name>label31</name>
|
|
<label>Sources</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkVButtonBox</class>
|
|
<name>vbuttonbox5</name>
|
|
<layout_style>GTK_BUTTONBOX_START</layout_style>
|
|
<spacing>5</spacing>
|
|
<child_min_width>85</child_min_width>
|
|
<child_min_height>27</child_min_height>
|
|
<child_ipad_x>7</child_ipad_x>
|
|
<child_ipad_y>0</child_ipad_y>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>cmdSourcesAdd</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<label>Add</label>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>cmdSourcesEdit</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<label>Edit</label>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>cmdSourcesDelete</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<label>Delete</label>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>Notebook:tab</child_name>
|
|
<name>label2</name>
|
|
<label>Mail Sources</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkVBox</class>
|
|
<name>transport_vbox</name>
|
|
<border_width>8</border_width>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>5</spacing>
|
|
|
|
<widget>
|
|
<class>Placeholder</class>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>Notebook:tab</child_name>
|
|
<name>label25</name>
|
|
<label>Mail Transport</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox6</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>0</spacing>
|
|
|
|
<widget>
|
|
<class>GtkScrolledWindow</class>
|
|
<name>scrolledwindow6</name>
|
|
<hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
|
|
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
|
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
|
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkCList</class>
|
|
<name>clistNews</name>
|
|
<can_focus>True</can_focus>
|
|
<columns>1</columns>
|
|
<column_widths>80</column_widths>
|
|
<selection_mode>GTK_SELECTION_SINGLE</selection_mode>
|
|
<show_titles>True</show_titles>
|
|
<shadow_type>GTK_SHADOW_IN</shadow_type>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>CList:title</child_name>
|
|
<name>label33</name>
|
|
<label>News Servers</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkVButtonBox</class>
|
|
<name>vbuttonbox6</name>
|
|
<layout_style>GTK_BUTTONBOX_START</layout_style>
|
|
<spacing>5</spacing>
|
|
<child_min_width>85</child_min_width>
|
|
<child_min_height>27</child_min_height>
|
|
<child_ipad_x>7</child_ipad_x>
|
|
<child_ipad_y>0</child_ipad_y>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>cmdNewsServersAdd</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<label>Add</label>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>cmdNewsServersEdit</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<label>Edit</label>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>cmdNewsServersDelete</name>
|
|
<can_default>True</can_default>
|
|
<can_focus>True</can_focus>
|
|
<label>Delete</label>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>Notebook:tab</child_name>
|
|
<name>label26</name>
|
|
<label>News Sources</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkVBox</class>
|
|
<name>vbox3</name>
|
|
<border_width>8</border_width>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>5</spacing>
|
|
|
|
<widget>
|
|
<class>GtkCheckButton</class>
|
|
<name>chkFormat</name>
|
|
<can_focus>True</can_focus>
|
|
<label>Send messages in HTML format</label>
|
|
<active>False</active>
|
|
<draw_indicator>True</draw_indicator>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox7</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>0</spacing>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>labelTimeout</name>
|
|
<label>Mark message as seen [ms]: </label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkSpinButton</class>
|
|
<name>spinTimeout</name>
|
|
<can_focus>True</can_focus>
|
|
<climb_rate>1</climb_rate>
|
|
<digits>0</digits>
|
|
<numeric>True</numeric>
|
|
<update_policy>GTK_UPDATE_ALWAYS</update_policy>
|
|
<snap>False</snap>
|
|
<wrap>False</wrap>
|
|
<value>1500</value>
|
|
<lower>0</lower>
|
|
<upper>10000</upper>
|
|
<step>100</step>
|
|
<page>1000</page>
|
|
<page_size>1000</page_size>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<child_name>Notebook:tab</child_name>
|
|
<name>label32</name>
|
|
<label>Other</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
</GTK-Interface>
|