]> git.sur5r.net Git - glabels/commitdiff
2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
authorJim Evins <evins@snaught.com>
Sun, 28 Dec 2003 16:16:05 +0000 (16:16 +0000)
committerJim Evins <evins@snaught.com>
Sun, 28 Dec 2003 16:16:05 +0000 (16:16 +0000)
        * 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

glabels2/ChangeLog
glabels2/src/file.c

index 33baf44a5e442b97cadff7989eddbc1ce9bf9946..297d189939988b230f8ffa7b61d2bc14afb166d4 100644 (file)
@@ -1,3 +1,7 @@
+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:
@@ -77,4 +81,4 @@
                Added function gl_xml_template_write_template_to_file(), used
                in gl_template_register().
 
-       
\ No newline at end of file
+       
index 82f12ba4c849f66d55ffc0720501b13b9202c0c4..7e0cfa09eee58b500124f843022b7455042a8a78 100644 (file)
@@ -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);