summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS4
-rw-r--r--lib/Xconfig/monitor.pm2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index fc8c315..090a178 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- XFdrake:
+ o sort monitors in text mode so that "Generic|..." monitors do not appear
+ in the middle of "Vendor|..." monitors
+
Version 0.41 - 14 December 2007, by Olivier "blino" Blin
- mousedrake:
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!