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"/> |
| 4 | <template class="AccountView" parent="GtkBox"> |
| 5 | <property name="visible">True</property> |
| 6 | <property name="can_focus">False</property> |
| 7 | <property name="orientation">vertical</property> |
| 8 | <child> |
| 9 | <object class="GtkBox" id="hbox_main"> |
| 10 | <property name="visible">True</property> |
| 11 | <property name="can_focus">False</property> |
| 12 | <property name="spacing">5</property> |
| 13 | <!-- account list on left side of the box --> |
| 14 | <child> |
| 15 | <object class="GtkBox" id="vbox_account_list"> |
| 16 | <property name="visible">True</property> |
| 17 | <property name="can_focus">False</property> |
| 18 | <property name="orientation">vertical</property> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame^] | 19 | <property name="spacing">10</property> |
| 20 | <!-- list of accounts --> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 21 | <child> |
| 22 | <object class="GtkScrolledWindow" id="scrolledwindow_account_list"> |
| 23 | <property name="visible">True</property> |
| 24 | <property name="can_focus">True</property> |
| 25 | <property name="shadow_type">in</property> |
| 26 | <property name="vscrollbar_policy">never</property> |
| 27 | <property name="hscrollbar_policy">never</property> |
| 28 | <child> |
| 29 | <object class="GtkTreeView" id="treeview_account_list"> |
| 30 | <property name="visible">True</property> |
| 31 | <property name="can_focus">True</property> |
| 32 | </object> |
| 33 | </child> |
| 34 | </object> |
| 35 | <packing> |
| 36 | <property name="expand">True</property> |
| 37 | <property name="fill">True</property> |
| 38 | <property name="position">0</property> |
| 39 | </packing> |
| 40 | </child> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame^] | 41 | <!-- end list of accounts --> |
| 42 | <!-- add remove accounts --> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 43 | <child> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame^] | 44 | <object class="GtkBox" id="hbox_addremove_account"> |
| 45 | <property name="visible">True</property> |
| 46 | <property name="can_focus">False</property> |
| 47 | <property name="orientation">horizontal</property> |
| 48 | <property name="spacing">5</property> |
| 49 | <property name="halign">GTK_ALIGN_END</property> |
| 50 | <!-- remove account --> |
| 51 | <child> |
| 52 | <object class="GtkButton" id="button_remove_account"> |
| 53 | <property name="visible">True</property> |
| 54 | <property name="can_focus">True</property> |
| 55 | <child> |
| 56 | <object class="GtkLabel" id="label_remove_account"> |
| 57 | <property name="visible">True</property> |
| 58 | <property name="can_focus">False</property> |
| 59 | <property name="label" translatable="yes"><b>&#8722;</b></property> |
| 60 | <property name="use_markup">True</property> |
| 61 | </object> |
| 62 | </child> |
| 63 | </object> |
| 64 | </child> |
| 65 | <!-- end remove account --> |
| 66 | <!-- add account and type --> |
| 67 | <child> |
| 68 | <object class="GtkBox" id="hbox_add_account"> |
| 69 | <property name="visible">True</property> |
| 70 | <property name="can_focus">False</property> |
| 71 | <property name="orientation">horizontal</property> |
| 72 | <style> |
| 73 | <class name="linked"/> |
| 74 | </style> |
| 75 | <child> |
| 76 | <object class="GtkButton" id="button_add_account"> |
| 77 | <property name="visible">True</property> |
| 78 | <property name="can_focus">True</property> |
| 79 | <child> |
| 80 | <object class="GtkLabel" id="label_add_account"> |
| 81 | <property name="visible">True</property> |
| 82 | <property name="can_focus">False</property> |
| 83 | <property name="label" translatable="yes"><b>+</b></property> |
| 84 | <property name="use_markup">True</property> |
| 85 | </object> |
| 86 | </child> |
| 87 | </object> |
| 88 | </child> |
| 89 | <child> |
| 90 | <object class="GtkComboBox" id="combobox_account_type"> |
| 91 | <property name="visible">True</property> |
| 92 | <property name="can_focus">False</property> |
| 93 | <property name="active">0</property> |
| 94 | </object> |
| 95 | </child> |
| 96 | </object> |
| 97 | </child> |
| 98 | <!-- end add account type --> |
| 99 | </object> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 100 | </child> |
Stepan Salenikovich | c3fede2 | 2015-03-20 17:01:47 -0400 | [diff] [blame^] | 101 | <!-- end add remove accounts --> |
Stepan Salenikovich | 61cbab0 | 2015-03-16 18:35:10 -0400 | [diff] [blame] | 102 | </object> |
| 103 | <packing> |
| 104 | <property name="expand">False</property> |
| 105 | <property name="fill">True</property> |
| 106 | <property name="position">0</property> |
| 107 | </packing> |
| 108 | </child> |
| 109 | <!-- end of account list on left side of box --> |
| 110 | <!-- individual account view --> |
| 111 | <child> |
| 112 | <object class="GtkStack" id="stack_account"> |
| 113 | <property name="visible">True</property> |
| 114 | <property name="transition-type">GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT</property> |
| 115 | <property name="transition-duration">300</property> |
| 116 | </object> |
| 117 | <packing> |
| 118 | <property name="expand">True</property> |
| 119 | <property name="fill">True</property> |
| 120 | </packing> |
| 121 | </child> |
| 122 | <!-- end individual account view --> |
| 123 | </object> |
| 124 | <packing> |
| 125 | <property name="expand">True</property> |
| 126 | <property name="fill">True</property> |
| 127 | <property name="position">0</property> |
| 128 | </packing> |
| 129 | </child> |
| 130 | </template> |
| 131 | </interface> |