diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2010-08-11 20:43:41 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2010-08-11 20:43:41 +0400 |
commit | ca43e5441c89b5b7fe45c54c56d17ff74e028ffa (patch) | |
tree | 7887440a90210c0fc7f998ea28a9396258d245db /data | |
parent | 2d9e622f656a85c5e86f852ab098ae1400ae06b0 (diff) | |
parent | af804641b6df77487f3863db5a474e2349100405 (diff) |
merge message archiving branch. Fixes #3593
Diffstat (limited to 'data')
-rw-r--r-- | data/gui/advanced_menuitem_menu.ui | 7 | ||||
-rw-r--r-- | data/gui/archiving_preferences_window.ui | 312 | ||||
-rw-r--r-- | data/gui/item_archiving_preferences_window.ui | 227 |
3 files changed, 546 insertions, 0 deletions
diff --git a/data/gui/advanced_menuitem_menu.ui b/data/gui/advanced_menuitem_menu.ui index f9ac23da2..1c1869400 100644 --- a/data/gui/advanced_menuitem_menu.ui +++ b/data/gui/advanced_menuitem_menu.ui @@ -10,6 +10,13 @@ </object> </child> <child> + <object class="GtkMenuItem" id="archiving_preferences_menuitem"> + <property name="visible">True</property> + <property name="label" translatable="yes">Edit Archi_ving Preferences</property> + <property name="use_underline">True</property> + </object> + </child> + <child> <object class="GtkMenuItem" id="privacy_lists_menuitem"> <property name="label" translatable="yes">Edit _Privacy Lists...</property> <property name="use_underline">True</property> diff --git a/data/gui/archiving_preferences_window.ui b/data/gui/archiving_preferences_window.ui new file mode 100644 index 000000000..0c8db71e1 --- /dev/null +++ b/data/gui/archiving_preferences_window.ui @@ -0,0 +1,312 @@ +<?xml version="1.0"?> +<interface> + <requires lib="gtk+" version="2.16"/> + <!-- interface-naming-policy project-wide --> + <object class="GtkListStore" id="liststore1"> + <columns> + <!-- column-name item text --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">No</col> + </row> + <row> + <col id="0" translatable="yes">Yes</col> + </row> + </data> + </object> + <object class="GtkListStore" id="liststore2"> + <columns> + <!-- column-name item text --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">Prefer</col> + </row> + <row> + <col id="0" translatable="yes">Concede</col> + </row> + <row> + <col id="0" translatable="yes">Forbid</col> + </row> + </data> + </object> + <object class="GtkListStore" id="liststore3"> + <columns> + <!-- column-name item text --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">Prefer</col> + </row> + <row> + <col id="0" translatable="yes">Concede</col> + </row> + <row> + <col id="0" translatable="yes">Forbid</col> + </row> + </data> + </object> + <object class="GtkListStore" id="liststore4"> + <columns> + <!-- column-name item text --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">Prefer</col> + </row> + <row> + <col id="0" translatable="yes">Concede</col> + </row> + <row> + <col id="0" translatable="yes">Forbid</col> + </row> + </data> + </object> + <object class="GtkWindow" id="archiving_preferences_window"> + <property name="border_width">12</property> + <signal name="destroy" handler="on_archiving_preferences_window_destroy"/> + <child> + <object class="GtkVBox" id="vbox1"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkTable" id="table1"> + <property name="visible">True</property> + <property name="n_rows">4</property> + <property name="n_columns">2</property> + <child> + <object class="GtkLabel" id="label4"> + <property name="visible">True</property> + <property name="label" translatable="yes"><i>Method Manual</i></property> + <property name="use_markup">True</property> + </object> + <packing> + <property name="top_attach">3</property> + <property name="bottom_attach">4</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label3"> + <property name="visible">True</property> + <property name="label" translatable="yes"><i>Method Local</i></property> + <property name="use_markup">True</property> + </object> + <packing> + <property name="top_attach">2</property> + <property name="bottom_attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label2"> + <property name="visible">True</property> + <property name="label" translatable="yes"><i>Method Auto</i></property> + <property name="use_markup">True</property> + </object> + <packing> + <property name="top_attach">1</property> + <property name="bottom_attach">2</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="method_manual_combobox"> + <property name="visible">True</property> + <property name="model">liststore4</property> + <signal name="changed" handler="on_method_foo_combobox_changed"/> + <child> + <object class="GtkCellRendererText" id="cellrenderertext4"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="method_local_combobox"> + <property name="visible">True</property> + <property name="model">liststore3</property> + <signal name="changed" handler="on_method_foo_combobox_changed"/> + <child> + <object class="GtkCellRendererText" id="cellrenderertext3"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + <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> + </packing> + </child> + <child> + <object class="GtkComboBox" id="method_auto_combobox"> + <property name="visible">True</property> + <property name="model">liststore2</property> + <signal name="changed" handler="on_method_foo_combobox_changed"/> + <child> + <object class="GtkCellRendererText" id="cellrenderertext2"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + <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> + </packing> + </child> + <child> + <object class="GtkLabel" id="label5"> + <property name="visible">True</property> + <property name="label" translatable="yes">Auto</property> + </object> + </child> + <child> + <object class="GtkComboBox" id="auto_combobox"> + <property name="visible">True</property> + <property name="model">liststore1</property> + <signal name="changed" handler="on_auto_combobox_changed"/> + <child> + <object class="GtkCellRendererText" id="cellrenderertext1"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkVBox" id="vbox2"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkScrolledWindow" id="scrolledwindow1"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hscrollbar_policy">automatic</property> + <property name="vscrollbar_policy">automatic</property> + <child> + <object class="GtkTreeView" id="item_treeview"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <signal name="cursor_changed" handler="on_item_treeview_cursor_changed"/> + </object> + </child> + </object> + <packing> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkHButtonBox" id="hbuttonbox2"> + <property name="visible">True</property> + <property name="layout_style">spread</property> + <child> + <object class="GtkButton" id="add_button"> + <property name="label">gtk-add</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_add_item_button_clicked"/> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="remove_button"> + <property name="label">gtk-remove</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_remove_item_button_clicked"/> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="edit_button"> + <property name="label">gtk-edit</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_edit_item_button_clicked"/> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkHButtonBox" id="hbuttonbox1"> + <property name="visible">True</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton" id="close_button"> + <property name="label">gtk-close</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> + <signal name="clicked" handler="on_close_button_clicked"/> + </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="position">2</property> + </packing> + </child> + </object> + </child> + </object> +</interface> diff --git a/data/gui/item_archiving_preferences_window.ui b/data/gui/item_archiving_preferences_window.ui new file mode 100644 index 000000000..3e46b37a6 --- /dev/null +++ b/data/gui/item_archiving_preferences_window.ui @@ -0,0 +1,227 @@ +<?xml version="1.0"?> +<interface> + <requires lib="gtk+" version="2.16"/> + <!-- interface-naming-policy project-wide --> + <object class="GtkWindow" id="item_archiving_preferences_window"> + <property name="border_width">12</property> + <signal name="destroy" handler="on_item_archiving_preferences_window_destroy"/> + <child> + <object class="GtkVBox" id="vbox1"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="spacing">12</property> + <child> + <object class="GtkTable" id="table3"> + <property name="visible">True</property> + <property name="n_rows">4</property> + <property name="n_columns">2</property> + <child> + <object class="GtkLabel" id="label8"> + <property name="visible">True</property> + <property name="label" translatable="yes">expire</property> + </object> + <packing> + <property name="top_attach">1</property> + <property name="bottom_attach">2</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="expire_entry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="invisible_char">•</property> + </object> + <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> + </packing> + </child> + <child> + <object class="GtkComboBox" id="otr_combobox"> + <property name="visible">True</property> + <property name="model">liststore2</property> + <signal name="changed" handler="on_otr_combobox_changed"/> + <child> + <object class="GtkCellRendererText" id="cellrenderertext2"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + <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> + </packing> + </child> + <child> + <object class="GtkComboBox" id="save_combobox"> + <property name="visible">True</property> + <property name="model">liststore1</property> + <child> + <object class="GtkCellRendererText" id="cellrenderertext1"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label10"> + <property name="visible">True</property> + <property name="label" translatable="yes">save</property> + </object> + <packing> + <property name="top_attach">3</property> + <property name="bottom_attach">4</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label9"> + <property name="visible">True</property> + <property name="label" translatable="yes">otr</property> + </object> + <packing> + <property name="top_attach">2</property> + <property name="bottom_attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="label" translatable="yes">jid</property> + </object> + </child> + <child> + <object class="GtkEntry" id="jid_entry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="invisible_char">•</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkHBox" id="hbox1"> + <property name="visible">True</property> + <child> + <object class="GtkProgressBar" id="progressbar"/> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkHButtonBox" id="hbuttonbox1"> + <property name="visible">True</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton" id="cancel_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_button_clicked"/> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <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="receives_default">True</property> + <property name="use_stock">True</property> + <signal name="clicked" handler="on_ok_button_clicked"/> + </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> + </object> + <packing> + <property name="expand">False</property> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + </object> + <object class="GtkListStore" id="liststore1"> + <columns> + <!-- column-name item text --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">body</col> + </row> + <row> + <col id="0" translatable="yes">false</col> + </row> + <row> + <col id="0" translatable="yes">message</col> + </row> + <row> + <col id="0" translatable="yes">stream</col> + </row> + </data> + </object> + <object class="GtkListStore" id="liststore2"> + <columns> + <!-- column-name item text --> + <column type="gchararray"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">approve</col> + </row> + <row> + <col id="0" translatable="yes">concede</col> + </row> + <row> + <col id="0" translatable="yes">forbid</col> + </row> + <row> + <col id="0" translatable="yes">oppose</col> + </row> + <row> + <col id="0" translatable="yes">prefer</col> + </row> + <row> + <col id="0" translatable="yes">require</col> + </row> + </data> + </object> +</interface> |