diff options
author | Pablo Barciela <[email protected]> | 2018-04-14 00:17:06 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2018-04-14 19:25:58 -0400 |
commit | 4d84a7e7881cfd3b02ef36b443661f5f333efbf7 (patch) | |
tree | 83b5414422ad1728b35015f2e75fd2758b7ff7b3 | |
parent | 4d26d40422ae701d070f5fbdb36ab43d6349ac21 (diff) | |
download | mate-panel-4d84a7e7881cfd3b02ef36b443661f5f333efbf7.tar.bz2 mate-panel-4d84a7e7881cfd3b02ef36b443661f5f333efbf7.tar.xz |
panel-run-dialog.ui: avoid deprecated:
avoid deprecated:
GtkVBox
GtkHbox
GtkImage:stock
GtkButton:use-stock
-rw-r--r-- | mate-panel/panel-run-dialog.ui | 223 |
1 files changed, 136 insertions, 87 deletions
diff --git a/mate-panel/panel-run-dialog.ui b/mate-panel/panel-run-dialog.ui index c58a7c56..1d5fb87f 100644 --- a/mate-panel/panel-run-dialog.ui +++ b/mate-panel/panel-run-dialog.ui @@ -1,30 +1,116 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.0 --> <interface> - <requires lib="gtk+" version="2.16"/> - <!-- interface-naming-policy toplevel-contextual --> + <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="run_button_image"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">system-run</property> + </object> <object class="GtkDialog" id="panel_run_dialog"> + <property name="can_focus">False</property> <property name="border_width">5</property> <property name="title" translatable="yes">Run Application</property> <property name="resizable">False</property> <property name="window_position">center</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox1"> + <object class="GtkBox" id="dialog-vbox1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="orientation">vertical</property> <property name="spacing">2</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="dialog-action_area1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <child> + <object class="GtkButton" id="help_button"> + <property name="label" translatable="yes">_Help</property> + <property name="visible">True</property> + <property name="can_focus">True</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">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="cancel_button"> + <property name="label" translatable="yes">_Cancel</property> + <property name="visible">True</property> + <property name="can_focus">True</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">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="run_button"> + <property name="label" translatable="yes">_Run</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="has_default">True</property> + <property name="receives_default">False</property> + <property name="image">run_button_image</property> + <property name="use_underline">True</property> + <child internal-child="accessible"> + <object class="AtkObject" id="run_button-atkobject"> + <property name="AtkObject::accessible-description" translatable="yes">Click this button to run the selected application or the command in the command entry field.</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> <child> - <object class="GtkVBox" id="main_box"> + <object class="GtkBox" id="main_box"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">5</property> <property name="orientation">vertical</property> <property name="spacing">6</property> <child> - <object class="GtkHBox" id="entry_box"> + <object class="GtkBox" id="entry_box"> <property name="visible">True</property> + <property name="can_focus">False</property> <child> <object class="GtkAlignment" id="alignment1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="yalign">0</property> <property name="xscale">0</property> @@ -32,9 +118,8 @@ <child> <object class="GtkImage" id="icon_pixmap"> <property name="visible">True</property> - <property name="xalign">0</property> - <property name="yalign">0</property> - <property name="stock">gtk-missing-image</property> + <property name="can_focus">False</property> + <property name="icon_name">image-missing</property> <child internal-child="accessible"> <object class="AtkObject" id="icon_pixmap-atkobject"> <property name="AtkObject::accessible-name" translatable="yes">Command icon</property> @@ -52,22 +137,32 @@ </packing> </child> <child> - <object class="GtkVBox" id="vbox2"> + <object class="GtkBox" id="vbox2"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="orientation">vertical</property> <property name="spacing">6</property> <child> <object class="GtkComboBoxText" id="comboboxentry"> <property name="visible">True</property> - <property name="has-entry">True</property> + <property name="can_focus">False</property> + <property name="has_entry">True</property> + <child internal-child="entry"> + <object class="GtkEntry"> + <property name="can_focus">False</property> + </object> + </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</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="can_focus">False</property> <property name="spacing">12</property> <child> <object class="GtkCheckButton" id="terminal_checkbox"> @@ -84,6 +179,8 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> @@ -108,17 +205,22 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> + <property name="expand">True</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="position">0</property> </packing> </child> @@ -128,24 +230,26 @@ <property name="can_focus">True</property> <property name="expanded">True</property> <child> - <object class="GtkVBox" id="program_list_box"> - <property name="vexpand">True</property> + <object class="GtkBox" id="program_list_box"> <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="vexpand">True</property> <property name="orientation">vertical</property> <property name="spacing">6</property> <child> <object class="GtkScrolledWindow" id="scrolledwindow1"> + <property name="height_request">140</property> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="hscrollbar_policy">automatic</property> - <property name="vscrollbar_policy">automatic</property> <property name="shadow_type">in</property> - <property name="height_request">140</property> <child> <object class="GtkTreeView" id="program_list"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="headers_visible">False</property> + <child internal-child="selection"> + <object class="GtkTreeSelection"/> + </child> <child internal-child="accessible"> <object class="AtkObject" id="program_list-atkobject"> <property name="AtkObject::accessible-name" translatable="yes">List of known applications</property> @@ -155,17 +259,20 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkLabel" id="program_label"> <property name="visible">True</property> - <property name="xalign">0</property> - <property name="yalign">0</property> + <property name="can_focus">False</property> <property name="label" translatable="yes">Select an application to view its description.</property> <property name="wrap">True</property> <property name="selectable">True</property> + <property name="xalign">0</property> + <property name="yalign">0</property> </object> <packing> <property name="expand">False</property> @@ -178,82 +285,25 @@ <child type="label"> <object class="GtkLabel" id="label3"> <property name="visible">True</property> - <property name="xalign">0</property> - <property name="yalign">0</property> + <property name="can_focus">False</property> <property name="label" translatable="yes">Show list of known _applications</property> <property name="use_underline">True</property> + <property name="xalign">0</property> + <property name="yalign">0</property> </object> </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> - <property name="position">1</property> - </packing> - </child> - <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area1"> - <property name="visible">True</property> - <child> - <object class="GtkButton" id="help_button"> - <property name="label">gtk-help</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkButton" id="cancel_button"> - <property name="label">gtk-cancel</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkButton" id="run_button"> - <property name="label" translatable="yes">_Run</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="has_default">True</property> - <property name="receives_default">False</property> - <property name="image">run_button_image</property> - <property name="use_underline">True</property> - <child internal-child="accessible"> - <object class="AtkObject" id="run_button-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes">Click this button to run the selected application or the command in the command entry field.</property> - </object> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">2</property> - </packing> - </child> - </object> - <packing> <property name="expand">False</property> - <property name="pack_type">end</property> - <property name="position">0</property> + <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> @@ -263,9 +313,8 @@ <action-widget response="-6">cancel_button</action-widget> <action-widget response="-5">run_button</action-widget> </action-widgets> - </object> - <object class="GtkImage" id="run_button_image"> - <property name="visible">True</property> - <property name="stock">gtk-execute</property> + <child> + <placeholder/> + </child> </object> </interface> |