editor fixes
- fixed editor loading order
- fixed EditorWindow->modified flag handling
author |
nadvornik |
date |
Sat, 12 Sep 2009 15:51:37 +0000 |
parents |
7a6f3ffa036a |
children |
43c75f23dff2 |
files |
src/desktop_file.c src/editors.c |
diffstat |
2 files changed, 2 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/src/desktop_file.c Sat Sep 12 15:31:24 2009 +0000
+++ b/src/desktop_file.c Sat Sep 12 15:51:37 2009 +0000
@@ -126,6 +126,7 @@
}
gtk_widget_set_sensitive(ew->save_button, FALSE);
+ gtk_text_buffer_set_modified(ew->buffer, FALSE);
ew->modified = FALSE;
}
--- a/src/editors.c Sat Sep 12 15:31:24 2009 +0000
+++ b/src/editors.c Sat Sep 12 15:51:37 2009 +0000
@@ -430,7 +430,7 @@
}
g_strfreev(split_dirs);
- return g_list_reverse(list);
+ return list;
}
static void editor_list_add_cb(gpointer key, gpointer value, gpointer data)