diff options
author | Sankar P <psankar@novell.com> | 2007-12-05 16:42:09 +0800 |
---|---|---|
committer | Sankarasivasubramanian Pasupathilingam <psankar@src.gnome.org> | 2007-12-05 16:42:09 +0800 |
commit | eeeb246bdd1de04ab60e46c95449137db5ef0d5f (patch) | |
tree | 293431f1c58cbe0abf449c064676b8cbba24566b | |
parent | 956cd913f1542ec212f2cc14a28da5b4f7d2e525 (diff) | |
download | gsoc2013-evolution-eeeb246bdd1de04ab60e46c95449137db5ef0d5f.tar.gz gsoc2013-evolution-eeeb246bdd1de04ab60e46c95449137db5ef0d5f.tar.zst gsoc2013-evolution-eeeb246bdd1de04ab60e46c95449137db5ef0d5f.zip |
Move preferences to the configure tab.
2007-12-05 Sankar P <psankar@novell.com>
* attachment-reminder.c: (e_plugin_lib_get_configure_widget):
Move preferences to the configure tab.
svn path=/trunk/; revision=34651
-rw-r--r-- | plugins/attachment-reminder/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/attachment-reminder/attachment-reminder.c | 13 |
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; } |