Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/journal/listview.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-11-22 16:54:10 (GMT)
committer Simon Schampijer <simon@laptop.org>2012-11-23 09:55:58 (GMT)
commit2d97af8a7fc767a9c0de0b38821264378f755449 (patch)
tree395e6bb82e4f7499b6b2cc6c44e9dfaf008d8efd /src/jarabe/journal/listview.py
parent3b2557655db815a47f164522980e92819f8ca3ec (diff)
Replace remaining uses of "import glib"
This was not handled by the pygi-convert.sh script. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'src/jarabe/journal/listview.py')
-rw-r--r--src/jarabe/journal/listview.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jarabe/journal/listview.py b/src/jarabe/journal/listview.py
index 4af6e3c..61b4721 100644
--- a/src/jarabe/journal/listview.py
+++ b/src/jarabe/journal/listview.py
@@ -18,7 +18,7 @@ import logging
from gettext import gettext as _
import time
-import glib
+from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gtk
from gi.repository import Gdk
@@ -400,7 +400,7 @@ class BaseListView(Gtk.Bin):
label = Gtk.Label()
color = style.COLOR_BUTTON_GREY.get_html()
label.set_markup('<span weight="bold" color="%s">%s</span>' % ( \
- color, glib.markup_escape_text(message)))
+ color, GLib.markup_escape_text(message)))
box.pack_start(label, expand=True, fill=False, padding=0)
if show_clear_query: