gtk_label_set_text (GTK_LABEL (priv->objects[LBL_ID]), "");
gtk_form_set_as_origin (priv->form);
+
+ gtk_form_set_sensitive_by_name (priv->form, FALSE, "notebook1", NULL);
}
else
{
if (priv->id == 0)
{
priv->id = strtol (gtk_label_get_text (GTK_LABEL (priv->objects[LBL_ID])), NULL, 10);
+ gtk_form_set_sensitive_by_name (priv->form, TRUE, "notebook1", NULL);
}
dialog = gtk_message_dialog_new (GTK_WINDOW (priv->w),
gtk_label_set_text (GTK_LABEL (priv->objects[LBL_ID]), "");
gtk_form_set_as_origin (priv->form);
+
+ gtk_form_set_sensitive_by_name (priv->form, FALSE, "frame3", NULL);
}
else
{
if (priv->id == 0)
{
priv->id = strtol (gtk_label_get_text (GTK_LABEL (priv->objects[LBL_ID])), NULL, 10);
+ gtk_form_set_sensitive_by_name (priv->form, TRUE, "frame3", NULL);
}
dialog = gtk_message_dialog_new (GTK_WINDOW (priv->w),
gtk_label_set_text (GTK_LABEL (priv->objects[LBL_ID]), "");
gtk_form_set_as_origin (priv->form);
+
+ gtk_form_set_sensitive_by_name (priv->form, FALSE, "frame2", "frame12", "frame1", "frame4", NULL);
}
else
{
if (priv->id == 0)
{
priv->id = strtol (gtk_label_get_text (GTK_LABEL (priv->objects[LBL_ID])), NULL, 10);
+ gtk_form_set_sensitive_by_name (priv->form, TRUE, "frame2", "frame12", "frame1", "frame4", NULL);
}
dialog = gtk_message_dialog_new (GTK_WINDOW (priv->w),