ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/src gtkspell.c,1.2,1.3


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src gtkspell.c,1.2,1.3
Date: Fri, 10 Jan 2003 12:04:40 -0500

Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv28065/src

Modified Files:
        gtkspell.c 
Log Message:
display ispell error


Index: gtkspell.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/gtkspell.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gtkspell.c  10 Jan 2003 16:38:20 -0000      1.2
+++ gtkspell.c  10 Jan 2003 17:04:38 -0000      1.3
@@ -18,6 +18,7 @@
 
 #include "intl.h"
 #include <gtk/gtk.h>
+#include <glib.h>
 
 #include <sys/types.h>
 #ifndef __MINGW32__
@@ -35,6 +36,7 @@
 #include <stdlib.h>
 #include <errno.h>
 
+#include "dialog.h"
 /* TODO:
  * handle dictionary changes
  * asynchronous lookups
@@ -204,6 +206,9 @@
                 * if it doesn't, it's an error. */
                if (buf[0] != '@') {
                        gtkspell_stop();
+                       do_error_dialog(_("Ispell exited abnormally.\n You 
probably specified a invalid dictionary."),
+                                       _("Ispell error"));
+
                        return -1;
                }
        }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]