1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-20 04:48:00 +01:00

Fix wicd-curses warnings in status bar and similar cases

Replace all occurrences of "from gi.repository import GObject as
gobject" with "from gi.repository import GLib as gobject".
This commit is contained in:
Axel Beckert
2019-09-12 00:59:05 +02:00
parent 5860ad8251
commit f090e292dc
6 changed files with 6 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ import urwid
# DBus communication stuff
from dbus import DBusException
# It took me a while to figure out that I have to use this.
from gi.repository import GObject as gobject
from gi.repository import GLib as gobject
# Other important wicd-related stuff
from wicd import wpath

View File

@@ -26,7 +26,7 @@ Module containing the code for the main wicd GUI.
import os
import sys
import time
from gi.repository import GObject as gobject
from gi.repository import GLib as gobject
import gtk
from itertools import chain
from dbus import DBusException

View File

@@ -39,7 +39,7 @@ class TrayIcon() -- Parent class of TrayIconGUI and IconConnectionInfo.
import sys
import gtk
from gi.repository import GObject as gobject
from gi.repository import GLib as gobject
import getopt
import os
import pango

View File

@@ -27,7 +27,7 @@ import locale
import sys
import re
import string
from gi.repository import GObject as gobject
from gi.repository import GLib as gobject
from threading import Thread
from subprocess import Popen, STDOUT, PIPE, call
from subprocess import getoutput

View File

@@ -24,7 +24,7 @@ when appropriate.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from gi.repository import GObject as gobject
from gi.repository import GLib as gobject
import time
from dbus import DBusException

View File

@@ -44,7 +44,7 @@ from subprocess import Popen
from operator import itemgetter
# DBUS
from gi.repository import GObject as gobject
from gi.repository import GLib as gobject
import dbus
import dbus.service
if getattr(dbus, 'version', (0, 0, 0)) < (0, 80, 0):