diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm index 527e3eb2e..d4ab00f78 100644 --- a/lib/Slic3r.pm +++ b/lib/Slic3r.pm @@ -3,6 +3,8 @@ package Slic3r; use strict; use warnings; +our $VERSION = "0.0.5"; + our $debug = 0; sub debugf { printf @_ if $debug; diff --git a/lib/Slic3r/GUI/SkeinPanel.pm b/lib/Slic3r/GUI/SkeinPanel.pm index 93a911de8..13898293e 100644 --- a/lib/Slic3r/GUI/SkeinPanel.pm +++ b/lib/Slic3r/GUI/SkeinPanel.pm @@ -97,7 +97,7 @@ sub new { $buttons_sizer->Add($load_button, 0); EVT_BUTTON($self, $load_button, \&load_config); - my $text = Wx::StaticText->new($self, -1, "Remember to check for updates at http://slic3r.org/", Wx::wxDefaultPosition, Wx::wxDefaultSize, wxALIGN_RIGHT); + my $text = Wx::StaticText->new($self, -1, "Remember to check for updates at http://slic3r.org/\nVersion: $Slic3r::VERSION", Wx::wxDefaultPosition, Wx::wxDefaultSize, wxALIGN_RIGHT); my $font = Wx::Font->new(10, wxDEFAULT, wxNORMAL, wxNORMAL); $text->SetFont($font); $buttons_sizer->Add($text, 1, wxEXPAND | wxALIGN_RIGHT);