[Goodies-commits] r6564 - in xfce4-clipman-plugin/branches/xfce-4-6: . panel-plugin
Mike Massonnet
mmassonnet at xfce.org
Mon Jan 26 11:57:34 CET 2009
Author: mmassonnet
Date: 2009-01-26 10:57:33 +0000 (Mon, 26 Jan 2009)
New Revision: 6564
Modified:
xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog
xfce4-clipman-plugin/branches/xfce-4-6/configure.ac.in
xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/actions.c
xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/xfce4-clipman-actions.xml
Log:
Small tweak in the GRegex.
Modified: xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog
===================================================================
--- xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog 2009-01-26 07:53:53 UTC (rev 6563)
+++ xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog 2009-01-26 10:57:33 UTC (rev 6564)
@@ -1,3 +1,12 @@
+2009-01-26 Mike Massonnet
+Small tweak in the GRegex.
+
+ - panel-plugin/actions.c(clipman_actions_add):
+ Add the compile flag "caseless" and move the match option
+ "anchored" to the compile flags.
+ - configure.ac.in:
+ Add GTK+/GLib requirements to 2.10/2.14.
+
2009-01-25 Mike Massonnet
Forget to add support for GLib < 2.16 to save the actions.
Modified: xfce4-clipman-plugin/branches/xfce-4-6/configure.ac.in
===================================================================
--- xfce4-clipman-plugin/branches/xfce-4-6/configure.ac.in 2009-01-26 07:53:53 UTC (rev 6563)
+++ xfce4-clipman-plugin/branches/xfce-4-6/configure.ac.in 2009-01-26 10:57:33 UTC (rev 6564)
@@ -57,7 +57,8 @@
dnl ***********************************
dnl *** Check for required packages ***
dnl ***********************************
-XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.12.0])
+XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.14.0])
+XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.10.0])
XDT_CHECK_PACKAGE([EXO], [exo-0.3], [0.3.0])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.4.0])
XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.4.0])
Modified: xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/actions.c
===================================================================
--- xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/actions.c 2009-01-26 07:53:53 UTC (rev 6563)
+++ xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/actions.c 2009-01-26 10:57:33 UTC (rev 6564)
@@ -419,7 +419,7 @@
if (l == NULL)
{
/* Validate the regex */
- _regex = g_regex_new (regex, 0, G_REGEX_MATCH_ANCHORED, NULL);
+ _regex = g_regex_new (regex, G_REGEX_CASELESS|G_REGEX_ANCHORED, 0, NULL);
if (_regex == NULL)
return FALSE;
Modified: xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/xfce4-clipman-actions.xml
===================================================================
--- xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/xfce4-clipman-actions.xml 2009-01-26 07:53:53 UTC (rev 6563)
+++ xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/xfce4-clipman-actions.xml 2009-01-26 10:57:33 UTC (rev 6564)
@@ -27,7 +27,7 @@
</action>
<action>
<name>Bugz</name>
- <regex>.*(bug #|bug |Bug #|Bug )([0-9]+).*</regex>
+ <regex>.*(bug #?)([0-9]+).*</regex>
<commands>
<command>
<name>Xfce Bug</name>
More information about the Goodies-commits
mailing list