Mailinglist Archive: yast-commit (1914 mails)

< Previous Next >
[yast-commit] r58575 - in /trunk/gtk/src: YGText.cc YGUtils.cc
  • From: rpmcruz@xxxxxxxxxxxxxxxx
  • Date: Tue, 08 Sep 2009 02:37:32 -0000
  • Message-id: <E1MkqaK-0003eP-9G@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages