summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-09-03 13:19:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-09-03 13:19:41 +0000
commit2022b003721dc8459b09fb1cb7c0cfcd15bb410d (patch)
treec292b86d220da2763ae4027ffbc96f4e51a8467d
parentd6d03ed634b4dbd442b7c5cf2781f80700330695 (diff)
downloadcontrol-center-2022b003721dc8459b09fb1cb7c0cfcd15bb410d.tar
control-center-2022b003721dc8459b09fb1cb7c0cfcd15bb410d.tar.gz
control-center-2022b003721dc8459b09fb1cb7c0cfcd15bb410d.tar.bz2
control-center-2022b003721dc8459b09fb1cb7c0cfcd15bb410d.tar.xz
control-center-2022b003721dc8459b09fb1cb7c0cfcd15bb410d.zip
- create_pix_text, gtkicons_labels_widget: remove text color argument, default to black
- remove last debugging prints
-rwxr-xr-xcontrol-center5
1 files changed, 2 insertions, 3 deletions
diff --git a/control-center b/control-center
index b8f695b4..bb195a05 100755
--- a/control-center
+++ b/control-center
@@ -296,8 +296,7 @@ foreach (@tree) {
my ($dx, $dy) = ($darea_left->allocation->[2], $darea_left->allocation->[3]);
my $state = $darea_left->{state};
if (!defined($dbl_area_left)) {
- print "Creating left text pixmaps\n";
- ($pix, $width, $height) = create_pix_text($darea_left, $text, "#0#0#0", $darea_left->style->font,
+ ($pix, $width, $height) = create_pix_text($darea_left, $text, $darea_left->style->font,
max($dx-40, 0), $dy, 0, 0, $back, 160, 45, 0, 1);
$dbl_area_left = new Gtk::Gdk::Pixmap($darea_left->window, $dx, $dy);
}
@@ -501,7 +500,7 @@ $darea1->signal_connect(expose_event => sub {
my ($pixmap_back_right, undef) = gtkcreate_png('mcc-core-back');
my $left_back_pixbuf_unaltered_50 = gtkcreate_png_pixbuf('mcc-left-back2');
foreach (@tree) {
- $notebook_global->append_page(gtkicons_labels_widget($_->[2], $window_global, "#0#0#0", $darea1,
+ $notebook_global->append_page(gtkicons_labels_widget($_->[2], $window_global, $darea1,
$pixmap_back_right, $left_back_pixbuf_unaltered_50, 540, 460, 55, 50, 50, 50, 50, 50, \&compute_exec_string, $exec_hash));
}
Gtk->main_iteration while Gtk->events_pending;