From a88e617009854ee7be9ac183a649fdd1d2e846f4 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 27 Mar 2011 18:22:23 -0400 Subject: 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... --- capplet/settings/mail-capplet-shell.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'capplet/settings/mail-capplet-shell.c') 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 -#include "mail-decoration.h" #include #include #include @@ -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) { -- cgit v1.2.3