rem: gtk_widget_show_all ( barre_menu );
context: GtkWidget *init_menus ( GtkWidget *vbox ){    GtkWidget * barre_menu;    GtkActionGroup * action_group;GtkActionEntry entries[] = {{ "FileMenu",		NULL,			_("_File"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "New",		GTK_STOCK_NEW,		_("_New account file..."),  NULL,			NULL,			G_CALLBACK( new_file ) },    { "Open",		GTK_STOCK_OPEN,		_("_Open..."),  NULL,			NULL,			G_CALLBACK( ouvrir_fichier ) },{ "RecentFiles",	NULL,			_("_Recently opened files"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "Save",		GTK_STOCK_SAVE,		_("_Save"),  NULL,			NULL,			G_CALLBACK( enregistrement_fichier ) },/* Arg */{ "SaveAs",		GTK_STOCK_SAVE_AS,	_("_Save as..."),  NULL,			NULL,			G_CALLBACK( gsb_save_file_as ) },	{ "ImportFile",		NULL,			_("_Import QIF/OFX/CSV/Gnucash file..."),  NULL,			NULL,			G_CALLBACK( importer_fichier ) },{ "ExportFile",		NULL,			_("_Export QIF file..."),  NULL,			NULL,			G_CALLBACK( exporter_fichier_qif ) },{ "Close",		GTK_STOCK_CLOSE,	_("_Close"),  NULL,			NULL,			G_CALLBACK( fermer_fichier ) },{ "Quit",		GTK_STOCK_QUIT,		_("_Quit"),  NULL,			NULL,			G_CALLBACK( fermeture_grisbi ) },{ "EditMenu",		NULL,			_("_Edit"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "NewTransaction",	GTK_STOCK_NEW,		_("_New transaction"),	  "",			NULL,			G_CALLBACK( new_transaction ) },{ "RemoveTransaction",	GTK_STOCK_DELETE,	_("_Remove transaction"),	  "",			NULL,			G_CALLBACK( remove_transaction ) },{ "CloneTransaction",	GTK_STOCK_COPY,		_("_Clone transaction"),	  "",			NULL,			G_CALLBACK( clone_selected_transaction ) },{ "EditTransaction",	GTK_STOCK_PROPERTIES,	_("_Edit transaction"),	  "",			NULL,			G_CALLBACK( gsb_transactions_list_edit_current_transaction ) },/* Argh */{ "ConvertToScheduled",	GTK_STOCK_CONVERT,	_("Convert to _scheduled transaction"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "MoveToAnotherAccount",NULL,			_("_Move transaction to another account"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "Preferences",	GTK_STOCK_PREFERENCES,	_("_Preferences"),  NULL,			NULL,			G_CALLBACK( preferences ) },/* View menu */{ "ViewMenu",		NULL,			_("_View"),  NULL,			NULL,			G_CALLBACK( NULL ) },/* Account menu */{ "AccountMenu",	NULL,			_("_Accounts"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "NewAccount",		GTK_STOCK_NEW,		_("_New account"),  "",			NULL,			G_CALLBACK( NULL ) },{ "RemoveAccount",	GTK_STOCK_DELETE,	_("_Remove current account"),  "",			NULL,			G_CALLBACK( NULL ) },/* Reports menu */{ "ReportsMenu",	NULL,			_("_Reports"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "NewReport",		GTK_STOCK_NEW,		_("_New report"),  "",			"",			G_CALLBACK( ajout_etat ) },{ "CloneReport",	GTK_STOCK_COPY,		_("_Clone report"),  "",			NULL,			G_CALLBACK( dupliquer_etat ) },{ "PrintReport",	GTK_STOCK_PRINT,	_("_Print report..."),  "",			"",			G_CALLBACK( impression_etat_courant ) },{ "ImportReport",	GTK_STOCK_CONVERT,	_("_Import report..."),  NULL,			NULL,			G_CALLBACK( importer_etat ) },{ "ExportReport",	GTK_STOCK_CONVERT,	_("_Export report..."),  NULL,			NULL,			G_CALLBACK( exporter_etat ) },{ "ExportReportHTML",	NULL,			_("_Export report as HTML..."),  NULL,			NULL,			G_CALLBACK( export_etat_courant_vers_html ) },{ "RemoveReport",	GTK_STOCK_DELETE,	_("_Remove report"),  NULL,			"",			G_CALLBACK( efface_etat ) },{ "EditReport",		GTK_STOCK_PROPERTIES,	_("_Edit report"),  NULL,			"",			G_CALLBACK( personnalisation_etat ) },/* Help Menu */{ "HelpMenu",		NULL,			_("_Help"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "Manual",		GTK_STOCK_HELP,		_("_Manual"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "QuickStart",		NULL,			_("_Quick start"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "Translation",	NULL,			_("_Translation"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "About",		GTK_STOCK_ABOUT,	_("_About Grisbi..."),  NULL,			NULL,			G_CALLBACK( a_propos ) },{ "GrisbiWebsite",	NULL,			_("_Grisbi website"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "ReportBug",		NULL,			_("_Report a bug"),  NULL,			NULL,			G_CALLBACK( NULL ) },{ "Tip",		GTK_STOCK_DIALOG_INFO,	_("_Tip of the day"),  NULL,			NULL,			G_CALLBACK( force_display_tip ) },};GtkRadioActionEntry radio_entries[] = {{ "ShowOneLine",	NULL,			_("Show _one line per transaction"),  NULL,			NULL,			ONE_LINE_PER_TRANSACTION },{ "ShowTwoLines",	NULL,			_("Show _two lines per transaction"),  NULL,			NULL,			TWO_LINES_PER_TRANSACTION },{ "ShowThreeLines",	NULL,			_("Show _three lines per transaction"),  NULL,			NULL,			THREE_LINES_PER_TRANSACTION },{ "ShowFourLines",	NULL,			_("Show _four lines per transaction"),  NULL,			NULL,			FOUR_LINES_PER_TRANSACTION },}; GtkToggleActionEntry toggle_entries[] = {{ "ShowTransactionForm",NULL,			_("Show transaction _form"),  NULL,			NULL,			G_CALLBACK ( affiche_cache_le_formulaire ),   etat.formulaire_toujours_affiche },{ "ShowGrid",		NULL,			_("Show _grid"),  NULL,			NULL,			G_CALLBACK ( gsb_gui_toggle_grid_mode ),   etat.affichage_grille },{ "ShowReconciled",	NULL,			_("Show _reconciled"),  NULL,			NULL,			G_CALLBACK ( NULL ),  0 },{ "ShowClosed",		NULL,			_("Show _closed accounts"),  NULL,			NULL,			G_CALLBACK ( NULL ),  etat.show_closed_accounts } };    ui_manager = gtk_ui_manager_new ();    g_signal_connect ( ui_manager, "add_widget", G_CALLBACK( menu_add_widget ), vbox );    action_group = gtk_action_group_new ( "Group" );    gtk_action_group_add_actions ( action_group, entries, G_N_ELEMENTS( entries ), NULL );    gtk_action_group_add_radio_actions ( action_group, radio_entries, 					 G_N_ELEMENTS( radio_entries ), 					 -1, G_CALLBACK(gsb_gui_toggle_line_view_mode), 					 NULL );    gtk_action_group_add_toggle_actions ( action_group, toggle_entries, 					  G_N_ELEMENTS( toggle_entries ), 					  NULL );    gtk_ui_manager_insert_action_group ( ui_manager, action_group, 0 );    gtk_ui_manager_add_ui_from_string ( ui_manager, buffer, strlen(buffer), NULL );    gtk_window_add_accel_group (GTK_WINDOW (window),				gtk_ui_manager_get_accel_group (ui_manager));    barre_menu = gtk_ui_manager_get_widget ( ui_manager, "/menubar" );    gtk_widget_show_all ( barre_menu );     return barre_menu;}