[Galago-commits] r3009 - in trunk/notify-sharp: . docs/en docs/en/Notifications src

galago-commits at freedesktop.org galago-commits at freedesktop.org
Thu Mar 20 06:54:58 PDT 2008


Author: slomo
Date: 2008-03-20 06:54:56 -0700 (Thu, 20 Mar 2008)
New Revision: 3009

Added:
   trunk/notify-sharp/docs/en/Notifications/CloseHandler.xml
Modified:
   trunk/notify-sharp/ChangeLog
   trunk/notify-sharp/docs/en/index.xml
   trunk/notify-sharp/src/Notification.cs
Log:
* src/Notification.cs:
Add a CloseHandler delegate for the Close event as it
doesn't get EventArgs but CloseArgs.
* docs/en/Notifications/CloseHandler.xml:
* docs/en/index.xml:
Update docs.


Modified: trunk/notify-sharp/ChangeLog
===================================================================
--- trunk/notify-sharp/ChangeLog	2008-03-20 13:48:55 UTC (rev 3008)
+++ trunk/notify-sharp/ChangeLog	2008-03-20 13:54:56 UTC (rev 3009)
@@ -1,5 +1,15 @@
 2008-03-20  Sebastian Dröge  <slomo at circular-chaos.org>
 
+	* src/Notification.cs:
+	  Add a CloseHandler delegate for the Close event as it
+	  doesn't get EventArgs but CloseArgs.
+
+	* docs/en/Notifications/CloseHandler.xml:
+	* docs/en/index.xml:
+	  Update docs.
+
+2008-03-20  Sebastian Dröge  <slomo at circular-chaos.org>
+
 	* src/Global.cs:
 	* src/Notification.cs:
 	  Use uint as internal type for the close reason.

Added: trunk/notify-sharp/docs/en/Notifications/CloseHandler.xml
===================================================================
--- trunk/notify-sharp/docs/en/Notifications/CloseHandler.xml	                        (rev 0)
+++ trunk/notify-sharp/docs/en/Notifications/CloseHandler.xml	2008-03-20 13:54:56 UTC (rev 3009)
@@ -0,0 +1,23 @@
+<Type Name="CloseHandler" FullName="Notifications.CloseHandler">
+  <TypeSignature Language="C#" Value="public delegate void CloseHandler(object o, CloseArgs args);" />
+  <AssemblyInfo>
+    <AssemblyName>notify-sharp</AssemblyName>
+    <AssemblyVersion>0.4.0.0</AssemblyVersion>
+  </AssemblyInfo>
+  <Base>
+    <BaseTypeName>System.Delegate</BaseTypeName>
+  </Base>
+  <Parameters>
+    <Parameter Name="o" Type="System.Object" />
+    <Parameter Name="args" Type="Notifications.CloseArgs" />
+  </Parameters>
+  <ReturnValue>
+    <ReturnType>System.Void</ReturnType>
+  </ReturnValue>
+  <Docs>
+    <param name="o">To be added.</param>
+    <param name="args">To be added.</param>
+    <summary>To be added.</summary>
+    <remarks>To be added.</remarks>
+  </Docs>
+</Type>

Modified: trunk/notify-sharp/docs/en/index.xml
===================================================================
--- trunk/notify-sharp/docs/en/index.xml	2008-03-20 13:48:55 UTC (rev 3008)
+++ trunk/notify-sharp/docs/en/index.xml	2008-03-20 13:54:56 UTC (rev 3009)
@@ -24,6 +24,7 @@
       <Type Name="ActionArgs" />
       <Type Name="ActionHandler" />
       <Type Name="CloseArgs" />
+      <Type Name="CloseHandler" />
       <Type Name="CloseReason" />
       <Type Name="Global" />
       <Type Name="Notification" />

Modified: trunk/notify-sharp/src/Notification.cs
===================================================================
--- trunk/notify-sharp/src/Notification.cs	2008-03-20 13:48:55 UTC (rev 3008)
+++ trunk/notify-sharp/src/Notification.cs	2008-03-20 13:54:56 UTC (rev 3009)
@@ -62,6 +62,7 @@
 	}
 
 	public delegate void ActionHandler (object o, ActionArgs args);
+	public delegate void CloseHandler (object o, CloseArgs args);
 	
 	public class Notification {
 		private struct IconData {



More information about the galago-commits mailing list