summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-16 10:52:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-16 10:52:25 +0000
commit02dbc6630eb8f834d47c44ee78a358950b1001c1 (patch)
tree3ad7c1a4a44718a0bfdd19fcfe4dcec24699589c /perl-install/ugtk2.pm
parentac009b8a6a7de7d9141ba954c0681183d1e8b8c7 (diff)
downloaddrakx-02dbc6630eb8f834d47c44ee78a358950b1001c1.tar
drakx-02dbc6630eb8f834d47c44ee78a358950b1001c1.tar.gz
drakx-02dbc6630eb8f834d47c44ee78a358950b1001c1.tar.bz2
drakx-02dbc6630eb8f834d47c44ee78a358950b1001c1.tar.xz
drakx-02dbc6630eb8f834d47c44ee78a358950b1001c1.zip
during install, "Ok" is on the right, like gnome not kde
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm4
1 files changed, 2 insertions, 2 deletions
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);