[glade] GladeEditorProperty: Dont focus-on-click check buttons.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] GladeEditorProperty: Dont focus-on-click check buttons.
- Date: Sun, 14 Apr 2013 15:34:41 +0000 (UTC)
commit 7e904c4f1559977c6fc9530b361b4efac7594c89
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Sun Apr 14 21:51:19 2013 +0900
GladeEditorProperty: Dont focus-on-click check buttons.
gladeui/glade-editor-property.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c
index 40ce118..ea5f001 100644
--- a/gladeui/glade-editor-property.c
+++ b/gladeui/glade-editor-property.c
@@ -338,6 +338,7 @@ glade_editor_property_constructed (GObject *object)
if (glade_property_class_optional (eprop->priv->klass))
{
eprop->priv->check = gtk_check_button_new ();
+ gtk_button_set_focus_on_click (GTK_BUTTON (eprop->priv->check), FALSE);
if (!eprop->priv->disable_check)
gtk_widget_show (eprop->priv->check);
@@ -2452,6 +2453,8 @@ glade_eprop_check_create_input (GladeEditorProperty *eprop)
gtk_widget_show (eprop_check->label);
eprop_check->button = gtk_check_button_new ();
+ gtk_button_set_focus_on_click (GTK_BUTTON (eprop_check->button), FALSE);
+
gtk_container_add (GTK_CONTAINER (eprop_check->button), eprop_check->label);
gtk_widget_set_halign (eprop_check->button, GTK_ALIGN_START);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]