From: Jim Evins Date: Sun, 28 Dec 2003 16:16:05 +0000 (+0000) Subject: 2003-12-28 Wayne Schuller X-Git-Tag: glabels-2_3_0~500 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=94be7f87f0bce60192cf06eee6e10389a82c4e64;p=glabels 2003-12-28 Wayne Schuller * src/file.c: (gl_file_new), (gl_file_properties): Swap button order and set default for higificatory pleasure. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@395 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index 33baf44a..297d1899 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,7 @@ +2003-12-28 Wayne Schuller + + * src/file.c: (gl_file_new), (gl_file_properties): Swap button order and set default for higificatory pleasure. + 2003-12-27 Jim Evins * barcode-0.98/Makefile.am: @@ -77,4 +81,4 @@ Added function gl_xml_template_write_template_to_file(), used in gl_template_register(). - \ No newline at end of file + diff --git a/glabels2/src/file.c b/glabels2/src/file.c index 82f12ba4..7e0cfa09 100644 --- a/glabels2/src/file.c +++ b/glabels2/src/file.c @@ -91,10 +91,12 @@ gl_file_new (GtkWindow *window) 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); @@ -258,10 +260,12 @@ gl_file_properties (glLabel *label, 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);