[gtk/matthiasc/for-master: 4/6] nodeeditor: Don't set has-focus
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 4/6] nodeeditor: Don't set has-focus
- Date: Fri, 17 Apr 2020 21:40:12 +0000 (UTC)
commit 5a362c6759c366728cfe827300b65acb13c51252
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Apr 17 15:43:18 2020 -0400
nodeeditor: Don't set has-focus
That is now a readonly property. Set focus-widget
on the toplevel instead.
demos/node-editor/node-editor-window.ui | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/node-editor/node-editor-window.ui b/demos/node-editor/node-editor-window.ui
index f30532f731..3707c9e2b6 100644
--- a/demos/node-editor/node-editor-window.ui
+++ b/demos/node-editor/node-editor-window.ui
@@ -83,6 +83,7 @@
<property name="title" translatable="yes">GTK Node Editor</property>
<property name="default-width">1024</property>
<property name="default-height">768</property>
+ <property name="focus-widget">text_view</property>
<child type="titlebar">
<object class="GtkHeaderBar" id="header">
<property name="title" translatable="yes">GTK Node Editor</property>
@@ -139,7 +140,6 @@
<object class="GtkTextView" id="text_view">
<property name="wrap-mode">word</property>
<property name="monospace">1</property>
- <property name="has-focus">1</property>
<property name="top-margin">6</property>
<property name="left-margin">6</property>
<property name="right-margin">6</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]