Mercurial > pidgin.yaz
changeset 6144:7ec9166fd2c8
[gaim-migrate @ 6618]
importing is important
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 16 Jul 2003 00:59:28 +0000 |
parents | 821bdd38db23 |
children | bbdfe3cb6c35 |
files | src/gaimrc.c |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gaimrc.c Wed Jul 16 00:31:39 2003 +0000 +++ b/src/gaimrc.c Wed Jul 16 00:59:28 2003 +0000 @@ -37,6 +37,7 @@ #include "gtkpounce.h" #include "gtksound.h" +#include "gtkplugin.h" /* for people like myself, who are too lazy to add an away msg :) */ #define BORING_DEFAULT_AWAY_MSG _("sorry, i ran out for a while. bbl") @@ -500,6 +501,7 @@ gaim_plugin_load(gaim_plugin_probe(p->value[0])); } } + gaim_gtk_plugins_save(); } static GaimAccount *gaimrc_read_user(FILE *f) @@ -1174,7 +1176,14 @@ gaim_prefs_set_int("/gaim/gtk/blist/width", atoi(p->value[2])); gaim_prefs_set_int("/gaim/gtk/blist/height", atoi(p->value[3])); } else if (!strcmp(p->option, "sort_method")) { - gaim_prefs_set_string("/gaim/gtk/blist/sort_type", p->value[0]); + if(!strcmp(p->value[0], _("Alphabetical"))) + gaim_prefs_set_string("/gaim/gtk/blist/sort_type", "alphabetical"); + else if(!strcmp(p->value[0], _("By status"))) + gaim_prefs_set_string("/gaim/gtk/blist/sort_type", "status"); + else if(!strcmp(p->value[0], _("By log size"))) + gaim_prefs_set_string("/gaim/gtk/blist/sort_type", "log_size"); + else + gaim_prefs_set_string("/gaim/gtk/blist/sort_type", "none"); } }