nautilus-sendto r320 - in trunk: . pidgin_plugin
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus-sendto r320 - in trunk: . pidgin_plugin
- Date: Mon, 21 Apr 2008 15:13:47 +0100 (BST)
Author: hadess
Date: Mon Apr 21 14:13:47 2008
New Revision: 320
URL: http://svn.gnome.org/viewvc/nautilus-sendto?rev=320&view=rev
Log:
2008-04-21 Bastien Nocera <hadess hadess net>
* pidgin_plugin/nautilus-sendto-plugin.c (plugin_unload):
Make the plugin invisible, so that it's loaded automatically on
startup, and users don't need to enable it by hand
https://bugzilla.redhat.com/show_bug.cgi?id=242289
Modified:
trunk/ChangeLog
trunk/pidgin_plugin/nautilus-sendto-plugin.c
Modified: trunk/pidgin_plugin/nautilus-sendto-plugin.c
==============================================================================
--- trunk/pidgin_plugin/nautilus-sendto-plugin.c (original)
+++ trunk/pidgin_plugin/nautilus-sendto-plugin.c Mon Apr 21 14:13:47 2008
@@ -288,7 +288,7 @@
fd_name = g_build_path ("/", g_get_home_dir(), PLUGIN_HOME,
B_ONLINE, NULL);
purple_timeout_remove (take_spool_files_handler);
- remove (fd_name);
+ g_unlink (fd_name);
g_free(fd_name);
g_string_free (buddies_str, TRUE);
purple_debug_info ("nautilus", "Stop nautilus plugin\n");
@@ -302,24 +302,24 @@
}
static PurplePluginInfo info = {
- PURPLE_PLUGIN_MAGIC, /* api version */
+ PURPLE_PLUGIN_MAGIC, /* api version */
PURPLE_MAJOR_VERSION,
PURPLE_MINOR_VERSION,
PURPLE_PLUGIN_STANDARD, /* type */
- PIDGIN_PLUGIN_TYPE, /* ui requirement */
- 0, /* flags */
+ PIDGIN_PLUGIN_TYPE, /* ui requirement */
+ PURPLE_PLUGIN_FLAG_INVISIBLE, /* flags */
NULL, /* dependencies */
PURPLE_PRIORITY_DEFAULT, /* priority */
-
- "gtk-nautilus", /* id */
- N_("Nautilus Integration"), /* name */
- "0.8", /* version */
+
+ "gtk-nautilus", /* id */
+ N_("Nautilus Integration"), /* name */
+ "0.8", /* version */
N_("Provides integration with Nautilus"), /* summary */
N_("Provides integration with Nautilus"), /* description */
-
+
"Roberto Majadas <roberto majadas openshine com>", /* author */
"www.gnome.org", /* homepage */
-
+
plugin_load, /* load */
plugin_unload, /* unload */
NULL, /* destroy */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]