[nanny] Adapt DesktopBlocker win32



commit 08ff7794944777abe6f69cfc1d5c9244a5adb045
Author: Roberto Majadas <roberto majadas openshine com>
Date:   Sat Sep 18 12:34:54 2010 +0200

    Adapt DesktopBlocker win32

 client/gnome/admin/src/DesktopBlocker.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/client/gnome/admin/src/DesktopBlocker.py b/client/gnome/admin/src/DesktopBlocker.py
index 1e8936b..d89a3e1 100644
--- a/client/gnome/admin/src/DesktopBlocker.py
+++ b/client/gnome/admin/src/DesktopBlocker.py
@@ -22,7 +22,8 @@
 
 import os
 import sys
-import dbus
+if os.name == "posix":
+    import dbus
 
 import gtk
 import gtk.gdk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]