[kupfer] ui: Make sure the preedit box has focus-line-width = 0
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] ui: Make sure the preedit box has focus-line-width = 0
- Date: Thu, 7 Apr 2011 03:51:10 +0000 (UTC)
commit 69d52785eef10d1fa6d3ac78881e3a0225f453dd
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Thu Apr 7 05:48:03 2011 +0200
ui: Make sure the preedit box has focus-line-width = 0
kupfer/ui/browser.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/ui/browser.py b/kupfer/ui/browser.py
index 5b00be9..b7f324a 100644
--- a/kupfer/ui/browser.py
+++ b/kupfer/ui/browser.py
@@ -951,6 +951,15 @@ class Interface (gobject.GObject):
self.entry = gtk.Entry()
self.label = gtk.Label()
self.preedit = gtk.Entry()
+ ## make sure we lose the preedit focus ring
+ self.preedit.set_name("kupfer-preedit")
+ gtk.rc_parse_string("""
+ style "kupferpreedit"
+ {
+ GtkEntry :: focus-line-width = 0
+ }
+ widget "*.%s" style "kupferpreedit"
+ """ % (self.preedit.path(), ))
self.current = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]