Changeset 3aa7aa1180d71fdf093336f873b1dfedbda41455
- Timestamp:
- 25/02/10 20:15:34 (2 years ago)
- Author:
- Armin Burgmeier <armin@…>
- Parents:
- 982d556d90595247ada3b5eb2883f48c4d791ca5
- Children:
- 2b0b958b7bb16d70a8635314665373db6e80364b
- git-committer:
- Armin Burgmeier <armin@arbur.net> / 2010-02-25T20:15:34Z+0100
- Message:
-
Show remote users' position in scrollbar using InfTextGtkViewport?
2010-02-25 Armin Burgmeier <armin@…>
- code/core/textsessionview.hpp:
- code/core/textsessionview.cpp: Show remote users' position in
scrollbar using InfTextGtkViewport?.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r982d556
|
r3aa7aa1
|
|
| | 1 | 2010-02-25 Armin Burgmeier <armin@arbur.net> |
| | 2 | |
| | 3 | * code/core/textsessionview.hpp: |
| | 4 | * code/core/textsessionview.cpp: Show remote users' position in |
| | 5 | scrollbar using InfTextGtkViewport. |
| | 6 | |
| 1 | 7 | 2010-02-14 Benjamin Herr <ben@0x539.de> |
| 2 | 8 | |
-
|
r9f47baf
|
r3aa7aa1
|
|
| 242 | 242 | scroll->show(); |
| 243 | 243 | |
| | 244 | m_infviewport = inf_text_gtk_viewport_new(scroll->gobj(), user_table); |
| | 245 | |
| 244 | 246 | pack_start(*scroll, Gtk::PACK_EXPAND_WIDGET); |
| 245 | 247 | |
| … |
… |
|
| 255 | 257 | { |
| 256 | 258 | g_object_unref(m_infview); |
| | 259 | g_object_unref(m_infviewport); |
| 257 | 260 | } |
| 258 | 261 | |
| … |
… |
|
| 341 | 344 | user); |
| 342 | 345 | inf_text_gtk_view_set_active_user(m_infview, user); |
| | 346 | inf_text_gtk_viewport_set_active_user(m_infviewport, user); |
| 343 | 347 | |
| 344 | 348 | // TODO: Make sure the active user has the color specified in the |
-
|
r9f47baf
|
r3aa7aa1
|
|
| 31 | 31 | |
| 32 | 32 | #include <libinftextgtk/inf-text-gtk-view.h> |
| | 33 | #include <libinftextgtk/inf-text-gtk-viewport.h> |
| 33 | 34 | #include <libinftext/inf-text-session.h> |
| 34 | 35 | #include <libinftext/inf-text-user.h> |
| … |
… |
|
| 130 | 131 | std::auto_ptr<TextUndoGrouping> m_undo_grouping; |
| 131 | 132 | InfTextGtkView* m_infview; |
| | 133 | InfTextGtkViewport* m_infviewport; |
| 132 | 134 | |
| 133 | 135 | SignalLanguageChanged m_signal_language_changed; |