aboutsummaryrefslogtreecommitdiffstats
path: root/capplet/settings/mail-capplet-shell.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-03-28 06:22:23 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-03-28 06:38:40 +0800
commita88e617009854ee7be9ac183a649fdd1d2e846f4 (patch)
treed8f59e949ebf75f34b512b4f0ffaf98d07809bee /capplet/settings/mail-capplet-shell.c
parent63c26d5712c807f65db9c1b0c98ca06aad76171a (diff)
downloadgsoc2013-evolution-a88e617009854ee7be9ac183a649fdd1d2e846f4.tar
gsoc2013-evolution-a88e617009854ee7be9ac183a649fdd1d2e846f4.tar.gz
gsoc2013-evolution-a88e617009854ee7be9ac183a649fdd1d2e846f4.tar.bz2
gsoc2013-evolution-a88e617009854ee7be9ac183a649fdd1d2e846f4.tar.lz
gsoc2013-evolution-a88e617009854ee7be9ac183a649fdd1d2e846f4.tar.xz
gsoc2013-evolution-a88e617009854ee7be9ac183a649fdd1d2e846f4.tar.zst
gsoc2013-evolution-a88e617009854ee7be9ac183a649fdd1d2e846f4.zip
Rip out Anjal-specific cruft we don't need.
Need to trim off the fat if we're ever going to merge the souped up mail account wizard. Still a long way to go...
Diffstat (limited to 'capplet/settings/mail-capplet-shell.c')
-rw-r--r--capplet/settings/mail-capplet-shell.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/capplet/settings/mail-capplet-shell.c b/capplet/settings/mail-capplet-shell.c
index 030de15a94..cb5c7ec0e4 100644
--- a/capplet/settings/mail-capplet-shell.c
+++ b/capplet/settings/mail-capplet-shell.c
@@ -37,7 +37,6 @@
#include <e-util/e-util.h>
-#include "mail-decoration.h"
#include <mail/em-utils.h>
#include <mail/em-composer-utils.h>
#include <mail/mail-config.h>
@@ -254,31 +253,16 @@ mail_capplet_shell_construct (MailCappletShell *shell, gint socket_id, gboolean
if (just_druid) {
MailViewChild *mc;
- gchar *pdir = g_build_filename (g_get_home_dir(), ".gnome2_private", NULL);
gtk_notebook_set_show_tabs ((GtkNotebook *)shell->view, FALSE);
mc = mail_view_add_page ((MailView *)shell->view, MAIL_VIEW_ACCOUNT, NULL);
g_signal_connect (mc, "view-close", G_CALLBACK(ms_show_post_druid), shell);
setup_abooks ();
- if (!g_file_test (pdir, G_FILE_TEST_EXISTS)) {
- g_mkdir (pdir, 0700);
- }
- g_free (pdir);
} else
shell->priv->settings_view = mail_view_add_page ((MailView *)shell->view, MAIL_VIEW_SETTINGS, NULL);
}
-gint
-mail_capplet_shell_toolbar_height (MailCappletShell *shell)
-{
- GtkAllocation allocation;
-
- gtk_widget_get_allocation (shell->priv->top_bar, &allocation);
-
- return allocation.height;
-}
-
GtkWidget *
mail_capplet_shell_new (gint socket_id, gboolean just_druid, gboolean main_loop)
{