[grisbi-cvs] grisbi/src help.c,1.81,1.82
Martin Stromberger
fabiolla at users.sourceforge.net
Mon Dec 8 19:37:59 CET 2008
- Previous message: [grisbi-cvs] grisbi/src gsb_scheduler_list.c, 1.56, 1.57 gsb_transactions_list.c, 1.143, 1.144 import.c, 1.255, 1.256 imputation_budgetaire.c, 1.146, 1.147 parametres.c, 1.184, 1.185 print_config.c, 1.38, 1.39 tiers_onglet.c, 1.140, 1.141
- Next message: [grisbi-cvs] grisbi/src/plugins/openssl openssl.c,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28914/src
Modified Files:
help.c
Log Message:
unified handling for dialoges (part_04)
Index: help.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/help.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- help.c 4 Dec 2008 22:24:15 -0000 1.81
+++ help.c 8 Dec 2008 18:37:57 -0000 1.82
@@ -37,6 +37,7 @@
/*START_EXTERN*/
extern gchar *chemin_logo ;
+extern GtkWidget *window ;
/*END_EXTERN*/
@@ -45,7 +46,7 @@
/**
* Handler used to pop up a web browser when user clicked on a link in
* the GtkAboutDialog.
- *
+ *
* \param about Dialog that triggered the event.
* \param link URL to display.
* \param data Not used.
@@ -95,7 +96,7 @@
"Axel Rousseau (axel584[at]axel584.org) ",
"Dominique Parisot (parisot[at]villey-le-sec.com) ",
"Gerald Niel (gerald.niel[at]grisbi.org) ",
-NULL };
+NULL };
gchar * translators = g_strconcat(
"Alain Portal (dionysos[at]grisbi.org): ", _("English"), CSUFFIX,
@@ -123,7 +124,7 @@
"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)";
#if ! GTK_CHECK_VERSION(2,10,0)
- // Warn about obsolete dependencies
+ // Warn about obsolete dependencies
gchar * warn_print = _("\n\nThis version of Grisbi does not support print feature.\nVersion of GTK+ it was built with is obsolete.");
#else
gchar * warn_print = NULL;
@@ -155,11 +156,16 @@
gtk_about_dialog_set_documenters ( GTK_ABOUT_DIALOG (about), documenters );
gtk_about_dialog_set_authors ( GTK_ABOUT_DIALOG (about), auteurs );
gtk_about_dialog_set_translator_credits ( GTK_ABOUT_DIALOG (about), translators );
-
+
+ gtk_window_set_position ( GTK_WINDOW ( about ), GTK_WIN_POS_CENTER_ON_PARENT );
+ gtk_window_set_resizable ( GTK_WINDOW ( about ), TRUE );
+ gtk_window_set_modal ( GTK_WINDOW ( about ), TRUE );
+ gtk_window_set_transient_for ( GTK_WINDOW ( about ), GTK_WINDOW ( window ) );
+
gtk_dialog_run ( GTK_DIALOG (about)) ;
-
+
gtk_widget_destroy (about);
-
+
if (logo)
g_object_unref (logo);
- Previous message: [grisbi-cvs] grisbi/src gsb_scheduler_list.c, 1.56, 1.57 gsb_transactions_list.c, 1.143, 1.144 import.c, 1.255, 1.256 imputation_budgetaire.c, 1.146, 1.147 parametres.c, 1.184, 1.185 print_config.c, 1.38, 1.39 tiers_onglet.c, 1.140, 1.141
- Next message: [grisbi-cvs] grisbi/src/plugins/openssl openssl.c,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list