~vcs-imports/beagle/trunk

« back to all changes in this revision

Viewing changes to Util/Config.cs

  • Committer: dbera
  • Date: 2008-07-08 23:52:06 UTC
  • Revision ID: vcs-imports@canonical.com-20080708235206-1axm3o8wmkjxawcq
Add a python script (from CCSM) to grab shortcut keys from user input. Use the script in beagle-settings to get the shortcut key for beagle-search. Store the entire binding string in config instead of separately storing ctrl, alt and the key. Note that CCSM is GPLv2+ so we are including the script as GPLv3. It is possible to create a C# program to do what the script does but I am not taking the risk yet.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1338
1338
                                result += "<Alt>";
1339
1339
                        
1340
1340
                        result += Key;
1341
 
                        
 
1341
 
1342
1342
                        return result;
1343
1343
                }
1344
1344