pidgin: 51da76f8: Make OK default for Add Buddy, Add Chat,...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Sun Jul 19 15:10:21 EDT 2009
-----------------------------------------------------------------
Revision: 51da76f83bc049dc92e4199b15f634d001a5fa02
Ancestor: 38b87e46724433c14727a9952319c4abcad9db14
Author: darkrain42 at pidgin.im
Date: 2009-07-19T19:07:54
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/51da76f83bc049dc92e4199b15f634d001a5fa02
Modified files:
pidgin/gtkblist.c
ChangeLog:
Make OK default for Add Buddy, Add Chat, and Join Chat.
OK was already default for New IM, Get User Info, View User Log, and
Add Group and it's been bothering me that these others didn't do it the
same way.
-------------- next part --------------
============================================================
--- pidgin/gtkblist.c 32ed68cb4db78bcf3189d4d88417fbd11be36fce
+++ pidgin/gtkblist.c aeb9023162fc47adb8d5c5db3a4c20818350272c
@@ -1168,6 +1168,8 @@ pidgin_blist_joinchat_show(void)
_("Room _List"), 1,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
PIDGIN_STOCK_CHAT, GTK_RESPONSE_OK, NULL);
+ gtk_dialog_set_default_response(GTK_DIALOG(data->rq_data.window),
+ GTK_RESPONSE_OK);
data->default_chat_name = NULL;
data->rq_data.account = pidgin_account_option_menu_get_selected(data->rq_data.account_menu);
@@ -6925,6 +6927,8 @@ pidgin_blist_request_add_buddy(PurpleAcc
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_ADD, GTK_RESPONSE_OK,
NULL);
+ gtk_dialog_set_default_response(GTK_DIALOG(data->rq_data.window),
+ GTK_RESPONSE_OK);
g_signal_connect(G_OBJECT(data->rq_data.window), "destroy",
G_CALLBACK(destroy_add_buddy_dialog_cb), data);
@@ -7094,6 +7098,8 @@ pidgin_blist_request_add_chat(PurpleAcco
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_ADD, GTK_RESPONSE_OK,
NULL);
+ gtk_dialog_set_default_response(GTK_DIALOG(data->chat_data.rq_data.window),
+ GTK_RESPONSE_OK);
data->chat_data.default_chat_name = g_strdup(name);
More information about the Commits
mailing list