[gedit] Fix clicking on find next/prev buttons
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Fix clicking on find next/prev buttons
- Date: Sun, 13 Sep 2015 19:16:59 +0000 (UTC)
commit d16cfcebb4fb460f89ee4d4e89cc547e8e291a63
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Sep 13 21:09:17 2015 +0200
Fix clicking on find next/prev buttons
This reverts the simplifications made by gtk-builder-tool on the
view-frame ui file: it seems like forcing can focus to false is
required to make sure the revealer does not hide
gedit/resources/ui/gedit-view-frame.ui | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gedit/resources/ui/gedit-view-frame.ui b/gedit/resources/ui/gedit-view-frame.ui
index 26f7af8..7a8992b 100644
--- a/gedit/resources/ui/gedit-view-frame.ui
+++ b/gedit/resources/ui/gedit-view-frame.ui
@@ -41,17 +41,20 @@
<child type="overlay">
<object class="GtkRevealer" id="revealer">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="halign">end</property>
<property name="valign">start</property>
<child>
<object class="GtkFrame" id="frame">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<style>
<class name="gedit-search-slider"/>
</style>
<child>
<object class="GtkBox" id="hbox">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<style>
<class name="linked"/>
</style>
@@ -66,9 +69,11 @@
<child>
<object class="GtkButton" id="go_up_button">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<child>
<object class="GtkImage" id="up_image">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="icon_size">1</property>
<property name="icon_name">go-up-symbolic</property>
</object>
@@ -78,9 +83,11 @@
<child>
<object class="GtkButton" id="go_down_button">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<child>
<object class="GtkImage" id="down_image">
<property name="visible">True</property>
+ <property name="can_focus">False</property>
<property name="icon_size">1</property>
<property name="icon_name">go-down-symbolic</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]