[genius] Sat Feb 27 16:57:50 2010 Jiri (George) Lebl <jirka 5z com>



commit defa2f3d76df3b65acb01e073b95c49353c99cca
Author: Jiri (George) Lebl <jirka 5z com>
Date:   Sat Feb 27 16:57:55 2010 -0600

    Sat Feb 27 16:57:50 2010  Jiri (George) Lebl <jirka 5z com>
    
    	* src/gnome-genius.c: check events every time we get something from
    	  readline.  That way, the new line from "return" is truly
    	  synchroneous.  (it was in the wrong place for commands, even though
    	  for expression this already got fixed)

 ChangeLog          |    7 +++++++
 src/gnome-genius.c |    3 +++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bf06431..5eb9028 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sat Feb 27 16:57:50 2010  Jiri (George) Lebl <jirka 5z com>
+
+	* src/gnome-genius.c: check events every time we get something from
+	  readline.  That way, the new line from "return" is truly
+	  synchroneous.  (it was in the wrong place for commands, even though
+	  for expression this already got fixed)
+
 Wed Feb 03 00:10:42 2010  Jiri (George) Lebl <jirka 5z com>
 
 	* src/graphing.c: when drawing slopefield solutions, allow the graph
diff --git a/src/gnome-genius.c b/src/gnome-genius.c
index fde91fe..3fc950d 100644
--- a/src/gnome-genius.c
+++ b/src/gnome-genius.c
@@ -4518,6 +4518,9 @@ get_new_line (GIOChannel *source, GIOCondition condition, gpointer data)
 	int fd = g_io_channel_unix_get_fd (source);
 	int r;
 	char buf[5] = "EOF!";
+
+	/* make sure the GUI responds */
+	check_events ();
 	
 	if (condition & G_IO_HUP) {
 		char *str;



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