Mercurial > geeqie
comparison src/desktop_file.c @ 1746:a0e47436b552
editor fixes
- fixed editor loading order
- fixed EditorWindow->modified flag handling
author | nadvornik |
---|---|
date | Sat, 12 Sep 2009 15:51:37 +0000 |
parents | 8e64965c1d92 |
children | 650915809048 |
comparison
equal
deleted
inserted
replaced
1745:7a6f3ffa036a | 1746:a0e47436b552 |
---|---|
124 { | 124 { |
125 editor_window_save(ew); | 125 editor_window_save(ew); |
126 } | 126 } |
127 | 127 |
128 gtk_widget_set_sensitive(ew->save_button, FALSE); | 128 gtk_widget_set_sensitive(ew->save_button, FALSE); |
129 gtk_text_buffer_set_modified(ew->buffer, FALSE); | |
129 ew->modified = FALSE; | 130 ew->modified = FALSE; |
130 } | 131 } |
131 | 132 |
132 static void editor_window_text_modified_cb(GtkWidget *widget, gpointer data) | 133 static void editor_window_text_modified_cb(GtkWidget *widget, gpointer data) |
133 { | 134 { |