summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-extensions.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-11-03 15:04:19 +0100
committerStefano Karapetsas <[email protected]>2014-11-03 15:04:19 +0100
commitdf913aef213e9314e8037944fdb9a44f6dc7f9cf (patch)
treef99b8f2d6565d3961db6dbf9fb88eb42ac5e6179 /libcaja-private/caja-extensions.c
parent3600fc2b4208a17217750bbce3e1928e760307fd (diff)
downloadcaja-df913aef213e9314e8037944fdb9a44f6dc7f9cf.tar.bz2
caja-df913aef213e9314e8037944fdb9a44f6dc7f9cf.tar.xz
Add about dialog for extensions
Diffstat (limited to 'libcaja-private/caja-extensions.c')
-rw-r--r--libcaja-private/caja-extensions.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/libcaja-private/caja-extensions.c b/libcaja-private/caja-extensions.c
index f553df13..cc167c5c 100644
--- a/libcaja-private/caja-extensions.c
+++ b/libcaja-private/caja-extensions.c
@@ -44,6 +44,10 @@ extension_new (gchar *filename, gboolean state, GObject *module)
ext->filename = filename;
ext->name = NULL;
ext->description = NULL;
+ ext->author = NULL;
+ ext->copyright = NULL;
+ ext->version = NULL;
+ ext->website = NULL;
ext->state = state;
ext->module = module;
@@ -53,7 +57,11 @@ extension_new (gchar *filename, gboolean state, GObject *module)
{
ext->name = g_key_file_get_locale_string (extension_file, CAJA_EXTENSION_GROUP, "Name", NULL, NULL);
ext->description = g_key_file_get_locale_string (extension_file, CAJA_EXTENSION_GROUP, "Description", NULL, NULL);
- ext->icon = g_key_file_get_locale_string (extension_file, CAJA_EXTENSION_GROUP, "Icon", NULL, NULL);
+ ext->icon = g_key_file_get_string (extension_file, CAJA_EXTENSION_GROUP, "Icon", NULL);
+ ext->author = g_key_file_get_string_list (extension_file, CAJA_EXTENSION_GROUP, "Author", NULL, NULL);
+ ext->copyright = g_key_file_get_string (extension_file, CAJA_EXTENSION_GROUP, "Copyright", NULL);
+ ext->version = g_key_file_get_string (extension_file, CAJA_EXTENSION_GROUP, "Version", NULL);
+ ext->website = g_key_file_get_string (extension_file, CAJA_EXTENSION_GROUP, "Website", NULL);
}
g_key_file_free (extension_file);
g_free (extension_filename);