summaryrefslogtreecommitdiff
path: root/saedit
diff options
context:
space:
mode:
authorVasily_Makarov <danilka.pro@gmail.com>2011-06-13 23:28:21 +0400
committerVasily_Makarov <danilka.pro@gmail.com>2011-06-13 23:28:21 +0400
commit58178671d0d219b337cd7a6195a6d1d9e5c05407 (patch)
treeabf64ca5a27bbae1ab5c9da4fcaabef01e04ea9c /saedit
parent43a507fb1e2f0ce589546bf24ae2f2667f01a719 (diff)
downloadtools-58178671d0d219b337cd7a6195a6d1d9e5c05407.tar.gz
tools-58178671d0d219b337cd7a6195a6d1d9e5c05407.tar.bz2
tools-58178671d0d219b337cd7a6195a6d1d9e5c05407.tar.xz
tools-58178671d0d219b337cd7a6195a6d1d9e5c05407.zip
saedit: Fix player imageset bug
Diffstat (limited to 'saedit')
-rw-r--r--saedit/main.c2
-rw-r--r--saedit/main.h6
-rwxr-xr-xsaedit/saeditbin457610 -> 457582 bytes
3 files changed, 1 insertions, 7 deletions
diff --git a/saedit/main.c b/saedit/main.c
index e069f78..769b55f 100644
--- a/saedit/main.c
+++ b/saedit/main.c
@@ -407,9 +407,9 @@ gboolean set_up_action_by_name(const gchar *name, SAEInfo *sae_info) {
}
void actions_combo_box_changed_handler(GtkComboBox *widget, gpointer user_data) {
- set_up_action_by_name(gtk_combo_box_get_active_text(widget), gen_sae_info);
if (player != NULL)
set_up_action_by_name(gtk_combo_box_get_active_text(widget), player);
+ set_up_action_by_name(gtk_combo_box_get_active_text(widget), gen_sae_info);
}
void animations_combo_box_changed_handler(GtkComboBox *widget, gpointer user_data) {
diff --git a/saedit/main.h b/saedit/main.h
index f84ef5a..afa5a48 100644
--- a/saedit/main.h
+++ b/saedit/main.h
@@ -166,17 +166,11 @@ GtkWidget *source_view = NULL;
GtkSourceBuffer *source_buffer = NULL;
-//GList *imagesets = NULL;
-//GList *actions = NULL;
-//GList *animations = NULL;
SAEInfo *gen_sae_info = NULL;
SAEInfo *player = NULL;
GdkPixbuf *icon = NULL;
-//XMLNode *root = NULL;
-//ImagesetInfo *imageset = NULL;
-//guint running_animation = 0;
Options *paths;
Keys *config;
diff --git a/saedit/saedit b/saedit/saedit
index 7e7d1a8..8d0488f 100755
--- a/saedit/saedit
+++ b/saedit/saedit
Binary files differ