mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Fail silently if Growl::GNTP fails
This commit is contained in:
		
							parent
							
								
									f451bb2bd0
								
							
						
					
					
						commit
						9332319e10
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -81,8 +81,10 @@ sub new { | |||
| 
 | ||||
|     if (eval "use Growl::GNTP; 1") { | ||||
|         # register growl notifications | ||||
|         $self->{growler} = Growl::GNTP->new(AppName => 'Slic3r'); #, AppIcon => "path/to/my/icon.gif"); | ||||
|         $self->{growler}->register([{Name => 'SKEIN_DONE', DisplayName => 'Slicing Done'}]); | ||||
|         eval { | ||||
|             $self->{growler} = Growl::GNTP->new(AppName => 'Slic3r'); #, AppIcon => "path/to/my/icon.gif"); | ||||
|             $self->{growler}->register([{Name => 'SKEIN_DONE', DisplayName => 'Slicing Done'}]); | ||||
|         }; | ||||
|     } | ||||
|      | ||||
|     my $tabpanel = Wx::Notebook->new($self, -1, Wx::wxDefaultPosition, Wx::wxDefaultSize, &Wx::wxNB_TOP); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci