=== modified file 'awn-settings/awnClass.py' --- awn-settings/awnClass.py 2011-02-13 23:43:42 +0000 +++ awn-settings/awnClass.py 2011-02-14 17:54:29 +0000 @@ -1248,7 +1248,7 @@ def check_path(self, appletpath): df = DesktopEntry(appletpath) icon_path = df.getIcon() - if not icon_path.startswith('/') and '/' not in icon_path: + if not icon_path.startswith('/') and '/' in icon_path: df.set("Icon", os.path.join(defs.HOME_APPLET_DIR, icon_path)) df.write() === modified file 'libawn/awn-config.c' --- libawn/awn-config.c 2010-01-10 14:43:43 +0000 +++ libawn/awn-config.c 2011-02-14 16:15:21 +0000 @@ -210,6 +210,16 @@ schema_filename = g_build_filename (SCHEMADIR, schema_basename, NULL); + /* If schema is not in package dir, try in user's config dir */ + GFile *schema_file; + schema_file = g_file_new_for_path (schema_filename); + if (!g_file_query_exists (schema_file, NULL)) + { + const char *userconfdir = g_get_user_config_dir (); + schema_filename = g_build_filename (userconfdir, "awn", "applets", name, schema_basename, NULL); + } + + g_object_unref (schema_file); g_free (schema_basename); schema = desktop_agnostic_config_schema_new (schema_filename, error);