]> saetta.ns0.it Git - solipa/organigramma/commitdiff
Aggiunto zak_form_form_clear.
authorAndrea Zagli <azagli@libero.it>
Sat, 10 Dec 2016 08:49:27 +0000 (09:49 +0100)
committerAndrea Zagli <azagli@libero.it>
Sat, 10 Dec 2016 08:49:27 +0000 (09:49 +0100)
src/posizioneeconomica.c
src/profiloprofessionale.c
src/ruolo.c
src/tiponodo.c
src/tipoprestazione.c
src/titolo.c

index d94ce0a7509973c91399011e6db966519557618e..c3f874097b56c95433b1eb79eded16da6a4657c8 100644 (file)
@@ -164,8 +164,9 @@ OrganigrammaPosizioneEconomica
        g_signal_connect (gtk_builder_get_object (priv->commons->gtkbuilder, "button147"),
                          "clicked", G_CALLBACK (organigramma_posizione_economica_on_btn_salvaechiudi_clicked), (gpointer)a);
 
-       priv->id = id;
+       zak_form_form_clear (ZAK_FORM_FORM (priv->form));
 
+       priv->id = id;
        if (priv->id == 0)
                {
                        gtk_label_set_text (GTK_LABEL (priv->objects[LBL_ID]), "");
index be1077b146be5653dfba09ce1aaec184c9b621bf..e6e9e4fd8771cbddddd89de3a847b8339b4ba63d 100644 (file)
@@ -164,8 +164,9 @@ OrganigrammaProfiloProfessionale
        g_signal_connect (gtk_builder_get_object (priv->commons->gtkbuilder, "button148"),
                          "clicked", G_CALLBACK (organigramma_profilo_professionale_on_btn_salvaechiudi_clicked), (gpointer)a);
 
-       priv->id = id;
+       zak_form_form_clear (ZAK_FORM_FORM (priv->form));
 
+       priv->id = id;
        if (priv->id == 0)
                {
                        gtk_label_set_text (GTK_LABEL (priv->objects[LBL_ID]), "");
index fea15ac878e036b51c37e201a1ef6a1c0ce0cab5..e599a402ae43b5895adc929dd83de6da3ae42455 100644 (file)
@@ -164,8 +164,9 @@ OrganigrammaRuolo
        g_signal_connect (gtk_builder_get_object (priv->commons->gtkbuilder, "button173"),
                          "clicked", G_CALLBACK (organigramma_ruolo_on_btn_salvaechiudi_clicked), (gpointer)a);
 
-       priv->id = id;
+       zak_form_form_clear (ZAK_FORM_FORM (priv->form));
 
+       priv->id = id;
        if (priv->id == 0)
                {
                        gtk_label_set_text (GTK_LABEL (priv->objects[LBL_ID]), "");
index 7d301e03a09e5b0395fd56b00825f1806cf05c62..06e87fb191a77d906db2194352f4a1f09e7c93a0 100644 (file)
@@ -164,8 +164,9 @@ OrganigrammaTipoNodo
        g_signal_connect (gtk_builder_get_object (priv->commons->gtkbuilder, "button142"),
                          "clicked", G_CALLBACK (organigramma_tipo_nodo_on_btn_salvaechiudi_clicked), (gpointer)a);
 
-       priv->id = id;
+       zak_form_form_clear (ZAK_FORM_FORM (priv->form));
 
+       priv->id = id;
        if (priv->id == 0)
                {
                        gtk_label_set_text (GTK_LABEL (priv->objects[LBL_ID]), "");
index 0abe68b133a46a1f3bd9b3c64aa36362394f9aa3..fa473811ee834ff873667a6ed75a43fe1d517db6 100644 (file)
@@ -164,8 +164,9 @@ OrganigrammaTipoPrestazione
        g_signal_connect (gtk_builder_get_object (priv->commons->gtkbuilder, "button143"),
                          "clicked", G_CALLBACK (organigramma_tipo_prestazione_on_btn_salvaechiudi_clicked), (gpointer)a);
 
-       priv->id = id;
+       zak_form_form_clear (ZAK_FORM_FORM (priv->form));
 
+       priv->id = id;
        if (priv->id == 0)
                {
                        gtk_label_set_text (GTK_LABEL (priv->objects[LBL_ID]), "");
index 7d41b542a61dc72e9ac6f573a8502e494cc9d672..90119536fd1c3848308350e1071963b5cf584eaf 100644 (file)
@@ -164,8 +164,9 @@ OrganigrammaTitolo
        g_signal_connect (gtk_builder_get_object (priv->commons->gtkbuilder, "button146"),
                          "clicked", G_CALLBACK (organigramma_titolo_on_btn_salvaechiudi_clicked), (gpointer)a);
 
-       priv->id = id;
+       zak_form_form_clear (ZAK_FORM_FORM (priv->form));
 
+       priv->id = id;
        if (priv->id == 0)
                {
                        gtk_label_set_text (GTK_LABEL (priv->objects[LBL_ID]), "");