summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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!