[gtk+] Revert an accidental commit
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Revert an accidental commit
- Date: Tue, 14 Feb 2012 22:22:37 +0000 (UTC)
commit 91b4781ae93ce981a31ddd41575bfa4cf4d2351e
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 9 07:04:46 2012 -0500
Revert an accidental commit
gtk/gtkcoloreditor.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcoloreditor.c b/gtk/gtkcoloreditor.c
index e4e9bb4..b488892 100644
--- a/gtk/gtkcoloreditor.c
+++ b/gtk/gtkcoloreditor.c
@@ -406,7 +406,12 @@ gtk_color_editor_init (GtkColorEditor *editor)
/* Construct the main UI */
editor->priv->swatch = swatch = gtk_color_swatch_new ();
- gtk_widget_set_sensitive (swatch, FALSE);
+ gtk_widget_set_events (swatch, gtk_widget_get_events (swatch)
+ & ~(GDK_BUTTON_PRESS_MASK
+ | GDK_BUTTON_RELEASE_MASK
+ | GDK_KEY_PRESS_MASK
+ | GDK_KEY_RELEASE_MASK));
+ gtk_widget_set_can_focus (swatch, FALSE);
editor->priv->entry = entry = gtk_entry_new ();
atk_obj = gtk_widget_get_accessible (entry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]