Enlightenment CVS committal
Author : rephorm
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_int_config_icon_themes.c
Log Message:
re-enable restart on icon theme change
i'll add an event later so everything can update their icons on the fly.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_icon_themes.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- e_int_config_icon_themes.c 25 Mar 2007 15:07:57 -0000 1.21
+++ e_int_config_icon_themes.c 25 Mar 2007 16:36:33 -0000 1.22
@@ -105,6 +105,10 @@
e_config->icon_theme = evas_stringshare_add(cfdata->themename);
e_config_save_queue();
+ /* If it's good enough for themes, it's good enough for icon themes, but
ICK!. */
+ a = e_action_find("restart");
+ if ((a) && (a->func.go)) a->func.go(NULL, NULL);
+
return 1; /* Apply was OK */
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs