git-commit-vandalism/lib
Shawn O. Pearce 699d5601f5 git-gui: Refactor our ui_status_value update technique
I'm really starting to dislike global variables.  The ui_status_value
global varible is just one of those that seems to appear in a lot of
code and in many cases we didn't even declare it "global" within the
proc that updates it so we haven't always been getting all of the
updates we expected to see.

This change introduces two new global procs:

  ui_status $msg;   # Sets the status bar to show $msg.
  ui_ready;         # Changes the status bar to show "Ready."

The second (special) form is used because we often update the area
with this message once we are done processing a block of work and
want the user to know we have completed it.

I'm not fixing the cases that appear in lib/branch.tcl right now
as I'm actually in the middle of a huge refactoring of that code
to support making a detached HEAD checkout.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2007-07-08 21:12:57 -04:00
..
blame.tcl Merge branch 'maint' 2007-07-08 21:10:03 -04:00
branch_create.tcl git-gui: Automatically refresh tracking branches when needed 2007-07-08 21:12:55 -04:00
branch_delete.tcl git-gui: Enhance choose_rev to handle hundreds of branches 2007-07-08 21:12:52 -04:00
branch_rename.tcl Merge branch 'maint' 2007-06-11 23:58:11 -04:00
branch.tcl git-gui: Sort tags descending by tagger date 2007-07-08 21:12:53 -04:00
browser.tcl git-gui: Save geometry before the window layout is damaged 2007-06-11 23:52:43 -04:00
choose_rev.tcl git-gui: Option to default new branches to match tracking branches 2007-07-08 21:12:54 -04:00
class.tcl git-gui: Teach class system to support [$this cmd] syntax 2007-07-08 21:12:45 -04:00
commit.tcl git-gui: Refactor our ui_status_value update technique 2007-07-08 21:12:57 -04:00
console.tcl git-gui: Automatically refresh tracking branches when needed 2007-07-08 21:12:55 -04:00
database.tcl git-gui: Convert browser, console to "class" format 2007-05-08 21:38:54 -04:00
diff.tcl git-gui: Refactor our ui_status_value update technique 2007-07-08 21:12:57 -04:00
error.tcl git-gui: Refactor into multiple files to save my sanity 2007-05-07 23:35:48 -04:00
index.tcl git-gui: Refactor our ui_status_value update technique 2007-07-08 21:12:57 -04:00
merge.tcl git-gui: Refactor our ui_status_value update technique 2007-07-08 21:12:57 -04:00
option.tcl git-gui: Option to default new branches to match tracking branches 2007-07-08 21:12:54 -04:00
remote_branch_delete.tcl git-gui: Correct resizing of remote branch delete dialog 2007-07-04 23:16:20 -04:00
remote.tcl git-gui: Maintain remote and source ref for tracking branches 2007-07-08 21:12:49 -04:00
shortcut.tcl git-gui: Ensure windows shortcuts always have .bat extension 2007-07-06 04:02:18 -04:00
transport.tcl git-gui: GUI support for running 'git remote prune <name>' 2007-05-28 17:50:40 -04:00