summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-11 13:02:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-11 13:02:05 +0000
commit917c15a82b3b0a923d936633eba2dc0bc3aebefc (patch)
tree3905aa99bf4f36ccc8583ea58b94f6728f88a224 /lib/Xconfig
parentd89916e26f6779f961b0e94bd6458b99b8151b46 (diff)
downloaddrakx-kbd-mouse-x11-917c15a82b3b0a923d936633eba2dc0bc3aebefc.tar
drakx-kbd-mouse-x11-917c15a82b3b0a923d936633eba2dc0bc3aebefc.tar.gz
drakx-kbd-mouse-x11-917c15a82b3b0a923d936633eba2dc0bc3aebefc.tar.bz2
drakx-kbd-mouse-x11-917c15a82b3b0a923d936633eba2dc0bc3aebefc.tar.xz
drakx-kbd-mouse-x11-917c15a82b3b0a923d936633eba2dc0bc3aebefc.zip
- XFdrake:
o sort monitors in text mode so that "Generic|..." monitors do not appear in the middle of "Vendor|..." monitors
Diffstat (limited to 'lib/Xconfig')
-rw-r--r--lib/Xconfig/monitor.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/monitor.pm b/lib/Xconfig/monitor.pm
index 38793da..6d67478 100644
--- a/lib/Xconfig/monitor.pm
+++ b/lib/Xconfig/monitor.pm
@@ -121,7 +121,7 @@ sub choose {
$_[0] eq "Plug'n Play" ? N("Plug'n Play") . ($monitor->{VendorName} eq "Plug'n Play" ? " ($monitor->{ModelName})" : '') :
$_[0] =~ /^Generic\|(.*)/ ? N("Generic") . "|$1" :
N("Vendor") . "|$_[0]" },
- sort => 0 } ]) or return;
+ sort => !$in->isa('interactive::gtk') } ]) or return;
if ($merged_name eq "Plug'n Play") {
local $::noauto = 0; #- hey, you asked for plug'n play, so i do probe!