[niepce] Set about dialog transient.
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce] Set about dialog transient.
- Date: Fri, 5 Jun 2015 03:25:42 +0000 (UTC)
commit 45b169dfa217b8bee060b666be705747dfe96470
Author: Hubert Figuière <hub figuiere net>
Date: Thu Jun 4 16:29:13 2015 -0400
Set about dialog transient.
src/niepce/ui/niepceapplication.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/niepce/ui/niepceapplication.cpp b/src/niepce/ui/niepceapplication.cpp
index 49d9f84..e5ca04e 100644
--- a/src/niepce/ui/niepceapplication.cpp
+++ b/src/niepce/ui/niepceapplication.cpp
@@ -1,7 +1,7 @@
/*
* niepce - ui/niepceapplication.cpp
*
- * Copyright (C) 2007-2014 Hubert Figuiere
+ * Copyright (C) 2007-2015 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -65,7 +65,7 @@ AppFrame::Ptr NiepceApplication::makeMainFrame()
void NiepceApplication::on_action_file_open()
{
-
+
}
void NiepceApplication::on_about()
@@ -79,6 +79,7 @@ void NiepceApplication::on_about()
dlg.set_comments(Glib::ustring(_("A digital photo application.\n\n"
"Build options: ")) +
NIEPCE_BUILD_CONFIG);
+ dlg.set_transient_for(m_main_frame.lock()->gtkWindow());
dlg.run();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]