[libgnomekbd] Do not display VoidSymbol, use "" instead
- From: Sergey V. Udaltsov <svu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnomekbd] Do not display VoidSymbol, use "" instead
- Date: Thu, 17 Feb 2011 20:44:41 +0000 (UTC)
commit dfd0e79fd12f56d20e734cbf15d656d1da15e63c
Author: Sergey V. Udaltsov <svu gnome org>
Date: Thu Feb 17 15:47:35 2011 +0000
Do not display VoidSymbol, use "" instead
https://bugs.freedesktop.org/show_bug.cgi?id=34369
libgnomekbd/gkbd-keyboard-drawing.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c
index 96a8e63..ac05fd2 100644
--- a/libgnomekbd/gkbd-keyboard-drawing.c
+++ b/libgnomekbd/gkbd-keyboard-drawing.c
@@ -807,6 +807,10 @@ set_key_label_in_layout (GkbdKeyboardDrawingRenderContext * context,
set_markup (context, "Compose");
break;
+ case GDK_KEY_VoidSymbol:
+ set_markup (context, "");
+ break;
+
default:
uc = gdk_keyval_to_unicode (keyval);
if (uc != 0 && g_unichar_isgraph (uc)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]