diff options
author | Pablo Barciela <[email protected]> | 2018-03-08 23:22:47 +0100 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2018-03-08 23:22:47 +0100 |
commit | ea3be53b46011fca17140fe2fa791087d1168c35 (patch) | |
tree | 618a7d0f371bd0d7699c9b638e7a0dc910a489cb /plugins/time | |
parent | 6b9d287567779c8956470d2693fbeb54e970b713 (diff) | |
download | pluma-ea3be53b46011fca17140fe2fa791087d1168c35.tar.bz2 pluma-ea3be53b46011fca17140fe2fa791087d1168c35.tar.xz |
pluma-time-setup-dialog.ui plugin: avoid deprecated:
avoid deprecated:
GtkVBox
GtkHBox
GtkLabel:xpad/ypad
GtkButton:use-stock
Diffstat (limited to 'plugins/time')
-rw-r--r-- | plugins/time/pluma-time-setup-dialog.ui | 225 |
1 files changed, 117 insertions, 108 deletions
diff --git a/plugins/time/pluma-time-setup-dialog.ui b/plugins/time/pluma-time-setup-dialog.ui index 4d14f1b8..54ac4fc4 100644 --- a/plugins/time/pluma-time-setup-dialog.ui +++ b/plugins/time/pluma-time-setup-dialog.ui @@ -1,321 +1,327 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.20.2 --> <!--*- mode: xml -*--> <interface> - <requires lib="gtk+" version="2.16"/> + <requires lib="gtk+" version="3.22"/> + <object class="GtkImage" id="image1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">help-browser</property> + </object> + <object class="GtkImage" id="image2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">process-stop</property> + </object> + <object class="GtkImage" id="image3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">gtk-ok</property> + </object> <object class="GtkDialog" id="time_dialog"> + <property name="can_focus">False</property> <property name="title" translatable="yes">Configure date/time plugin</property> - <property name="type">GTK_WINDOW_TOPLEVEL</property> - <property name="window_position">GTK_WIN_POS_NONE</property> - <property name="modal">False</property> <property name="resizable">False</property> - <property name="destroy_with_parent">False</property> + <property name="type_hint">normal</property> <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox1"> + <object class="GtkBox" id="dialog-vbox1"> <property name="visible">True</property> - <property name="homogeneous">False</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">8</property> <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area1"> + <object class="GtkButtonBox" id="dialog-action_area1"> <property name="visible">True</property> - <property name="layout_style">GTK_BUTTONBOX_END</property> + <property name="can_focus">False</property> + <property name="layout_style">end</property> <child> <object class="GtkButton" id="button1"> + <property name="label" translatable="yes">_Help</property> <property name="visible">True</property> - <property name="can_default">True</property> <property name="can_focus">True</property> - <property name="label">gtk-help</property> - <property name="use_stock">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> + <property name="image">image1</property> + <property name="use_underline">True</property> </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> </child> <child> <object class="GtkButton" id="button3"> + <property name="label" translatable="yes">_Cancel</property> <property name="visible">True</property> - <property name="can_default">True</property> <property name="can_focus">True</property> - <property name="label">gtk-cancel</property> - <property name="use_stock">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> + <property name="image">image2</property> + <property name="use_underline">True</property> </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> </child> <child> <object class="GtkButton" id="button4"> + <property name="label" translatable="yes">_OK</property> <property name="visible">True</property> - <property name="can_default">True</property> <property name="can_focus">True</property> - <property name="label">gtk-ok</property> - <property name="use_stock">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> + <property name="image">image3</property> + <property name="use_underline">True</property> </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> </child> </object> <packing> - <property name="padding">0</property> <property name="expand">False</property> <property name="fill">True</property> - <property name="pack_type">GTK_PACK_END</property> + <property name="pack_type">end</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkVBox" id="time_dialog_content"> - <property name="border_width">10</property> + <object class="GtkBox" id="time_dialog_content"> <property name="visible">True</property> - <property name="homogeneous">False</property> + <property name="can_focus">False</property> + <property name="border_width">10</property> + <property name="orientation">vertical</property> <property name="spacing">6</property> <child> <object class="GtkLabel" id="label1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes">When inserting date/time...</property> - <property name="use_underline">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> <property name="xalign">0</property> <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> <attributes> <attribute name="weight" value="bold"/> </attributes> </object> <packing> - <property name="padding">0</property> <property name="expand">False</property> <property name="fill">False</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkHBox" id="hbox2"> + <object class="GtkBox" id="hbox2"> <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">0</property> + <property name="can_focus">False</property> <child> <object class="GtkLabel" id="label3"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes"> </property> - <property name="use_underline">False</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> <property name="xalign">0.5</property> <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> </object> <packing> - <property name="padding">0</property> <property name="expand">False</property> <property name="fill">False</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkVBox" id="vbox4"> + <object class="GtkBox" id="vbox4"> <property name="visible">True</property> - <property name="homogeneous">False</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">6</property> <child> <object class="GtkRadioButton" id="always_prompt"> + <property name="label" translatable="yes">_Prompt for a format</property> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">_Prompt for a format</property> + <property name="receives_default">False</property> + <property name="halign">start</property> <property name="use_underline">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="active">False</property> - <property name="inconsistent">False</property> <property name="draw_indicator">True</property> </object> <packing> - <property name="padding">0</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkVBox" id="vbox5"> + <object class="GtkBox" id="vbox5"> <property name="visible">True</property> - <property name="homogeneous">False</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">6</property> <child> <object class="GtkRadioButton" id="never_prompt"> + <property name="label" translatable="yes">Use the _selected format</property> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">Use the _selected format</property> + <property name="receives_default">False</property> + <property name="halign">start</property> <property name="use_underline">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="active">False</property> - <property name="inconsistent">False</property> <property name="draw_indicator">True</property> <property name="group">always_prompt</property> </object> <packing> - <property name="padding">0</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkHBox" id="hbox3"> + <object class="GtkBox" id="hbox3"> <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">0</property> + <property name="can_focus">False</property> <child> <object class="GtkLabel" id="label4"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes"> </property> - <property name="use_underline">False</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> <property name="xalign">0.5</property> <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> </object> <packing> - <property name="padding">0</property> <property name="expand">False</property> <property name="fill">False</property> + <property name="position">0</property> </packing> </child> <child> <object class="GtkScrolledWindow" id="formats_viewport"> <property name="visible">True</property> - <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> - <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> - <property name="shadow_type">GTK_SHADOW_IN</property> - <property name="window_placement">GTK_CORNER_TOP_LEFT</property> + <property name="can_focus">False</property> + <property name="shadow_type">in</property> <child> <object class="GtkTreeView" id="formats_tree"> <property name="visible">True</property> + <property name="can_focus">True</property> <property name="headers_visible">False</property> - <property name="rules_hint">False</property> - <property name="reorderable">False</property> - <property name="enable_search">True</property> + <child internal-child="selection"> + <object class="GtkTreeSelection"/> + </child> </object> </child> </object> <packing> - <property name="padding">0</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> <packing> - <property name="padding">0</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> <packing> - <property name="padding">0</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="position">1</property> </packing> </child> <child> - <object class="GtkVBox" id="vbox6"> + <object class="GtkBox" id="vbox6"> <property name="visible">True</property> - <property name="homogeneous">False</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">2</property> <child> - <object class="GtkHBox" id="hbox1"> + <object class="GtkBox" id="hbox1"> <property name="visible">True</property> - <property name="homogeneous">False</property> + <property name="can_focus">False</property> <property name="spacing">12</property> <child> <object class="GtkRadioButton" id="use_custom"> + <property name="label" translatable="yes">_Use custom format</property> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">_Use custom format</property> + <property name="receives_default">False</property> <property name="use_underline">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="active">False</property> - <property name="inconsistent">False</property> <property name="draw_indicator">True</property> <property name="group">always_prompt</property> </object> <packing> - <property name="padding">0</property> <property name="expand">False</property> <property name="fill">False</property> + <property name="position">0</property> </packing> </child> <child> <object class="GtkEntry" id="custom_entry"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="editable">True</property> - <property name="visibility">True</property> - <property name="max_length">0</property> <property name="text" translatable="yes" comments="Translators: Use the more common date format in your locale">%d/%m/%Y %H:%M:%S</property> - <property name="has_frame">True</property> - <property name="activates_default">False</property> </object> <packing> - <property name="padding">0</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> <packing> - <property name="padding">2</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="padding">2</property> + <property name="position">0</property> </packing> </child> <child> <object class="GtkLabel" id="custom_format_example"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes" comments="Translators: This example should follow the date format defined in the entry above">01/11/2009 17:52:00</property> - <property name="use_underline">False</property> - <property name="justify">GTK_JUSTIFY_RIGHT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> + <property name="justify">right</property> <property name="xalign">1</property> <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> <attributes> - <attribute name="scale" value="0.8"/><!-- PANGO_SCALE_SMALL --> + <attribute name="scale" value="0.80000000000000004"/> </attributes> </object> <packing> - <property name="padding">0</property> <property name="expand">False</property> <property name="fill">False</property> + <property name="position">1</property> </packing> </child> </object> <packing> - <property name="padding">0</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="position">2</property> </packing> </child> </object> <packing> - <property name="padding">0</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> <packing> - <property name="padding">0</property> <property name="expand">True</property> <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> <packing> - <property name="padding">0</property> <property name="expand">False</property> <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> @@ -325,5 +331,8 @@ <action-widget response="0">button3</action-widget> <action-widget response="0">button4</action-widget> </action-widgets> + <child> + <placeholder/> + </child> </object> </interface> |