region: Various small improvements to CcFormatChooser
This commit is contained in:
parent
6f2875e467
commit
eaa62700f6
2 changed files with 6 additions and 23 deletions
|
@ -247,6 +247,7 @@ region_widget_new (CcFormatChooser *self,
|
||||||
gtk_list_box_row_set_child (GTK_LIST_BOX_ROW (row), box);
|
gtk_list_box_row_set_child (GTK_LIST_BOX_ROW (row), box);
|
||||||
|
|
||||||
check = gtk_image_new_from_icon_name ("object-select-symbolic");
|
check = gtk_image_new_from_icon_name ("object-select-symbolic");
|
||||||
|
gtk_widget_set_halign (check, GTK_ALIGN_START);
|
||||||
gtk_widget_set_hexpand (check, TRUE);
|
gtk_widget_set_hexpand (check, TRUE);
|
||||||
gtk_widget_set_opacity (check, 0.0);
|
gtk_widget_set_opacity (check, 0.0);
|
||||||
gtk_box_append (GTK_BOX (box), check);
|
gtk_box_append (GTK_BOX (box), check);
|
||||||
|
|
|
@ -65,24 +65,10 @@
|
||||||
<signal name="notify::fold" handler="format_chooser_leaflet_fold_changed_cb" object="CcFormatChooser" swapped="yes"/>
|
<signal name="notify::fold" handler="format_chooser_leaflet_fold_changed_cb" object="CcFormatChooser" swapped="yes"/>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="region_box">
|
<object class="GtkBox" id="region_box">
|
||||||
<property name="margin-top">18</property>
|
|
||||||
<property name="vexpand">True</property>
|
<property name="vexpand">True</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel">
|
|
||||||
<property name="margin-start">18</property>
|
|
||||||
<property name="margin-end">18</property>
|
|
||||||
<property name="label" translatable="yes">Choose the format for numbers, dates and currencies. Changes take effect on next login.</property>
|
|
||||||
<property name="wrap">True</property>
|
|
||||||
<property name="max-width-chars">32</property>
|
|
||||||
<property name="xalign">0.0</property>
|
|
||||||
<style>
|
|
||||||
<class name="dim-label" />
|
|
||||||
</style>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<!-- Language search -->
|
<!-- Language search -->
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSearchEntry" id="region_filter_entry">
|
<object class="GtkSearchEntry" id="region_filter_entry">
|
||||||
|
@ -139,7 +125,6 @@
|
||||||
<!-- Common formats list -->
|
<!-- Common formats list -->
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkListBox" id="common_region_listbox">
|
<object class="GtkListBox" id="common_region_listbox">
|
||||||
<property name="vexpand">True</property>
|
|
||||||
<property name="margin-bottom">24</property>
|
<property name="margin-bottom">24</property>
|
||||||
<property name="selection-mode">none</property>
|
<property name="selection-mode">none</property>
|
||||||
<signal name="row-activated" handler="row_activated" object="CcFormatChooser" swapped="yes" />
|
<signal name="row-activated" handler="row_activated" object="CcFormatChooser" swapped="yes" />
|
||||||
|
@ -239,10 +224,8 @@
|
||||||
<!-- Format preview -->
|
<!-- Format preview -->
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox" id="preview_box">
|
<object class="GtkBox" id="preview_box">
|
||||||
|
<property name="hexpand">False</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<style>
|
|
||||||
<class name="view" />
|
|
||||||
</style>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="margin_top">24</property>
|
<property name="margin_top">24</property>
|
||||||
|
@ -251,10 +234,9 @@
|
||||||
<property name="hexpand">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="xalign">0</property>
|
<property name="xalign">0</property>
|
||||||
<property name="label" translatable="yes">Preview</property>
|
<property name="label" translatable="yes">Preview</property>
|
||||||
<attributes>
|
<style>
|
||||||
<attribute name="weight" value="bold"/>
|
<class name="title-3" />
|
||||||
<attribute name="scale" value="1.18" />
|
</style>
|
||||||
</attributes>
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
|
Loading…
Add table
Reference in a new issue