# HG changeset patch # User Nathan Walp # Date 1058317168 0 # Node ID 7ec9166fd2c8ce90f615cfc3c4238b16acb80b2b # Parent 821bdd38db23c97de15a7d45000d8b4a17634e0a [gaim-migrate @ 6618] importing is important committer: Tailor Script diff -r 821bdd38db23 -r 7ec9166fd2c8 src/gaimrc.c --- 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"); } }