diff options
Diffstat (limited to 'panels/region/cc-format-chooser.ui')
-rw-r--r-- | panels/region/cc-format-chooser.ui | 463 |
1 files changed, 463 insertions, 0 deletions
diff --git a/panels/region/cc-format-chooser.ui b/panels/region/cc-format-chooser.ui new file mode 100644 index 0000000..35cbd8a --- /dev/null +++ b/panels/region/cc-format-chooser.ui @@ -0,0 +1,463 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <template class="CcFormatChooser" parent="GtkDialog"> + <property name="can_focus">False</property> + <property name="title" translatable="yes">Formats</property> + <property name="type_hint">dialog</property> + <property name="modal">True</property> + <property name="default-width">700</property> + <property name="default-height">500</property> + + <!-- Titlebar --> + <child type="titlebar"> + <object class="GtkHeaderBar" id="title_bar"> + <property name="visible">1</property> + + <child> + <object class="GtkStack" id="title_buttons"> + <property name="visible">1</property> + <property name="homogeneous">0</property> + + <!-- Cancel button --> + <child> + <object class="GtkButton" id="cancel_button"> + <property name="visible">1</property> + <property name="valign">center</property> + <property name="use-underline">1</property> + <property name="label" translatable="yes">_Cancel</property> + </object> + </child> + + <!-- Back button --> + <child> + <object class="GtkButton" id="back_button"> + <property name="visible">1</property> + <signal name="clicked" handler="format_chooser_back_button_clicked_cb" object="CcFormatChooser" swapped="yes" /> + <style> + <class name="image-button" /> + </style> + <child> + <object class="GtkImage"> + <property name="visible">1</property> + <property name="icon_name">go-previous-symbolic</property> + </object> + </child> + <child internal-child="accessible"> + <object class="AtkObject"> + <property name="accessible-name" translatable="yes">Back</property> + </object> + </child> + </object> + </child> + + </object> + </child> + + <child> + <object class="GtkButton" id="done_button"> + <property name="visible">1</property> + <property name="can-default">1</property> + <property name="receives-default">1</property> + <property name="valign">center</property> + <property name="use-underline">1</property> + <property name="label" translatable="yes">_Done</property> + <style> + <class name="suggested-action" /> + </style> + </object> + <packing> + <property name="pack-type">end</property> + </packing> + </child> + + </object> + </child> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog-vbox1"> + <property name="can_focus">False</property> + <property name="border-width">0</property> + <property name="orientation">vertical</property> + <child> + <object class="HdyLeaflet" id="main_leaflet"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <signal name="notify::fold" handler="format_chooser_leaflet_fold_changed_cb" object="CcFormatChooser" swapped="yes"/> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="margin-top">18</property> + <property name="can_focus">False</property> + <property name="vexpand">True</property> + <property name="orientation">vertical</property> + + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <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 --> + <child> + <object class="GtkSearchEntry" id="region_filter_entry"> + <property name="visible">True</property> + <property name="hexpand">True</property> + <property name="can_focus">True</property> + <property name="placeholder-text" translatable="yes">Search locales...</property> + <property name="margin-top">12</property> + <property name="margin-bottom">18</property> + <property name="margin-start">18</property> + <property name="margin-end">18</property> + <signal name="search-changed" handler="filter_changed" object="CcFormatChooser" swapped="yes" /> + </object> + </child> + + <child> + <object class="GtkSeparator"> + <property name="visible">1</property> + <style> + <class name="sidebar" /> + </style> + </object> + </child> + + <!-- Language format list --> + <child> + <object class="GtkStack" id="region_list_stack"> + <property name="visible">True</property> + <child> + <object class="GtkScrolledWindow" id="region_list"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="vexpand">True</property> + <property name="hscrollbar_policy">never</property> + <property name="vscrollbar_policy">automatic</property> + <property name="propagate-natural-height">True</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin">18</property> + <property name="orientation">vertical</property> + + <!-- Common formats title --> + <child> + <object class="GtkLabel" id="common_region_title"> + <property name="visible">True</property> + <property name="label" translatable="yes">Common Formats</property> + <property name="halign">start</property> + <property name="margin-bottom">6</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <style> + <class name="dim-label" /> + </style> + </object> + </child> + + <!-- Common formats list --> + <child> + <object class="GtkListBox" id="common_region_listbox"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="vexpand">True</property> + <property name="margin-bottom">24</property> + <property name="selection-mode">none</property> + <signal name="row-activated" handler="row_activated" object="CcFormatChooser" swapped="yes" /> + <style> + <class name="frame" /> + </style> + </object> + </child> + + <!-- Complete formats title --> + <child> + <object class="GtkLabel" id="region_title"> + <property name="visible">True</property> + <property name="label" translatable="yes">All Formats</property> + <property name="halign">start</property> + <property name="margin-bottom">6</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <style> + <class name="dim-label" /> + </style> + </object> + </child> + + <!-- Complete formats list --> + <child> + <object class="GtkListBox" id="region_listbox"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="vexpand">True</property> + <property name="halign">fill</property> + <property name="valign">start</property> + <property name="selection-mode">none</property> + <signal name="row-activated" handler="row_activated" object="CcFormatChooser" swapped="yes" /> + <style> + <class name="frame" /> + </style> + </object> + </child> + + </object> + </child> + </object> + </child> + + <!-- Empty search results view --> + <child> + <object class="GtkBox" id="empty_results_view"> + <property name="visible">True</property> + <property name="valign">center</property> + <property name="halign">center</property> + <property name="hexpand">False</property> + <property name="margin-bottom">18</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">system-search-symbolic</property> + <property name="pixel-size">64</property> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="label" translatable="yes">No Search Results</property> + <attributes> + <attribute name="weight" value="bold"/> + <attribute name="scale" value="1.2"/> + </attributes> + </object> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="wrap">True</property> + <property name="max-width-chars">24</property> + <property name="justify">center</property> + <property name="label" translatable="yes">Searches can be for countries or languages.</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + </object> + </child> + + </object> + </child> + + </object> + <packing> + <property name="name">region-list</property> + </packing> + </child> + + <child> + <object class="GtkSeparator" id="panel_separator"> + <property name="visible">1</property> + <property name="orientation">vertical</property> + <style> + <class name="sidebar" /> + </style> + </object> + </child> + + <!-- Format preview --> + <child> + <object class="GtkBox"> + <property name="visible">1</property> + <property name="width-request">300</property> + <style> + <class name="view" /> + </style> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin">24</property> + <property name="hexpand">True</property> + <property name="spacing">4</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_bottom">6</property> + <property name="halign">center</property> + <property name="hexpand">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Preview</property> + <attributes> + <attribute name="weight" value="bold"/> + <attribute name="scale" value="1.18" /> + </attributes> + </object> + </child> + + <!-- Dates --> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="margin-top">18</property> + <property name="label" translatable="yes">Dates</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="date_format_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label">23 January 2013</property> + </object> + </child> + + <!-- Times --> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="margin-top">18</property> + <property name="label" translatable="yes">Times</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="time_format_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label">11:31 AM</property> + </object> + </child> + + <!-- Date & Times --> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="margin-top">18</property> + <property name="label" translatable="yes">Dates & Times</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="date_time_format_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label">Sun Wed 2 11:31:00 KST 2013</property> + </object> + </child> + + <!-- Numbers --> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="margin-top">18</property> + <property name="label" translatable="yes">Numbers</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="number_format_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label">123,456,789.00</property> + </object> + </child> + + <!-- Measurement --> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="margin-top">18</property> + <property name="label" translatable="yes">Measurement</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="measurement_format_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label">Metric</property> + </object> + </child> + + <!-- Paper --> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="margin-top">18</property> + <property name="label" translatable="yes">Paper</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="paper_format_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label">A4</property> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="name">preview</property> + </packing> + </child> + + </object> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-5" default="true">done_button</action-widget> + <action-widget response="-6">cancel_button</action-widget> + </action-widgets> + </template> +</interface> |