aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-09-04 17:18:25 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-09-04 17:18:25 +0000
commit94fafe21c45ea427f71eae949e78c9b4379bc5d1 (patch)
tree471fb54d966249658aa445cfcfa69650b88af09f
parented1a7e43edbaf476dfe4794bcb9fd6b15d5abeb7 (diff)
downloadrpmdrake-94fafe21c45ea427f71eae949e78c9b4379bc5d1.tar
rpmdrake-94fafe21c45ea427f71eae949e78c9b4379bc5d1.tar.gz
rpmdrake-94fafe21c45ea427f71eae949e78c9b4379bc5d1.tar.bz2
rpmdrake-94fafe21c45ea427f71eae949e78c9b4379bc5d1.tar.xz
rpmdrake-94fafe21c45ea427f71eae949e78c9b4379bc5d1.zip
final banner and icon
-rw-r--r--icons/title-icon.pngbin3943 -> 4919 bytes
-rw-r--r--icons/title-tile.pngbin200 -> 151 bytes
-rwxr-xr-xrpmdrake10
3 files changed, 5 insertions, 5 deletions
diff --git a/icons/title-icon.png b/icons/title-icon.png
index 98dffe77..5a336686 100644
--- a/icons/title-icon.png
+++ b/icons/title-icon.png
Binary files differ
diff --git a/icons/title-tile.png b/icons/title-tile.png
index 7bbf3649..8890e4ab 100644
--- a/icons/title-tile.png
+++ b/icons/title-tile.png
Binary files differ
diff --git a/rpmdrake b/rpmdrake
index ed3e3370..332f9e1e 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -601,7 +601,7 @@ Is it ok to continue?", $formatlistpkg->(sort { $a cmp $b } keys %{$urpm->{state
my $darea;
gtkadd($w->{window},
gtkpack_(new Gtk::VBox(0, 3),
- 0, gtkset_usize($darea = new Gtk::DrawingArea, 0, 40),
+ 0, gtkset_usize($darea = new Gtk::DrawingArea, 0, 57),
1, gtkadd(gtkset_shadow_type(gtkset_border_width(new Gtk::Frame, 3), 'none'),
gtkpack_(new Gtk::VBox(0, 3),
0, gtkpack__(new Gtk::HBox(0, 10),
@@ -628,12 +628,12 @@ Is it ok to continue?", $formatlistpkg->(sort { $a cmp $b } keys %{$urpm->{state
clicked => sub { Gtk->main_quit })))
))));
my ($pixmap_back) = gtkcreate_png('title-tile');
-# my ($pixmap_icon) = gtkcreate_png('title-icon');
+ my ($pixmap_icon) = gtkcreate_png('title-icon');
$darea->signal_connect(expose_event => sub {
my (undef, undef, $dx, $dy) = @{$darea->allocation};
my $dbl_area = new Gtk::Gdk::Pixmap($darea->window, $dx, $dy);
- fill_tiled($darea, $dbl_area, $pixmap_back, 1, 40, $dx, $dy);
-# $dbl_area->draw_pixmap($darea->style->white_gc, $pixmap_icon, 0, 0, 5, 0, $dx, $dy);
+ fill_tiled($darea, $dbl_area, $pixmap_back, 1, 57, $dx, $dy);
+ $dbl_area->draw_pixmap($darea->style->white_gc, $pixmap_icon, 0, 0, $dx-($pixmap_icon->get_size)[1], 0, $dx, $dy);
my $style = $darea->style->copy();
my $pixmap_text if 0;
if (!$pixmap_text) {
@@ -646,7 +646,7 @@ Is it ok to continue?", $formatlistpkg->(sort { $a cmp $b } keys %{$urpm->{state
}
if ($pixmap_text && $pixmap_text != -1) {
$dbl_area->draw_pixmap($darea->style->white_gc, $pixmap_text,
- 0, 0, ($dx-($pixmap_text->get_size)[1])/2, 0, $dx, $dy);
+ 0, 0, ($dx-($pixmap_text->get_size)[1])/2, 9, $dx, $dy);
} else {
$style->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--25-*-100-100-p-*-iso8859-*,*-r-*")));
my %t = (remove => _("Software Packages Removal"), update => _("Mandrake Update"),