diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-12-20 12:43:54 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-12-20 12:43:54 (GMT) |
commit | 99cce220cde2710f9ba58847f4e49eede99f89e2 (patch) | |
tree | 765593c2d25cd217f0d85a003511c4d4c636f863 /sugar/activity/__init__.py | |
parent | ab3535e6fd3e29b25025845deceae6c7355996c5 (diff) |
Get the default type from env, clean stuff a bit
Diffstat (limited to 'sugar/activity/__init__.py')
-rw-r--r-- | sugar/activity/__init__.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sugar/activity/__init__.py b/sugar/activity/__init__.py index 1e606d5..4b69e24 100644 --- a/sugar/activity/__init__.py +++ b/sugar/activity/__init__.py @@ -7,12 +7,3 @@ settings = gtk.settings_get_default() grid = Grid() sizes = 'gtk-large-toolbar=%d, %d' % (grid.dimension(1), grid.dimension(1)) settings.set_string_property('gtk-icon-sizes', sizes, '') - -def get_default_type(activity_type): - """Get the activity default type. - - It's the type of the main network service which tracks presence - and provides info about the activity, for example the title.""" - splitted_id = activity_type.split('.') - splitted_id.reverse() - return '_' + '_'.join(splitted_id) + '._udp' |