gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. aa12e91694ec94b58b2a


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. aa12e91694ec94b58b2a1c208a8de95ec17c24b0
Date: Thu, 09 Dec 2010 21:18:19 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  aa12e91694ec94b58b2a1c208a8de95ec17c24b0 (commit)
      from  950824ee29ccaad6bfe9d3993c4303a2308a7080 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=aa12e91694ec94b58b2a1c208a8de95ec17c24b0


commit aa12e91694ec94b58b2a1c208a8de95ec17c24b0
Author: Sandro Santilli <address@hidden>
Date:   Thu Dec 9 22:18:00 2010 +0100

    Add branch infor in printed version

diff --git a/gui/gtk/gtk.cpp b/gui/gtk/gtk.cpp
index 5decf51..c5b4ef6 100644
--- a/gui/gtk/gtk.cpp
+++ b/gui/gtk/gtk.cpp
@@ -23,6 +23,7 @@
 #endif
 
 #include "gtksup.h"
+#include "revno.h"
 
 #include <iostream>
 #include <string>
@@ -1813,7 +1814,17 @@ GtkGui::showAboutDialog()
     GtkAboutDialog* about = GTK_ABOUT_DIALOG(aboutWidget);
 
     gtk_about_dialog_set_name (about, "Gnash");
-    gtk_about_dialog_set_version(about, VERSION);
+    std::string version = VERSION;
+    version.append("\n");
+    version.append("(");
+    version.append(BRANCH_NICK);
+    version.append("-");
+    version.append(BRANCH_REVNO);
+    version.append("-");
+    version.append(COMMIT_ID);
+    version.append(")");
+
+    gtk_about_dialog_set_version(about, version.c_str());
     gtk_about_dialog_set_copyright(about, "Copyright (C) 2005, 2006, 2007, "
             "2008, 2009, 2010 The Free Software Foundation");
     gtk_about_dialog_set_comments (about, comments.c_str());

-----------------------------------------------------------------------

Summary of changes:
 gui/gtk/gtk.cpp |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]