summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-02-20 17:37:44 +0000
committerDaouda Lo <daouda@mandriva.com>2004-02-20 17:37:44 +0000
commitf674120e8962984c2c53075fb48bff74a19a5a6e (patch)
tree1e41f3c3f8d4d2f2632ef99da19c4c769c4e0e77
parent39533850ab04b867c69ce74575797ee3212ab5af (diff)
downloadmgaonline-f674120e8962984c2c53075fb48bff74a19a5a6e.tar
mgaonline-f674120e8962984c2c53075fb48bff74a19a5a6e.tar.gz
mgaonline-f674120e8962984c2c53075fb48bff74a19a5a6e.tar.bz2
mgaonline-f674120e8962984c2c53075fb48bff74a19a5a6e.tar.xz
mgaonline-f674120e8962984c2c53075fb48bff74a19a5a6e.zip
- correct path to applet pixmaps
-rwxr-xr-xmdkapplet5
1 files changed, 2 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index 9ee03cdc..cd580622 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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) {