Changeset 2564 for trunk/jons-gtk-gui

Show
Ignore:
Timestamp:
06/19/01 02:50:50 (7 years ago)
Author:
emojon
Message:

When receiving a message and the window is active, scroll all the way down to
the bottom of the window to show all the message.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jons-gtk-gui/src/convo.cpp

    r2532 r2564  
    486486        gtk_text_insert(GTK_TEXT(c->text), 0, 0, 0, "\n", -1); 
    487487        gtk_text_thaw(GTK_TEXT(c->text)); 
     488        gtk_adjustment_set_value(GTK_TEXT(c->text)->vadj, 
     489             GTK_ADJUSTMENT(GTK_TEXT(c->text)->vadj)->upper); 
    488490        break; 
    489491      }