[gnome-builder] omnibar: move eventbox to notification area
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] omnibar: move eventbox to notification area
- Date: Thu, 8 Jul 2021 00:46:54 +0000 (UTC)
commit d1c3afcd517d57495713e07b90a5d14ad1fed254
Author: Christian Hergert <chergert redhat com>
Date: Wed Jul 7 17:46:41 2021 -0700
omnibar: move eventbox to notification area
We have to dive down a bit more to actually fix the issue with event
delivery.
It's likely this all goes away in GTK 4 as event dispatching works better.
src/libide/gui/ide-omni-bar.ui | 66 +++++++++++++++++++++---------------------
1 file changed, 33 insertions(+), 33 deletions(-)
---
diff --git a/src/libide/gui/ide-omni-bar.ui b/src/libide/gui/ide-omni-bar.ui
index 1bcad100e..b4d9584e9 100644
--- a/src/libide/gui/ide-omni-bar.ui
+++ b/src/libide/gui/ide-omni-bar.ui
@@ -27,51 +27,51 @@
</object>
</child>
<child>
- <object class="GtkEventBox" id="entry_event_box">
+ <object class="DzlPriorityBox" id="inner_box">
+ <property name="margin-top">1</property>
+ <property name="spacing">3</property>
<property name="visible">true</property>
<child>
- <object class="DzlPriorityBox" id="inner_box">
- <property name="margin-top">1</property>
- <property name="spacing">3</property>
+ <object class="GtkBox">
+ <property name="hexpand">false</property>
+ <property name="vexpand">false</property>
+ <property name="valign">center</property>
+ <property name="orientation">vertical</property>
<property name="visible">true</property>
+ <style>
+ <class name="pan"/>
+ </style>
<child>
- <object class="GtkBox">
- <property name="hexpand">false</property>
- <property name="vexpand">false</property>
- <property name="valign">center</property>
- <property name="orientation">vertical</property>
+ <object class="GtkButton">
+ <property name="action-name">omnibar.move-previous</property>
<property name="visible">true</property>
- <style>
- <class name="pan"/>>
- </style>
<child>
- <object class="GtkButton">
- <property name="action-name">omnibar.move-previous</property>
+ <object class="GtkImage">
+ <property name="icon-name">pan-up-symbolic</property>
+ <property name="pixel-size">12</property>
<property name="visible">true</property>
- <child>
- <object class="GtkImage">
- <property name="icon-name">pan-up-symbolic</property>
- <property name="pixel-size">12</property>
- <property name="visible">true</property>
- </object>
- </child>
</object>
</child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton">
+ <property name="action-name">omnibar.move-next</property>
+ <property name="visible">true</property>
<child>
- <object class="GtkButton">
- <property name="action-name">omnibar.move-next</property>
+ <object class="GtkImage">
+ <property name="icon-name">pan-down-symbolic</property>
+ <property name="pixel-size">12</property>
<property name="visible">true</property>
- <child>
- <object class="GtkImage">
- <property name="icon-name">pan-down-symbolic</property>
- <property name="pixel-size">12</property>
- <property name="visible">true</property>
- </object>
- </child>
</object>
</child>
</object>
</child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkEventBox" id="entry_event_box">
+ <property name="visible">true</property>
<child>
<object class="GtkStack" id="top_stack">
<property name="margin-start">3</property>
@@ -87,11 +87,11 @@
</packing>
</child>
</object>
- <packing>
- <property name="expand">true</property>
- </packing>
</child>
</object>
+ <packing>
+ <property name="expand">true</property>
+ </packing>
</child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]