summaryrefslogtreecommitdiffstats
path: root/iw/xconfig_gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'iw/xconfig_gui.py')
-rw-r--r--iw/xconfig_gui.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index 063b52ee2..85b80d5ad 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -24,10 +24,12 @@ import gtk
from iw_gui import *
from constants import *
-from rhpl.log import log
from rhpl.translate import _, N_
from rhpl.monitor import isValidSyncRange
+import logging
+log = logging.getLogger("anaconda")
+
from desktop import ENABLE_DESKTOP_CHOICE
from gui import setupTreeViewFixupIdleHandler
@@ -83,7 +85,7 @@ class XCustomWindow (InstallWindow):
def testPressed (self, widget, *args):
- log("Somehow X test was attempted")
+ log.warning("Somehow X test was attempted")
return
def numCompare (self, first, second):
@@ -183,7 +185,7 @@ class XCustomWindow (InstallWindow):
try:
self.load_monitor_preview_pixmap(self.monitor_pixmaps[num])
except:
- log("Unable to load monitor preview #%s", num)
+ log.warning("Unable to load monitor preview #%s", num)
def display_desktop_pixmap(self, desktop):
self.vbox4.destroy ()
@@ -863,7 +865,7 @@ class XConfigWindow (InstallWindow):
self.xsetup.xhwstate.set_videocard_name(cardname)
self.xsetup.xhwstate.set_videocard_card(cardname)
except:
- log("videocard-getNext: could not determine cardname for primary card %s", self.videocard.primaryCard())
+ log.error("videocard-getNext: could not determine cardname for primary card %s", self.videocard.primaryCard())
return None
def skipToggled (self, widget, *args):