+2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
+
+ * src/file.c: (gl_file_new), (gl_file_properties): Swap button order and set default for higificatory pleasure.
+
2003-12-27 Jim Evins <evins@snaught.com>
* barcode-0.98/Makefile.am:
Added function gl_xml_template_write_template_to_file(), used
in gl_template_register().
-
\ No newline at end of file
+
dlg = gl_hig_dialog_new_with_buttons (_("New Label or Card"),
window,
GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_STOCK_OK, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
+ gtk_dialog_set_default_response (GTK_DIALOG (dlg), GTK_RESPONSE_OK);
+
create_new_dialog_widgets (GL_HIG_DIALOG (dlg));
g_object_set_data (G_OBJECT (dlg), "parent_window", window);
dlg = gl_hig_dialog_new_with_buttons (_("Label properties"),
window,
GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_STOCK_OK, GTK_RESPONSE_OK,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
+ gtk_dialog_set_default_response (GTK_DIALOG (dlg), GTK_RESPONSE_OK);
+
create_properties_dialog_widgets (GL_HIG_DIALOG (dlg), label);
g_object_set_data (G_OBJECT (dlg), "label", label);