~ubuntu-branches/ubuntu/karmic/eric/karmic

« back to all changes in this revision

Viewing changes to eric/XML/ShortcutsHandler.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-01-28 18:02:25 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080128180225-6nrox6yrworh2c4v
Tags: 4.0.4-1ubuntu1
* Add python-qt3 to build-depends becuase that's where Ubuntu puts 
  pyqtconfig
* Change maintainer to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        """
52
52
        Handler method for the "Accel" end tag.
53
53
        """
54
 
        self.accel = self.utf8_to_code(self.buffer)
 
54
        self.accel = self.unescape(self.utf8_to_code(self.buffer))
55
55
        
56
56
    def endAltAccel(self):
57
57
        """
58
58
        Handler method for the "AltAccel" end tag.
59
59
        """
60
 
        self.altAccel = self.utf8_to_code(self.buffer)
 
60
        self.altAccel = self.unescape(self.utf8_to_code(self.buffer))
61
61
        
62
62
    def startShortcut(self, attrs):
63
63
        """
94
94
        @return Dictionary of dictionaries of shortcuts. The keys of the
95
95
            dictionary are the categories, the values are dictionaries.
96
96
            These dictionaries have the shortcut name as their key and
97
 
            the accelerator as their value.
 
97
            a tuple of accelerators as their value.
98
98
        """
99
99
        return self.shortcuts
100
100