diff options
author | Ted Gould <ted@gould.cx> | 2010-03-03 17:00:45 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-03 17:00:45 -0600 |
commit | 10e1e69dae2be7388dca78a253173e3e5e9e3641 (patch) | |
tree | 093bf468e52980216a739d8161870a6e4f5fbbee /src/dialog.c | |
parent | 8d96a4fc56e194b1c4e8b1370d1a35703b92a3fe (diff) | |
download | ayatana-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.c | 2 |
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; } |