dbusServices/extensions: Remove event box
In GTK4, all widgets are reactive, and therefore GtkEventBox has been removed. In order to make the upcoming GTK4 port a bit cleaner, remove the expander's event box now. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1495>
This commit is contained in:
parent
99a796e426
commit
ba039bcce5
@ -1,4 +1,5 @@
|
|||||||
.expanded { border: 0 solid @borders; border-bottom-width: 1px; }
|
.expander { padding: 12px; }
|
||||||
|
.expander.expanded { border: 0 solid @borders; border-bottom-width: 1px; }
|
||||||
.expander-toolbar {
|
.expander-toolbar {
|
||||||
border: 0 solid @borders;
|
border: 0 solid @borders;
|
||||||
border-top-width: 1px;
|
border-top-width: 1px;
|
||||||
|
@ -62,16 +62,12 @@
|
|||||||
<property name="hexpand">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkEventBox" id="expander">
|
<object class="GtkBox" id="expander">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<child>
|
|
||||||
<object class="GtkBox">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="margin-start">12</property>
|
|
||||||
<property name="margin-end">12</property>
|
|
||||||
<property name="margin-top">12</property>
|
|
||||||
<property name="margin-bottom">12</property>
|
|
||||||
<property name="spacing">6</property>
|
<property name="spacing">6</property>
|
||||||
|
<style>
|
||||||
|
<class name="expander"/>
|
||||||
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage" id="expanderArrow">
|
<object class="GtkImage" id="expanderArrow">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@ -86,8 +82,6 @@
|
|||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkRevealer" id="revealer">
|
<object class="GtkRevealer" id="revealer">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user