[postr] Fix unused variable in temporary workaround for porting to Gtk3
- From: Germán Poó Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [postr] Fix unused variable in temporary workaround for porting to Gtk3
- Date: Mon, 7 Jul 2014 17:15:29 +0000 (UTC)
commit 0f0fd185734cdabd81131f5cc8372657fea033ec
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Mon Jul 7 09:15:21 2014 -0700
Fix unused variable in temporary workaround for porting to Gtk3
src/postr.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/postr.py b/src/postr.py
index 3dc9c30..98b412f 100644
--- a/src/postr.py
+++ b/src/postr.py
@@ -424,6 +424,8 @@ class Postr(UniqueApp):
# None in case is not possible to get it or
# generate it.
+ # FIXME: Port to GTK3
+ '''
gfile = Gio.File.new_for_uri(uri)
attributes = ','.join([Gio.FILE_ATTRIBUTE_TIME_MODIFIED,
Gio.FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE])
@@ -432,8 +434,6 @@ class Postr(UniqueApp):
mtime = ginfo.get_modification_time()
mime = ginfo.get_content_type()
- # FIXME: Port to GTK3
- '''
factory = gnome.ui.ThumbnailFactory(gnome.ui.THUMBNAIL_SIZE_NORMAL)
thumb_path = factory.lookup(uri, int(mtime))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]