From f1ff64ef6af2222b9cc382b05f46fd6887b8c2b0 Mon Sep 17 00:00:00 2001 From: svkalinin Date: Fri, 18 Nov 2022 12:10:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA=D0=B0=20=D0=9E?= =?UTF-8?q?=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2?= =?UTF-8?q?=20=D0=B4=D0=B8=D0=B0=D0=BB=D0=BE=D0=B3=20=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D1=8B=20=D1=81=20Git?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG | 4 ++++ lib/git.tcl | 14 ++++++++++--- lib/image_library.tcl | 47 ++++++++++++++++++++++++++++++------------- projman.tcl | 2 +- 4 files changed, 49 insertions(+), 18 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 87f21e9..52e2680 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -123,3 +123,7 @@ - Fixed Git commit procedure - Added variable and procedure helper +18/11/2022 + - Add Refresh button into Git Dialog + - Fixed FindFunction + diff --git a/lib/git.tcl b/lib/git.tcl index f7ddd88..675ad65 100644 --- a/lib/git.tcl +++ b/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 diff --git a/lib/image_library.tcl b/lib/image_library.tcl index 5928ea5..fd4afd8 100644 --- a/lib/image_library.tcl +++ b/lib/image_library.tcl @@ -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 { dh5PQV++Po08melyFTqZXF95R/4NG2ENnSFASIsAAAAASUVORK5CYII= } image create photo new_14x14 -data { -iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAABhWlDQ1BJQ0MgcHJvZmlsZQAAKJF9 -kT1Iw0AcxV9TtVoqDlYQcchQHcSCqIijVqEIFUKt0KqDyaUfQpOGJMXFUXAtOPixWHVwcdbVwVUQ -BD9AHJ2cFF2kxP8lhRaxHhz34929x907QKgWmWa1jQGabpvJeExMZ1bEwCuC6EMXRtAhM8uYlaQE -Wo6ve/j4ehflWa3P/Tm61azFAJ9IPMMM0yZeJ57atA3O+8RhVpBV4nPiUZMuSPzIdcXjN855lwWe -GTZTyTniMLGYb2KliVnB1IgniSOqplO+kPZY5bzFWSuWWf2e/IWhrL68xHWag4hjAYuQIEJBGRso -wkaUVp0UC0naj7XwD7h+iVwKuTbAyDGPEjTIrh/8D353a+Umxr2kUAxof3GcjyEgsAvUKo7zfew4 -tRPA/wxc6Q1/qQpMf5JeaWiRI6BnG7i4bmjKHnC5A/Q/GbIpu5KfppDLAe9n9E0ZoPcWCK56vdX3 -cfoApKirxA1wcA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0dEAP8A/wD/oL2nkwAAAAlw + SFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB+YLEgg6DKMFP9AAAAEtSURBVBjTldGxapNxGMXh5/2+ + pGCMHUSxQyGIODiIizfQQRfBa2gc+hlQ3LR07SDZFBzy1zGTzu72BryDLlJoEMQhEjSE5HVJoI7+ + xnMOhwMnrBmNRrdxFBEPsINzfK7rerhcLs/xJKCU8gif0MFvfMcuWpjiK/aqUsotfMRWZh7iWtM0 + N2ez2TaOsY09aGXmq4i4HBFHTdMMN7Om0+m82+3eycyNpBURZ3iXmW9doNfrbS0Wiwner6Wf/oco + pbzGVYiIebvdftnv9/9sAqWUDoYR8a3CIQ5wkJk7+/v783/aIl7gWWZeb100MvN0PB53MCuldDLz + eWYer/e+iVJK4gvu4wqWOMMNXMKv1Wr1eDAYnFR4OplMHlZVdQ9l/dwufmTmh7qu7w4GgxP4C5QM + b3lPIiauAAAAAElFTkSuQmCC } diff --git a/projman.tcl b/projman.tcl index a67f7b5..4af4eaf 100755 --- a/projman.tcl +++ b/projman.tcl @@ -10,7 +10,7 @@ exec wish "$0" -- "$@" ###################################################### # Version: 2.0.0 # Release: alpha -# Build: 16112022162516 +# Build: 18112022120909 ###################################################### # определим текущую версию, релиз и т.д.