aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-16 11:34:27 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-16 11:34:27 +0000
commitcc7a5fbacdd10bccfea76bc3d92dc16f075b700f (patch)
treed7bdb0a7f866c33f23090acd38e5f3c96ad26ebb
parent62951ce4cf346c6212183b7864e3be33d4672166 (diff)
downloadrpmdrake-cc7a5fbacdd10bccfea76bc3d92dc16f075b700f.tar
rpmdrake-cc7a5fbacdd10bccfea76bc3d92dc16f075b700f.tar.gz
rpmdrake-cc7a5fbacdd10bccfea76bc3d92dc16f075b700f.tar.bz2
rpmdrake-cc7a5fbacdd10bccfea76bc3d92dc16f075b700f.tar.xz
rpmdrake-cc7a5fbacdd10bccfea76bc3d92dc16f075b700f.zip
set window icon
-rwxr-xr-xrpmdrake6
1 files changed, 5 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 1a7cf17e..85cbeb1b 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -922,7 +922,11 @@ Is it ok to continue?", to_utf8($urpm->translate_why_removed($urpm->{state}, @{$
$> and $action_button->set_sensitive(0);
$find_entry->grab_focus;
- $w->{window}->set_default_size($typical_width*2.7, 500) if !$::isEmbedded;
+ if (!$::isEmbedded) {
+ $w->{window}->set_default_size($typical_width*2.7, 500);
+ $w->{window}->set_icon(gtkcreate_pixbuf("title-$MODE"));
+ }
+
$w->{rwindow}->show_all;
$options->{widgets} = { w => $w, tree => $tree, tree_model => $tree_model, textcolumn => $textcolumn, pixcolumn => $pixcolumn,
info => $info, status => $status };