[libhandy/tabs: 27/62] Move secondary icon to the left
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy/tabs: 27/62] Move secondary icon to the left
- Date: Sat, 12 Sep 2020 19:27:44 +0000 (UTC)
commit 109896f44a9338d83114eab65e790f453de48a0d
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Sep 7 13:45:07 2020 +0500
Move secondary icon to the left
src/hdy-tab.ui | 59 +++++++++++++++++++++++++++-------------------------------
1 file changed, 27 insertions(+), 32 deletions(-)
---
diff --git a/src/hdy-tab.ui b/src/hdy-tab.ui
index 8f8e5fd1..c5997ae1 100644
--- a/src/hdy-tab.ui
+++ b/src/hdy-tab.ui
@@ -13,6 +13,23 @@
<child>
<object class="GtkBox">
<property name="visible">True</property>
+ <child>
+ <object class="GtkButton" id="secondary_icon_btn">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="valign">center</property>
+ <property name="halign">start</property>
+ <signal name="clicked" handler="secondary_icon_clicked_cb" swapped="true"/>
+ <style>
+ <class name="tab-secondary-icon"/>
+ </style>
+ <child>
+ <object class="GtkImage" id="secondary_icon">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
<child type="center">
<object class="GtkBox">
<property name="visible">True</property>
@@ -59,42 +76,20 @@
</object>
</child>
<child>
- <object class="GtkBox">
- <property name="visible">True</property>
+ <object class="GtkButton" id="close_btn">
+ <property name="visible" bind-source="HdyTab" bind-property="selected"
bind-flags="sync-create"/>
+ <property name="valign">center</property>
<property name="halign">end</property>
+ <property name="can-focus">False</property>
<property name="margin-start">6</property>
+ <signal name="clicked" handler="close_clicked_cb" swapped="true"/>
+ <style>
+ <class name="tab-close-button"/>
+ </style>
<child>
- <object class="GtkButton" id="secondary_icon_btn">
+ <object class="GtkImage">
<property name="visible">True</property>
- <property name="can-focus">False</property>
- <property name="valign">center</property>
- <property name="halign">end</property>
- <signal name="clicked" handler="secondary_icon_clicked_cb" swapped="true"/>
- <style>
- <class name="tab-secondary-icon"/>
- </style>
- <child>
- <object class="GtkImage" id="secondary_icon">
- <property name="visible">True</property>
- </object>
- </child>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="close_btn">
- <property name="visible" bind-source="HdyTab" bind-property="selected"
bind-flags="sync-create"/>
- <property name="valign">center</property>
- <property name="can-focus">False</property>
- <signal name="clicked" handler="close_clicked_cb" swapped="true"/>
- <style>
- <class name="tab-close-button"/>
- </style>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon-name">window-close-symbolic</property>
- </object>
- </child>
+ <property name="icon-name">window-close-symbolic</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]