From 6bed0e028def3f5ca00592bd8e58bf7c27bbb412 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 24 Jan 2011 15:02:07 -0500 Subject: [PATCH] add comments --- obt/linkbase.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/obt/linkbase.c b/obt/linkbase.c index 99ab3c2a..702a598a 100644 --- a/obt/linkbase.c +++ b/obt/linkbase.c @@ -173,6 +173,8 @@ ObtLinkBase* obt_linkbase_new(ObtPaths *paths, const gchar *locale) self->paths = paths; obt_paths_ref(paths); + /* parse the locale string to determine the language, country, and + modifier settings */ for (i = 0; ; ++i) if (!locale[i] || locale[i] == '_' || locale[i] == '.' || locale[i] == '@') @@ -213,6 +215,9 @@ ObtLinkBase* obt_linkbase_new(ObtPaths *paths, const gchar *locale) break; } + /* run through each directory, foo, in the XDG_DATA_DIRS, and add + foo/applications to the list of directories to watch here, with + increasing priority (decreasing importance). */ priority = 0; for (it = obt_paths_data_dirs(paths); it; it = g_slist_next(it)) { if (!g_hash_table_lookup(self->path_to_priority, it->data)) { -- 2.39.2