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 | bdb0ecd | 2016-05-18 13:30:55 -0400 | [diff] [blame] | 33 | <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> |
Stepan Salenikovich | bdb0ecd | 2016-05-18 13:30:55 -0400 | [diff] [blame] | 41 | <property name="sensitive">False</property> |
Stepan Salenikovich | 092bb8c | 2016-05-18 12:01:12 -0400 | [diff] [blame] | 42 | <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 Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 46 | </object> |
| 47 | </child> |
| 48 | </object> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 49 | </child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 50 | <!-- end remove account --> |
| 51 | <!-- add account and type --> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 52 | <child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 53 | <object class="GtkBox" id="hbox_add_account"> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 54 | <property name="visible">True</property> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 55 | <property name="orientation">horizontal</property> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 56 | <style> |
| 57 | <class name="linked"/> |
| 58 | </style> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 59 | <child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 60 | <object class="GtkButton" id="button_add_account"> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 61 | <property name="visible">True</property> |
Stepan Salenikovich | 092bb8c | 2016-05-18 12:01:12 -0400 | [diff] [blame] | 62 | <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 Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 67 | </object> |
| 68 | </child> |
| 69 | </object> |
| 70 | </child> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 71 | <child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 72 | <object class="GtkComboBox" id="combobox_account_type"> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 73 | <property name="visible">True</property> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 74 | <property name="active">0</property> |
Stepan Salenikovich | 092bb8c | 2016-05-18 12:01:12 -0400 | [diff] [blame] | 75 | <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 Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 81 | </object> |
| 82 | </child> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame] | 83 | </object> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 84 | </child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 85 | <!-- end add account type --> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 86 | </object> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 87 | </child> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 88 | <!-- end add remove accounts --> |
Stepan Salenikovich | bdb0ecd | 2016-05-18 13:30:55 -0400 | [diff] [blame] | 89 | |
| 90 | <!-- import/export account --> |
| 91 | <child> |
| 92 | <object class="GtkButtonBox" id="buttonbox_import_export"> |
Stepan Salenikovich | cca2179 | 2016-11-03 13:29:00 -0400 | [diff] [blame] | 93 | <!-- hide while feature is broken --> |
| 94 | <property name="visible">False</property> |
| 95 | <property name="no-show-all">True</property> |
| 96 | |
Stepan Salenikovich | bdb0ecd | 2016-05-18 13:30:55 -0400 | [diff] [blame] | 97 | <property name="orientation">horizontal</property> |
| 98 | <property name="layout-style">spread</property> |
| 99 | <property name="margin-top">5</property> |
| 100 | <child> |
| 101 | <object class="GtkButton" id="button_import_account"> |
| 102 | <property name="visible">True</property> |
| 103 | <property name="label" translatable="yes">Import</property> |
| 104 | <property name="tooltip-text" translatable="yes">Import archived account(s)</property> |
| 105 | </object> |
| 106 | </child> |
| 107 | <child> |
| 108 | <object class="GtkButton" id="button_export_account"> |
| 109 | <property name="visible">True</property> |
| 110 | <property name="label" translatable="yes">Export</property> |
| 111 | <property name="sensitive">False</property> |
| 112 | <property name="tooltip-text" translatable="yes">Export selected account(s)</property> |
| 113 | </object> |
| 114 | </child> |
| 115 | </object> |
| 116 | </child> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 117 | </object> |
Stepan Salenikovich | ab0f5be | 2016-02-05 15:16:35 -0500 | [diff] [blame] | 118 | <!-- <packing> |
| 119 | </packing> --> |
| 120 | </child> |
| 121 | <!-- end of account list on the left pane --> |
| 122 | <!-- individual account view --> |
| 123 | <child> |
| 124 | <object class="GtkStack" id="stack_account"> |
| 125 | <property name="visible">True</property> |
| 126 | <property name="transition-type">GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT</property> |
| 127 | <property name="transition-duration">300</property> |
| 128 | </object> |
| 129 | <!-- <packing> |
| 130 | </packing> --> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 131 | </child> |
| 132 | </template> |
Stepan Salenikovich | 092bb8c | 2016-05-18 12:01:12 -0400 | [diff] [blame] | 133 | <object class="GtkImage" id="image_remove"> |
| 134 | <property name="visible">True</property> |
| 135 | <property name="icon-name">list-remove-symbolic</property> |
| 136 | </object> |
| 137 | <object class="GtkImage" id="image_add"> |
| 138 | <property name="visible">True</property> |
| 139 | <property name="icon-name">list-add-symbolic</property> |
| 140 | </object> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 141 | </interface> |