Добавлена кнопка Обновление в диалог работы с Git
This commit is contained in:
parent
ae1a1aaba7
commit
f1ff64ef6a
|
@ -123,3 +123,7 @@
|
|||
- Fixed Git commit procedure
|
||||
- Added variable and procedure helper
|
||||
|
||||
18/11/2022
|
||||
- Add Refresh button into Git Dialog
|
||||
- Fixed FindFunction
|
||||
|
||||
|
|
14
lib/git.tcl
14
lib/git.tcl
|
@ -377,8 +377,13 @@ namespace eval Git {
|
|||
foreach { line } [Git::Reflog] {
|
||||
# puts $line
|
||||
$w.body.lLog insert end $line
|
||||
}
|
||||
# End Git commit history
|
||||
}
|
||||
focus -force $w.body.lBox
|
||||
catch {
|
||||
$w.body.lBox activate 0
|
||||
$w.body.lBox selection set 0 0
|
||||
Git::ListBoxPress $w
|
||||
}
|
||||
}
|
||||
|
||||
proc AddToplevel {lbl img {win_name .auth}} {
|
||||
|
@ -531,7 +536,10 @@ namespace eval Git {
|
|||
ttk::frame $fr.header
|
||||
set lblText "$activeProject | [::msgcat::mc "Branch"]: [Git::Branches current]"
|
||||
ttk::label $fr.header.lblGit -text $lblText -justify right
|
||||
pack $fr.header.lblGit -side right -expand true -fill x
|
||||
ttk::button $fr.header.btnRefresh -image refresh_11x11 \
|
||||
-command "Git::DialogUpdate $fr"
|
||||
pack $fr.header.lblGit -side left -expand true -fill x
|
||||
pack $fr.header.btnRefresh -side right
|
||||
pack $fr.header -side top -fill x -padx 3
|
||||
|
||||
ttk::frame $fr.body
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
######################################################
|
||||
# Base64 encoded Images library
|
||||
######################################################
|
||||
|
||||
image create photo projman -data {
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
|
||||
WXMAAAsSAAALEgHS3X78AAAAB3RJTUUH1AsFAhA0bYcHMAAACoFJREFUeNqlV1uMG9UZ/uZiz9ge
|
||||
|
@ -1229,18 +1230,36 @@ image create photo key_64x64 -data {
|
|||
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pjiK/aqUsotfMRWZh7iWtM0
|
||||
N2ez2TaOsY09aGXmq4i4HBFHTdMMN7Om0+m82+3eycyNpBURZ3iXmW9doNfrbS0Wiwner6Wf/oco
|
||||
pbzGVYiIebvdftnv9/9sAqWUDoYR8a3CIQ5wkJk7+/v783/aIl7gWWZeb100MvN0PB53MCuldDLz
|
||||
eWYer/e+iVJK4gvu4wqWOMMNXMKv1Wr1eDAYnFR4OplMHlZVdQ9l/dwufmTmh7qu7w4GgxP4C5QM
|
||||
b3lPIiauAAAAAElFTkSuQmCC
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ exec wish "$0" -- "$@"
|
|||
######################################################
|
||||
# Version: 2.0.0
|
||||
# Release: alpha
|
||||
# Build: 16112022162516
|
||||
# Build: 18112022120909
|
||||
######################################################
|
||||
|
||||
# определим текущую версию, релиз и т.д.
|
||||
|
|
Loading…
Reference in New Issue
Block a user