Tue, 03 May 2016 14:04:15 -0400
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
| libpurple/protocols/oscar/aim.c | file | annotate | diff | comparison | revisions | |
| libpurple/protocols/oscar/icq.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/oscar/aim.c Thu Apr 21 09:40:21 2016 +0200 +++ b/libpurple/protocols/oscar/aim.c Tue May 03 14:04:15 2016 -0400 @@ -43,7 +43,7 @@ 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
--- a/libpurple/protocols/oscar/icq.c Thu Apr 21 09:40:21 2016 +0200 +++ b/libpurple/protocols/oscar/icq.c Tue May 03 14:04:15 2016 -0400 @@ -55,7 +55,7 @@ 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);