gl_debug (DEBUG_EDITOR, "START");
+ gl_object_editor_load_bc_styles (editor, bc_style->backend_id);
+
editor->priv->stop_signals = TRUE;
backend_name = gl_barcode_backends_backend_id_to_name (bc_style->backend_id);
gtk_widget_set_sensitive (editor->priv->data_digits_spin,
!editor->priv->data_format_fixed_flag);
}
-
+
editor->priv->stop_signals = FALSE;
gl_debug (DEBUG_EDITOR, "END");
gchar *s;
GtkTextBuffer *buffer;
gint old_page, new_page;
- glLabelBarcodeStyle *bc_style;
gl_debug (DEBUG_EDITOR, "START");
gtk_widget_hide (editor->priv->shadow_page_vbox);
gtk_widget_hide (editor->priv->size_reset_image_button);
-
- bc_style = gl_label_barcode_get_style (GL_LABEL_BARCODE(object));
- gl_object_editor_load_bc_styles (editor, bc_style->backend_id);
- gl_label_barcode_style_free (bc_style);
}
gtk_image_set_from_icon_name (GTK_IMAGE(editor->priv->title_image),
gtk_widget_set_sensitive (editor->priv->title_image, TRUE);
gtk_widget_set_sensitive (editor->priv->title_label, TRUE);
+ editor->priv->stop_signals = TRUE;
gtk_widget_show (editor->priv->notebook);
+ editor->priv->stop_signals = FALSE;
/* if the old active page is no longer visible, set to 1st visible page. */
new_page = gtk_notebook_get_current_page (GTK_NOTEBOOK (editor->priv->notebook));