Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/wm.py
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2009-08-30 16:00:44 (GMT)
committer Simon Schampijer <simon@schampijer.de>2011-02-10 19:19:16 (GMT)
commit9d60dbacc363bba51139fb3ff3fb2b6a6fac4fa5 (patch)
tree6349f00409b49b7d35b3b5a2dc5421a87ed5b1c2 /src/sugar/wm.py
parent5f40f312fd0b94f61a3164cc50bdb1b1627e795d (diff)
Get the correct window property instead of '_SUGAR_ACTIVITY_ID' (#1251)
Diffstat (limited to 'src/sugar/wm.py')
-rw-r--r--src/sugar/wm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/wm.py b/src/sugar/wm.py
index 5481d40..cd8f200 100644
--- a/src/sugar/wm.py
+++ b/src/sugar/wm.py
@@ -25,7 +25,7 @@ import logging
def _property_get_trapped(window, prop, prop_type):
gtk.gdk.error_trap_push()
- prop_info = window.property_get('_SUGAR_ACTIVITY_ID', 'STRING')
+ prop_info = window.property_get(prop, prop_type)
# We just log a message
error = gtk.gdk.error_trap_pop()