Fwd: localization of shortcuts (ctrl+*)



Hi! I have written such thing to gtk-18n-list. But nobody answered. I
understood that the question is a bit differ.

---------- Forwarded message ----------
From: Evgeniy Ivanov <lolkaantimat gmail com>
Date: 25.11.2007 0:43
Subject: localization of shortcuts (ctrl+*)
To: gtk-i18n-list gnome org

Hi, folks!

I'm working with this bug
https://bugzilla.mozilla.org/show_bug.cgi?id=69230
ctrl+Non-Latin char doesn't work (ctrl+c is copy, than ctrl+(letter on the
same key as 'c') should be copy too, but it isn't)
It has been already closed, but closed with hack code (they convert
non-Latin chars to Latin if modifier is Control.

I think that the problem is in localization.
Everything is ok before gtk_bindings_activate. But if keyCode is non-Latin
character it returns false. So, somebody missed these language bindings.
The question is where to find it. I've found such thing:
      <handler event="keypress" key="x" command="cmd_cut"
modifiers="accel"/>
But failed to find translated xml. There're no GtkBinding* or gtk_rc*

How such things are locolized? I don't know what to have a look. But I feel
that the problem is in it.

I will be happy to hear any advices or answers. I'm very week in gtk
-programming.

====================================================

How does the  application get defaults settings? In what standart function?
gtk_init? Or may it be somehing else? There is no gtk_init in that gtk
application (I thing they init it by hands).

-- 
E.I.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]