projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
054df73
)
Fix up previous patch.
author
Laurent Monin
<geeqie@norz.org>
Mon, 30 Mar 2009 17:52:14 +0000
(17:52 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Mon, 30 Mar 2009 17:52:14 +0000
(17:52 +0000)
src/desktop_file.c
patch
|
blob
|
history
diff --git
a/src/desktop_file.c
b/src/desktop_file.c
index
0a9fc4c
..
e622552
100644
(file)
--- a/
src/desktop_file.c
+++ b/
src/desktop_file.c
@@
-118,7
+118,12
@@
static void editor_window_entry_changed_cb(GtkWidget *widget, gpointer data)
{
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)
{