forked from AuroraMiddleware/gtk
applied patch from maemo-gtk that changes the mtime check for rc files
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).
This commit is contained in:
parent
36e1f67ac2
commit
e087a3bc51
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user