degen-loop-screen
Alessandro Ranellucci 2012-04-07 20:45:02 +02:00
parent aeed77bef9
commit 19dc69dd74
3 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@ use strict;
use warnings;
use utf8;
use FindBin;
use Slic3r::GUI::OptionsGroup;
use Slic3r::GUI::SkeinPanel;
@ -14,10 +15,10 @@ sub OnInit {
my $self = shift;
$self->SetAppName('Slic3r');
#$self->SetIcon(Wx::Icon->new("path/to/my/icon.gif", wxBITMAP_TYPE_GIF) );
my $frame = Wx::Frame->new( undef, -1, 'Slic3r', [-1, -1], Wx::wxDefaultSize,
wxDEFAULT_FRAME_STYLE ^ (wxRESIZE_BORDER | wxMAXIMIZE_BOX) );
#$frame->SetIcon(Wx::Icon->new("$FindBin::Bin/var/icon.png", &Wx::wxBITMAP_TYPE_ANY) );
my $panel = Slic3r::GUI::SkeinPanel->new($frame);
my $box = Wx::BoxSizer->new(wxVERTICAL);

View File

@ -84,7 +84,7 @@ sub new {
if (eval "use Growl::GNTP; 1") {
# register growl notifications
eval {
$self->{growler} = Growl::GNTP->new(AppName => 'Slic3r'); #, AppIcon => "path/to/my/icon.gif");
$self->{growler} = Growl::GNTP->new(AppName => 'Slic3r', AppIcon => "$FindBin::Bin/var/icon.png");
$self->{growler}->register([{Name => 'SKEIN_DONE', DisplayName => 'Slicing Done'}]);
};
}

BIN
var/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB