/pidgin/main: 35e8677c6ce5: oscar: Prepend server option instead...

Youness Alaoui <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 35e8677c6ce598e064055cd9f6eb11e7c2b546f0
Author:	 Youness Alaoui <[email protected]>
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);

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.