diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-23 10:35:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-23 10:35:55 +0000 |
commit | 6ed6b5341362f87e3c70420f206a33f71c72a3de (patch) | |
tree | ff028b5845f88d0a485f8c20ae726e462627aa59 /perl-install/standalone/mousedrake | |
parent | e2889facfca0f6c6f64e2194f913a6b525f255e0 (diff) | |
download | drakx-backup-do-not-use-6ed6b5341362f87e3c70420f206a33f71c72a3de.tar drakx-backup-do-not-use-6ed6b5341362f87e3c70420f206a33f71c72a3de.tar.gz drakx-backup-do-not-use-6ed6b5341362f87e3c70420f206a33f71c72a3de.tar.bz2 drakx-backup-do-not-use-6ed6b5341362f87e3c70420f206a33f71c72a3de.tar.xz drakx-backup-do-not-use-6ed6b5341362f87e3c70420f206a33f71c72a3de.zip |
- Big Move 1: interactive::* hierarchy
Diffstat (limited to 'perl-install/standalone/mousedrake')
-rwxr-xr-x | perl-install/standalone/mousedrake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/mousedrake b/perl-install/standalone/mousedrake index 90cb8994c..f8bb9a02e 100755 --- a/perl-install/standalone/mousedrake +++ b/perl-install/standalone/mousedrake @@ -58,7 +58,7 @@ $mouse->{XMOUSETYPE} eq $curr_env->{mouse}{XMOUSETYPE} || $::isEmbedded and kill USR2, $::CCPID; if (!$mouse || !$::auto) { $mouse ||= mouse::fullname2mouse("serial|Generic 2 Button Mouse"); - if ($::isEmbedded && $in->isa('interactive_gtk')) { + if ($::isEmbedded && $in->isa('interactive::gtk')) { require my_gtk; my $time_tag = Gtk->timeout_add(100, sub { defined $::Plug && defined $::Plug->child or return 1; @@ -70,7 +70,7 @@ if (!$mouse || !$::auto) { sub { join '|', map { translate($_) } split '\|', $_[0] }, [ mouse::fullnames ], $mouse->{type} . '|' . $mouse->{name}); - Gtk->timeout_remove($time_tag2) if $::isEmbedded && $in->isa('interactive_gtk'); + Gtk->timeout_remove($time_tag2) if $::isEmbedded && $in->isa('interactive::gtk'); $name or $::isEmbedded ? do { kill(USR1, $::CCPID); goto begin } : $in->exit(0); my $mouse_chosen = mouse::fullname2mouse($name); $mouse->{type} eq $mouse_chosen->{type} && $mouse->{name} eq $mouse_chosen->{name} or $mouse = $mouse_chosen; |