aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-03 17:00:45 -0600
committerTed Gould <ted@gould.cx>2010-03-03 17:00:45 -0600
commit10e1e69dae2be7388dca78a253173e3e5e9e3641 (patch)
tree093bf468e52980216a739d8161870a6e4f5fbbee /src/dialog.c
parent8d96a4fc56e194b1c4e8b1370d1a35703b92a3fe (diff)
downloadayatana-indicator-session-10e1e69dae2be7388dca78a253173e3e5e9e3641.tar.gz
ayatana-indicator-session-10e1e69dae2be7388dca78a253173e3e5e9e3641.tar.bz2
ayatana-indicator-session-10e1e69dae2be7388dca78a253173e3e5e9e3641.zip
Setting the default button.
Diffstat (limited to 'src/dialog.c')
-rw-r--r--src/dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dialog.c b/src/dialog.c
index b63ecef..fcc3334 100644
--- a/src/dialog.c
+++ b/src/dialog.c
@@ -202,5 +202,7 @@ logout_dialog_new (LogoutDialogType type)
NULL);
}
+ gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK);
+
return dialog;
}