Commit Graph

48 Commits

Author SHA1 Message Date
Michael Jennings c274c25cfa E-Cpu now uses the new config stuff and supports multiple instances.
SVN revision: 952
1999-10-22 22:25:47 +00:00
Michael Jennings 9898d36b95 Fri Oct 22 21:43:33 PDT 1999
(KainX)

Alright, I've got the config stuff working as planned.  Epplet_Init() has the
same parameters as it used to.  If you use config files, make sure to call
Epplet_load_config() AFTER calling Epplet_Init() but BEFORE attempting to
access config data.

Also note the function name changes:  Epplet_save_config(),
Epplet_query_config_data(), and Epplet_modify_config_data().


SVN revision: 951
1999-10-22 22:09:18 +00:00
Christian Kreibich 5231296117 Ok, the config file management should work now. Lock files are used
for instance accounting, every epplet has its own directory in
~/.enlightenment/epplet_config/<epplet-name>, transparent config file
handling is provided. Users only need to query for settings and change
settings. Config settings are saved automatically on exit, which
means that users MUST call Epplet_cleanup() before exiting. Every
epplet instance has its own config file. Also added a mechanism for
defining default settings.

Updated all epplets accordingly.

Look at ConfigTestEpplet.c for the details. It shows what instance it
is running as and keeps a record on how many times that instance
has been run in the config files.


SVN revision: 949
1999-10-22 16:43:22 +00:00
Carsten Haitzler a2dabc9c23 stuffffffff :)
SVN revision: 922
1999-10-21 11:26:10 +00:00
Carsten Haitzler f335cedd01 add epplet from john slee that chnages desktop areas :) great example of
using IPC to control E form an epplet :)


SVN revision: 921
1999-10-21 09:07:38 +00:00
Carsten Haitzler ab93e42a20 add get data for timers :)
SVN revision: 919
1999-10-20 22:23:29 +00:00
Carsten Haitzler 52b332315b fix segv in E-Cpu
SVN revision: 905
1999-10-20 16:09:34 +00:00
Michael Jennings 41a6d75874 Tue Oct 19 14:21:41 PDT 1999
(KainX)

Added 7of9 mode to E-Biff just for raster. :-)
Also fixed some bugs with the config file stuff.  If you're going to parse a
config file, *honor* it for pete's sake! =P


SVN revision: 885
1999-10-19 15:27:44 +00:00
Mandrake e873ec708e and the same EMix -> Emix typo hits us again
SVN revision: 884
1999-10-19 14:08:38 +00:00
Mandrake 0a479dd54e we were a bit too liberal with slashes.
SVN revision: 883
1999-10-19 14:05:02 +00:00
Carsten Haitzler 10755b7a3d damn u automake! :-)
SVN revision: 882
1999-10-19 14:01:58 +00:00
Carsten Haitzler 6b2fb62520 :)
SVN revision: 881
1999-10-19 14:00:27 +00:00
Carsten Haitzler d4d43070b1 fix that :)
SVN revision: 880
1999-10-19 13:57:06 +00:00
Carsten Haitzler 1f1ae81ca2 added Emix epplet... :) fixed EBiff icon to be smaller :)
SVN revision: 879
1999-10-19 13:46:24 +00:00
Michael Jennings 6ff06d5752 You can't use ${DATA} guys. Changed to ${IMAGES}.
SVN revision: 877
1999-10-19 11:45:30 +00:00
Christian Kreibich 5a07fb6ef3 In config files, treat lines starting with '#' as comments.
SVN revision: 874
1999-10-19 10:32:49 +00:00
Carsten Haitzler 2cb8aa709e no 0x there....
SVN revision: 872
1999-10-19 10:19:13 +00:00
Carsten Haitzler df0ef9387b rememebr works again
SVN revision: 868
1999-10-19 00:43:27 +00:00
Mandrake 7cbbb004ee Mon Oct 18 18:13:35 PDT 1999
(Mandrake)

fixed another Makefile.am bug


SVN revision: 865
1999-10-18 19:22:29 +00:00
Carsten Haitzler 64ffdbf7b2 better default label if you dont have apm.. :)
SVN revision: 864
1999-10-18 19:15:32 +00:00
Mandrake 46813490cc Mon Oct 18 16:02:50 PDT 1999
(Mandrake)

fixed Makefile.am in epplets to actually build some directories it asked for.
added ChangeLog


