From: Andrea Zagli Date: Sat, 23 Feb 2013 11:12:00 +0000 (+0100) Subject: Aggiustamenti. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=28d0172d1244a58be7bfc3d328e88f2c780f4fc9;p=albonline%2Fbe Aggiustamenti. --- diff --git a/data/messi/form/atto.form b/data/messi/form/atto.form index 59889ec..50fe20f 100644 --- a/data/messi/form/atto.form +++ b/data/messi/form/atto.form @@ -33,11 +33,20 @@ + + + + SELECT nome FROM uffici WHERE id = ##key0::gint + + + + + + date %d/%m/%Y - now diff --git a/data/messi/gui/messi.gui b/data/messi/gui/messi.gui index 53e0e0a..ccc042e 100644 --- a/data/messi/gui/messi.gui +++ b/data/messi/gui/messi.gui @@ -95,7 +95,7 @@ True False - <b>Atti</b> + <b>Atti - Albo Pretorio</b> True @@ -293,7 +293,7 @@ - gtk-undo + gtk-cancel True True True @@ -1238,7 +1238,7 @@ True False - Ti_pi atti + Ti_pi atto True diff --git a/src/atto.c b/src/atto.c index 75dfbf3..9e32e50 100644 --- a/src/atto.c +++ b/src/atto.c @@ -514,8 +514,6 @@ atto_on_ufficio_selezionato (gpointer instance, guint id, gpointer user_data) gtk_form_widget_set_value_stringify (gtk_form_get_form_widget_from_name (priv->form, "gtkformdecoder2"), g_strdup_printf ("%d", id)); - gtk_form_widget_set_value_stringify (gtk_form_get_form_widget_from_name (priv->form, "gtkformdecoder3"), - "0"); } static gboolean @@ -546,7 +544,7 @@ atto_on_key_release_event (GtkWidget *widget, { AttoPrivate *priv = ATTO_GET_PRIVATE ((Atto *)user_data); - gtk_button_clicked (GTK_BUTTON (gtk_builder_get_object (priv->commons->gtkbuilder, "button18"))); + gtk_button_clicked (GTK_BUTTON (gtk_builder_get_object (priv->commons->gtkbuilder, "button1"))); return TRUE; } return FALSE; @@ -698,7 +696,7 @@ atto_on_btn_allegato_apri_clicked (GtkButton *button, filename_orig = g_path_get_basename (gdaex_data_model_get_field_value_stringify_at (dm, 0, "percorso")); error = NULL; - fin = g_file_open_tmp (g_strdup_printf ("opengov-XXXXXX-%s", + fin = g_file_open_tmp (g_strdup_printf ("messi-XXXXXX-%s", filename_orig), &filename_tmp, &error); if (fin < 1 || error != NULL)