[yast-commit] r48037 - in /trunk/gtk: ChangeLog src/YGDialog.cc
Author: rpmcruz Date: Wed Jun 4 04:21:21 2008 New Revision: 48037 URL: http://svn.opensuse.org/viewcvs/yast?rev=48037&view=rev Log: * src/YGDialog.cc: some changes to see if we fix bug 393143... Modified: trunk/gtk/ChangeLog trunk/gtk/src/YGDialog.cc Modified: trunk/gtk/ChangeLog URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=48037&r1=48036&r2=48037&view=diff ============================================================================== --- trunk/gtk/ChangeLog (original) +++ trunk/gtk/ChangeLog Wed Jun 4 04:21:21 2008 @@ -14,6 +14,8 @@ the fact we are supposed to call parent's methods before running our code... NOTE + * src/YGDialog.cc: some changes to see if we fix bug 393143... + 2008-06-02 Michael Meeks <michael.meeks@novell.com> * src/YGUI.cc (YGApplication::makeScreenShot), Modified: trunk/gtk/src/YGDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGDialog.cc?rev=48037&r1=48036&r2=48037&view=diff ============================================================================== --- trunk/gtk/src/YGDialog.cc (original) +++ trunk/gtk/src/YGDialog.cc Wed Jun 4 04:21:21 2008 @@ -115,14 +115,22 @@ void normalCursor() { - if (GTK_WIDGET_REALIZED (m_widget)) { + if (GTK_WIDGET_REALIZED (m_widget) +// trying to fix 393143 +&& GTK_WIDGET_MAPPED (m_widget) +&& GTK_WIDGET_VISIBLE (m_widget) +) { gdk_window_set_cursor (m_widget->window, NULL); } } void busyCursor() { - if (GTK_WIDGET_REALIZED (m_widget)) { + if (GTK_WIDGET_REALIZED (m_widget) +// trying to fix 393143 +&& GTK_WIDGET_MAPPED (m_widget) +&& GTK_WIDGET_VISIBLE (m_widget) +) { GdkDisplay *display = gtk_widget_get_display (m_widget); GdkCursor *cursor = gdk_cursor_new_for_display (display, GDK_WATCH); gdk_window_set_cursor (m_widget->window, cursor); @@ -372,11 +380,13 @@ void YGDialog::normalCursor() { +if (m_window) // trying to fix bug 393143 m_window->normalCursor(); } void YGDialog::busyCursor() { +if (m_window) m_window->busyCursor(); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
rpmcruz@svn.opensuse.org