[smuxi/stable: 301/301] Frontend-GNOME: fixed website link in about dialog showing error on Windows



commit f90beef705e387ddd0de78d30ebe6bd015f9abdb
Author: Mirco Bauer <meebey meebey net>
Date:   Thu Dec 19 17:57:28 2013 +0100

    Frontend-GNOME: fixed website link in about dialog showing error on Windows

 src/Frontend-GNOME/AboutDialog.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/Frontend-GNOME/AboutDialog.cs b/src/Frontend-GNOME/AboutDialog.cs
index 7a35e52..694b8fe 100644
--- a/src/Frontend-GNOME/AboutDialog.cs
+++ b/src/Frontend-GNOME/AboutDialog.cs
@@ -67,8 +67,14 @@ namespace Smuxi.Frontend.Gnome
             Logo = Frontend.LoadIcon(
                 Frontend.IconName, 256, "icon_256x256.png"
             );
-            // HACK: shows "not implemented" error on OS X
-            if (!Frontend.IsMacOSX) {
+            // HACK: shows "not implemented" error on OS X and
+            // "No application is registered as handling this file" on Windows.
+            // This probably relies on gvfs or similar which isn't available in
+            // the GTK{+,#} ports/installers for OS X and Windows. Thus we only
+            // show the website URL as label instead.
+            if (Frontend.IsMacOSX || Frontend.IsWindows) {
+                WebsiteLabel = "http://www.smuxi.org/";;
+            } else {
                 Website = "http://www.smuxi.org/";;
                 WebsiteLabel = _("Smuxi Website");
             }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]