Fedora solaar warnings
Created by: kloczek
solaar started from command line prints a lot ow warnings:
/usr/lib/python2.7/site-packages/solaar/gtk.py:34: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. import(module) /usr/lib/python2.7/site-packages/solaar/ui/init.py:38: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading GLib.threads_init() /usr/lib/python2.7/site-packages/solaar/ui/notify.py:33: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. from gi.repository import Notify /usr/lib/python2.7/site-packages/solaar/ui/action.py:36: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "name, label, tooltip, stock_id" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations action = Gtk.Action(name, label, label, None) /usr/lib/python2.7/site-packages/solaar/ui/tray.py:148: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded. from gi.repository import AppIndicator3 /usr/lib/python2.7/site-packages/solaar/ui/window.py:220: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations p._title = Gtk.Label(' ') /usr/lib/python2.7/site-packages/solaar/ui/window.py:110: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations p.scanning = Gtk.Label(("Scanning") + '...') /usr/lib/python2.7/site-packages/solaar/ui/window.py:114: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations bp.pack_start(Gtk.Label(' '), True, True, 0) /usr/lib/python2.7/site-packages/solaar/ui/window.py:129: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations b._label = Gtk.Label(label_text) /usr/lib/python2.7/site-packages/solaar/ui/window.py:175: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "homogeneous" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations bb = Gtk.ButtonBox(Gtk.Orientation.HORIZONTAL) /usr/lib/python2.7/site-packages/solaar/ui/window.py:83: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations b = Gtk.Button(label) if label else Gtk.Button() /usr/lib/python2.7/site-packages/solaar/ui/window.py:319: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "homogeneous" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations bottom_buttons_box = Gtk.ButtonBox(Gtk.Orientation.HORIZONTAL)