diff --git a/MANIFEST b/MANIFEST index 195f2ede3..0c0afd331 100644 --- a/MANIFEST +++ b/MANIFEST @@ -24,7 +24,7 @@ lib/Slic3r/Format/STL.pm lib/Slic3r/Geometry.pm lib/Slic3r/Geometry/Clipper.pm lib/Slic3r/GUI.pm -lib/Slic3r/GUI/Dashboard.pm +lib/Slic3r/GUI/Plater.pm lib/Slic3r/GUI/OptionsGroup.pm lib/Slic3r/GUI/SkeinPanel.pm lib/Slic3r/Layer.pm diff --git a/lib/Slic3r/GUI.pm b/lib/Slic3r/GUI.pm index c5e1de17f..d678143da 100644 --- a/lib/Slic3r/GUI.pm +++ b/lib/Slic3r/GUI.pm @@ -4,7 +4,7 @@ use warnings; use utf8; use FindBin; -use Slic3r::GUI::Dashboard; +use Slic3r::GUI::Plater; use Slic3r::GUI::OptionsGroup; use Slic3r::GUI::SkeinPanel; diff --git a/lib/Slic3r/GUI/Dashboard.pm b/lib/Slic3r/GUI/Plater.pm similarity index 99% rename from lib/Slic3r/GUI/Dashboard.pm rename to lib/Slic3r/GUI/Plater.pm index 72527ccf8..23a29b6f2 100644 --- a/lib/Slic3r/GUI/Dashboard.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -1,4 +1,4 @@ -package Slic3r::GUI::Dashboard; +package Slic3r::GUI::Plater; use strict; use warnings; my $have_threads = eval "use threads; 1"; @@ -85,7 +85,7 @@ sub new { EVT_BUTTON($self, $self->{btn_export_gcode}, \&export_gcode); EVT_BUTTON($self, $self->{btn_export_stl}, \&export_stl); - $_->SetDropTarget(Slic3r::GUI::Dashboard::DropTarget->new($self)) + $_->SetDropTarget(Slic3r::GUI::Plater::DropTarget->new($self)) for $self, $self->{canvas}, $self->{list}; EVT_COMMAND($self, -1, $THUMBNAIL_DONE_EVENT, sub { @@ -645,7 +645,7 @@ sub _y { return [ map [ $_->[X], $height - $_->[Y] ], @$points ]; } -package Slic3r::GUI::Dashboard::DropTarget; +package Slic3r::GUI::Plater::DropTarget; use Wx::DND; use base 'Wx::FileDropTarget'; diff --git a/lib/Slic3r/GUI/SkeinPanel.pm b/lib/Slic3r/GUI/SkeinPanel.pm index 8bc8c8173..29a104de9 100644 --- a/lib/Slic3r/GUI/SkeinPanel.pm +++ b/lib/Slic3r/GUI/SkeinPanel.pm @@ -113,7 +113,7 @@ sub new { $make_tab->([qw(extrusion)], [qw(output)]), ); - $tabpanel->AddPage(Slic3r::GUI::Dashboard->new($tabpanel), "Dashboard"); + $tabpanel->AddPage(Slic3r::GUI::Plater->new($tabpanel), "Plater"); $tabpanel->AddPage($tabs[0], "Print Settings"); $tabpanel->AddPage($tabs[1], "Cooling"); $tabpanel->AddPage($tabs[2], "Printer and Filament");