dotgnu-pnet-commits
[Top][All Lists]
Advanced

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

[dotgnu-pnet-commits] pnetlib ChangeLog Xsharp/Application.cs


From: Heiko Weiss
Subject: [dotgnu-pnet-commits] pnetlib ChangeLog Xsharp/Application.cs
Date: Mon, 24 Sep 2007 06:24:15 +0000

CVSROOT:        /sources/dotgnu-pnet
Module name:    pnetlib
Changes by:     Heiko Weiss <brubbel>   07/09/24 06:24:15

Modified files:
        .              : ChangeLog 
        Xsharp         : Application.cs 

Log message:
        using default display 0, if not given.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnetlib/ChangeLog?cvsroot=dotgnu-pnet&r1=1.2513&r2=1.2514
http://cvs.savannah.gnu.org/viewcvs/pnetlib/Xsharp/Application.cs?cvsroot=dotgnu-pnet&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.2513
retrieving revision 1.2514
diff -u -b -r1.2513 -r1.2514
--- ChangeLog   3 Aug 2007 11:16:34 -0000       1.2513
+++ ChangeLog   24 Sep 2007 06:24:15 -0000      1.2514
@@ -1,3 +1,6 @@
+2007-07-04  Heiko Weiss <address@hidden>
+       * Xsharp/Application.cs: using  default display 0, if not given.
+
 2007-08-03  Radek Polak  <address@hidden>
 
        * runtime/System/Private/NumberParser.cs: Fix index out of range while 
doing

Index: Xsharp/Application.cs
===================================================================
RCS file: /sources/dotgnu-pnet/pnetlib/Xsharp/Application.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- Xsharp/Application.cs       1 Jun 2006 13:03:06 -0000       1.6
+++ Xsharp/Application.cs       24 Sep 2007 06:24:15 -0000      1.7
@@ -253,6 +253,9 @@
                                        // Xlib will figure it by itself, but 
classes using displayName can get broken is it's null
                                        displayName = 
Environment.GetEnvironmentVariable("DISPLAY");
                                }
+                               if( null == displayName || displayName == 
string.Empty ) {
+                                       displayName = ":0";
+                               }
 
                                display = Xsharp.Display.Open(displayName, 
this, synchronous);
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]