SOURCES: csboard.desktop (NEW), csboard-mono.patch (NEW) - initial...
jareq
jareq at pld-linux.org
Fri Oct 13 19:16:15 CEST 2006
Author: jareq Date: Fri Oct 13 17:16:15 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- initial pld release
---- Files affected:
SOURCES:
csboard.desktop (NONE -> 1.1) (NEW), csboard-mono.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/csboard.desktop
diff -u /dev/null SOURCES/csboard.desktop:1.1
--- /dev/null Fri Oct 13 19:16:15 2006
+++ SOURCES/csboard.desktop Fri Oct 13 19:16:10 2006
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=csboard
+Comment[pl]=Szachy
+Exec=csboard
+Icon=csboard.png
+Terminal=false
+Type=Application
+Categories=Game;BoardGame;
+# vi: encoding=utf-8
================================================================
Index: SOURCES/csboard-mono.patch
diff -u /dev/null SOURCES/csboard-mono.patch:1.1
--- /dev/null Fri Oct 13 19:16:15 2006
+++ SOURCES/csboard-mono.patch Fri Oct 13 19:16:10 2006
@@ -0,0 +1,87 @@
+--- src/Window.cs 2006/07/28 06:50:49 1.2
++++ src/Window.cs 2006/09/23 15:18:12 1.3
+@@ -88,7 +88,7 @@
+
+ }
+
+- } catch (Exception e) {
++ } catch {
+
+ MessageDialog md =
+ new MessageDialog (null, 0, MessageType.Error,
+@@ -170,6 +170,10 @@
+
+ }
+
++ public void on_quit_window_activate (System.Object b, DeleteEventArgs e) {
++ on_quit_activate(b, null);
++ }
++
+ public void on_quit_activate (System.Object b, EventArgs e) {
+ App.session.SaveGeometry (csboardWindow);
+ control.Shutdown ();
+@@ -365,7 +369,7 @@
+ proc.StartInfo.UseShellExecute = true;
+ try {
+ proc.Start ();
+- } catch (Exception ex) {
++ } catch {
+ // do nothing
+ }
+ }
+--- src/ICSClient.cs 2004/10/26 17:51:43 1.1
++++ src/ICSClient.cs 2006/09/23 15:18:12 1.2
+@@ -55,7 +55,7 @@
+ client = new TcpClient (server, int.Parse(port));
+ stream = client.GetStream ();
+ streamWriter = new StreamWriter (stream);
+- } catch (SocketException e) {
++ } catch {
+ throw new ApplicationException (String.Format(Catalog.GetString("Can't connect to {0} port {1}"), server, port));
+ }
+
+--- src/ICS.cs 2006/07/28 06:50:49 1.2
++++ src/ICS.cs 2006/09/23 15:18:12 1.3
+@@ -74,7 +74,7 @@
+ client.passwd = args [i+1];
+ }
+ }
+- } catch (Exception e) {
++ } catch {
+ throw new ApplicationException (Catalog.GetString("Can't parse command line"));
+ }
+
+--- src/App.cs 2006/07/28 06:50:49 1.4
++++ src/App.cs 2006/09/23 15:18:12 1.5
+@@ -41,7 +41,6 @@
+ } catch (ApplicationException) {
+ return 1;
+ } catch (System.Exception e) {
+-
+ try {
+ MessageDialog md =
+ new MessageDialog (null,
+@@ -57,10 +56,8 @@
+ md.Hide ();
+ md.Dispose ();
+
+- } catch (Exception ex) {
+-
++ } catch {
+ throw e;
+-
+ }
+ }
+
+
+--- resource/csboard.glade 2004/10/26 17:51:431.1
++++ resource/csboard.glade 2006/09/23 15:18:121.2
+@@ -16,7 +16,7 @@
+ <property name="skip_pager_hint">False</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+- <signal name="delete_event" handler="on_quit_activate" last_modification_time="Sat, 01 May 2004 23:54:42 GMT"/>
++ <signal name="delete_event" handler="on_quit_window_activate" last_modification_time="Sat, 01 May 2004 23:54:42 GMT"/>
+
+ <child>
+ <widget class="GtkVBox" id="vbox">
================================================================
More information about the pld-cvs-commit
mailing list