Get the correct window property instead of '_SUGAR_ACTIVITY_ID' (#1251)

This commit is contained in:
Benjamin Berg 2009-08-30 18:00:44 +02:00
parent d3c9dc535b
commit 0991081eff

View File

@ -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()