diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2018-03-30 22:45:55 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2018-03-30 22:45:55 +0300 |
commit | ed08d107a2b0a5e4759dc191f5e9487ab4a7d08c (patch) | |
tree | c2b167102157c7e7be501cb1ee6570fc7bef8781 | |
parent | 1987091c6c0c00a2af9d09020de1635ff2d3e4e0 (diff) |
mive install/upgrade button. Fixes #291
-rw-r--r-- | plugin_installer/config_dialog.ui | 79 |
1 files changed, 40 insertions, 39 deletions
diff --git a/plugin_installer/config_dialog.ui b/plugin_installer/config_dialog.ui index 33077dc..faa0b61 100644 --- a/plugin_installer/config_dialog.ui +++ b/plugin_installer/config_dialog.ui @@ -52,11 +52,6 @@ <column type="gchararray"/> </columns> </object> - <object class="GtkImage" id="refresh"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="stock">gtk-refresh</property> - </object> <object class="GtkWindow" id="AvailablePlugins"> <property name="can_focus">False</property> <child> @@ -83,6 +78,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="hexpand">True</property> + <property name="vexpand">True</property> <property name="border_width">6</property> <property name="hscrollbar_policy">never</property> <child> @@ -161,6 +157,40 @@ Upgrade</property> <property name="top_attach">0</property> </packing> </child> + <child> + <object class="GtkButtonBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="margin_top">2</property> + <property name="margin_bottom">2</property> + <property name="border_width">6</property> + <property name="orientation">vertical</property> + <property name="layout_style">start</property> + <child> + <object class="GtkButton" id="install_button"> + <property name="label" translatable="yes">Install/Upgrade</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="valign">start</property> + <property name="vexpand">False</property> + <property name="image">refresh</property> + <property name="always_show_image">True</property> + <signal name="clicked" handler="on_install_upgrade_clicked" swapped="no"/> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> </object> <packing> <property name="resize">True</property> @@ -285,40 +315,6 @@ Upgrade</property> </packing> </child> <child> - <object class="GtkButtonBox"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">end</property> - <property name="margin_top">2</property> - <property name="margin_bottom">2</property> - <property name="orientation">vertical</property> - <property name="layout_style">start</property> - <child> - <object class="GtkButton" id="install_button"> - <property name="label" translatable="yes">Install/Upgrade</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="valign">start</property> - <property name="vexpand">False</property> - <property name="image">refresh</property> - <property name="always_show_image">True</property> - <signal name="clicked" handler="on_install_upgrade_clicked" swapped="no"/> - </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">6</property> - <property name="width">2</property> - </packing> - </child> - <child> <object class="GtkScrolledWindow" id="scrolled_description_window"> <property name="visible">True</property> <property name="can_focus">True</property> @@ -344,4 +340,9 @@ Upgrade</property> </object> </child> </object> + <object class="GtkImage" id="refresh"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="stock">gtk-refresh</property> + </object> </interface> |