/pidgin/main: 35e8677c6ce5: oscar: Prepend server option instead...
Youness Alaoui
kakaroto at kakaroto.homelinux.net
Fri Jun 17 19:11:41 EDT 2016
Changeset: 35e8677c6ce598e064055cd9f6eb11e7c2b546f0
Author: Youness Alaoui <kakaroto at kakaroto.homelinux.net>
Date: 2016-05-03 14:04 -0400
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/35e8677c6ce5
Description:
oscar: Prepend server option instead of appending it
This allows server/port to be together and appear on top of the
advanced settings instead of having port on top and server at the bottom
diffstat:
libpurple/protocols/oscar/aim.c | 2 +-
libpurple/protocols/oscar/icq.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff --git a/libpurple/protocols/oscar/aim.c b/libpurple/protocols/oscar/aim.c
--- a/libpurple/protocols/oscar/aim.c
+++ b/libpurple/protocols/oscar/aim.c
@@ -43,7 +43,7 @@ aim_protocol_init(PurpleProtocol *protoc
protocol->account_options = g_list_append(protocol->account_options, option);
option = purple_account_option_string_new(_("Server"), "server", oscar_get_login_server(FALSE, TRUE));
- protocol->account_options = g_list_append(protocol->account_options, option);
+ protocol->account_options = g_list_prepend(protocol->account_options, option);
}
static void
diff --git a/libpurple/protocols/oscar/icq.c b/libpurple/protocols/oscar/icq.c
--- a/libpurple/protocols/oscar/icq.c
+++ b/libpurple/protocols/oscar/icq.c
@@ -55,7 +55,7 @@ icq_protocol_init(PurpleProtocol *protoc
oscar_init_account_options(protocol);
option = purple_account_option_string_new(_("Server"), "server", oscar_get_login_server(TRUE, TRUE));
- protocol->account_options = g_list_append(protocol->account_options, option);
+ protocol->account_options = g_list_prepend(protocol->account_options, option);
option = purple_account_option_string_new(_("Encoding"), "encoding", OSCAR_DEFAULT_CUSTOM_ENCODING);
protocol->account_options = g_list_append(protocol->account_options, option);
More information about the Commits
mailing list