[Xfce4-commits] r19026 - xfce-mcs-plugins/trunk/plugins/shortcuts_plugin

Olivier Fourdan fourdan at xfce.org
Mon Dec 12 20:15:23 CET 2005


Hey JF

Jean-François Wauthy wrote:
> +
> +    grab_key (launcher_data->key);    
> +    shortcut_list = g_slist_append (shortcut_list, launcher_
>    }

That change doesn't compile. It's missing the end of the line "data);", 
ie it should read:

shortcut_list = g_slist_append (shortcut_list, launcher_data);

This being said, it doesn't work either. That doesn't handle the case 
when the user change an existing shortcut.

It works chen changing the command, or creating a new shortcit, but not 
changing an existing shortcut. In that case, the old key should be 
ungrabbed and a new one grabbed.

Cheers,
Olivier.




More information about the Xfce4-dev mailing list