Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 3f8baa79197633a5754882c6e889a4cb84450efa Mon Sep 17 00:00:00 2001
- Date: Fri, 16 Oct 2015 10:23:40 +0200
- Subject: [PATCH] gtk-fix
- ---
- bin/solaar | 3 +++
- lib/solaar/ui/window.py | 4 ++--
- 2 files changed, 5 insertions(+), 2 deletions(-)
- diff --git a/bin/solaar b/bin/solaar
- index c90c873..ba32a8e 100755
- --- a/bin/solaar
- +++ b/bin/solaar
- @@ -20,6 +20,9 @@
- from __future__ import absolute_import, unicode_literals
- +import gi
- +gi.require_version('Gtk', '3.0')
- +gi.require_version('Notify', '0.7')
- def init_paths():
- """Make the app work in the source tree."""
- diff --git a/lib/solaar/ui/window.py b/lib/solaar/ui/window.py
- index b56707a..3f1eb1d 100644
- --- a/lib/solaar/ui/window.py
- +++ b/lib/solaar/ui/window.py
- @@ -731,8 +731,8 @@ _window = None
- def init():
- - Gtk.Window.set_default_icon_name(NAME.lower())
- - Gtk.Window.set_default_icon_from_file(_icons.icon_file(NAME.lower()))
- +# Gtk.Window.set_default_icon_name(NAME.lower())
- +# Gtk.Window.set_default_icon_from_file(_icons.icon_file(NAME.lower()))
- global _model, _tree, _details, _info, _empty, _window
- _model = Gtk.TreeStore(*_COLUMN_TYPES)
- --
- 2.6.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement