]> Pileus Git - ~andy/gtk/commitdiff
applied patch from maemo-gtk that changes the mtime check for rc files
authorMichael Natterer <mitch@imendio.com>
Fri, 4 Nov 2005 12:24:36 +0000 (12:24 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Fri, 4 Nov 2005 12:24:36 +0000 (12:24 +0000)
2005-11-04  Michael Natterer  <mitch@imendio.com>

* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): applied patch
from maemo-gtk that changes the mtime check for rc files from
'>' to '!=', otherwise theme changes go unnoticed when turning
back the clock (Tommi Komulainen).

ChangeLog
ChangeLog.pre-2-10
gtk/gtkrc.c

index ecad919859058fc4cd2355c486ed6ae899cc4c62..057b0417f8cd94c93146664d341785c30a351f7c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-11-04  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): applied patch
+       from maemo-gtk that changes the mtime check for rc files from
+       '>' to '!=', otherwise theme changes go unnoticed when turning
+       back the clock (Tommi Komulainen).
+
 2005-11-04  Tor Lillqvist  <tml@novell.com>
 
        * gtk/gtkstatusicon.c (gtk_status_icon_set_tooltip): Plug memory
index ecad919859058fc4cd2355c486ed6ae899cc4c62..057b0417f8cd94c93146664d341785c30a351f7c 100644 (file)
@@ -1,3 +1,10 @@
+2005-11-04  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): applied patch
+       from maemo-gtk that changes the mtime check for rc files from
+       '>' to '!=', otherwise theme changes go unnoticed when turning
+       back the clock (Tommi Komulainen).
+
 2005-11-04  Tor Lillqvist  <tml@novell.com>
 
        * gtk/gtkstatusicon.c (gtk_status_icon_set_tooltip): Plug memory
index f13886395e3b775a0b9f63d682e2829e9ac62343..8fbb01a1620dc7bced82795e7ec86c2c11952df9 100644 (file)
@@ -1467,7 +1467,7 @@ gtk_rc_reparse_all_for_settings (GtkSettings *settings,
          if (!rc_file->is_string)
            {
              if (!g_lstat (rc_file->name, &statbuf) && 
-                 (statbuf.st_mtime > rc_file->mtime))
+                 (statbuf.st_mtime != rc_file->mtime))
                {
                  mtime_modified = TRUE;
                  break;