/soc/2013/ankitkv/gobjectification: 9d29e248716d: Notify plugin ...

Ankit Vani a at nevitus.org
Wed Sep 25 10:42:57 EDT 2013


Changeset: 9d29e248716dc0211feb6143b414dcd7585b5ed9
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-09-25 20:12 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/9d29e248716d

Description:

Notify plugin load error in pidgin

diffstat:

 pidgin/gtkplugin.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff --git a/pidgin/gtkplugin.c b/pidgin/gtkplugin.c
--- a/pidgin/gtkplugin.c
+++ b/pidgin/gtkplugin.c
@@ -460,6 +460,10 @@ static void plugin_toggled_stage_two(Pur
 
 		pidgin_clear_cursor(plugin_dialog);
 	}
+	else if (!unload && error)
+	{
+		purple_notify_warning(NULL, NULL, _("Could not load plugin"), error->message, NULL);
+	}
 
 	gtk_widget_set_sensitive(pref_button,
 		purple_plugin_is_loaded(plug) && pidgin_plugin_has_config_frame(plug));



More information about the Commits mailing list