Skip to content

Commit

Permalink
git-gui: Clarify the Remote -> Delete... action
Browse files Browse the repository at this point in the history
Currently, it was not really clear what all does this perform. We rename
"Delete..." to "Delete Branch..." (since this does not delete the remote
as a whole) and relabel the window from "Delete Remote Branch" to "Delete
Branch Remotely" (since the action also involves pushing the delete out).

Signed-off-by: Petr Baudis <petr.baudis@novartis.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  • Loading branch information
Petr Baudis authored and Shawn O. Pearce committed Sep 30, 2008
1 parent 34785f8 commit 3c1c2a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion git-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2453,7 +2453,7 @@ if {[is_enabled transport]} {
-command do_push_anywhere \
-accelerator $M1T-P
.mbar.remote add command \
-label [mc "Delete..."] \
-label [mc "Delete Branch..."] \
-command remote_branch_delete::dialog
}
Expand Down
4 changes: 2 additions & 2 deletions lib/remote_branch_delete.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ constructor dialog {} {
global all_remotes M1B

make_toplevel top w
wm title $top [append "[appname] ([reponame]): " [mc "Delete Remote Branch"]]
wm title $top [append "[appname] ([reponame]): " [mc "Delete Branch Remotely"]]
if {$top ne {.}} {
wm geometry $top "+[winfo rootx .]+[winfo rooty .]"
}

label $w.header -text [mc "Delete Remote Branch"] -font font_uibold
label $w.header -text [mc "Delete Branch Remotely"] -font font_uibold
pack $w.header -side top -fill x

frame $w.buttons
Expand Down

0 comments on commit 3c1c2a0

Please sign in to comment.