3c8d61a6bf
Update to 0.8.7 OBS-URL: https://build.opensuse.org/request/show/72850 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/grisbi?expand=0&rev=7
82 lines
2.6 KiB
Diff
82 lines
2.6 KiB
Diff
diff -ur grisbi-0.8.7/src/help.c grisbi-0.8.7.nodate/src/help.c
|
|
--- grisbi-0.8.7/src/help.c 2011-06-06 23:09:19.000000000 +0200
|
|
+++ grisbi-0.8.7.nodate/src/help.c 2011-06-07 10:08:53.125402476 +0200
|
|
@@ -161,13 +161,6 @@
|
|
gsb_plugin_get_list(),
|
|
"\nVersion de GTK : ",
|
|
get_gtk_run_version ( ),
|
|
- "\n",
|
|
- _("This instance of Grisbi was compiled on\n"),
|
|
- gsb_date_get_compiled_time ( ) ,
|
|
- " ",
|
|
- _("at"),
|
|
- " ",
|
|
- __TIME__,
|
|
NULL );
|
|
|
|
GtkWidget * about;
|
|
diff -ur grisbi-0.8.7/src/utils_dates.c grisbi-0.8.7.nodate/src/utils_dates.c
|
|
--- grisbi-0.8.7/src/utils_dates.c 2011-06-06 23:09:19.000000000 +0200
|
|
+++ grisbi-0.8.7.nodate/src/utils_dates.c 2011-06-07 10:09:28.253867687 +0200
|
|
@@ -631,49 +631,6 @@
|
|
return gsb_parse_date_string ( string );
|
|
}
|
|
|
|
-
|
|
-/**
|
|
- * retourne la date de compilation conforme à la locale
|
|
- *
|
|
- * */
|
|
-gchar *gsb_date_get_compiled_time ( void )
|
|
-{
|
|
- GDate *date;
|
|
- gchar **tab;
|
|
- gchar *str;
|
|
- const gchar *months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
|
|
- "Sep", "Oct", "Nov", "Dec"};
|
|
- gint mois = 0;
|
|
- gint i;
|
|
-
|
|
- str = g_strdup ( __DATE__ );
|
|
- if ( g_strstr_len ( str, -1, " " ) )
|
|
- {
|
|
- tab = g_strsplit ( str, " ", -1 );
|
|
- str = g_strjoinv (" ", tab);
|
|
- g_strfreev (tab);
|
|
- }
|
|
- tab = g_strsplit ( str, " ", -1 );
|
|
- g_free ( str );
|
|
-
|
|
- for (i = 0; i < 12; i++)
|
|
- {
|
|
- if ( !strcmp ( tab[0], months[i] ) )
|
|
- {
|
|
- mois = i + 1;
|
|
- break;
|
|
- }
|
|
- }
|
|
-
|
|
- date = g_date_new_dmy ( atoi ( tab[1] ), mois, atoi ( tab[2] ) );
|
|
- g_strfreev (tab);
|
|
- str = gsb_format_gdate ( date );
|
|
- g_date_free ( date );
|
|
-
|
|
- return str;
|
|
-}
|
|
-
|
|
-
|
|
/**
|
|
* returns a date with the last day of the month.
|
|
*
|
|
diff -ur grisbi-0.8.7/src/utils_dates.h grisbi-0.8.7.nodate/src/utils_dates.h
|
|
--- grisbi-0.8.7/src/utils_dates.h 2011-06-06 23:09:19.000000000 +0200
|
|
+++ grisbi-0.8.7.nodate/src/utils_dates.h 2011-06-07 10:09:34.193945917 +0200
|
|
@@ -12,7 +12,6 @@
|
|
gboolean gsb_date_check_entry ( GtkWidget *entry );
|
|
GDate *gsb_date_copy ( const GDate *date );
|
|
void gsb_date_free_last_date ( void );
|
|
-gchar *gsb_date_get_compiled_time ( void );
|
|
gchar *gsb_date_get_format_date ( void );
|
|
GDate *gsb_date_get_last_day_of_month ( const GDate *date );
|
|
GDate *gsb_date_get_last_entry_date ( const gchar *string );
|