From e4599e06087f1d838cb4bb8f35d63047ada13097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= <forenjunkie@chello.at> Date: Tue, 28 Feb 2017 20:26:33 +0100 Subject: [PATCH] [emoticons] Remove unused code --- emoticons_pack/emoticons_pack.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/emoticons_pack/emoticons_pack.py b/emoticons_pack/emoticons_pack.py index 79bb4962..6978ff80 100644 --- a/emoticons_pack/emoticons_pack.py +++ b/emoticons_pack/emoticons_pack.py @@ -5,7 +5,6 @@ from gi.repository import Gtk from gi.repository import GdkPixbuf from gi.repository import Pango from gi.repository import GObject -import io import configparser import os import zipfile @@ -93,7 +92,6 @@ class EmoticonsPackPlugin(GajimPlugin): self.available_treeview.set_rules_hint(True) self.model.set_sort_column_id(1, Gtk.SortType.ASCENDING) - #self.progressbar.set_property('no-show-all', True) renderer = Gtk.CellRendererText() col = Gtk.TreeViewColumn(_('Name')) cell = Gtk.CellRendererPixbuf() @@ -338,4 +336,3 @@ class EmoticonsPackPlugin(GajimPlugin): vadjustment = scr_win.get_vadjustment() if vadjustment: vadjustment.set_value(0) - #GObject.idle_add(self.available_treeview.grab_focus) -- GitLab