Добавлена кнопка Обновление в диалог работы с Git

This commit is contained in:
svkalinin 2022-11-18 12:10:11 +03:00
parent ae1a1aaba7
commit f1ff64ef6a
4 changed files with 49 additions and 18 deletions

View File

@ -123,3 +123,7 @@
- Fixed Git commit procedure
- Added variable and procedure helper
18/11/2022
- Add Refresh button into Git Dialog
- Fixed FindFunction

View File

@ -378,7 +378,12 @@ namespace eval Git {
# 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

View File

@ -6,6 +6,7 @@
######################################################
# Base64 encoded Images library
######################################################
image create photo projman -data {
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
WXMAAAsSAAALEgHS3X78AAAAB3RJTUUH1AsFAhA0bYcHMAAACoFJREFUeNqlV1uMG9UZ/uZiz9ge
@ -1244,3 +1245,21 @@ v/TeL/fxbh9hZrcppQXwAqyBlPNVIVTGcTwGLoDDXbJkxMzkJ9OvxhJkHoSq3omIZNyZmbkY40dd
TLvK61gD7/OmaZqbYRhOgU+gB7aZdsyNKe9KRBSwKWm7YyxO1ab1t58jIo8hhKtiHQWcAwfAKzDm
xBfyfGViwB4MCgAAAABJRU5ErkJggg==
}
image create photo refresh_11x11 -data {
iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAABhGlDQ1BJ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" -- "$@"
######################################################
# Version: 2.0.0
# Release: alpha
# Build: 16112022162516
# Build: 18112022120909
######################################################
# определим текущую версию, релиз и т.д.