summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfont
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-17 09:50:33 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-17 09:50:33 +0000
commitf59f29576c158faef6c0b3db7005598d1c49ea46 (patch)
tree1e24b709d08994f2c9fbaabaa3cd11307ab8b358 /perl-install/standalone/drakfont
parent79563c5372dad020888b77ad98e3f5461a6db794 (diff)
downloaddrakx-backup-do-not-use-f59f29576c158faef6c0b3db7005598d1c49ea46.tar
drakx-backup-do-not-use-f59f29576c158faef6c0b3db7005598d1c49ea46.tar.gz
drakx-backup-do-not-use-f59f29576c158faef6c0b3db7005598d1c49ea46.tar.bz2
drakx-backup-do-not-use-f59f29576c158faef6c0b3db7005598d1c49ea46.tar.xz
drakx-backup-do-not-use-f59f29576c158faef6c0b3db7005598d1c49ea46.zip
use new $ugtk2::wm_icon for x11 icon
Diffstat (limited to 'perl-install/standalone/drakfont')
-rwxr-xr-xperl-install/standalone/drakfont4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index e0a77320a..c34c797f0 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -91,6 +91,8 @@ use common;
require_root_capability();
+$ugtk2::wm_icon = "drakfont";
+
# global variables needed by each functions
my $xlsfonts = 0;
my $windows = 0;
@@ -470,11 +472,9 @@ sub interactive_mode() {
$window1 = ugtk2->new('drakfont');
$window1->{rwindow}->signal_connect(delete_event => sub { ugtk2->exit(0) });
if ($::isEmbedded) {
- $::Plug->set_icon(gtkcreate_pixbuf("drakfont"));
} else {
$window1->{rwindow}->set_position('center');
$window1->{rwindow}->set_title(N("DrakFont"));
- $window1->{window}->set_icon(gtkcreate_pixbuf("drakfont"));
}
my $button = {};