diff options
Diffstat (limited to 'x11/hotwire-shell/files/patch-hotwire__ui_renderers_file.py')
-rw-r--r-- | x11/hotwire-shell/files/patch-hotwire__ui_renderers_file.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/x11/hotwire-shell/files/patch-hotwire__ui_renderers_file.py b/x11/hotwire-shell/files/patch-hotwire__ui_renderers_file.py deleted file mode 100644 index 9d6b772e1cd0..000000000000 --- a/x11/hotwire-shell/files/patch-hotwire__ui_renderers_file.py +++ /dev/null @@ -1,14 +0,0 @@ ---- hotwire_ui/renderers/file.py.orig -+++ hotwire_ui/renderers/file.py -@@ -245,7 +245,10 @@ - menuitem = gtk.ImageMenuItem(_('Edit with %s') % (prefeditor.name,)) - menuitem.connect('activate', self.__on_edit_activated, self.context.get_cwd(), prefeditor, fobj.path) - pbcache = PixbufCache.getInstance() -- pixbuf = pbcache.get(prefeditor.icon, size=16, trystock=True, stocksize=gtk.ICON_SIZE_MENU) -+ if prefeditor.icon: -+ pixbuf = pbcache.get(prefeditor.icon, size=16, trystock=True, stocksize=gtk.ICON_SIZE_MENU) -+ else: -+ pixbuf = None - if pixbuf: - img = gtk.image_new_from_pixbuf(pixbuf) - menuitem.set_property('image', img) |