public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-i18n/fcitx-configtool/files: fcitx-configtool-0.2.0-fix-gtk.patch
@ 2010-12-18 10:58 Mu Qiao (qiaomuf)
  0 siblings, 0 replies; 2+ messages in thread
From: Mu Qiao (qiaomuf) @ 2010-12-18 10:58 UTC (permalink / raw
  To: gentoo-commits

qiaomuf     10/12/18 10:58:47

  Added:                fcitx-configtool-0.2.0-fix-gtk.patch
  Log:
  Version bumped
  
  (Portage version: 2.1.9.25/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-i18n/fcitx-configtool/files/fcitx-configtool-0.2.0-fix-gtk.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/fcitx-configtool/files/fcitx-configtool-0.2.0-fix-gtk.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/fcitx-configtool/files/fcitx-configtool-0.2.0-fix-gtk.patch?rev=1.1&content-type=text/plain

Index: fcitx-configtool-0.2.0-fix-gtk.patch
===================================================================
--- fcitx-configtool-0.2.0/gtk/keygrab.c	2010-12-17 14:16:14.000000000 +0800
+++ fcitx-configtool-0.2.0-patched/gtk/keygrab.c	2010-12-18 18:24:33.345000017 +0800
@@ -101,10 +101,10 @@
     guint key;
     GdkModifierType mods = event->state & gtk_accelerator_get_default_mod_mask();
 
-    if ((event->keyval == GDK_KEY_Escape
-            || event->keyval == GDK_KEY_Return) && !mods)
+    if ((event->keyval == GDK_Escape
+            || event->keyval == GDK_Return) && !mods)
     {
-        if (event->keyval == GDK_KEY_Escape)
+        if (event->keyval == GDK_Escape)
             gtk_signal_emit_by_name(GTK_OBJECT(b), "changed", b->key, b->mods);
         end_key_grab(b);
         keygrab_button_set_key(b, 0, 0);
@@ -112,11 +112,11 @@
     }
 
     key = gdk_keyval_to_upper(event->keyval);
-    if (key == GDK_KEY_ISO_Left_Tab)
-        key = GDK_KEY_Tab;
+    if (key == GDK_ISO_Left_Tab)
+        key = GDK_Tab;
 
     if (gtk_accelerator_valid(key, mods)
-            || (key == GDK_KEY_Tab && mods))
+            || (key == GDK_Tab && mods))
     {
         keygrab_button_set_key(b, key, mods);
         end_key_grab(b);






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-i18n/fcitx-configtool/files: fcitx-configtool-0.2.0-fix-gtk.patch
@ 2013-07-24 10:32 Ben de Groot (yngwin)
  0 siblings, 0 replies; 2+ messages in thread
From: Ben de Groot (yngwin) @ 2013-07-24 10:32 UTC (permalink / raw
  To: gentoo-commits

yngwin      13/07/24 10:32:23

  Removed:              fcitx-configtool-0.2.0-fix-gtk.patch
  Log:
  Version bump; drop old
  
  (Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 0x2B2474AD43CE296E!)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-24 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-18 10:58 [gentoo-commits] gentoo-x86 commit in app-i18n/fcitx-configtool/files: fcitx-configtool-0.2.0-fix-gtk.patch Mu Qiao (qiaomuf)
  -- strict thread matches above, loose matches on Subject: below --
2013-07-24 10:32 Ben de Groot (yngwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox