</field>
</widget>
+ <widget type="decoder" name="gtkformdecoder2" label="label16">
+ <decoder>
+ <sql>
+ SELECT nome FROM uffici WHERE id = ##key0::gint
+ </sql>
+ </decoder>
+ <field type="integer" name="id_uffici">
+ </field>
+ </widget>
+
<widget type="entry" name="entry3" label="label7">
<field type="datetime" name="ricezione_data">
<datetime-type>date</datetime-type>
<display-format>%d/%m/%Y</display-format>
- <min-value>now</min-value>
</field>
</widget>
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes"><b>Atti</b></property>
+ <property name="label" translatable="yes"><b>Atti - Albo Pretorio</b></property>
<property name="use_markup">True</property>
</object>
<packing>
</child>
<child>
<object class="GtkButton" id="button9">
- <property name="label">gtk-undo</property>
+ <property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<object class="GtkMenuItem" id="mnu_tabelle_tipi_atti">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Ti_pi atti</property>
+ <property name="label" translatable="yes">Ti_pi atto</property>
<property name="use_underline">True</property>
<signal name="activate" handler="on_mnu_tabelle_tipi_atto_activate" swapped="no"/>
</object>
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
{
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;
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)