aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/attachment-reminder/ChangeLog5
-rw-r--r--plugins/attachment-reminder/attachment-reminder.c13
2 files changed, 13 insertions, 5 deletions
diff --git a/plugins/attachment-reminder/ChangeLog b/plugins/attachment-reminder/ChangeLog
index 3d54bebb90..f89ec0e4fe 100644
--- a/plugins/attachment-reminder/ChangeLog
+++ b/plugins/attachment-reminder/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-05 Sankar P <psankar@novell.com>
+
+ * attachment-reminder.c: (e_plugin_lib_get_configure_widget):
+ Move preferences to the configure tab.
+
2007-10-26 Kjartan Maraas <kmaraas@gnome.org>
* attachment-reminder.c: (check_for_attachment_clues),
diff --git a/plugins/attachment-reminder/attachment-reminder.c b/plugins/attachment-reminder/attachment-reminder.c
index a25dfb3b73..06ea26e2a5 100644
--- a/plugins/attachment-reminder/attachment-reminder.c
+++ b/plugins/attachment-reminder/attachment-reminder.c
@@ -38,6 +38,8 @@
#include <camel/camel-multipart.h>
#include <e-util/e-error.h>
+#include <e-util/e-plugin.h>
+
#include <mail/em-utils.h>
#include "widgets/misc/e-attachment-bar.h"
@@ -63,7 +65,7 @@ enum {
};
int e_plugin_lib_enable (EPluginLib *ep, int enable);
-void e_plugin_lib_configure (EPlugin *epl);
+GtkWidget *e_plugin_lib_get_configure_widget (EPlugin *epl);
void org_gnome_evolution_attachment_reminder (EPlugin *ep, EMEventTargetComposer *t);
GtkWidget* org_gnome_attachment_reminder_config_option (struct _EPlugin *epl, struct _EConfigHookItemFactoryData *data);
@@ -413,8 +415,8 @@ selection_changed (GtkTreeSelection *selection, UIData *ui)
}
}
-void
-e_plugin_lib_configure (EPlugin *epl)
+GtkWidget *
+e_plugin_lib_get_configure_widget (EPlugin *epl)
{
GtkWidget *dialog;
GladeXML *xml;
@@ -508,8 +510,9 @@ e_plugin_lib_configure (EPlugin *epl)
g_signal_connect_swapped (dialog, "response", G_CALLBACK (gtk_widget_destroy), dialog);
- gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->vbox), hbox);
- gtk_widget_show_all (dialog);
+ //gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->vbox), hbox);
+ //gtk_widget_show_all (dialog);
+ return hbox;
}