summaryrefslogtreecommitdiff
path: root/gnome-about
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2002-03-20 15:34:37 +0000
committerMark McLoughlin <mmclouglin@src.gnome.org>2002-03-20 15:34:37 +0000
commit68b360ab42badaf4b56f32527de5b11bf9aab7e4 (patch)
tree17876827ca92e3167b09f77a43e7dbb9da8e5b97 /gnome-about
parent3ae3f6a458e77580c187f21f9fc90e040bbc08a1 (diff)
downloadgnome-desktop-68b360ab42badaf4b56f32527de5b11bf9aab7e4.tar.gz
set the default response to OK. Thanks Deepa ..
2002-03-20 Mark McLoughlin <mark@skynet.ie> * gnome-about.c: (main): set the default response to OK. Thanks Deepa ..
Diffstat (limited to 'gnome-about')
-rw-r--r--gnome-about/ChangeLog5
-rw-r--r--gnome-about/gnome-about.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gnome-about/ChangeLog b/gnome-about/ChangeLog
index 5d806c10..018518e9 100644
--- a/gnome-about/ChangeLog
+++ b/gnome-about/ChangeLog
@@ -1,5 +1,10 @@
2002-03-20 Mark McLoughlin <mark@skynet.ie>
+ * gnome-about.c: (main): set the default response to OK.
+ Thanks Deepa ..
+
+2002-03-20 Mark McLoughlin <mark@skynet.ie>
+
* gnome-about.c: don't the window be resizable, fix
weird rendering bug when it is resized and fix core
on canvas destroy.
diff --git a/gnome-about/gnome-about.c b/gnome-about/gnome-about.c
index 14cd7533..b697e109 100644
--- a/gnome-about/gnome-about.c
+++ b/gnome-about/gnome-about.c
@@ -463,6 +463,7 @@ main (gint argc, gchar *argv[])
window = gtk_dialog_new_with_buttons (_("About GNOME"), NULL, 0,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
+ gtk_dialog_set_default_response (GTK_DIALOG (window), GTK_RESPONSE_OK);
gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
g_object_set (window, "allow_shrink", FALSE, "allow_grow", FALSE, NULL);