Skip to content

Commit

Permalink
Fix up previous patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Monin committed Mar 30, 2009
1 parent 054df73 commit 9ec7080
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/desktop_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 9ec7080

Please sign in to comment.