gnome-control-center/panels/datetime/datetime.ui
Matthias Clasen 3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00

598 lines
30 KiB
XML

<?xml version="1.0"?>
<interface>
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy project-wide -->
<object class="GtkWindow" id="window1">
<child>
<object class="GtkAlignment" id="datetime-panel">
<property name="visible">True</property>
<property name="top_padding">16</property>
<property name="left_padding">16</property>
<property name="bottom_padding">16</property>
<property name="right_padding">16</property>
<child>
<object class="GtkVBox" id="hbox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkHBox" id="vbox">
<property name="visible">True</property>
<property name="spacing">24</property>
<child>
<object class="GtkVBox" id="map-vbox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
<object class="GtkAspectFrame" id="aspectmap">
<property name="visible">True</property>
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkHBox" id="hbox1">
<property name="visible">True</property>
<property name="spacing">12</property>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">_Region:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">region_combobox</property>
</object>
<packing>
<property name="expand">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkComboBox" id="region_combobox">
<property name="visible">True</property>
<property name="model">region-liststore</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext1"/>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">_City:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">city_combobox</property>
</object>
<packing>
<property name="expand">False</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkComboBox" id="city_combobox">
<property name="visible">True</property>
<property name="model">city-modelsort</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext2"/>
<attributes>
<attribute name="text">2</attribute>
</attributes>
</child>
</object>
<packing>
<property name="position">3</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkVBox" id="vbox4">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkHBox" id="hbox2">
<property name="visible">True</property>
<property name="spacing">12</property>
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">_Network Time</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">network_time_switch</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkSwitch" id="network_time_switch">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">2</property>
<property name="expand">False</property>
</packing>
</child>
</object>
<packing>
<property name="position">0</property>
<property name="padding">6</property>
<property name="expand">False</property>
</packing>
</child>
<child>
<object class="GtkAlignment" id="alignment2">
<property name="visible">True</property>
<property name="xscale">0</property>
<child>
<object class="GtkTable" id="table2">
<property name="visible">True</property>
<property name="n_rows">3</property>
<property name="n_columns">4</property>
<property name="column_spacing">12</property>
<property name="row_spacing">6</property>
<child>
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="label" translatable="yes" comments="Translator: this is the separator between hours and minutes, like in HH:MM">:</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="2.500000"/>
</attributes>
</object>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="hours_label">
<property name="visible">True</property>
<property name="label">16</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="2.500000"/>
</attributes>
</object>
<packing>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="minutes_label">
<property name="visible">True</property>
<property name="label">45</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="2.500000"/>
</attributes>
</object>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
</packing>
</child>
<child>
<object class="GtkButton" id="hour_up_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="hour_up_accessible">
<property name="accessible-description" translatable="yes">Set the time one hour ahead.</property>
</object>
</child>
<child>
<object class="GtkArrow" id="arrow1">
<property name="visible">True</property>
<property name="arrow_type">up</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="hour_down_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="hour_down_accessible">
<property name="accessible-description" translatable="yes">Set the time one hour back.</property>
</object>
</child>
<child>
<object class="GtkArrow" id="arrow2">
<property name="visible">True</property>
<property name="arrow_type">down</property>
</object>
</child>
</object>
<packing>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
</packing>
</child>
<child>
<object class="GtkButton" id="min_up_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="min_up_accessible">
<property name="accessible-description" translatable="yes">Set the time one minute ahead.</property>
</object>
</child>
<child>
<object class="GtkArrow" id="arrow4">
<property name="visible">True</property>
<property name="arrow_type">up</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
</packing>
</child>
<child>
<object class="GtkButton" id="min_down_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="min_down_accessible">
<property name="accessible-description" translatable="yes">Set the time one minute back.</property>
</object>
</child>
<child>
<object class="GtkArrow" id="arrow3">
<property name="visible">True</property>
<property name="arrow_type">down</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">2</property>
<property name="right_attach">3</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
</packing>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<object class="GtkLabel" id="ampm_label">
<property name="visible">False</property>
<property name="label">AM</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="2.500000"/>
</attributes>
</object>
<packing>
<property name="left_attach">3</property>
<property name="right_attach">4</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
</packing>
</child>
<child>
<object class="GtkButton" id="ampm_up_button">
<property name="visible">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="ampm_up_accessible">
<property name="accessible-description" translatable="yes">Switch between AM and PM.</property>
</object>
</child>
<child>
<object class="GtkArrow" id="arrow5">
<property name="visible">True</property>
<property name="arrow_type">up</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">3</property>
<property name="right_attach">4</property>
</packing>
</child>
<child>
<object class="GtkButton" id="ampm_down_button">
<property name="visible">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
<child internal-child="accessible">
<object class="AtkObject" id="ampm_down_accessible">
<property name="accessible-description" translatable="yes">Switch between AM and PM.</property>
</object>
</child>
<child>
<object class="GtkArrow" id="arrow6">
<property name="visible">True</property>
<property name="arrow_type">down</property>
</object>
</child>
</object>
<packing>
<property name="left_attach">3</property>
<property name="right_attach">4</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
</packing>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="padding">12</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkHBox" id="table1">
<property name="visible">True</property>
<property name="spacing">12</property>
<child>
<object class="GtkComboBox" id="month-combobox">
<property name="visible">True</property>
<property name="model">month-liststore</property>
<child internal-child="accessible">
<object class="AtkObject" id="month-accessible">
<property name="accessible-description" translatable="yes">Month</property>
</object>
</child>
<child>
<object class="GtkCellRendererText" id="cellrenderertext3"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
<packing>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="day-spinbutton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">&#x2022;</property>
<property name="width_chars">3</property>
<property name="numeric">True</property>
<property name="wrap">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="day-accessible">
<property name="accessible-description" translatable="yes">Day</property>
</object>
</child>
</object>
<packing>
</packing>
</child>
<child>
<object class="GtkSpinButton" id="year-spinbutton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">&#x2022;</property>
<property name="width_chars">5</property>
<property name="numeric">True</property>
<property name="wrap">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="year-accessible">
<property name="accessible-description" translatable="yes">Year</property>
</object>
</child>
</object>
<packing>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="padding">12</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkBox" id="24h_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkRadioButton" id="24h_button">
<property name="label" translatable="yes">24-hour</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
<property name="xalign">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="12h_button">
<property name="label" translatable="yes">AM/PM</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
<property name="xalign">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">24h_button</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">3</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</object>
<object class="GtkListStore" id="region-liststore">
<columns>
<!-- column-name region -->
<column type="gchararray"/>
<!-- column-name region-translated -->
<column type="gchararray"/>
</columns>
</object>
<object class="GtkListStore" id="city-liststore">
<columns>
<!-- column-name city -->
<column type="gchararray"/>
<!-- column-name region -->
<column type="gchararray"/>
<!-- column-name city-translated -->
<column type="gchararray"/>
<!-- column-name region-translated -->
<column type="gchararray"/>
<!-- column-name zone -->
<column type="gchararray"/>
</columns>
</object>
<object class="GtkListStore" id="month-liststore">
<columns>
<!-- column-name gchararray1 -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0" translatable="yes">January</col>
</row>
<row>
<col id="0" translatable="yes">February</col>
</row>
<row>
<col id="0" translatable="yes">March</col>
</row>
<row>
<col id="0" translatable="yes">April</col>
</row>
<row>
<col id="0" translatable="yes">May</col>
</row>
<row>
<col id="0" translatable="yes">June</col>
</row>
<row>
<col id="0" translatable="yes">July</col>
</row>
<row>
<col id="0" translatable="yes">August</col>
</row>
<row>
<col id="0" translatable="yes">September</col>
</row>
<row>
<col id="0" translatable="yes">October</col>
</row>
<row>
<col id="0" translatable="yes">November</col>
</row>
<row>
<col id="0" translatable="yes">December</col>
</row>
</data>
</object>
<object class="GtkListStore" id="day-liststore">
<columns>
<!-- column-name gchararray1 -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0">22</col>
</row>
</data>
</object>
<object class="GtkListStore" id="year-liststore">
<columns>
<!-- column-name gchararray1 -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0">2010</col>
</row>
</data>
</object>
<object class="GtkTreeModelFilter" id="city-modelfilter">
<property name="child_model">city-liststore</property>
</object>
<object class="GtkTreeModelSort" id="city-modelsort">
<property name="model">city-modelfilter</property>
</object>
</interface>