diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-02-20 17:37:44 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-02-20 17:37:44 +0000 |
commit | f674120e8962984c2c53075fb48bff74a19a5a6e (patch) | |
tree | 1e41f3c3f8d4d2f2632ef99da19c4c769c4e0e77 /mdkapplet | |
parent | 39533850ab04b867c69ce74575797ee3212ab5af (diff) | |
download | mgaonline-f674120e8962984c2c53075fb48bff74a19a5a6e.tar mgaonline-f674120e8962984c2c53075fb48bff74a19a5a6e.tar.gz mgaonline-f674120e8962984c2c53075fb48bff74a19a5a6e.tar.bz2 mgaonline-f674120e8962984c2c53075fb48bff74a19a5a6e.tar.xz mgaonline-f674120e8962984c2c53075fb48bff74a19a5a6e.zip |
- correct path to applet pixmaps
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -84,7 +84,7 @@ gtkadd(my $icon = Gtk2::TrayIcon->new("MdkApplet"), ) ); -print "Setting applet-critical ...\n"; +print "Setting yellow ...\n"; $menu = setImage('yellow'); $eventbox->signal_connect(button_press_event => sub { $_[1]->button == 1 and showMainWindow(); #just for testing @@ -170,9 +170,8 @@ sub browser { } sub setImage { my $file = shift; - my $applet = 'applet' . '-' . $file; my $arr = $state{$file}{menu}; - my $tmp = gtkcreate_pixbuf($applet); + my $tmp = gtkcreate_pixbuf($file); $img->set_from_pixbuf($tmp); my $menu = Gtk2::Menu->new; foreach (@$arr) { |