Skip to content

Commit

Permalink
Re-show name of user when adding a new action if user is idle.
Browse files Browse the repository at this point in the history
  • Loading branch information
acaudwell committed Aug 13, 2010
1 parent 5d49a10 commit 836b1d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -2,6 +2,7 @@
* Bazaar support for merged commits (Nick Moffit).
* C++ efficiency improvements (Oliver Smith).
* Improved cvs-exp log compatibility.
* Re-show name of user when adding a new action if user is idle.

0.27:
* Display time stops at the time of the last commit.
Expand Down
3 changes: 3 additions & 0 deletions src/user.cpp
Expand Up @@ -51,6 +51,9 @@ void RUser::addAction(RAction* action) {

if(action->source != this) return;

if(isIdle()) showName();
//name_interval = name_interval > 0.0 ? std::max(name_interval,nametime-1.0f) : nametime;

actions.push_back(action);
actionCount++;
}
Expand Down

0 comments on commit 836b1d7

Please sign in to comment.