|
From: | Éloi Rivard |
Subject: | Re: [Denemo-devel] Scheme extraction |
Date: | Thu, 20 Jun 2013 09:51:35 +0200 |
On Wed, 2013-06-12 at 11:55 +0200, Éloi Rivard wrote:Yes, this is badly broken now. DENEMO_MERGING is no longer being set at
> In keyboard.c line 274 you can see this :
> if ((merge & DENEMO_INTERACTIVE) && (merge & DENEMO_MERGING)
> && new_command)
> The merge value is an integer, but when you look at the call graph you
> can see that it comes from a boolean in load_xml_keymap
> ( load_xml_keymap (gchar * filename, gboolean interactive) ). So merge
> value is always 0 or 1. That makes (merge & DENEMO_INTERACTIVE) always
> false, and the whole if block useless.
>
> This block just displays some test. Should we keep it?
all, this code was set up in 2009 to tell the user when he had
successfully added a command (using "More" from the right-click on a
menu item).
It is not crucial and as it is not working it can go. Adding commands
via More Commands on the right click menu is working (though, at least
in gtk2 the menu drawing gets a bit manked up after adding the menu item
and needs refreshing).
Richard
[Prev in Thread] | Current Thread | [Next in Thread] |