Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests


Modified Files:
        ewl_theme.c 


Log Message:
- move away from ecore_config to our own system for configuration.
- reads a global config file from @PACKAGE_DATA_DIR@/config/ewl.cfg and a
  user config from ~/.ewl/config/ewl.cfg. Simple key=value pairs.
- can be used for application configuration as well. App configs will be in
  @PACKAGE_DATA_DIR@/config/apps/app_name.cfg or 
~/.ewl/config/apps/app_name.cfg.
- saving isn't implemented yet but you can edit the .cfg files to set your
  defaults and user overrides.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/ewl_theme.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ewl_theme.c 14 Aug 2006 14:56:55 -0000      1.6
+++ ewl_theme.c 30 Sep 2006 22:31:36 -0000      1.7
@@ -76,13 +76,11 @@
 static void
 cb_select_theme(Ewl_Widget *w __UNUSED__, void *ev __UNUSED__, void *data)
 {
-       Ewl_Widget *n;
        char theme_filename[PATH_MAX];
        
-       n = ewl_widget_name_find("notebook");
        snprintf(theme_filename, sizeof(theme_filename), 
                        PACKAGE_DATA_DIR "/themes/%s", (char *)data);
-       ewl_theme_data_str_set(n, "/file", theme_filename);
+       ewl_theme_theme_set(theme_filename);
 }
 
 static Ewl_Widget *



-------------------------------------------------------------------------
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