Revision: 1587
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1587&view=rev
Author:   zas_
Date:     2009-03-30 17:52:14 +0000 (Mon, 30 Mar 2009)

Log Message:
-----------
Fix up previous patch.

Modified Paths:
--------------
    trunk/src/desktop_file.c

Modified: trunk/src/desktop_file.c
===================================================================
--- trunk/src/desktop_file.c    2009-03-30 17:05:31 UTC (rev 1586)
+++ trunk/src/desktop_file.c    2009-03-30 17:52:14 UTC (rev 1587)
@@ -118,10 +118,15 @@
 {
        EditorWindow *ew = data;
        const gchar *content = gtk_entry_get_text(GTK_ENTRY(ew->entry));
-       gboolean modified = (!ew->desktop_name && *content);
+       gboolean modified = ew->modified;
 
        if (!modified)
                {
+               modified = (!ew->desktop_name && *content);
+               }
+
+       if (!modified)
+               {
                modified = strcmp(ew->desktop_name, content);
                }
        


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to