blob: d2641c402e6d25e610a4562e1a539f6e1e47b837 [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 Salenikovich092bb8c2016-05-18 12:01:12 -040033s <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>
41 <property name="tooltip-text" translatable="yes">Remove selected account</property>
42 <child internal-child="accessible">
43 <object class="AtkObject" id="button_remove_account-atkobject">
44 <property name="AtkObject::accessible-name" translatable="yes">Remove selected account</property>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040045 </object>
46 </child>
47 </object>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040048 </child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050049 <!-- end remove account -->
50 <!-- add account and type -->
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040051 <child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050052 <object class="GtkBox" id="hbox_add_account">
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040053 <property name="visible">True</property>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040054 <property name="orientation">horizontal</property>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050055 <style>
56 <class name="linked"/>
57 </style>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040058 <child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050059 <object class="GtkButton" id="button_add_account">
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040060 <property name="visible">True</property>
Stepan Salenikovich092bb8c2016-05-18 12:01:12 -040061 <property name="image">image_add</property>
62 <property name="tooltip-text" translatable="yes">Add new account</property>
63 <child internal-child="accessible">
64 <object class="AtkObject" id="button_add_account-atkobject">
65 <property name="AtkObject::accessible-name" translatable="yes">Add new account</property>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040066 </object>
67 </child>
68 </object>
69 </child>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040070 <child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050071 <object class="GtkComboBox" id="combobox_account_type">
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040072 <property name="visible">True</property>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050073 <property name="active">0</property>
Stepan Salenikovich092bb8c2016-05-18 12:01:12 -040074 <property name="tooltip-text" translatable="yes">Select account type</property>
75 <child internal-child="accessible">
76 <object class="AtkObject" id="combobox_account_type-atkobject">
77 <property name="AtkObject::accessible-name" translatable="yes">Select account type</property>
78 </object>
79 </child>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040080 </object>
81 </child>
Stepan Salenikovichc3fede22015-03-20 17:01:47 -040082 </object>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040083 </child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050084 <!-- end add account type -->
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040085 </object>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040086 </child>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050087 <!-- end add remove accounts -->
Stepan Salenikovich61cbab02015-03-16 18:35:10 -040088 </object>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050089 <!-- <packing>
90 </packing> -->
91 </child>
92 <!-- end of account list on the left pane -->
93 <!-- individual account view -->
94 <child>
95 <object class="GtkStack" id="stack_account">
96 <property name="visible">True</property>
97 <property name="transition-type">GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT</property>
98 <property name="transition-duration">300</property>
99 </object>
100 <!-- <packing>
101 </packing> -->
Stepan Salenikovich61cbab02015-03-16 18:35:10 -0400102 </child>
103 </template>
Stepan Salenikovich092bb8c2016-05-18 12:01:12 -0400104 <object class="GtkImage" id="image_remove">
105 <property name="visible">True</property>
106 <property name="icon-name">list-remove-symbolic</property>
107 </object>
108 <object class="GtkImage" id="image_add">
109 <property name="visible">True</property>
110 <property name="icon-name">list-add-symbolic</property>
111 </object>
Stepan Salenikovich61cbab02015-03-16 18:35:10 -0400112</interface>