org.guifications.plugins: a2a92dd78d14b3d2c6868de692f3dec0b69367cc

nosnilmot at guifications.org nosnilmot at guifications.org
Wed Mar 12 20:40:09 CDT 2008


-----------------------------------------------------------------
Revision: a2a92dd78d14b3d2c6868de692f3dec0b69367cc
Ancestor: 076524365119dd927c20b5e1f2177c1b1a361c59
Author: nosnilmot at guifications.org
Date: 2008-03-13T01:19:41
Branch: org.guifications.plugins

Modified files:
        dewysiwygification/dewysiwygification.c groupmsg/groupmsg.c
        switchspell/switchspell.c

ChangeLog: 

disapproval of revision '076524365119dd927c20b5e1f2177c1b1a361c59'
-----------------------------------------------------------------
This revision's diffstat output:
 dewysiwygification/dewysiwygification.c |   20 ++------------------
 groupmsg/groupmsg.c                     |    2 +-
 switchspell/switchspell.c               |    1 -
 3 files changed, 3 insertions(+), 20 deletions(-)
-------------- next part --------------
============================================================
--- dewysiwygification/dewysiwygification.c	ad523ccb6899fdad7f92a3dfe32601152f943c31
+++ dewysiwygification/dewysiwygification.c	504964eb69a274a3c9f38d5b8959c01ef454cf98
@@ -50,7 +50,7 @@ substitute_words_send_im(PurpleAccount *
 	g_free(*message);
 	*message = tmp;
 
-	purple_debug_misc("dewysiwygification", "it's now: %s\n", tmp);
+	purple_debug_misc("dewysiwygification", "it's now: %s", tmp);
 
 	return FALSE;
 }
@@ -67,32 +67,16 @@ substitute_words_send_chat(PurpleAccount
 	g_free(*message);
 	*message = tmp;
 
-	purple_debug_misc("dewysiwygification", "it's now: %s\n", tmp);
+	purple_debug_misc("dewysiwygification", "it's now: %s", tmp);
 
 	return FALSE;
 }
 
 static gboolean
-disable_linkify(PurpleAccount *account, const char *who, char **buffer,
-					PurpleConversation *conv, PurpleMessageFlags flags, void *data)
-{
-	if ((flags & PURPLE_MESSAGE_NO_LINKIFY) || !(flags & PURPLE_MESSAGE_SEND))
-		return FALSE;
-	purple_debug_misc("dewysywig", "Turning no linkify flag on for message: %s and resubmitting\n", *buffer);
-	flags |= PURPLE_MESSAGE_NO_LINKIFY;
-	purple_conversation_write(conv, who, *buffer, flags, time(NULL));
-	return TRUE;
-}
-
-static gboolean
 plugin_load(PurplePlugin *plugin)
 {
 	void *conv_handle = purple_conversations_get_handle();
 
-	purple_signal_connect(conv_handle, "writing-im-msg",
-						plugin, PURPLE_CALLBACK(disable_linkify), NULL);
-	purple_signal_connect(conv_handle, "writing-chat-msg",
-						plugin, PURPLE_CALLBACK(disable_linkify), NULL);
 
 	purple_signal_connect(conv_handle, "sending-im-msg",
 						plugin, PURPLE_CALLBACK(substitute_words_send_im), NULL);
============================================================
--- groupmsg/groupmsg.c	3444e0a650785c27a44157c29e5c095bf01b44de
+++ groupmsg/groupmsg.c	c76e03a3846e3330a27d965b4bf48d67642aee39
@@ -1,6 +1,6 @@
 /*
  * GroupMsg - Send an IM to a group of buddies
- * Copyright (C) 2004 Stu Tomlinson <stu at nosnilmot.com>
+ * Copyright (C) 2004-2008 Stu Tomlinson <stu at nosnilmot.com>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
============================================================
--- switchspell/switchspell.c	d378a9ce5ff5d1b6e03ca2a91bca7d8adc6338e3
+++ switchspell/switchspell.c	2f3fc7b38e1ef2f10e72bc629663655dc513b84e
@@ -127,7 +127,6 @@ regenerate_switchspell_menu(PidginConver
 	delete_aspell_config(config);
 
 	dels = aspell_dict_info_list_elements(dlist);
-	aspell_dict_info_list_empty(dlist);
 	while ((entry = aspell_dict_info_enumeration_next(dels)) != 0) {
 		GtkWidget *menuitem = gtk_radio_menu_item_new_with_label(group, entry->name);
 		group = gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(menuitem));


More information about the Plugins-commits mailing list