[yast-commit] r44089 - /trunk/gtk/src/YGDialog.cc
Author: michael_meeks Date: Thu Jan 31 21:49:59 2008 New Revision: 44089 URL: http://svn.opensuse.org/viewcvs/yast?rev=44089&view=rev Log: suggested code. Modified: trunk/gtk/src/YGDialog.cc Modified: trunk/gtk/src/YGDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGDialog.cc?rev=44089&r1=44088&r2=44089&view=diff ============================================================================== --- trunk/gtk/src/YGDialog.cc (original) +++ trunk/gtk/src/YGDialog.cc Thu Jan 31 21:49:59 2008 @@ -424,6 +424,12 @@ void YGDialog::openInternal() { +#if TESTED + // Ensure only one default button ? + gtk_widget_show (m_widget); + gtk_window_present (GTK_WINDOW (m_widget)); + gtk_widget_queue_draw (m_widget); +#endif #if 0 ensureOnlyOneDefaultButton(); QWidget::show(); @@ -436,6 +442,10 @@ void YGDialog::activate() { +#if TESTED + gtk_window_present (GTK_WINDOW (m_widget)); + gtk_widget_queue_draw (m_widget); +#endif #if 0 QWidget::raise(); QWidget::update(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
michael_meeks@svn.opensuse.org