SVN revision: 842
1999-10-18 17:13:26 +00:00
Christian Kreibich e5d23bbf3c The beginnings of a config file manager. Mostly works,
but I haven't tested it enough yet.

The idea is to run
Epplet_load_config_file("~/.whaterver");
assuming that the config file looks e.g. this:

a_number 	123
some_word 	hello
my_string 	hello world

and then query for the keys in the first column using

char * s;

s = Epplet_query_config_file("my_string");
if (s)
  {
    /* s is now "hello world". */
  }


Hope that's a good idea.

Cheers,
-- Christian.


SVN revision: 838
1999-10-18 15:50:58 +00:00
Carsten Haitzler 0a414ad2c2 add 2 calls :)
SVN revision: 836
1999-10-18 15:04:54 +00:00
Carsten Haitzler 6470e903a9 add a battery meter epplet :) - okj someoen else did already but min looks
sexy and i wrote it on the plane flight back from ALS :)


SVN revision: 835
1999-10-18 14:55:46 +00:00
Michael Jennings 77adef0a94 Oops.
SVN revision: 832
1999-10-15 19:43:49 +00:00
Michael Jennings 18d5bff668 Pass make distcheck
SVN revision: 831
1999-10-15 19:04:44 +00:00
Michael Jennings cb07d706f8 E-Biff 0.3.
Features a new layout, a new icon, and config file support.


SVN revision: 830
1999-10-15 18:53:49 +00:00
Michael Jennings db2fbd36ad Doh?
Doh.


SVN revision: 829
1999-10-15 14:11:05 +00:00
Michael Jennings 80fa34751c Build fixes and a new digital clock epplet.
SVN revision: 828
1999-10-15 14:10:39 +00:00
Carsten Haitzler f11a42a32c add dialog ok call for epplets :)
SVN revision: 825
1999-10-13 22:31:43 +00:00
Carsten Haitzler a8451a6ef0 not desktop remembeirng...
SVN revision: 824
1999-10-13 22:18:18 +00:00
Carsten Haitzler 9288bb6368 add about stuff for the epplets
SVN revision: 823
1999-10-13 22:16:48 +00:00
Carsten Haitzler 9552ddec4a add abotu call....... to header file
SVN revision: 822
1999-10-13 21:14:51 +00:00
Carsten Haitzler 0c6a67c2d4 add about call......
SVN revision: 821
1999-10-13 21:13:40 +00:00
Carsten Haitzler 2ab08d6a18 add aoubt docs for E-Cpu.. :)
SVN revision: 820
1999-10-13 21:12:40 +00:00
Michael Jennings b5265feaa9 Feh.
SVN revision: 819
1999-10-13 19:25:41 +00:00
Michael Jennings 278d66d3ad Make EROOT and EBIN available to all epplets.
SVN revision: 818
1999-10-13 19:20:44 +00:00
Carsten Haitzler df793d4b3d E-clock changed.. much sexier now :)
SVN revision: 817
1999-10-13 19:04:05 +00:00
Michael Jennings 2f6a313fa9 It works! :)
SVN revision: 816
1999-10-13 18:39:17 +00:00
Michael Jennings 5921e8bbd9 Installing binaries, good. Installing icons, still working on it. :)
SVN revision: 815
1999-10-13 18:32:38 +00:00
Carsten Haitzler d401869aec more additions
SVN revision: 814
1999-10-13 18:14:25 +00:00
Carsten Haitzler 8f6736c21d some minor updates
SVN revision: 813
1999-10-13 18:14:19 +00:00
Carsten Haitzler 877b6eb61a make this compile :)
SVN revision: 811
1999-10-13 17:41:41 +00:00
Michael Jennings b53d6e8aac And again.
SVN revision: 810
1999-10-13 17:41:25 +00:00
Michael Jennings cd5773b2fb Shut up CVS.
SVN revision: 809
1999-10-13 17:41:09 +00:00
Michael Jennings 560aad04d5 Build with automake. Don't try installing yet; that doesn't work, but
raster needs my work to this point, so here it is. :)


SVN revision: 808
1999-10-13 17:39:37 +00:00
Carsten Haitzler fb927ed081 add api..........
SVN revision: 807
1999-10-13 17:34:12 +00:00
Carsten Haitzler 6c64681206 imporoting epplets......
SVN revision: 806
1999-10-13 15:14:42 +00:00