From 8ec2d9227cf1fb1fd164bad4372822434ca1bfb9 Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Wed, 17 Mar 2004 21:35:57 +0000 Subject: - shape_combine_mask --- mdkapplet | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mdkapplet b/mdkapplet index c8ac765c..6de9c5e6 100755 --- a/mdkapplet +++ b/mdkapplet @@ -95,12 +95,11 @@ my %actions = ( ); gtkadd(my $icon = Gtk2::TrayIcon->new("MdkApplet"), - gtkpack_( Gtk2::VBox->new(0, 0), - 0, gtkadd($eventbox = Gtk2::EventBox->new, - gtkpack($img = Gtk2::Image->new) - ) - ) + gtkadd($eventbox = Gtk2::EventBox->new, + gtkpack($img = Gtk2::Image->new) + ) ); +#$icon->shape_combine_mask($img, 0, 0); $eventbox->signal_connect(button_press_event => sub { if (!$raisedwindow) { if ($_[1]->button == 1) { -- cgit v1.2.1