[gtk+] inspector: Fix focus in css editor
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Fix focus in css editor
- Date: Thu, 11 Dec 2014 03:48:27 +0000 (UTC)
commit 18799d22cf152ebd23c4331bd820a9ea85fb08c6
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Dec 10 22:39:50 2014 -0500
inspector: Fix focus in css editor
Give the text view initial focus, so things work as expected
when switching to the css editor for the first time.
gtk/inspector/css-editor.ui | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/inspector/css-editor.ui b/gtk/inspector/css-editor.ui
index 3e92f2a..cd77f1a 100644
--- a/gtk/inspector/css-editor.ui
+++ b/gtk/inspector/css-editor.ui
@@ -85,6 +85,7 @@
<property name="buffer">text</property>
<property name="wrap-mode">word</property>
<property name="monospace">True</property>
+ <property name="has-focus">True</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]