summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@dhcp-100-2-40.bos.redhat.com>2009-04-12 19:44:07 -0400
committerSøren Sandmann Pedersen <ssp@dhcp-100-2-40.bos.redhat.com>2009-04-12 19:44:07 -0400
commit53e065e96a449d24a73433c810ff295cfc6cef06 (patch)
tree86040f8a14fb453ad6913ddd359a9740c815dfb0
parentfd8d07a294a2edb502e79e3e32019e424b72c659 (diff)
Show error message when a dbus open fails
-rw-r--r--siv.c2
-rw-r--r--window.c1
2 files changed, 2 insertions, 1 deletions
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 *