Skip to content
Snippets Groups Projects
xfpm-settings.ui 85.7 KiB
Newer Older
                                </child>
                                <child type="label">
                                  <object class="GtkLabel" id="label38">
                                    <property name="visible">True</property>
                                    <property name="label" translatable="yes">&lt;b&gt;Monitor&lt;/b&gt;</property>
                                    <property name="use_markup">True</property>
                                  </object>
                                <property name="expand">False</property>
                                <property name="position">0</property>
                            <child>
                              <object class="GtkFrame" id="on-battery-brg-frame">
                                <property name="visible">True</property>
                                <property name="label_xalign">0</property>
                                <property name="shadow_type">none</property>
                                <child>
                                  <object class="GtkAlignment" id="alignment14">
                                    <property name="visible">True</property>
                                    <property name="top_padding">6</property>
                                    <property name="left_padding">12</property>
                                    <property name="right_padding">6</property>
                                    <child>
                                      <object class="GtkVBox" id="vbox30">
                                        <property name="visible">True</property>
                                        <property name="orientation">vertical</property>
                                        <property name="spacing">4</property>
                                        <child>
                                          <object class="GtkLabel" id="label39">
                                            <property name="visible">True</property>
                                            <property name="xalign">0</property>
                                            <property name="label" translatable="yes">Reduce screen brightness when computer is inactive for:</property>
                                          </object>
                                          <packing>
                                            <property name="expand">False</property>
                                            <property name="position">0</property>
                                          </packing>
                                        </child>
                                        <child>
                                          <object class="GtkHScale" id="brg-on-battery">
                                            <property name="visible">True</property>
                                            <property name="can_focus">True</property>
                                            <property name="update_policy">discontinuous</property>
                                            <property name="adjustment">adjustment8</property>
                                            <property name="digits">0</property>
                                            <property name="value_pos">bottom</property>
                                            <signal name="value_changed" handler="brightness_on_battery_value_changed_cb"/>
                                            <signal name="format_value" handler="format_brightness_value_cb"/>
                                          </object>
                                          <packing>
                                            <property name="expand">False</property>
                                            <property name="position">1</property>
                                          </packing>
                                        </child>
                                      </object>
                                    </child>
                                  </object>
                                </child>
                                <child type="label">
                                  <object class="GtkLabel" id="label40">
                                    <property name="visible">True</property>
                                    <property name="label" translatable="yes">&lt;b&gt;Brightness&lt;/b&gt;</property>
                                    <property name="use_markup">True</property>
                                  </object>
                                </child>
                                <property name="expand">False</property>
                                <property name="position">1</property>
                              </packing>
                            </child>
                            <property name="position">1</property>
                          </packing>
                        </child>
                        <child type="tab">
                          <object class="GtkLabel" id="monitor-on-battery">
                            <property name="visible">True</property>
                            <property name="label" translatable="yes">Monitor</property>
                          </object>
                          <packing>
                            <property name="position">1</property>
                            <property name="tab_fill">False</property>
                        <child>
                          <placeholder/>
                        </child>
                        <child type="tab">
                          <placeholder/>
                        </child>
                      <packing>
                        <property name="position">2</property>
                      </packing>
                    </child>
                    <child type="tab">
                      <object class="GtkViewport" id="advanced">
                        <property name="visible">True</property>
                        <child>
                          <object class="GtkFrame" id="frame1">
                            <property name="border_width">12</property>
                            <property name="label_xalign">0</property>
                            <property name="shadow_type">none</property>
                              <object class="GtkAlignment" id="alignment1">
                                <property name="left_padding">12</property>
                                <property name="right_padding">6</property>
                                  <object class="GtkVBox" id="vbox2">
                                    <property name="orientation">vertical</property>
                                    <property name="spacing">6</property>
                                      <object class="GtkTable" id="table1">
                                        <property name="n_rows">3</property>
                                        <property name="n_columns">2</property>
                                        <property name="column_spacing">12</property>
                                        <property name="row_spacing">6</property>
                                          <object class="GtkVBox" id="vbox5">
                                            <property name="orientation">vertical</property>
                                            <child>
                                              <object class="GtkRadioButton" id="inactivity-suspend">
                                                <property name="label" translatable="yes">Suspend</property>
                                                <property name="visible">True</property>
                                                <property name="can_focus">True</property>
                                                <property name="receives_default">False</property>
                                                <property name="active">True</property>
                                                <property name="draw_indicator">True</property>
                                                <signal name="toggled" handler="set_suspend_inactivity"/>
                                              </object>
                                              <packing>
                                                <property name="position">0</property>
                                              </packing>
                                            </child>
                                            <child>
                                              <object class="GtkRadioButton" id="inactivity-hibernate">
                                                <property name="label" translatable="yes">Hibernate</property>
                                                <property name="visible">True</property>
                                                <property name="can_focus">True</property>
                                                <property name="receives_default">False</property>
                                                <property name="draw_indicator">True</property>
                                                <property name="group">inactivity-suspend</property>
                                                <signal name="toggled" handler="set_hibernate_inactivity"/>
                                              </object>
                                              <packing>
                                                <property name="position">1</property>
                                              </packing>
                                            </child>
                                            <property name="left_attach">1</property>
                                            <property name="right_attach">2</property>
                                            <property name="x_options">GTK_FILL</property>
                                          <object class="GtkVBox" id="vbox3">
                                            <property name="orientation">vertical</property>
                                            <child>
                                              <object class="GtkRadioButton" id="sleep-dpms-mode">
                                                <property name="label" translatable="yes">Standby</property>
                                                <property name="visible">True</property>
                                                <property name="can_focus">True</property>
                                                <property name="receives_default">False</property>
                                                <property name="active">True</property>
                                                <property name="draw_indicator">True</property>
                                                <signal name="toggled" handler="set_dpms_standby_mode"/>
                                              </object>
                                              <packing>
                                                <property name="position">0</property>
                                              </packing>
                                            </child>
                                            <child>
                                              <object class="GtkRadioButton" id="suspend-dpms-mode">
                                                <property name="label" translatable="yes">Suspend</property>
                                                <property name="visible">True</property>
                                                <property name="can_focus">True</property>
                                                <property name="receives_default">False</property>
                                                <property name="draw_indicator">True</property>
                                                <property name="group">sleep-dpms-mode</property>
                                                <signal name="toggled" handler="set_dpms_suspend_mode"/>
                                              </object>
                                              <packing>
                                                <property name="position">1</property>
                                              </packing>
                                            </child>
                                            <property name="left_attach">1</property>
                                            <property name="right_attach">2</property>
                                            <property name="top_attach">1</property>
                                            <property name="bottom_attach">2</property>
                                            <property name="x_options">GTK_FILL</property>
                                          <object class="GtkLabel" id="label7">
                                            <property name="xalign">0</property>
                                            <property name="label" translatable="yes">Set computer inactivity sleep mode:</property>
                                            <property name="x_options">GTK_FILL</property>
                                          <object class="GtkLabel" id="critical-level-label">
                                            <property name="xalign">0</property>
                                            <property name="label" translatable="yes">Consider the computer on low power at:</property>
                                            <property name="top_attach">2</property>
                                            <property name="bottom_attach">3</property>
                                            <property name="x_options">GTK_FILL</property>
                                          <object class="GtkSpinButton" id="critical-spin">
                                            <property name="can_focus">True</property>
                                            <property name="invisible_char">&#x25CF;</property>
                                            <property name="adjustment">adjustment9</property>
                                            <signal name="value_changed" handler="critical_level_value_changed_cb"/>
                                            <signal name="output" handler="critical_spin_output_cb"/>
                                            <property name="left_attach">1</property>
                                            <property name="right_attach">2</property>
                                            <property name="top_attach">2</property>
                                            <property name="bottom_attach">3</property>
                                            <property name="x_options">GTK_FILL</property>
                                          <object class="GtkLabel" id="dpms-mode-label">
                                            <property name="xalign">0</property>
                                            <property name="label" translatable="yes">Set monitor sleep mode:</property>
                                            <property name="top_attach">1</property>
                                            <property name="bottom_attach">2</property>
                                            <property name="x_options">GTK_FILL</property>
                                        <property name="expand">False</property>
                                        <property name="position">0</property>
                                      <object class="GtkCheckButton" id="lock-screen">
                                        <property name="label" translatable="yes">Lock screen when going for suspend/hibernate</property>
                                        <property name="can_focus">True</property>
                                        <property name="receives_default">False</property>
                                        <property name="draw_indicator">True</property>
                                        <signal name="toggled" handler="lock_screen_toggled_cb"/>
                                        <property name="expand">False</property>
                                        <property name="position">1</property>
                            <child type="label">
                              <object class="GtkLabel" id="label5">
                                <property name="visible">True</property>
                                <property name="label" translatable="yes">&lt;b&gt;Advanced Options&lt;/b&gt;</property>
                                <property name="use_markup">True</property>
                              </object>
                            </child>
                      <packing>
                        <property name="position">3</property>
                      </packing>
                    </child>
                    <child type="tab">
                  <packing>
                    <property name="position">1</property>
                  </packing>
                </child>
              <packing>
                <property name="position">0</property>
              </packing>
          <packing>
            <property name="position">1</property>
          </packing>
        </child>
        <child internal-child="action_area">
          <object class="GtkHButtonBox" id="dialog-action_area">
            <property name="visible">True</property>
            <child>
              <object class="GtkButton" id="help-button">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="use_stock">True</property>
              <packing>
                <property name="expand">False</property>
                <property name="fill">False</property>
                <property name="position">0</property>
              </packing>
              <object class="GtkButton" id="close-button">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="use_stock">True</property>
                <property name="expand">False</property>
                <property name="fill">False</property>
                <property name="position">1</property>
              </packing>
            </child>
          <packing>
            <property name="expand">False</property>
            <property name="pack_type">end</property>
            <property name="position">0</property>
    <action-widgets>
      <action-widget response="0">help-button</action-widget>
      <action-widget response="0">close-button</action-widget>
    </action-widgets>
  </object>
</interface>