Author: rpmcruz Date: Thu Dec 6 14:13:10 2007 New Revision: 42759 URL: http://svn.opensuse.org/viewcvs/yast?rev=42759&view=rev Log: Removed bug line on changelog -- it was caused by somehting else... Some printfs to ygui. Modified: trunk/gtk/unstable-libyui/ChangeLog trunk/gtk/unstable-libyui/src/YGUI.cc Modified: trunk/gtk/unstable-libyui/ChangeLog URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/unstable-libyui/ChangeLog?rev... ============================================================================== --- trunk/gtk/unstable-libyui/ChangeLog (original) +++ trunk/gtk/unstable-libyui/ChangeLog Thu Dec 6 14:13:10 2007 @@ -2,7 +2,6 @@ * Fixed previous crash, some other problems and some improvements. * Weird problems left: - + it hangs when suposedly the code is already terminated. + crashes on sw_single (says we are calling a pure virtual func) sometimes, it just exists normally right after the selector widget appears Modified: trunk/gtk/unstable-libyui/src/YGUI.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/unstable-libyui/src/YGUI.cc?r... ============================================================================== --- trunk/gtk/unstable-libyui/src/YGUI.cc (original) +++ trunk/gtk/unstable-libyui/src/YGUI.cc Thu Dec 6 14:13:10 2007 @@ -109,10 +109,14 @@ } } +#define PRINT_EVENTS + void YGUI::idleLoop (int fd_ycp) { IMPL -//fprintf (stderr, "idleLoop()\n"); +#ifdef PRINT_EVENTS +fprintf (stderr, "idleLoop()\n"); +#endif // The rational for this is that we need somewhere to run // the magic 'main' thread, that can process thread unsafe // incoming CORBA messages for us @@ -131,7 +135,9 @@ g_source_remove (watch_tag); g_io_channel_unref (wakeup); -//fprintf (stderr, "no more idle\n"); +#ifdef PRINT_EVENTS +fprintf (stderr, "no more idle\n"); +#endif } static gboolean user_input_timeout_cb (YGUI *pThis) @@ -152,7 +158,9 @@ YEvent *YGUI::waitInput (unsigned long timeout_ms, bool block) { IMPL -//fprintf (stderr, "waitInput()\n"); +#ifdef PRINT_EVENTS +fprintf (stderr, "waitInput()\n"); +#endif if (!YDialog::currentDialog (false)) return NULL; @@ -183,7 +191,9 @@ if (block) // if YCP keeps working for more than X time, set busy cursor busy_timeout = g_timeout_add (BUSY_CURSOR_TIMEOUT, busy_timeout_cb, this); -//fprintf (stderr, "returning event: %s\n", !event ? "(none)" : YEvent::toString (event->eventType())); +#ifdef PRINT_EVENTS +fprintf (stderr, "returning event: %s\n", !event ? "(none)" : YEvent::toString (event->eventType())); +#endif return event; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org