[grisbi-cvs] grisbi/src categories_onglet.c,1.186,1.187
Pierre Biava
pbiava at users.sourceforge.net
Sun Feb 8 18:54:32 CET 2009
- Previous message: [grisbi-cvs] grisbi/src gsb_automem.c, 1.23, 1.24 gsb_data_category.c, 1.63, 1.64 gsb_form.c, 1.105, 1.106 gtk_combofix.c, 1.55, 1.56 navigation.c, 1.110, 1.111
- Next message: [grisbi-cvs] grisbi/po fr.po,1.130,1.131
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3010
Modified Files:
categories_onglet.c
Log Message:
function to create and editing a new category. feature 465
Index: categories_onglet.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/categories_onglet.c,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -d -r1.186 -r1.187
--- categories_onglet.c 10 Jan 2009 18:56:10 -0000 1.186
+++ categories_onglet.c 8 Feb 2009 17:54:29 -0000 1.187
@@ -52,6 +52,7 @@
static gboolean exporter_categ ( GtkButton * widget, gpointer data );
static void importer_categ ( void );
static gboolean popup_category_view_mode_menu ( GtkWidget * button );
+static void appui_sur_ajout_division ( GtkTreeModel * model );
/*END_STATIC*/
@@ -455,7 +456,7 @@
button = gsb_automem_imagefile_button_new ( etat.display_toolbar,
_("New\ncategory"),
"new-categ.png",
- G_CALLBACK(metatree_new_division),
+ G_CALLBACK( appui_sur_ajout_division ),
categ_tree_model );
gtk_widget_set_tooltip_text ( GTK_WIDGET (button),
SPACIFY(_("Create a new category")));
@@ -757,6 +758,16 @@
}
+/**
+ * function to create and editing a new category. it's very bad.
+ *
+ * \param the model for the division
+ */
+void appui_sur_ajout_division ( GtkTreeModel * model )
+{
+ metatree_new_division ( model );
+ edit_category ( GTK_TREE_VIEW ( arbre_categ ) );
+}
/* Local Variables: */
/* c-basic-offset: 4 */
/* End: */
- Previous message: [grisbi-cvs] grisbi/src gsb_automem.c, 1.23, 1.24 gsb_data_category.c, 1.63, 1.64 gsb_form.c, 1.105, 1.106 gtk_combofix.c, 1.55, 1.56 navigation.c, 1.110, 1.111
- Next message: [grisbi-cvs] grisbi/po fr.po,1.130,1.131
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list