}
}
if (!priv->running){
- if (priv->exec_path){
+ if (g_hash_table_lookup(priv->hash_theme, "exec_path")){
init_scene_External(priv->desktop_plugin);
}
}
priv->pipeline = NULL;
priv->podpid = -1;
priv->running = FALSE;
- priv->exec_path = NULL;
priv->window = main_widget;
/* fprintf(stderr,"XWINDOW %i\n",GDK_WINDOW_XID (main_widget->window)); */
priv->desktop_plugin = desktop_plugin;
while (store){
if (!strcmp(priv->theme, g_hash_table_lookup(store->data, "name"))){
priv->scene_func = (gpointer)&init_scene_External;
- priv->exec_path = g_strdup(g_hash_table_lookup(store->data, "exec_path"));
+ priv->hash_theme = store->data;
break;
}
store = g_slist_next(store);