aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.c
diff options
context:
space:
mode:
authorMatthew Loper <mloper@src.gnome.org>2000-03-22 01:43:42 +0800
committerMatthew Loper <mloper@src.gnome.org>2000-03-22 01:43:42 +0800
commitc8ca65e286a3305fe88cd38012021df27f8f7526 (patch)
treec3beec510da46a669c226445ad63fb94e41dcdaa /mail/folder-browser-factory.c
parentd433fb48d2667a93063fd8d92426c12bb31d3353 (diff)
downloadgsoc2013-evolution-c8ca65e286a3305fe88cd38012021df27f8f7526.tar
gsoc2013-evolution-c8ca65e286a3305fe88cd38012021df27f8f7526.tar.gz
gsoc2013-evolution-c8ca65e286a3305fe88cd38012021df27f8f7526.tar.bz2
gsoc2013-evolution-c8ca65e286a3305fe88cd38012021df27f8f7526.tar.lz
gsoc2013-evolution-c8ca65e286a3305fe88cd38012021df27f8f7526.tar.xz
gsoc2013-evolution-c8ca65e286a3305fe88cd38012021df27f8f7526.tar.zst
gsoc2013-evolution-c8ca65e286a3305fe88cd38012021df27f8f7526.zip
Minor cleanup & commenting.
* mail-display.c: Minor cleanup & commenting. * folder-browser-factory.c: Minor cleanup & warning elimination. svn path=/trunk/; revision=2134
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r--mail/folder-browser-factory.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index f2397ef15b..947f0b3abe 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -20,13 +20,8 @@
#include "shell/Evolution.h"
#include "shell/evolution-service-repository.h"
#include "composer/e-msg-composer.h"
+#include <camel/camel-stream-fs.h>
-
-static const gchar *warning_dialog_buttons[] = {
- "Cancel",
- "OK",
- NULL
-};
static void
folder_browser_set_shell (EvolutionServiceRepository *sr,
@@ -81,7 +76,7 @@ development_warning ()
"I'll try it later",
NULL);
- label = gtk_label_new ("This is a developement version of Evolution.\n "
+ label = gtk_label_new ("This is a development version of Evolution.\n "
"Using the mail component on your mail files\n "
"is extremely hazardous.\n"
"Please backup all your mails before trying\n "
@@ -97,7 +92,6 @@ development_warning ()
gtk_object_destroy (GTK_OBJECT (warning_dialog));
return result;
-
}
static void
@@ -125,10 +119,9 @@ msg_composer_send_cb (EMsgComposer *composer,
}
-static void
-msg_composer_cb (GtkObject *obj, gpointer user_data)
+static void
+msg_composer_cb (BonoboUIHandler *uih, void *user_data, const char *path)
{
- CamelMimeMessage *msg;
GtkWidget *composer;
composer = e_msg_composer_new ();
@@ -163,7 +156,6 @@ control_activate_cb (BonoboControl *control,
gpointer user_data)
{
control_add_menu (control);
-
}
@@ -217,10 +209,7 @@ folder_browser_factory (BonoboGenericFactory *factory, void *closure)
* correct infrastructure in the shell now.
*/
folder_browser_control_add_service_repository_interface (control, folder_browser);
-
-
return BONOBO_OBJECT (control);
-
}
void