From 53e065e96a449d24a73433c810ff295cfc6cef06 Mon Sep 17 00:00:00 2001 From: Søren Sandmann Pedersen Date: Sun, 12 Apr 2009 19:44:07 -0400 Subject: Show error message when a dbus open fails --- siv.c | 2 ++ window.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/siv.c b/siv.c index 1748e7b..accdc13 100644 --- a/siv.c +++ b/siv.c @@ -451,6 +451,8 @@ on_open (App *app, const char *filename) * all the errors at once; so we need to support * asking to load many files at once */ + + app_show_could_not_open (NULL, 1, &filename); } app_end_load (app); diff --git a/window.c b/window.c index 4327b74..05ba209 100644 --- a/window.c +++ b/window.c @@ -1223,7 +1223,6 @@ window_show (SivWindow *window, guint32 time) gtk_adjustment_set_value (hadj, window->hadj); gtk_window_present_with_time (get_widget (window, "main_window"), time); - gtk_window_present (get_widget (window, "main_window")); } const char * -- cgit v1.2.3