[Pkg-sugar-commit] [sugar-toolkit] 05/21: Get the correct window property instead of '_SUGAR_ACTIVITY_ID' (#1251)
Jonas Smedegaard
dr at jones.dk
Thu Apr 16 18:50:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.84.17-1
in repository sugar-toolkit.
commit 9d60dbacc363bba51139fb3ff3fb2b6a6fac4fa5
Author: Benjamin Berg <benjamin at sipsolutions.net>
Date: Sun Aug 30 18:00:44 2009 +0200
Get the correct window property instead of '_SUGAR_ACTIVITY_ID' (#1251)
---
src/sugar/wm.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-toolkit.git
More information about the pkg-sugar-commit
mailing list