diff options
Diffstat (limited to 'src/zenity.ui')
-rw-r--r-- | src/zenity.ui | 968 |
1 files changed, 353 insertions, 615 deletions
diff --git a/src/zenity.ui b/src/zenity.ui index 03f9684..f2bb9b4 100644 --- a/src/zenity.ui +++ b/src/zenity.ui @@ -5,748 +5,486 @@ <interface> <requires lib="gtk" version="4.0"/> - <object class="GtkAdjustment" id="adjustment1"> + <object class="AdwMessageDialog" id="zenity_scale_dialog"> + <property name="title" translatable="yes">Adjust the scale value</property> + <property name="default_width">300</property> + <property name="default_height">100</property> + <property name="extra-child">zenity_scale_box</property> + <responses> + <response id="cancel" translatable="yes">_Cancel</response> + <response id="ok" translatable="yes">_OK</response> + </responses> + </object> + <object class="GtkAdjustment" id="zenity_scale_adjustment"> <property name="upper">100</property> <property name="step_increment">1</property> <property name="page_increment">1</property> </object> - <object class="GtkDialog" id="zenity_scale_dialog"> - <property name="visible">1</property> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Adjust the scale value</property> - <property name="default_width">300</property> - <property name="default_height">100</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox11"> - <property name="can_focus">0</property> - <child> - <object class="GtkBox" id="vbox13"> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="zenity_scale_text"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">Adjust the scale value</property> - <property name="xalign">0</property> - </object> - </child> - <child> - <object class="GtkScale" id="zenity_scale_hscale"> - <property name="hexpand">true</property> - <property name="draw-value">1</property> - <property name="adjustment">adjustment1</property> - <property name="digits">0</property> - <property name="value_pos">right</property> - </object> - </child> - </object> - </child> + <object class="GtkBox" id="zenity_scale_box"> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkLabel" id="zenity_scale_text"> + <property name="valign">center</property> + <property name="vexpand">true</property> + <property name="label" translatable="yes">Adjust the scale value</property> + <property name="xalign">0</property> </object> </child> - <action-widgets> - <action-widget response="-6">zenity_scale_cancel_button</action-widget> - <action-widget response="-5" default="true">zenity_scale_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area11"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_scale_cancel_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_Cancel</property> - </object> - </child> - <child> - <object class="GtkButton" id="zenity_scale_ok_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_OK</property> - </object> - </child> + <child> + <object class="GtkScale" id="zenity_scale_hscale"> + <property name="hexpand">true</property> + <property name="draw-value">1</property> + <property name="adjustment">zenity_scale_adjustment</property> + <property name="digits">0</property> + <property name="value_pos">right</property> </object> </child> </object> - <object class="GtkTextBuffer" id="textbuffer1"/> - <object class="GtkDialog" id="zenity_text_dialog"> - <property name="can_focus">0</property> + <object class="AdwMessageDialog" id="zenity_text_dialog"> <property name="title" translatable="yes">Text View</property> <property name="default_width">300</property> <property name="default_height">200</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox5"> - <property name="can_focus">0</property> - <property name="spacing">2</property> + <property name="resizable">true</property> + <property name="extra-child">zenity_text_box</property> + <responses> + <response id="cancel" translatable="yes">_Cancel</response> + <response id="ok" translatable="yes">_OK</response> + </responses> + </object> + <object class="GtkBox" id="zenity_text_box"> + <property name="spacing">2</property> + <child> + <object class="GtkBox" id="vbox5"> + <property name="hexpand">1</property> + <property name="orientation">vertical</property> <child> - <object class="GtkBox" id="vbox5"> - <property name="hexpand">1</property> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <child> - <object class="GtkScrolledWindow" id="zenity_text_scrolled_window"> - <property name="vexpand">1</property> - <property name="child"> - <object class="GtkTextView" id="zenity_text_view"> - <property name="pixels_above_lines">2</property> - <property name="pixels_below_lines">2</property> - <property name="editable">0</property> - <property name="wrap_mode">word</property> - <property name="left_margin">2</property> - <property name="right_margin">2</property> - <property name="buffer">textbuffer1</property> - </object> - </property> - </object> - </child> - <child> - <object class="GtkCheckButton" id="zenity_text_checkbox"> - <property name="valign">center</property> - <property name="visible">0</property> + <object class="GtkScrolledWindow" id="zenity_text_scrolled_window"> + <property name="vexpand">1</property> + <property name="child"> + <object class="GtkTextView" id="zenity_text_view"> + <property name="editable">false</property> + <property name="wrap_mode">word</property> </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">zenity_text_cancel_button</action-widget> - <action-widget response="-7" default="true">zenity_text_close_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area5"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_text_cancel_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_Cancel</property> + </property> </object> </child> <child> - <object class="GtkButton" id="zenity_text_close_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_OK</property> + <object class="GtkCheckButton" id="zenity_text_checkbox"> + <property name="valign">center</property> + <property name="visible">0</property> </object> </child> </object> </child> </object> - <object class="GtkDialog" id="zenity_calendar_dialog"> - <property name="can_focus">0</property> + <object class="AdwMessageDialog" id="zenity_calendar_dialog"> <property name="title" translatable="yes">Calendar selection</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox2"> - <property name="can_focus">0</property> - <property name="spacing">2</property> + <property name="extra-child">zenity_calendar_box</property> + <responses> + <response id="cancel" translatable="yes">_Cancel</response> + <response id="ok" translatable="yes">_OK</response> + </responses> + </object> + <object class="GtkBox" id="zenity_calendar_box"> + <property name="spacing">2</property> + <child> + <object class="GtkBox" id="vbox1"> + <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> - <object class="GtkBox" id="vbox1"> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> + <object class="GtkBox" id="vbox2"> + <property name="vexpand">1</property> <property name="spacing">6</property> <child> - <object class="GtkBox" id="vbox2"> - <property name="vexpand">1</property> - <property name="can_focus">0</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="zenity_calendar_text"> - <property name="halign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">Select a date from below.</property> - <property name="wrap">1</property> - <property name="xalign">0</property> - </object> - </child> - </object> - </child> - <child> - <object class="GtkLabel" id="zenity_calendar_label"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">C_alendar:</property> - <property name="use_underline">1</property> - <property name="mnemonic_widget">zenity_calendar</property> + <object class="GtkLabel" id="zenity_calendar_text"> + <property name="halign">center</property> + <property name="label" translatable="yes">Select a date from below.</property> + <property name="wrap">1</property> <property name="xalign">0</property> - <accessibility> - <property name="label" translatable="yes">Calendar</property> - <relation name="labelled-by">zenity_calendar</relation> - </accessibility> - </object> - </child> - <child> - <object class="GtkCalendar" id="zenity_calendar"> - <property name="valign">center</property> </object> </child> </object> </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">zenity_calendar_cancel_button</action-widget> - <action-widget response="-5" default="true">zenity_calendar_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area2"> - <property name="visible">True</property> - <property name="can_focus">False</property> <child> - <object class="GtkButton" id="zenity_calendar_cancel_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_Cancel</property> + <object class="GtkLabel" id="zenity_calendar_label"> + <property name="valign">center</property> + <property name="label" translatable="yes">C_alendar:</property> + <property name="use_underline">1</property> + <property name="mnemonic_widget">zenity_calendar</property> + <property name="xalign">0</property> + <accessibility> + <property name="label" translatable="yes">Calendar</property> + <relation name="labelled-by">zenity_calendar</relation> + </accessibility> </object> </child> <child> - <object class="GtkButton" id="zenity_calendar_ok_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_OK</property> + <object class="GtkCalendar" id="zenity_calendar"> + <property name="valign">center</property> + <property name="vexpand">true</property> </object> </child> </object> </child> </object> - <object class="GtkDialog" id="zenity_entry_dialog"> - <property name="can_focus">0</property> + <object class="AdwMessageDialog" id="zenity_entry_dialog"> <property name="title" translatable="yes">Add a new entry</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox4"> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <property name="spacing">2</property> - <property name="margin-start">12</property> - <property name="margin-end">12</property> - <property name="margin-bottom">12</property> - <property name="margin-top">12</property> - <child> - <object class="GtkBox" id="vbox3"> - <property name="can_focus">0</property> + <property name="extra-child">zenity_entry_box</property> + <responses> + <response id="cancel" translatable="yes">_Cancel</response> + <response id="ok" translatable="yes">_OK</response> + </responses> + </object> + <object class="GtkBox" id="zenity_entry_box"> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-bottom">12</property> + <property name="margin-top">12</property> + <child> + <object class="GtkBox" id="vbox3"> + <child> + <object class="GtkBox" id="vbox4"> + <property name="hexpand">1</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> - <object class="GtkBox" id="vbox4"> - <property name="hexpand">1</property> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="zenity_entry_text"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">_Enter new text:</property> - <property name="use_underline">1</property> - <property name="xalign">0</property> - </object> - </child> - <child> - <placeholder/> - </child> + <object class="GtkLabel" id="zenity_entry_text"> + <property name="valign">center</property> + <property name="label" translatable="yes">_Enter new text:</property> + <property name="use_underline">1</property> + <property name="xalign">0</property> </object> </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">zenity_entry_cancel_button</action-widget> - <action-widget response="-5" default="true">zenity_entry_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area4"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_entry_cancel_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_Cancel</property> - </object> - </child> - <child> - <object class="GtkButton" id="zenity_entry_ok_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_OK</property> - </object> - </child> - </object> - </child> - </object> - <object class="GtkDialog" id="zenity_error_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Error</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox7"> - <property name="can_focus">0</property> - <property name="spacing">14</property> - <property name="margin-start">12</property> - <property name="margin-end">12</property> - <property name="margin-bottom">12</property> - <property name="margin-top">12</property> - <child> - <object class="GtkBox" id="vbox8"> - <property name="can_focus">0</property> <child> - <object class="GtkBox" id="hbox3"> - <property name="hexpand">1</property> - <property name="can_focus">0</property> - <property name="spacing">12</property> - <child> - <object class="GtkImage" id="zenity_error_image"> - <property name="halign">center</property> - <property name="can_focus">0</property> - <property name="icon_name">dialog-error</property> - <property name="icon_size">large</property> - </object> - </child> - <child> - <object class="GtkLabel" id="zenity_error_text"> - <property name="halign">center</property> - <property name="label" translatable="yes">An error has occurred.</property> - <property name="wrap">1</property> - <property name="selectable">1</property> - <property name="yalign">0</property> - </object> - </child> - </object> + <placeholder/> </child> </object> </child> </object> </child> - <action-widgets> - <action-widget response="-5" default="true">zenity_error_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area7"> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_error_ok_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_OK</property> - </object> - </child> - </object> - </child> </object> - <object class="GtkDialog" id="zenity_forms_dialog"> - <property name="can_focus">0</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox12"> - <property name="can_focus">0</property> - <property name="spacing">2</property> - <child> - <object class="GtkFrame" id="frame1"> - <property name="can_focus">0</property> - <property name="child"> - <object class="GtkGrid" id="zenity_forms_grid"> - <property name="can_focus">0</property> - <property name="margin-start">12</property> - <property name="margin-end">6</property> - <property name="margin_top">12</property> - <property name="margin_bottom">6</property> - <property name="row_spacing">6</property> - <property name="column_spacing">10</property> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - </object> - </property> - <child type="label"> - <object class="GtkLabel" id="zenity_forms_text"> - <property name="can_focus">0</property> - <property name="label" translatable="yes">Forms dialog</property> - <attributes> - <attribute name="weight" value="bold"></attribute> - </attributes> - </object> - </child> - </object> - </child> - </object> - </child> - <action-widgets> - <action-widget response="-6">zenity_forms_cancel_button</action-widget> - <action-widget response="-5" default="true">zenity_forms_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area12"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_forms_cancel_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_Cancel</property> - </object> - </child> - <child> - <object class="GtkButton" id="zenity_forms_ok_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_OK</property> - </object> - </child> - </object> - </child> + <object class="AdwMessageDialog" id="zenity_error_dialog"> + <property name="title" translatable="yes">Error</property> + <property name="extra-child">zenity_error_box</property> + <responses> + <response id="ok" translatable="yes">_OK</response> + </responses> </object> - <object class="GtkDialog" id="zenity_info_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Information</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox9"> - <property name="can_focus">0</property> - <property name="spacing">14</property> - <property name="margin-start">12</property> - <property name="margin-end">12</property> - <property name="margin-bottom">12</property> - <property name="margin-top">12</property> - - <child> - <object class="GtkBox" id="hbox4"> - <property name="can_focus">0</property> + <object class="GtkBox" id="zenity_error_box"> + <property name="spacing">14</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-bottom">12</property> + <property name="margin-top">12</property> + <child> + <object class="GtkBox" id="vbox8"> + <child> + <object class="GtkBox" id="hbox3"> + <property name="hexpand">1</property> <property name="spacing">12</property> <child> - <object class="GtkImage" id="zenity_info_image"> + <object class="GtkImage" id="zenity_error_image"> <property name="halign">center</property> - <property name="can_focus">0</property> - <property name="icon_name">dialog-information</property> + <property name="icon_name">dialog-error</property> <property name="icon_size">large</property> </object> </child> <child> - <object class="GtkLabel" id="zenity_info_text"> + <object class="GtkLabel" id="zenity_error_text"> <property name="halign">center</property> - <property name="label" translatable="yes">All updates are complete.</property> - <property name="wrap">1</property> - <property name="selectable">1</property> - <property name="yalign">0</property> + <property name="label" translatable="yes">An error has occurred.</property> + <property name="wrap">true</property> + <property name="selectable">true</property> + <property name="can-focus">false</property> </object> </child> </object> </child> </object> </child> - <action-widgets> - <action-widget response="-5" default="true">zenity_info_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area3"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_info_ok_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_OK</property> - </object> - </child> - </object> - </child> </object> - <object class="GtkDialog" id="zenity_progress_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Progress</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox6"> - <property name="can_focus">0</property> - <property name="spacing">2</property> - <child> - <object class="GtkBox" id="vbox7"> - <property name="halign">center</property> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> + <object class="AdwMessageDialog" id="zenity_forms_dialog"> + <property name="extra-child">zenity_forms_box</property> + <responses> + <response id="cancel" translatable="yes">_Cancel</response> + <response id="ok" translatable="yes">_OK</response> + </responses> + </object> + <object class="GtkBox" id="zenity_forms_box"> + <property name="spacing">2</property> + <child> + <object class="GtkFrame" id="frame1"> + <property name="child"> + <object class="GtkGrid" id="zenity_forms_grid"> + <property name="margin-start">12</property> + <property name="margin-end">6</property> + <property name="margin_top">12</property> + <property name="margin_bottom">6</property> + <property name="row_spacing">6</property> + <property name="column_spacing">10</property> <child> - <object class="GtkLabel" id="zenity_progress_text"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">Running...</property> - <property name="wrap">1</property> - <property name="xalign">0</property> - </object> + <placeholder/> </child> <child> - <object class="GtkProgressBar" id="zenity_progress_bar"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="pulse_step">0.10000000149</property> - </object> + <placeholder/> </child> <child> - <object class="GtkLabel" id="zenity_progress_time"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="xalign">0</property> - </object> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> </child> </object> + </property> + <child type="label"> + <object class="GtkLabel" id="zenity_forms_text"> + <property name="label" translatable="yes">Forms dialog</property> + <attributes> + <attribute name="weight" value="bold"></attribute> + </attributes> + </object> </child> </object> </child> - <action-widgets> - <action-widget response="-6">zenity_progress_cancel_button</action-widget> - <action-widget response="-5" default="true">zenity_progress_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area6"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkButton" id="zenity_progress_cancel_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_Cancel</property> + </object> + <object class="AdwMessageDialog" id="zenity_info_dialog"> + <property name="title" translatable="yes">Information</property> + <property name="extra-child">zenity_info_box</property> + <responses> + <response id="ok" translatable="yes">_OK</response> + </responses> + </object> + <object class="GtkBox" id="zenity_info_box"> + <property name="spacing">14</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-bottom">12</property> + <property name="margin-top">12</property> + <child> + <object class="GtkBox" id="hbox4"> + <property name="spacing">12</property> + <child> + <object class="GtkImage" id="zenity_info_image"> + <property name="halign">center</property> + <property name="icon_name">dialog-information</property> + <property name="icon_size">large</property> </object> </child> <child> - <object class="GtkButton" id="zenity_progress_ok_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_OK</property> - <property name="sensitive">0</property> + <object class="GtkLabel" id="zenity_info_text"> + <property name="halign">center</property> + <property name="vexpand">true</property> + <property name="label" translatable="yes">All updates are complete.</property> + <property name="wrap">true</property> + <property name="selectable">true</property> + <property name="can-focus">false</property> </object> </child> </object> </child> </object> - <object class="GtkDialog" id="zenity_question_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Question</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox3"> - <property name="can_focus">0</property> - <property name="spacing">14</property> - <property name="margin-start">12</property> - <property name="margin-end">12</property> - <property name="margin-bottom">12</property> - <property name="margin-top">12</property> + <object class="AdwMessageDialog" id="zenity_progress_dialog"> + <property name="title" translatable="yes">Progress</property> + <property name="extra-child">zenity_progress_box</property> + </object> + <object class="GtkBox" id="zenity_progress_box"> + <property name="spacing">2</property> + <child> + <object class="GtkBox" id="vbox7"> + <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> - <object class="GtkBox" id="hbox1"> - <property name="can_focus">0</property> - <property name="spacing">12</property> - <child> - <object class="GtkImage" id="zenity_question_image"> - <property name="can_focus">0</property> - <property name="icon_name">dialog-question</property> - <property name="icon_size">large</property> - </object> - </child> - <child> - <object class="GtkLabel" id="zenity_question_text"> - <property name="halign">center</property> - <property name="label" translatable="yes">Are you sure you want to proceed?</property> - <property name="wrap">1</property> - <property name="selectable">1</property> - <property name="yalign">0</property> - </object> - </child> + <object class="GtkLabel" id="zenity_progress_text"> + <property name="valign">center</property> + <property name="label" translatable="yes">Running...</property> + <property name="wrap">1</property> + <property name="xalign">0</property> </object> </child> - </object> - - </child> - <child internal-child="action_area"> - <object class="GtkBox" id="zenity_question_button_box"> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - </child> - </object> - <object class="GtkDialog" id="zenity_tree_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Select items from the list</property> - <property name="default_width">300</property> - <property name="default_height">196</property> - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox8"> - <property name="can_focus">0</property> <child> - <object class="GtkBox" id="vbox10"> - <property name="can_focus">0</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> - <child> - <object class="GtkLabel" id="zenity_tree_text"> - <property name="valign">center</property> - <property name="can_focus">0</property> - <property name="label" translatable="yes">Select items from the list below.</property> - <property name="xalign">0</property> - </object> - </child> - <child> - <object class="GtkScrolledWindow" id="zenity_tree_window"> - <property name="hexpand">1</property> - <property name="vexpand">1</property> - <property name="child"> - <object class="GtkTreeView" id="zenity_tree_view"> - <child internal-child="selection"> - <object class="GtkTreeSelection" id="treeview-selection1"/> - </child> - </object> - </property> - </object> - </child> + <object class="GtkProgressBar" id="zenity_progress_bar"> + <property name="valign">center</property> + <property name="hexpand">true</property> + <property name="pulse_step">0.10000000149</property> + </object> + </child> + <child> + <object class="GtkLabel" id="zenity_progress_time"> + <property name="valign">center</property> + <property name="xalign">0</property> </object> </child> </object> </child> - <action-widgets> - <action-widget response="-6">zenity_tree_cancel_button</action-widget> - <action-widget response="-5" default="true">zenity_tree_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area8"> - <property name="can_focus">False</property> + </object> + <object class="AdwMessageDialog" id="zenity_question_dialog"> + <property name="title" translatable="yes">Question</property> + <property name="extra-child">zenity_question_box</property> + <responses> + <response id="no" translatable="yes">_No</response> + <response id="yes" translatable="yes">_Yes</response> + </responses> + </object> + <object class="GtkBox" id="zenity_question_box"> + <property name="spacing">14</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-bottom">12</property> + <property name="margin-top">12</property> + <child> + <object class="GtkBox" id="hbox1"> + <property name="spacing">12</property> <child> - <object class="GtkButton" id="zenity_tree_cancel_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_Cancel</property> + <object class="GtkImage" id="zenity_question_image"> + <property name="icon_name">dialog-question</property> + <property name="icon_size">large</property> </object> </child> <child> - <object class="GtkButton" id="zenity_tree_ok_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_OK</property> + <object class="GtkLabel" id="zenity_question_text"> + <property name="halign">center</property> + <property name="vexpand">true</property> + <property name="label" translatable="yes">Are you sure you want to proceed?</property> + <property name="wrap">true</property> + <property name="selectable">true</property> + <property name="can-focus">false</property> </object> </child> </object> </child> </object> - <object class="GtkDialog" id="zenity_warning_dialog"> - <property name="can_focus">0</property> - <property name="title" translatable="yes">Warning</property> - <property name="resizable">false</property> - - <child internal-child="content_area"> - <object class="GtkBox" id="dialog-vbox1"> - <property name="can_focus">0</property> - <property name="spacing">14</property> - <property name="margin-start">12</property> - <property name="margin-end">12</property> - <property name="margin-bottom">12</property> - <property name="margin-top">12</property> + <object class="AdwMessageDialog" id="zenity_tree_dialog"> + <property name="title" translatable="yes">Select items from the list</property> + <property name="default_width">300</property> + <property name="default_height">196</property> + <property name="extra-child">zenity_tree_box</property> + <property name="resizable">true</property> + <responses> + <response id="cancel" translatable="yes">_Cancel</response> + <response id="ok" translatable="yes">_OK</response> + </responses> + </object> + <object class="GtkBox" id="zenity_tree_box"> + <child> + <object class="GtkBox" id="vbox10"> + <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> - <object class="GtkBox" id="hbox2"> - <property name="can_focus">0</property> - <property name="spacing">12</property> - <child> - <object class="GtkImage" id="zenity_warning_image"> - <property name="can_focus">0</property> - <property name="icon_name">dialog-warning</property> - <property name="icon_size">large</property> - </object> - </child> - <child> - <object class="GtkLabel" id="zenity_warning_text"> - <property name="halign">center</property> - <property name="vexpand">true</property> - <property name="hexpand">true</property> - <property name="label" translatable="yes">Are you sure you want to proceed?</property> - <property name="wrap">1</property> - <property name="selectable">1</property> - </object> - </child> + <object class="GtkLabel" id="zenity_tree_text"> + <property name="valign">center</property> + <property name="label" translatable="yes">Select items from the list below.</property> + <property name="xalign">0</property> </object> </child> - </object> - </child> - <action-widgets> - <action-widget response="-5" default="true">zenity_warning_ok_button</action-widget> - </action-widgets> - <child internal-child="action_area"> - <object class="GtkBox" id="dialog-action_area1"> - <property name="visible">True</property> - <property name="can_focus">False</property> <child> - <object class="GtkButton" id="zenity_warning_ok_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_OK</property> + <object class="GtkScrolledWindow" id="zenity_tree_window"> + <property name="hexpand">1</property> + <property name="vexpand">1</property> + <property name="child"> + <object class="GtkTreeView" id="zenity_tree_view"> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="treeview-selection1"/> + </child> + </object> + </property> </object> </child> </object> </child> </object> - - - - - - - - <object class="GtkDialog" id="zenity_password_dialog"> + <object class="AdwMessageDialog" id="zenity_warning_dialog"> <property name="title" translatable="yes">Warning</property> <property name="resizable">false</property> - - <child internal-child="content_area"> - <object class="GtkBox"> <!-- vbox --> - <property name="orientation">vertical</property> - <property name="spacing">14</property> - <property name="margin-start">12</property> - <property name="margin-end">12</property> - <property name="margin-bottom">12</property> - <property name="margin-top">12</property> + <property name="extra-child">zenity_warning_box</property> + <responses> + <response id="ok" translatable="yes">_OK</response> + </responses> + </object> + <object class="GtkBox" id="zenity_warning_box"> + <property name="spacing">14</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-bottom">12</property> + <property name="margin-top">12</property> + <child> + <object class="GtkBox" id="hbox2"> + <property name="spacing">12</property> <child> - <object class="GtkBox"> - <property name="orientation">horizontal</property> - <property name="spacing">12</property> - <child> - <object class="GtkImage" id="zenity_password_image"> - <property name="icon_name">dialog-password</property> - <property name="icon_size">large</property> - </object> - </child> - <child> - <object class="GtkLabel" id="zenity_password_title"> - <property name="label" translatable="yes">Type your password</property> - </object> - </child> + <object class="GtkImage" id="zenity_warning_image"> + <property name="icon_name">dialog-warning</property> + <property name="icon_size">large</property> </object> </child> <child> - <object class="GtkGrid" id="zenity_password_grid"> - <property name="column-spacing">12</property> - <property name="row-spacing">6</property> + <object class="GtkLabel" id="zenity_warning_text"> + <property name="halign">center</property> + <property name="vexpand">true</property> + <property name="hexpand">true</property> + <property name="label" translatable="yes">Are you sure you want to proceed?</property> + <property name="wrap">true</property> + <property name="selectable">true</property> + <property name="can-focus">false</property> </object> </child> - </object> <!-- !vbox --> + </object> </child> - <action-widgets> - <action-widget response="ok" default="true">zenity_password_ok_button</action-widget> - <action-widget response="cancel">zenity_password_cancel_button</action-widget> - </action-widgets> - <child internal-child="action_area"> + </object> + <object class="AdwMessageDialog" id="zenity_password_dialog"> + <property name="title" translatable="yes">Warning</property> + <property name="resizable">false</property> + <property name="extra-child">zenity_password_box</property> + <responses> + <response id="cancel" translatable="yes">_Cancel</response> + <response id="ok" translatable="yes">_OK</response> + </responses> + </object> + <object class="GtkBox" id="zenity_password_box"> + <property name="orientation">vertical</property> + <property name="spacing">14</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-bottom">12</property> + <property name="margin-top">12</property> + <child> <object class="GtkBox"> - <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="orientation">horizontal</property> + <property name="spacing">12</property> <child> - <object class="GtkButton" id="zenity_password_ok_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_OK</property> + <object class="GtkImage" id="zenity_password_image"> + <property name="icon_name">dialog-password</property> + <property name="icon_size">large</property> </object> </child> <child> - <object class="GtkButton" id="zenity_password_cancel_button"> - <property name="use-underline">true</property> - <property name="label" translatable="yes">_Cancel</property> + <object class="GtkLabel" id="zenity_password_title"> + <property name="label" translatable="yes">Type your password</property> </object> </child> </object> </child> - </object> + <child> + <object class="GtkGrid" id="zenity_password_grid"> + <property name="column-spacing">12</property> + <property name="row-spacing">6</property> + </object> + </child> + </object> <!-- !vbox --> </interface> |