[gitg/vala] Show about dialog on window
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/vala] Show about dialog on window
- Date: Wed, 18 Jul 2012 14:42:21 +0000 (UTC)
commit 21cfbc11fb6f7f819f51656cd80b6207089a3c39
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Wed Jul 18 16:42:06 2012 +0200
Show about dialog on window
gitg/gitg-application.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-application.vala b/gitg/gitg-application.vala
index 5ed5585..af998aa 100644
--- a/gitg/gitg-application.vala
+++ b/gitg/gitg-application.vala
@@ -199,7 +199,9 @@ public class Application : Gtk.Application
catch {}
}
- Gtk.show_about_dialog(null,
+ unowned List<Gtk.Window> wnds = get_windows();
+
+ Gtk.show_about_dialog(wnds != null ? wnds.data : null,
"authors", authors,
"copyright", copyright,
"comments", comments,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]