generalsettingsview.ui 11.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.10"/>
  <object class="GtkAdjustment" id="adjustment_history_duration">
    <property name="value">0</property>
    <property name="lower">0</property>
    <property name="upper">65535</property>
    <property name="step_increment">1</property>
    <property name="page_increment">10</property>
  </object>
11
    <template class="GeneralSettingsView" parent="GtkScrolledWindow">
12 13
    <property name="visible">True</property>
    <child>
14
      <object class="GtkBox" id="hbox_main_columns">
15 16 17
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="spacing">10</property>
18
        <property name="border_width">10</property>
19 20
        <!-- start profil settings -->
        <child>
21
          <object class="GtkBox" id="vbox_main_left">
22
            <property name="visible">True</property>
23 24
            <property name="can_focus">False</property>
            <property name="orientation">vertical</property>
25
            <child>
26
              <object class="GtkFrame" id="frame_profile_settings">
27
                <property name="visible">True</property>
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
                <property name="label_xalign">0</property>
                <property name="shadow_type">none</property>
                <!-- start frame label -->
                <child type="label">
                  <object class="GtkLabel" id="label_profile_settings">
                    <property name="visible">True</property>
                    <property name="label" translatable="yes">&lt;b&gt;Profile Settings&lt;/b&gt;</property>
                    <property name="use_markup">True</property>
                  </object>
                </child>
                <!-- end frame label -->
                <!-- start box ring settings-->
                <child>
                  <object class="GtkBox" id="box_profil_settings">
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="valign">end</property>
                    <property name="halign">start</property>
                    <property name="orientation">vertical</property>
                    <property name="spacing">10</property>
                  </object>
                </child>
                <!-- end box ring settings-->
                <!-- end profil settings -->
52
              </object>
53
            </child>  
54
          </object>
55 56 57 58
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
          </packing>
59
        </child>
60 61
        <!-- start ring settings -->
        <child>
62
          <object class="GtkBox" id="vbox_main_right">
63
            <property name="visible">True</property>
64 65 66
            <property name="can_focus">False</property>
            <property name="orientation">vertical</property>
            <property name="spacing">12</property>
67
            <child>
68
              <object class="GtkFrame" id="frame_ring_settings">
69
                <property name="visible">True</property>
70 71 72 73 74 75 76 77 78 79 80 81 82 83
                <property name="label_xalign">0</property>
                <property name="shadow_type">none</property>
                <!-- start frame label -->
                  <child type="label">
                    <object class="GtkLabel" id="label_ring_settings">
                      <property name="visible">True</property>
                      <property name="label" translatable="yes">&lt;b&gt;Ring Settings&lt;/b&gt;</property>
                      <property name="use_markup">True</property>
                    </object>
                  </child>
                  <!-- end frame label -->
                  <!-- start box ring settings-->
                  <child>
                    <object class="GtkBox" id="box_ring_settings">
84
                    <property name="visible">True</property>
85 86 87
                    <property name="orientation">vertical</property>
                    <property name="margin_left">10</property>
                    <property name="margin_top">10</property>
88
                    <child>
89 90
                      <object class="GtkCheckButton" id="checkbutton_autostart">
                        <property name="label" translatable="yes">Start Ring on login</property>
91 92
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
93 94
                        <property name="xalign">0</property>
                        <property name="draw_indicator">True</property>
95 96 97
                      </object>
                    </child>
                    <child>
98 99
                      <object class="GtkCheckButton" id="checkbutton_hideonclose">
                        <property name="label" translatable="yes">Hide Ring on close instead of quitting.</property>
100 101
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
                        <property name="xalign">0</property>
                        <property name="draw_indicator">True</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkCheckButton" id="checkbutton_bringtofront">
                        <property name="label" translatable="yes">Bring Ring to the foreground on incoming calls.</property>
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="xalign">0</property>
                        <property name="draw_indicator">True</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButtonBox" id="buttonbox_chatposition">
                        <property name="visible">True</property>
                        <property name="can_focus">True</property>
                        <property name="orientation">vertical</property>
                        <property name="layout-style">start</property>
                        <child>
                          <object class="GtkRadioButton" id="radiobutton_chatright">
                            <property name="label" translatable="yes">Show chat on the right.</property>
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                          </object>
                        </child>
                        <child>
                          <object class="GtkRadioButton" id="radiobutton_chatbottom">
                            <property name="label" translatable="yes">Show chat on the bottom.</property>
                            <property name="visible">True</property>
                            <property name="can_focus">True</property>
                            <property name="group">radiobutton_chatright</property>
                          </object>
                        </child>
136 137 138 139
                      </object>
                    </child>
                  </object>
                </child>
140
                <!-- end box ring settings -->
141 142
              </object>
            </child>
143
            <!-- start history settings -->
144
            <child>
145
              <object class="GtkFrame" id="frame_history_settings">
146
                <property name="visible">True</property>
147 148 149 150 151 152 153 154 155 156 157 158 159
                <property name="label_xalign">0</property>
                <property name="shadow_type">none</property>
                <!-- start frame label -->
                  <child type="label">
                    <object class="GtkLabel" id="label_history_settings">
                      <property name="visible">True</property>
                      <property name="can_focus">False</property>
                      <property name="label" translatable="yes">&lt;b&gt;History Settings&lt;/b&gt;</property>
                      <property name="use_markup">True</property>
                    </object>
                  </child>
                  <!-- end frame label -->
                  <!-- start grid history settings-->
160
                <child>
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
                  <object class="GtkGrid" id="grid_history_settings">
                  <property name="visible">True</property>
                  <property name="can_focus">False</property>
                  <property name="margin_left">10</property>
                  <property name="margin_top">10</property>
                  <property name="row_spacing">10</property>
                  <property name="column_spacing">10</property>
                    <child>
                      <object class="GtkLabel" id="label_history_duration">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="label" translatable="yes">Keep history for (days):</property>
                      </object>
                      <packing>
                        <property name="left_attach">0</property>
                        <property name="top_attach">0</property>
                      </packing>
                    </child>
                  <child>
                    <object class="GtkSpinButton" id="spinbutton_history_duration">
                      <property name="visible">True</property>
                      <property name="can_focus">False</property>
                      <property name="value">0</property>
                      <property name="adjustment">adjustment_history_duration</property>
                    </object>
                    <packing>
                      <property name="left_attach">1</property>
                      <property name="top_attach">0</property>
                    </packing>
                  </child>
                  <child>
                    <object class="GtkLabel" id="label_history_explanation">
                      <property name="visible">True</property>
                      <property name="can_focus">False</property>
                      <property name="label" translatable="yes">(set to 0 for unlimited history)</property>
                    </object>
                    <packing>
                      <property name="left_attach">1</property>
                      <property name="top_attach">1</property>
                    </packing>
                  </child>
                  <child>
                    <object class="GtkButton" id="button_clear_history">
                      <property name="label" translatable="yes">Clear all history</property>
                      <property name="visible">True</property>
                      <property name="can_focus">True</property>
                      <property name="receives_default">True</property>
                      <property name="halign">start</property>
                    </object>
                    <packing>
                      <property name="left_attach">1</property>
                      <property name="top_attach">2</property>
                    </packing>
                  </child>
                </object>
              </child>
              <!-- end grid history settings -->
            </object>
          </child>
          <!-- end history settings -->
        </object>
      </child>
    </object>
    <packing>
      <property name="expand">False</property>
      <property name="fill">True</property>
    </packing>
  </child>
</template>
230
</interface>