[gnome-builder/wip/gtk4-port: 1501/1774] plugins/shellcmd: cleanup placement of delete button
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1501/1774] plugins/shellcmd: cleanup placement of delete button
- Date: Mon, 11 Jul 2022 22:31:48 +0000 (UTC)
commit 341ccaacc5ccda28e76ee2767764fc3d6e70368f
Author: Christian Hergert <chergert redhat com>
Date: Tue Jun 14 11:20:12 2022 -0700
plugins/shellcmd: cleanup placement of delete button
.../shellcmd/gbp-shellcmd-command-dialog.ui | 43 +++++++++-------------
1 file changed, 17 insertions(+), 26 deletions(-)
---
diff --git a/src/plugins/shellcmd/gbp-shellcmd-command-dialog.ui
b/src/plugins/shellcmd/gbp-shellcmd-command-dialog.ui
index d01bdd64b..c77a2c7ab 100644
--- a/src/plugins/shellcmd/gbp-shellcmd-command-dialog.ui
+++ b/src/plugins/shellcmd/gbp-shellcmd-command-dialog.ui
@@ -130,32 +130,23 @@
</child>
<child>
<object class="AdwPreferencesGroup">
- </object>
- </child>
- </object>
- </child>
- <child>
- <object class="GtkSeparator">
- </object>
- </child>
- <child>
- <object class="GtkBox">
- <property name="margin-top">6</property>
- <property name="margin-bottom">6</property>
- <property name="margin-start">6</property>
- <property name="margin-end">6</property>
- <style>
- <class name="toolbar"/>
- </style>
- <child>
- <object class="GtkButton">
- <property name="label" translatable="yes">Delete</property>
- <property name="action-name">command.delete</property>
- <property name="halign">end</property>
- <property name="hexpand">true</property>
- <style>
- <class name="destructive-action"/>
- </style>
+ <property name="vexpand">true</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="vexpand">true</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton">
+ <property name="label" translatable="yes">_Delete Command</property>
+ <property name="use-underline">true</property>
+ <property name="action-name">command.delete</property>
+ <property name="halign">end</property>
+ <style>
+ <class name="destructive-action"/>
+ </style>
+ </object>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]