Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/wm.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-07-27 18:15:31 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-07-27 18:15:31 (GMT)
commitb23b63cdd554286d02b1a09353a946f3bc40f16a (patch)
treec37fcd8a3b900ddafedbbf52449d7af4bb88c743 /sugar/wm.py
parentb9d7d00985eb524637f54ff33c596ff67dcdc3dc (diff)
Split the UI part of sugarext out to his own module to avoid
dragging gtk inside services.
Diffstat (limited to 'sugar/wm.py')
-rw-r--r--sugar/wm.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/sugar/wm.py b/sugar/wm.py
index 6610889..999e07a 100644
--- a/sugar/wm.py
+++ b/sugar/wm.py
@@ -17,22 +17,22 @@
import gtk
-import _sugarext
+import _sugaruiext
def get_activity_id(wnck_window):
window = gtk.gdk.window_foreign_new(wnck_window.get_xid())
- return _sugarext.x11_get_string_property(
+ return _sugaruiext.x11_get_string_property(
window, '_SUGAR_ACTIVITY_ID')
def get_bundle_id(wnck_window):
window = gtk.gdk.window_foreign_new(wnck_window.get_xid())
- return _sugarext.x11_get_string_property(
+ return _sugaruiext.x11_get_string_property(
window, '_SUGAR_BUNDLE_ID')
def set_activity_id(window, activity_id):
- _sugarext.x11_set_string_property(
+ _sugaruiext.x11_set_string_property(
window, '_SUGAR_ACTIVITY_ID', activity_id)
def set_bundle_id(window, bundle_id):
- _sugarext.x11_set_string_property(
+ _sugaruiext.x11_set_string_property(
window, '_SUGAR_BUNDLE_ID', bundle_id)