[gtk/text: 28/28] widget-factory: Don't set can-focus on entries
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/text: 28/28] widget-factory: Don't set can-focus on entries
- Date: Mon, 18 Feb 2019 19:45:14 +0000 (UTC)
commit 0c36bca2d9ae8547ea9750255d156d651ab2e9be
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Feb 18 14:23:14 2019 -0500
widget-factory: Don't set can-focus on entries
The focus needs to be on the text inside, now.
demos/widget-factory/widget-factory.ui | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 419f1493d8..bf674d07b4 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -474,7 +474,6 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</child>
<child>
<object class="GtkEntry" id="entry1">
- <property name="can-focus">1</property>
<property name="enable-emoji-completion">1</property>
<property name="invisible_char">•</property>
<property name="placeholder-text" translatable="yes">Click icon to change
mode</property>
@@ -486,7 +485,6 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
<child>
<object class="GtkEntry" id="entry2">
<property name="sensitive">0</property>
- <property name="can-focus">1</property>
<property name="invisible-char">•</property>
<property name="text" translatable="yes">entry</property>
</object>
@@ -498,7 +496,6 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</style>
<child>
<object class="GtkEntry" id="entry24">
- <property name="can-focus">1</property>
<property name="invisible-char">•</property>
<property name="text" translatable="yes">entry</property>
<property name="hexpand">1</property>
@@ -575,7 +572,6 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</child>
<child>
<object class="GtkSpinButton" id="spinbutton1">
- <property name="can-focus">1</property>
<property name="width-chars">2</property>
<property name="max-width-chars">2</property>
<property name="adjustment">adjustment2</property>
@@ -583,7 +579,6 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</child>
<child>
<object class="GtkSpinButton" id="spinbutton2">
- <property name="can-focus">1</property>
<property name="sensitive">0</property>
<property name="width-chars">2</property>
<property name="max-width-chars">2</property>
@@ -3000,14 +2995,12 @@ microphone-sensitivity-medium-symbolic</property>
<property name="halign">center</property>
<child>
<object class="GtkEntry">
- <property name="can-focus">1</property>
<property name="placeholder-text" translatable="yes">Name…</property>
<property name="completion">name_completion</property>
</object>
</child>
<child>
<object class="GtkEntry">
- <property name="can-focus">1</property>
<property name="show-emoji-icon">1</property>
<property name="placeholder-text" translatable="yes">Age…</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]