summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-24 08:53:00 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-24 08:53:00 +0000
commit2d4133ff240757edb14cf10b83bbbabb274772f3 (patch)
treeadbdd0c33b5ff160ed5a1eb80cdb47837c7e0b45 /perl-install/my_gtk.pm
parent0925f92586a8a200a632eece658b2a45b09c9cc8 (diff)
downloaddrakx-2d4133ff240757edb14cf10b83bbbabb274772f3.tar
drakx-2d4133ff240757edb14cf10b83bbbabb274772f3.tar.gz
drakx-2d4133ff240757edb14cf10b83bbbabb274772f3.tar.bz2
drakx-2d4133ff240757edb14cf10b83bbbabb274772f3.tar.xz
drakx-2d4133ff240757edb14cf10b83bbbabb274772f3.zip
no_comment
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index bd822f67b..c43c8f899 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -143,9 +143,9 @@ sub gtkcolor($$$) {
my ($r, $g, $b) = @_;
my $color = bless {}, 'Gtk::Gdk::Color';
- $color->red ($r << 8);
- $color->green($g << 8);
- $color->blue ($b << 8);
+ $color->red ($r);
+ $color->green($g);
+ $color->blue ($b);
gtkroot()->get_colormap->color_alloc($color);
}
@@ -289,7 +289,7 @@ sub _create_window($$) {
my $f = new Gtk::Frame(undef);
$w->set_name("Title");
- if ($::isStandalone || $o->{no_border}) {
+ if ($::isStandalone || $o->{no_border} || 1) {
gtkadd($w, $f);
} else {
my $t = new Gtk::Table(0, 0, 0);