tint2conf : store/load selected theme

git-svn-id: http://tint2.googlecode.com/svn/trunk@409 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-04-01 21:25:11 +00:00
parent 24f47c9c24
commit a0a8b6faaf
2 changed files with 47 additions and 17 deletions

View File

@@ -59,7 +59,7 @@ void custom_list_append(const gchar *name)
snap = g_build_filename (g_get_user_config_dir(), "tint2", "snap.jpg", NULL);
g_remove(snap);
cmd = g_strdup_printf("tint2 -c %s -s %s", name, snap);
cmd = g_strdup_printf("tint2 -c \'%s\' -s \'%s\'", name, snap);
system(cmd);
g_free(cmd);