[grisbi-cvs] [SCM] grisbi branch, grisbi-0.8.x, updated. upstream_version_0_8_7-1-g6ded6ba
Pierre Biava
nobody at users.sourceforge.net
Sun Jun 12 20:49:23 CEST 2011
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 "grisbi".
The branch, grisbi-0.8.x has been updated
via 6ded6ba7218f963c20d80cdfae85aa3ca06d7560 (commit)
from a63a0065b29f1345a90dd8981f44a649cfccb016 (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 -----------------------------------------------------------------
commit 6ded6ba7218f963c20d80cdfae85aa3ca06d7560
Author: pbiava <pierre.biava at nerim.net>
Date: Sun Jun 12 20:42:10 2011 +0200
removal of the display of the build date for the stable versions of Grisbi
-----------------------------------------------------------------------
Changes:
diff --git a/src/help.c b/src/help.c
index f0e9ba5..02036ab 100644
--- a/src/help.c
+++ b/src/help.c
@@ -84,7 +84,8 @@ void launch_mailto (GtkAboutDialog *about, const gchar * link, gpointer data)
*/
void a_propos ( GtkWidget *bouton, gint data )
{
- GdkPixbuf * logo;
+ GtkWidget *about;
+ GdkPixbuf *logo;
gchar *chemin_logo ;
#define CSUFFIX "\n"
@@ -156,21 +157,41 @@ NULL};
"This product includes software developed by the OpenSSL Project "
"for use in the OpenSSL Toolkit.\n(http://www.openssl.org/)";
- /* Plugins list */
- gchar* comments = g_strconcat ( _("Personal finance manager for everyone\n"),
- gsb_plugin_get_list(),
+ /* Others info */
+ gchar *comments;
+ gchar *plugins;
+ gchar *version_to_string;
+
+ plugins = gsb_plugin_get_list ( );
+ version_to_string = get_gtk_run_version ( );
+
+ if ( IS_DEVELOPMENT_VERSION == 1 )
+ {
+ gchar *compiled_time;
+
+ compiled_time = gsb_date_get_compiled_time ( );
+
+ comments = g_strconcat ( _("Personal finance manager for everyone\n"),
+ plugins,
"\nVersion de GTK : ",
- get_gtk_run_version ( ),
+ version_to_string,
"\n",
_("This instance of Grisbi was compiled on\n"),
- gsb_date_get_compiled_time ( ) ,
+ compiled_time,
" ",
_("at"),
" ",
__TIME__,
NULL );
- GtkWidget * about;
+ g_free ( compiled_time );
+ }
+ else
+ comments = g_strconcat ( _("Personal finance manager for everyone\n"),
+ plugins,
+ "\nVersion de GTK : ",
+ version_to_string,
+ NULL );
/* Logo */
logo = gsb_select_icon_get_logo_pixbuf ( );
@@ -178,7 +199,10 @@ NULL};
{
chemin_logo = my_strdup ( LOGO_PATH );
logo = gdk_pixbuf_new_from_file ( chemin_logo, NULL );
+
+ g_free ( chemin_logo );
}
+
about = gtk_about_dialog_new ( );
gtk_about_dialog_set_url_hook (launch_url, NULL, NULL);
gtk_about_dialog_set_email_hook (launch_mailto, NULL, NULL);
@@ -199,6 +223,10 @@ NULL};
gtk_window_set_modal ( GTK_WINDOW ( about ), TRUE );
gtk_window_set_transient_for ( GTK_WINDOW ( about ), GTK_WINDOW ( window ) );
+ g_free ( plugins );
+ g_free ( version_to_string );
+ g_free ( comments );
+
gtk_dialog_run ( GTK_DIALOG (about)) ;
gtk_widget_destroy (about);
hooks/post-receive
--
grisbi
More information about the cvs
mailing list