Author: rpmcruz Date: Tue Sep 8 04:37:31 2009 New Revision: 58575 URL: http://svn.opensuse.org/viewcvs/yast?rev=58575&view=rev Log: For some reason, scrollBottom not being called on LogView. Modified: trunk/gtk/src/YGText.cc trunk/gtk/src/YGUtils.cc Modified: trunk/gtk/src/YGText.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGText.cc?rev=58575&r1=58574&r2=58575&view=diff ============================================================================== --- trunk/gtk/src/YGText.cc (original) +++ trunk/gtk/src/YGText.cc Tue Sep 8 04:37:31 2009 @@ -141,7 +141,10 @@ // YLogView virtual void displayLogText (const string &text) - { setText (text); } + { + setText (text); + scrollToBottom(); + } // YGWidget virtual unsigned int getMinSize (YUIDimension dim) Modified: trunk/gtk/src/YGUtils.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGUtils.cc?rev=58575&r1=58574&r2=58575&view=diff ============================================================================== --- trunk/gtk/src/YGUtils.cc (original) +++ trunk/gtk/src/YGUtils.cc Tue Sep 8 04:37:31 2009 @@ -400,7 +400,6 @@ void YGUtils::scrollWidget (GtkAdjustment *vadj, bool top) { - // for some widgets, we need to change adjustment before moving down... if (top) gtk_adjustment_set_value (vadj, vadj->lower); else -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org