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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user