blob: f3c15c9f445e92e898c66adf397ad8be2cafe855 [file] [log] [blame]
Stepan Salenikovich61cbab02015-03-16 18:35:10 -04001<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="3.10"/>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -05004 <template class="AccountView" parent="GtkPaned">
Stepan Salenikovich61cbab02015-03-16 18:35:10 -04005 <property name="visible">True</property>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -05006 <!-- account list on the left pane -->
Stepan Salenikovich61cbab02015-03-16 18:35:10 -04007 <child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -05008 <object class="GtkBox" id="vbox_account_list">
Stepan Salenikovich61cbab02015-03-16 18:35:10 -04009 <property name="visible">True</property>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050010 <property name="orientation">vertical</property>
11 <!-- list of accounts -->
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040012 <child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050013 <object class="GtkScrolledWindow" id="scrolledwindow_account_list">
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040014 <property name="visible">True</property>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050015 <property name="shadow_type">none</property>
16 <property name="hscrollbar_policy">never</property>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040017 <child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050018 <object class="GtkTreeView" id="treeview_account_list">
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040019 <property name="visible">True</property>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050020 </object>
21 </child>
22 </object>
23 <packing>
24 <property name="expand">True</property>
25 <property name="fill">True</property>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050026 </packing>
27 </child>
28 <!-- end list of accounts -->
29 <!-- add remove accounts -->
30 <child>
31 <object class="GtkBox" id="hbox_addremove_account">
32 <property name="visible">True</property>
Stepan Salenikovichbdb0ecd2016-05-18 13:30:55 -040033 <property name="orientation">horizontal</property>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050034 <property name="spacing">5</property>
35 <property name="halign">GTK_ALIGN_CENTER</property>
36 <!-- remove account -->
37 <child>
38 <object class="GtkButton" id="button_remove_account">
39 <property name="visible">True</property>
Stepan Salenikovich092bb8c2016-05-18 12:01:12 -040040 <property name="image">image_remove</property>
Stepan Salenikovichbdb0ecd2016-05-18 13:30:55 -040041 <property name="sensitive">False</property>
Stepan Salenikovich092bb8c2016-05-18 12:01:12 -040042 <property name="tooltip-text" translatable="yes">Remove selected account</property>
43 <child internal-child="accessible">
44 <object class="AtkObject" id="button_remove_account-atkobject">
45 <property name="AtkObject::accessible-name" translatable="yes">Remove selected account</property>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040046 </object>
47 </child>
48 </object>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040049 </child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050050 <!-- end remove account -->
51 <!-- add account and type -->
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040052 <child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050053 <object class="GtkBox" id="hbox_add_account">
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040054 <property name="visible">True</property>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040055 <property name="orientation">horizontal</property>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050056 <style>
57 <class name="linked"/>
58 </style>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040059 <child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050060 <object class="GtkButton" id="button_add_account">
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040061 <property name="visible">True</property>
Stepan Salenikovich092bb8c2016-05-18 12:01:12 -040062 <property name="image">image_add</property>
63 <property name="tooltip-text" translatable="yes">Add new account</property>
64 <child internal-child="accessible">
65 <object class="AtkObject" id="button_add_account-atkobject">
66 <property name="AtkObject::accessible-name" translatable="yes">Add new account</property>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040067 </object>
68 </child>
69 </object>
70 </child>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040071 <child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050072 <object class="GtkComboBox" id="combobox_account_type">
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040073 <property name="visible">True</property>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050074 <property name="active">0</property>
Stepan Salenikovich092bb8c2016-05-18 12:01:12 -040075 <property name="tooltip-text" translatable="yes">Select account type</property>
76 <child internal-child="accessible">
77 <object class="AtkObject" id="combobox_account_type-atkobject">
78 <property name="AtkObject::accessible-name" translatable="yes">Select account type</property>
79 </object>
80 </child>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040081 </object>
82 </child>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040083 </object>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040084 </child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050085 <!-- end add account type -->
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040086 </object>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040087 </child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050088 <!-- end add remove accounts -->
Stepan Salenikovichbdb0ecd2016-05-18 13:30:55 -040089
90 <!-- import/export account -->
91 <child>
92 <object class="GtkButtonBox" id="buttonbox_import_export">
93 <property name="visible">True</property>
94 <property name="orientation">horizontal</property>
95 <property name="layout-style">spread</property>
96 <property name="margin-top">5</property>
97 <child>
98 <object class="GtkButton" id="button_import_account">
99 <property name="visible">True</property>
100 <property name="label" translatable="yes">Import</property>
101 <property name="tooltip-text" translatable="yes">Import archived account(s)</property>
102 </object>
103 </child>
104 <child>
105 <object class="GtkButton" id="button_export_account">
106 <property name="visible">True</property>
107 <property name="label" translatable="yes">Export</property>
108 <property name="sensitive">False</property>
109 <property name="tooltip-text" translatable="yes">Export selected account(s)</property>
110 </object>
111 </child>
112 </object>
113 </child>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -0400114 </object>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -0500115 <!-- <packing>
116 </packing> -->
117 </child>
118 <!-- end of account list on the left pane -->
119 <!-- individual account view -->
120 <child>
121 <object class="GtkStack" id="stack_account">
122 <property name="visible">True</property>
123 <property name="transition-type">GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT</property>
124 <property name="transition-duration">300</property>
125 </object>
126 <!-- <packing>
127 </packing> -->
Stepan Salenikovich61cbab02015-03-16 18:35:10 -0400128 </child>
129 </template>
Stepan Salenikovich092bb8c2016-05-18 12:01:12 -0400130 <object class="GtkImage" id="image_remove">
131 <property name="visible">True</property>
132 <property name="icon-name">list-remove-symbolic</property>
133 </object>
134 <object class="GtkImage" id="image_add">
135 <property name="visible">True</property>
136 <property name="icon-name">list-add-symbolic</property>
137 </object>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -0400138</interface>