diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-09-21 21:38:53 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-09-21 21:38:53 +0800 |
commit | 9f3d98f2e1f772a328ba1e5aaf9a2675749cdc32 (patch) | |
tree | d34c587d9724a23d1ed41b6e1090e4aa2d2b1924 | |
parent | b72033eca1da0b143b2dbb5e8337d2e88dc299e8 (diff) | |
download | gsoc2013-empathy-9f3d98f2e1f772a328ba1e5aaf9a2675749cdc32.tar gsoc2013-empathy-9f3d98f2e1f772a328ba1e5aaf9a2675749cdc32.tar.gz gsoc2013-empathy-9f3d98f2e1f772a328ba1e5aaf9a2675749cdc32.tar.bz2 gsoc2013-empathy-9f3d98f2e1f772a328ba1e5aaf9a2675749cdc32.tar.lz gsoc2013-empathy-9f3d98f2e1f772a328ba1e5aaf9a2675749cdc32.tar.xz gsoc2013-empathy-9f3d98f2e1f772a328ba1e5aaf9a2675749cdc32.tar.zst gsoc2013-empathy-9f3d98f2e1f772a328ba1e5aaf9a2675749cdc32.zip |
Ignore log files that don't have a good filename. Fixes bug #462046
2007-09-21 Xavier Claessens <xclaesse@gmail.com>
* libempathy/empathy-log-manager.c: Ignore log files that don't have a
good filename. Fixes bug #462046 (Michael Scherer).
* configure.ac: Bump GLIB version to 2.14.0.
svn path=/trunk/; revision=309
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | libempathy/empathy-log-manager.c | 4 |
3 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2007-09-21 Xavier Claessens <xclaesse@gmail.com> + * libempathy/empathy-log-manager.c: Ignore log files that don't have a + good filename. Fixes bug #462046 (Michael Scherer). + * configure.ac: Bump GLIB version to 2.14.0. + +2007-09-21 Xavier Claessens <xclaesse@gmail.com> + * doc/libempathy-gtk/Makefile.am: Explicitely use libempathy from builddir. Fixes bug #478558 (Frederic Peters). diff --git a/configure.ac b/configure.ac index bade8bb30..92f5def93 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ IT_PROG_INTLTOOL([0.35.0]) GTK_DOC_CHECK([1.3]) -GLIB_REQUIRED=2.12.0 +GLIB_REQUIRED=2.14.0 GTK_REQUIRED=2.12.0 GCONF_REQUIRED=1.2.0 LIBGLADE_REQUIRED=2.0.0 diff --git a/libempathy/empathy-log-manager.c b/libempathy/empathy-log-manager.c index e47f50fb8..efdbae86b 100644 --- a/libempathy/empathy-log-manager.c +++ b/libempathy/empathy-log-manager.c @@ -263,6 +263,10 @@ empathy_log_manager_get_dates (EmpathyLogManager *manager, continue; } + if (!g_regex_match_simple ("\\d{8}", date, 0, 0)) { + continue; + } + dates = g_list_insert_sorted (dates, date, (GCompareFunc) strcmp); } |