diff options
Diffstat (limited to 'extensions/deviceicon/touchpad.py')
-rw-r--r-- | extensions/deviceicon/touchpad.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/deviceicon/touchpad.py b/extensions/deviceicon/touchpad.py index 1463be8..25900f2 100644 --- a/extensions/deviceicon/touchpad.py +++ b/extensions/deviceicon/touchpad.py @@ -20,7 +20,7 @@ import os from gi.repository import Gtk from gi.repository import GConf -import glib +from gi.repository import GLib import logging @@ -61,7 +61,7 @@ class DeviceView(TrayIcon): def create_palette(self): """ Create a palette for this icon; called by the Sugar framework when a palette needs to be displayed. """ - label = glib.markup_escape_text(_('My touchpad')) + label = GLib.markup_escape_text(_('My touchpad')) self.palette = ResourcePalette(label, self.icon) self.palette.set_group_id('frame') return self.palette |