Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2010-08-26 07:29:14 +0400
committerEion Robb <eion@robbmob.com>2010-08-26 07:29:14 +0400
commitbd4420aa52d111668679b6b471e644d9744b935a (patch)
tree8693304ec965d0eed4daa5bea7f755cbd76f3351
parent1425727ba6f5d96413d92880683312b9bd171786 (diff)
Mark status_type's as savable, to try and fix some assertion errors
-rw-r--r--libskype.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libskype.c b/libskype.c
index 69bd64e..cfd9d72 100644
--- a/libskype.c
+++ b/libskype.c
@@ -410,8 +410,7 @@ plugin_init(PurplePlugin *plugin)
#ifndef SKYPENET
option = purple_account_option_bool_new(_("Auto-start Skype if not running"), "skype_autostart", TRUE);
prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
- option = purple_account_option_new(PURPLE_PREF_PATH, _("Skype Path"), "skype_path");
- purple_account_option_set_default_string(option, "");
+ option = purple_account_option_string_new(_("Skype Path"), "skype_path", "");
prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
#endif
@@ -969,7 +968,7 @@ skype_status_types(PurpleAccount *acct)
prim, /* PurpleStatusPrimitive */ \
id, /* id */ \
_(name),/* name */ \
- FALSE, /* savable */ \
+ TRUE, /* savable */ \
TRUE, /* user_settable */ \
FALSE, /* not independent */ \
\
@@ -1005,7 +1004,7 @@ skype_status_types(PurpleAccount *acct)
types = g_list_append(types, status);
//Offline people shouldn't have status messages
- status = purple_status_type_new_full(PURPLE_STATUS_OFFLINE, "OFFLINE", _("Offline"), FALSE, TRUE, FALSE);
+ status = purple_status_type_new_full(PURPLE_STATUS_OFFLINE, "OFFLINE", _("Offline"), TRUE, TRUE, FALSE);
types = g_list_append(types, status);
return types;