From eeeb246bdd1de04ab60e46c95449137db5ef0d5f Mon Sep 17 00:00:00 2001 From: Sankar P Date: Wed, 5 Dec 2007 08:42:09 +0000 Subject: Move preferences to the configure tab. 2007-12-05 Sankar P * attachment-reminder.c: (e_plugin_lib_get_configure_widget): Move preferences to the configure tab. svn path=/trunk/; revision=34651 --- plugins/attachment-reminder/ChangeLog | 5 +++++ plugins/attachment-reminder/attachment-reminder.c | 13 ++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) (limited to 'plugins/attachment-reminder') 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 + + * attachment-reminder.c: (e_plugin_lib_get_configure_widget): + Move preferences to the configure tab. + 2007-10-26 Kjartan Maraas * 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 #include +#include + #include #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; } -- cgit