From 471e9269077a3fc493dcd88074c3160445539c37 Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Thu, 23 Apr 2009 15:19:35 +0000 Subject: Fix display of the Desktop on the One and the right on the file to fix the icon under Windows --- Mandriva - Autorun CD-DVD/AutorunForm.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Mandriva - Autorun CD-DVD/AutorunForm.cs') diff --git a/Mandriva - Autorun CD-DVD/AutorunForm.cs b/Mandriva - Autorun CD-DVD/AutorunForm.cs index c02ce9b..cf0d9d6 100755 --- a/Mandriva - Autorun CD-DVD/AutorunForm.cs +++ b/Mandriva - Autorun CD-DVD/AutorunForm.cs @@ -71,9 +71,9 @@ namespace autorun product_label.Text = product + " " + temp[1].ToString(); version = temp[1].TrimEnd('1').ToString() + ".0"; } - if (temp[0].ToString() == "One") + if (product == "One") { - desktop = temp[2].ToString(); + product_label.Text += " " + temp[2].ToString(); arch_label.Text = "32-bit"; } else @@ -226,7 +226,7 @@ namespace autorun private void UpdateUI() { - if (desktop == "KDE") + if (product == "One") { install_button.Text = m_ResourceManager.GetString("labelRestartButton"); } -- cgit v1.2.1