[glom] About dialog: Show the version number.



commit e053851477ef1dbb5017ced6709b40947c628db4
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Oct 13 20:57:34 2011 +0200

    About dialog: Show the version number.
    
    * glom/application.cc: Use set_version().

 ChangeLog           |    6 ++++++
 glom/application.cc |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8ea9590..387d70b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-10-13  Murray Cumming  <murrayc murrayc com>
 
+	About dialog: Show the version number.
+
+	* glom/application.cc: Use set_version().
+
+2011-10-13  Murray Cumming  <murrayc murrayc com>
+
 	Deleting tables: Remove all auto-increment rows.
 
 	* glom/navigation/box_tables.cc: Remove the autoincrement rows for all 
diff --git a/glom/application.cc b/glom/application.cc
index a5b759e..5868fd2 100644
--- a/glom/application.cc
+++ b/glom/application.cc
@@ -632,6 +632,7 @@ void Application::on_menu_help_about()
     m_pAbout->set_program_name(m_strAppName);
     m_pAbout->set_version(m_strVersion);
     m_pAbout->set_comments(_("A Database GUI"));
+    m_pAbout->set_version(PACKAGE_VERSION);
     m_pAbout->set_copyright(_("Â 2000-2011 Murray Cumming, Openismus GmbH"));
     std::vector<Glib::ustring> vecAuthors;
     vecAuthors.push_back("Murray Cumming <murrayc murrayc com>");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]