1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-29 01:42:33 +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

@@ -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):