summaryrefslogtreecommitdiffstats
path: root/src/event-log.cpp
diff options
context:
space:
mode:
authorgustav_b <gustav_b@users.sourceforge.net>2006-10-06 22:13:54 +0000
committergustav_b <gustav_b@users.sourceforge.net>2006-10-06 22:13:54 +0000
commit0b34fc745864c8d4572c556d43fbfb30c607a310 (patch)
treef417c80fce6a7ed5f08d16b4a329788f09ec640c /src/event-log.cpp
parentcorrected spelling of language for NSIS (diff)
downloadinkscape-0b34fc745864c8d4572c556d43fbfb30c607a310.tar.gz
inkscape-0b34fc745864c8d4572c556d43fbfb30c607a310.zip
Implement singleton behaviour for undo history dialog. Make sure event
log gets created on SPDesktop::change_document. (bzr r1772)
Diffstat (limited to 'src/event-log.cpp')
-rw-r--r--src/event-log.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event-log.cpp b/src/event-log.cpp
index 751616d30..08fb45f9b 100644
--- a/src/event-log.cpp
+++ b/src/event-log.cpp
@@ -77,7 +77,7 @@ EventLog::notifyUndoEvent(Event* log)
Gtk::TreePath curr_path = _event_list_store->get_path(_curr_event);
_event_list_view->expand_to_path(curr_path);
_event_list_selection->select(curr_path);
- _event_list_view->scroll_to_row(curr_path);
+ _event_list_view->scroll_to_row(curr_path);
(*_callback_connections)[CALLB_EXPAND].block(false);
(*_callback_connections)[CALLB_SELECTION_CHANGE].block(false);
@@ -135,7 +135,7 @@ EventLog::notifyRedoEvent(Event* log)
_event_list_view->expand_to_path(curr_path);
_event_list_selection->select(curr_path);
- _event_list_view->scroll_to_row(curr_path);
+ _event_list_view->scroll_to_row(curr_path);
(*_callback_connections)[CALLB_EXPAND].block(false);
(*_callback_connections)[CALLB_SELECTION_CHANGE].block(false);
@@ -219,7 +219,7 @@ EventLog::notifyUndoCommitEvent(Event* log)
_event_list_view->expand_to_path(curr_path);
_event_list_selection->select(curr_path);
- _event_list_view->scroll_to_row(curr_path);
+ _event_list_view->scroll_to_row(curr_path);
(*_callback_connections)[CALLB_EXPAND].block(false);
(*_callback_connections)[CALLB_SELECTION_CHANGE].block(false);