[postr] Fix unused variable in temporary workaround for porting to Gtk3



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]