[Goodies-commits] r7075 - in xfce4-clipman-plugin/trunk: .	panel-plugin
    Mike Massonnet 
    mmassonnet at xfce.org
       
    Wed Apr  1 00:41:40 CEST 2009
    
    
  
Author: mmassonnet
Date: 2009-03-31 22:41:40 +0000 (Tue, 31 Mar 2009)
New Revision: 7075
Modified:
   xfce4-clipman-plugin/trunk/ChangeLog
   xfce4-clipman-plugin/trunk/panel-plugin/collector.c
   xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-actions.xml.in
Log:
April April I restore the actions
Modified: xfce4-clipman-plugin/trunk/ChangeLog
===================================================================
--- xfce4-clipman-plugin/trunk/ChangeLog	2009-03-31 21:38:40 UTC (rev 7074)
+++ xfce4-clipman-plugin/trunk/ChangeLog	2009-03-31 22:41:40 UTC (rev 7075)
@@ -1,3 +1,11 @@
+2009-04-01	Mike Massonnet
+April April I restore the actions
+
+	- panel-plugin/collector.c(cb_clipboard_owner_change):
+		I broked the actions earlier, fixed now.
+	- panel-plugin/xfce4-clipman-actions.xml.in:
+		New action for long URLs with a command to send the link to TinyURL
+
 2009-03-31	Mike Massonnet
 Set sensitivity of OK button in action dialog
 
Modified: xfce4-clipman-plugin/trunk/panel-plugin/collector.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/collector.c	2009-03-31 21:38:40 UTC (rev 7074)
+++ xfce4-clipman-plugin/trunk/panel-plugin/collector.c	2009-03-31 22:41:40 UTC (rev 7075)
@@ -93,7 +93,7 @@
   GdkPixbuf *image;
 
   /* Take only care of new clipboard content */
-  if (event != GDK_OWNER_CHANGE_NEW_OWNER)
+  if (event->reason != GDK_OWNER_CHANGE_NEW_OWNER)
     return;
 
   /* Jump over if the content is set from within clipman */
Modified: xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-actions.xml.in
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-actions.xml.in	2009-03-31 21:38:40 UTC (rev 7074)
+++ xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-actions.xml.in	2009-03-31 22:41:40 UTC (rev 7075)
@@ -45,4 +45,14 @@
 			</command>
 		</commands>
 	</action>
+	<action>
+		<_name>Long URL</_name>
+		<regex>http://.{80}[^ ]+</regex>
+		<commands>
+			<command>
+				<_name>Make a tiny URL</_name>
+				<exec>exo-open http://tinyurl.com/create.php?url=\0</exec>
+			</command>
+		</commands>
+	</action>
 </actions>
    
    
More information about the Goodies-commits
mailing list