diff options
author | Søren Sandmann <sandmann@redhat.com> | 2008-03-10 02:12:11 -0400 |
---|---|---|
committer | Søren Sandmann <sandmann@redhat.com> | 2008-03-10 02:12:11 -0400 |
commit | 354691051aeb569618f7a86afc5a3af204185bee (patch) | |
tree | d6f2212adb0d8ea064000a6e4cb73b394c146a3a | |
parent | caefd787d002a16a9041de26286df7c245dce3f0 (diff) |
small fixes
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | siv.c | 4 | ||||
-rw-r--r-- | window.c | 4 |
3 files changed, 7 insertions, 5 deletions
@@ -1,5 +1,4 @@ - - Make sure filenames are escaped if they contains [ or ] - - Save adjustment positions +- Make sure filenames are escaped if they contains [ or ] - Open @@ -14,3 +13,4 @@ Done: - Meta data +- Save adjustment positions @@ -275,7 +275,7 @@ app_new (int argc, char **argv) i = 0; for (list = filenames; list != NULL; list = list->next) { - Window *window = window_new (app); + Window *window; GError *err = NULL; char *filename = list->data; @@ -283,6 +283,8 @@ app_new (int argc, char **argv) if (++i > 32) break; + window = window_new (app); + if (!window_load_file (window, list->data, &err)) { g_print ("Could not open %s: %s\n", filename, err->message); @@ -104,8 +104,8 @@ on_expose (GtkWidget *drawing_area, GdkEventExpose *expose, Window *window) } else /* Checkerboard */ { - color1 = 0x008080aa; - color2 = 0x00ccccaa; + color1 = 0x00808080; + color2 = 0x00cccccc; } if (gtk_check_menu_item_get_active (get_widget (window, "menu_smooth_image"))) |