View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd
In directory sc8-pr-cvs1:/tmp/cvs-serv6712
Modified Files:
preferences.js search.htm tools.js
Log Message:
- Added startup commands (Neel Doshi)
Index: preferences.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/preferences.js,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** preferences.js 4 Nov 2002 04:08:28 -0000 1.50
--- preferences.js 13 Sep 2003 08:30:37 -0000 1.51
***************
*** 429,431 ****
* for some with disappearing tray icons at startup.
*/
! refreshIconsAtStartup = true;
\ No newline at end of file
--- 429,440 ----
* for some with disappearing tray icons at startup.
*/
! refreshIconsAtStartup = true;
!
! /* Startup functions
! * Used to allow for personalized startup routines through the Quick Search Deskbar.
! * TIP: If you wish to call a function, use the escape character to escape
parentheses
! * and quotes: i.e. in localprefs.js you can state:
! * startupCommands = "FunctionFoo\(\)";
! * presuming you have defined FunctionFoo() someplace else.
! */
! var startupCommands = new String();
\ No newline at end of file
Index: search.htm
===================================================================
RCS file: /cvsroot/dqsd/dqsd/search.htm,v
retrieving revision 1.175
retrieving revision 1.176
diff -C2 -d -r1.175 -r1.176
*** search.htm 4 Sep 2003 07:12:47 -0000 1.175
--- search.htm 13 Sep 2003 08:30:37 -0000 1.176
***************
*** 598,601 ****
--- 598,607 ----
else
startclock(clockdelay);
+
+ // Allow users to define a startup function to enable customized startups.
+ if ((typeof startup) == 'function')
+ {
+ startup();
+ }
}
Index: tools.js
===================================================================
RCS file: /cvsroot/dqsd/dqsd/tools.js,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** tools.js 27 Jun 2003 22:43:13 -0000 1.38
--- tools.js 13 Sep 2003 08:30:37 -0000 1.39
***************
*** 299,300 ****
--- 299,310 ----
alertmode && alert(s);
}
+
+ // Function used to allow startup options for DQSD.
+ function startup()
+ {
+ if (startupCommands != "")
+ {
+ eval(startupCommands);
+ }
+ return true;
+ }
\ No newline at end of file
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/