Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <interface> |
| 3 | <requires lib="gtk+" version="3.10"/> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 4 | <template class="AccountView" parent="GtkPaned"> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 5 | <property name="visible">True</property> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 6 | <!-- account list on the left pane --> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 7 | <child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 8 | <object class="GtkBox" id="vbox_account_list"> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 9 | <property name="visible">True</property> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 10 | <property name="orientation">vertical</property> |
| 11 | <!-- list of accounts --> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 12 | <child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 13 | <object class="GtkScrolledWindow" id="scrolledwindow_account_list"> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 14 | <property name="visible">True</property> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 15 | <property name="shadow_type">none</property> |
| 16 | <property name="hscrollbar_policy">never</property> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 17 | <child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 18 | <object class="GtkTreeView" id="treeview_account_list"> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 19 | <property name="visible">True</property> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 20 | </object> |
| 21 | </child> |
| 22 | </object> |
| 23 | <packing> |
| 24 | <property name="expand">True</property> |
| 25 | <property name="fill">True</property> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 26 | </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 Salenikovich | 092bb8c | 2016-05-18 12:01:12 -0400 | [diff] [blame] | 33 | s <property name="orientation">horizontal</property> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 34 | <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 Salenikovich | 092bb8c | 2016-05-18 12:01:12 -0400 | [diff] [blame] | 40 | <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 Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 45 | </object> |
| 46 | </child> |
| 47 | </object> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 48 | </child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 49 | <!-- end remove account --> |
| 50 | <!-- add account and type --> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 51 | <child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 52 | <object class="GtkBox" id="hbox_add_account"> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 53 | <property name="visible">True</property> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 54 | <property name="orientation">horizontal</property> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 55 | <style> |
| 56 | <class name="linked"/> |
| 57 | </style> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 58 | <child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 59 | <object class="GtkButton" id="button_add_account"> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 60 | <property name="visible">True</property> |
Stepan Salenikovich | 092bb8c | 2016-05-18 12:01:12 -0400 | [diff] [blame] | 61 | <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 Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 66 | </object> |
| 67 | </child> |
| 68 | </object> |
| 69 | </child> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 70 | <child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 71 | <object class="GtkComboBox" id="combobox_account_type"> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 72 | <property name="visible">True</property> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 73 | <property name="active">0</property> |
Stepan Salenikovich | 092bb8c | 2016-05-18 12:01:12 -0400 | [diff] [blame] | 74 | <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 Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 80 | </object> |
| 81 | </child> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 82 | </object> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 83 | </child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 84 | <!-- end add account type --> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 85 | </object> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 86 | </child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 87 | <!-- end add remove accounts --> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 88 | </object> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 89 | <!-- <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 Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 102 | </child> |
| 103 | </template> |
Stepan Salenikovich | 092bb8c | 2016-05-18 12:01:12 -0400 | [diff] [blame] | 104 | <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 Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 112 | </interface> |