Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2 from xtaran/master
Browse files Browse the repository at this point in the history
Fix wicd-curses warnings in status bar and similar cases
  • Loading branch information
zeph authored Sep 12, 2019
2 parents 5860ad8 + f090e29 commit 577aa8c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion curses/wicd-curses.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# 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
Expand Down
2 changes: 1 addition & 1 deletion gtk/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion gtk/wicd-client.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def main() -- Runs the wicd frontend main loop.

import sys
import gtk
from gi.repository import GObject as gobject
from gi.repository import GLib as gobject
import getopt
import os
import pango
Expand Down
2 changes: 1 addition & 1 deletion wicd/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion wicd/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# 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
Expand Down
2 changes: 1 addition & 1 deletion wicd/wicd-daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class WirelessDaemon() -- DBus interface to managed the wireless network.
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):
Expand Down

0 comments on commit 577aa8c

Please sign in to comment.