changeset 10587:c7458b544b15

[gaim-migrate @ 11991] Let's actually save the pref callback id so we can disconnect it. And let's add gaimrc to POTFILES.in, once again thanks to Nathan Fredrickson for continued vigilance against my horrible understanding of gettext. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Thu, 10 Feb 2005 15:47:32 +0000
parents eb2e5f06452a
children 529111933c9c
files plugins/gaimrc.c po/POTFILES.in
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/gaimrc.c	Thu Feb 10 07:50:54 2005 +0000
+++ b/plugins/gaimrc.c	Thu Feb 10 15:47:32 2005 +0000
@@ -302,8 +302,8 @@
 {
 	gaimrc_make_changes();
 
-	gaim_prefs_connect_callback(plugin, "/plugins/gtk/gaimrc",
-	                            gaimrc_pref_changed_cb, NULL);
+	pref_callback = gaim_prefs_connect_callback(plugin, "/plugins/gtk/gaimrc",
+	                                            gaimrc_pref_changed_cb, NULL);
 
 	return TRUE;
 }
--- a/po/POTFILES.in	Thu Feb 10 07:50:54 2005 +0000
+++ b/po/POTFILES.in	Thu Feb 10 15:47:32 2005 +0000
@@ -7,6 +7,7 @@
 plugins/filectl.c
 plugins/gaim-remote/remote.c
 plugins/gaiminc.c
+plugins/gaimrc.c
 plugins/gestures/gestures.c
 plugins/gevolution/add_buddy_dialog.c
 plugins/gevolution/assoc-buddy.c