From 02dbc6630eb8f834d47c44ee78a358950b1001c1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 16 Feb 2004 10:52:25 +0000 Subject: during install, "Ok" is on the right, like gnome not kde --- perl-install/ugtk2.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/ugtk2.pm') diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index d1ec12f31..b0414f2c6 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -517,7 +517,7 @@ sub create_okcancel { $w->{wizcancel} = gtksignal_connect(Gtk2::Button->new(N("Cancel")), clicked => sub { die 'wizcancel' }) if $::isWizard && !$::isInstall; if (!defined $wm_is_kde) { require any; - $wm_is_kde = $::isInstall || any::running_window_manager() eq "kwin" || 0; + $wm_is_kde = !$::isInstall && any::running_window_manager() eq "kwin" || 0; } my @l2 = map { $w->{buttons}{$_->[0]} = gtksignal_connect(Gtk2::Button->new($_->[0]), clicked => $_->[1]) } grep { $_->[2] } @other; my @r2 = map { $w->{buttons}{$_->[0]} = gtksignal_connect(Gtk2::Button->new($_->[0]), clicked => $_->[1]) } grep { !$_->[2] } @other; @@ -892,7 +892,7 @@ sub new { $force_center || $o->{force_center} || @interactive::objects && $::isStandalone && !$o->{transient}; #- no need to center when set_transient is used $o->{rwindow}->set_modal(1) if $grab || $o->{grab} || $o->{modal}; - $o->{rwindow}->set_transient_for($o->{transient}) if $o->{transient} =~/Gtk2::Window/; + $o->{rwindow}->set_transient_for($o->{transient}) if $o->{transient} =~ /Gtk2::Window/; } else { $o->{rwindow} = $o->{window} = Gtk2::VBox->new(0,0); -- cgit v1.2.1