Enlightenment CVS committal
Author : andreas99
Project : e16
Module : tools
Dir : e16/tools/e16menuedit2/src
Modified Files:
callbacks.c file.c
Log Message:
better error handling for help files/apps
===================================================================
RCS file: /cvsroot/enlightenment/e16/tools/e16menuedit2/src/callbacks.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- callbacks.c 2 Nov 2004 17:23:14 -0000 1.18
+++ callbacks.c 4 Nov 2004 14:12:58 -0000 1.19
@@ -303,9 +303,13 @@
g_print ("running browser: %s\n", browser);
help_error = run_help (browser, PACKAGE_DOC_DIR, PACKAGE".html");
- if (help_error)
+ if (help_error == 1)
{
- print_statusbar ("no help system or help file found!\n");
+ print_statusbar ("No help file found!\n");
+ }
+ else if (help_error == 2)
+ {
+ print_statusbar ("No help application found");
}
}
}
===================================================================
RCS file: /cvsroot/enlightenment/e16/tools/e16menuedit2/src/file.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- file.c 28 Aug 2004 12:27:59 -0000 1.7
+++ file.c 4 Nov 2004 14:12:58 -0000 1.8
@@ -385,7 +385,7 @@
if (help_missing)
{
- /* no yelp files found */
+ /* no help files found */
return 1;
}
else
@@ -400,7 +400,7 @@
if (!spawn)
{
- /* no yelp application found */
+ /* no help application found */
return 2;
}
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs