Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_misc.c 


Log Message:
- If the user requests a theme on the command line we don't want to set it
  immediatly as the theme subsystem hasn't been initialized yet. Store it as
  a transient value in the config where the theme init will pick it up.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_misc.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -3 -r1.73 -r1.74
--- ewl_misc.c  15 Nov 2006 16:18:54 -0000      1.73
+++ ewl_misc.c  16 Nov 2006 16:12:14 -0000      1.74
@@ -509,7 +509,10 @@
                }
                else if (!strcmp(argv[i], "--ewl-theme")) {
                        if (i + 1 < *argc) {
-                               ewl_theme_theme_set(argv[i + 1]);
+                               ewl_config_string_set(ewl_config, 
+                                                       EWL_CONFIG_THEME_NAME,
+                                                       argv[i + 1], 
+                                                       EWL_STATE_TRANSIENT);
                                matched++;
                        }
                        matched++;



-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to