/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Authors: Jeffrey Stedfast * * Copyright 2001 Helix Code, Inc. (www.helixcode.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. * */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include "mail-accounts.h" #include "mail-config.h" #include "mail-config-druid.h" #include "mail-account-editor.h" static void mail_accounts_dialog_class_init (MailAccountsDialogClass *class); static void mail_accounts_dialog_init (MailAccountsDialog *dialog); static void mail_accounts_dialog_finalise (GtkObject *obj); static GnomeDialogClass *parent_class; GtkType mail_accounts_dialog_get_type () { static GtkType type = 0; if (!type) { GtkTypeInfo type_info = { "MailAccountsDialog", sizeof (MailAccountsDialog), sizeof (MailAccountsDialogClass), (GtkClassInitFunc) mail_accounts_dialog_class_init, (GtkObjectInitFunc) mail_accounts_dialog_init, (GtkArgSetFunc) NULL, (GtkArgGetFunc) NULL }; type = gtk_type_unique (gnome_dialog_get_type (), &type_info); } return type; } static void mail_accounts_dialog_class_init (MailAccountsDialogClass *class) { GtkObjectClass *object_class; object_class = (GtkObjectClass *) class; parent_class = gtk_type_class (gnome_dialog_get_type ()); object_class->finalize = mail_accounts_dialog_finalise; /* override methods */ } static void mail_accounts_dialog_init (MailAccountsDialog *o) { ; } static void mail_accounts_dialog_finalise (GtkObject *obj) { MailAccountsDialog *dialog = (MailAccountsDialog *) obj; gtk_object_unref (GTK_OBJECT (dialog->gui)); ((GtkObjectClass *)(parent_class))->finalize (obj); } static void load_accounts (MailAccountsDialog *dialog) { const MailConfigAccount *account; const GSList *node = dialog->accounts; int i = 0; gtk_clist_freeze (dialog->mail_accounts); gtk_clist_clear (dialog->mail_accounts); while (node) { CamelURL *url; gchar *text[3]; account = node->data; if (account->source->url) url = camel_url_new (account->source->url, NULL); else url = NULL; text[0] = (account->source && account->source->enabled) ? "+" : ""; text[1] = account->name; text[2] = g_strdup_printf ("%s%s", url && url->protocol ? url->protocol : _("None"), account->default_account ? _(" (default)") : ""); if (url) camel_url_free (url); gtk_clist_append (dialog->mail_accounts, text); g_free (text[2]); /* set the account on the row */ gtk_clist_set_row_data (dialog->mail_accounts, i, (gpointer) account); node = node->next; i++; } gtk_clist_thaw (dialog->mail_accounts); } #ifdef ENABLE_NNTP static void load_news (MailAccountsDialog *dialog) { const MailConfigAccount *account; const GSList *node = dialog->accounts; int i = 0; gtk_clist_freeze (dialog->news_accounts); gtk_clist_clear (dialog->news_accounts); while (node) { CamelURL *url; gchar *text[3]; account = node->data; if (account->source->url) url = camel_url_new (account->source->url, NULL); else url = NULL; text[0] = (account->source && account->source->enabled) ? "+" : ""; text[1] = account->name; text[2] = g_strdup_printf ("%s%s", url && url->protocol ? url->protocol : _("None"), account->default_account ? _(" (default)") : ""); if (url) camel_url_free (url); gtk_clist_append (dialog->news_accounts, text); g_free (text[2]); /* set the account on the row */ gtk_clist_set_row_data (dialog->news_accounts, i, (gpointer) account); node = node->next; i++; } gtk_clist_thaw (dialog->news_accounts); } #endif /* mail callbacks */ static void mail_select (GtkCList *clist, gint row, gint column, GdkEventButton *event, gpointer data) { MailAccountsDialog *dialog = data; MailConfigAccount *account = gtk_clist_get_row_data (clist, row); dialog->accounts_row = row; gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_edit), TRUE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_delete), TRUE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_default), TRUE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_able), TRUE); if (account->source && account->source->enabled) gtk_label_set_text (GTK_LABEL (GTK_BIN (dialog->mail_able)->child), _("Disable")); else gtk_label_set_text (GTK_LABEL (GTK_BIN (dialog->mail_able)->child), _("Enable")); } static void mail_unselect (GtkCList *clist, gint row, gint column, GdkEventButton *event, gpointer data) { MailAccountsDialog *dialog = data; dialog->accounts_row = -1; gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_edit), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_delete), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_default), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_able), FALSE); } static void mail_add_finished (GtkWidget *widget, gpointer data) { /* Either Cancel or Finished was clicked in the druid so reload the accounts */ MailAccountsDialog *dialog = data; dialog->accounts = mail_config_get_accounts (); load_accounts (dialog); } static void mail_add (GtkButton *button, gpointer data) { MailAccountsDialog *dialog = data; MailConfigDruid *druid; druid = mail_config_druid_new (dialog->shell); gtk_signal_connect (GTK_OBJECT (druid), "destroy", GTK_SIGNAL_FUNC (mail_add_finished), dialog); gtk_widget_show (GTK_WIDGET (druid)); } static void mail_editor_destroyed (GtkWidget *widget, gpointer data) { load_accounts (MAIL_ACCOUNTS_DIALOG (data)); } static void mail_edit (GtkButton *button, gpointer data) { MailAccountsDialog *dialog = data; if (dialog->accounts_row >= 0) { MailConfigAccount *account; MailAccountEditor *editor; account = gtk_clist_get_row_data (dialog->mail_accounts, dialog->accounts_row); editor = mail_account_editor_new (account); gtk_signal_connect (GTK_OBJECT (editor), "destroy", GTK_SIGNAL_FUNC (mail_editor_destroyed), dialog); gtk_widget_show (GTK_WIDGET (editor)); } } static void mail_double_click (GtkWidget *widget, GdkEventButton *event, gpointer data) { if (event->type == GDK_2BUTTON_PRESS) mail_edit (NULL, data); } static void mail_delete (GtkButton *button, gpointer data) { MailAccountsDialog *dialog = data; MailConfigAccount *account; GnomeDialog *confirm; GtkWidget *label; int ans; if (dialog->accounts_row < 0) return; confirm = GNOME_DIALOG (gnome_dialog_new (_("Are you sure you want to delete this account?"), GNOME_STOCK_BUTTON_YES, GNOME_STOCK_BUTTON_NO, NULL)); gtk_window_set_policy (GTK_WINDOW (confirm), TRUE, TRUE, TRUE); gtk_window_set_modal (GTK_WINDOW (confirm), TRUE); label = gtk_label_new (_("Are you sure you want to delete this account?")); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); gtk_box_pack_start (GTK_BOX (confirm->vbox), label, TRUE, TRUE, 0); gtk_widget_show (label); gnome_dialog_set_parent (confirm, GTK_WINDOW (dialog)); ans = gnome_dialog_run_and_close (confirm); if (ans == 0) { int sel, row, len; sel = dialog->accounts_row; account = gtk_clist_get_row_data (dialog->mail_accounts, sel); dialog->accounts = mail_config_remove_account (account); mail_config_write (); gtk_clist_remove (dialog->mail_accounts, sel); len = dialog->accounts ? g_slist_length ((GSList *) dialog->accounts) : 0; if (len > 0) { row = sel >= len ? len - 1 : sel; gtk_clist_select_row (dialog->mail_accounts, row, 0); } else { dialog->accounts_row = -1; gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_edit), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_delete), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_default), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_able), FALSE); } } } static void mail_default (GtkButton *button, gpointer data) { MailAccountsDialog *dialog = data; const MailConfigAccount *account; if (dialog->accounts_row >= 0) { int row; row = dialog->accounts_row; account = gtk_clist_get_row_data (dialog->mail_accounts, row); mail_config_set_default_account (account); mail_config_write (); load_accounts (dialog); gtk_clist_select_row (dialog->mail_accounts, row, 0); } } static void mail_able (GtkButton *button, gpointer data) { MailAccountsDialog *dialog = data; const MailConfigAccount *account; if (dialog->accounts_row >= 0) { int row; row = dialog->accounts_row; account = gtk_clist_get_row_data (dialog->mail_accounts, row); account->source->enabled = !account->source->enabled; mail_config_write (); load_accounts (dialog); gtk_clist_select_row (dialog->mail_accounts, row, 0); } } #ifdef ENABLE_NNTP /* news callbacks */ static void news_select (GtkCList *clist, gint row, gint column, GdkEventButton *event, gpointer data) { MailAccountsDialog *dialog = data; dialog->news_row = row; gtk_widget_set_sensitive (GTK_WIDGET (dialog->news_edit), TRUE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->news_delete), TRUE); } static void news_unselect (GtkCList *clist, gint row, gint column, GdkEventButton *event, gpointer data) { MailAccountsDialog *dialog = data; dialog->news_row = -1; gtk_widget_set_sensitive (GTK_WIDGET (dialog->news_edit), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->news_delete), FALSE); } static void news_add_finished(GtkWidget *widget, gpointer data) { /* Either Cancel or Finished was clicked in the druid so reload the accounts */ MailAccountsDialog *dialog = data; dialog->accounts = mail_config_get_accounts (); load_accounts (dialog); } static void news_add (GtkButton *button, gpointer data) { MailAccountsDialog *dialog = data; MailConfigDruid *druid; druid = mail_config_druid_new (dialog->shell); gtk_signal_connect (GTK_OBJECT (druid), "destroy", GTK_SIGNAL_FUNC (news_add_finished), dialog); gtk_widget_show (GTK_WIDGET (druid)); } static void news_edit (GtkButton *button, gpointer data) { MailAccountsDialog *dialog = data; MailConfigService *server; /* FIXME: open the editor and stuff */ } static void news_delete (GtkButton *button, gpointer data) { MailAccountsDialog *dialog = data; MailConfigService *server; GnomeDialog *confirm; GtkWidget *label; int ans; if (dialog->news_row < 0) return; confirm = GNOME_DIALOG (gnome_dialog_new (_("Are you sure you want to delete this news account?"), GNOME_STOCK_BUTTON_YES, GNOME_STOCK_BUTTON_NO, NULL)); gtk_window_set_policy (GTK_WINDOW (confirm), TRUE, TRUE, TRUE); gtk_window_set_modal (GTK_WINDOW (confirm), TRUE); label = gtk_label_new (_("Are you sure you want to delete this news account?")); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); gtk_box_pack_start (GTK_BOX (confirm->vbox), label, TRUE, TRUE, 0); gtk_widget_show (label); gnome_dialog_set_parent (confirm, GTK_WINDOW (dialog)); ans = gnome_dialog_run_and_close (confirm); if (ans == 0) { int row, len; server = gtk_clist_get_row_data (dialog->news_accounts, dialog->news_row); dialog->news = mail_config_remove_news (server); mail_config_write (); gtk_clist_remove (dialog->news_accounts, dialog->news_row); len = dialog->news ? g_slist_length ((GSList *) dialog->news) : 0; if (len > 0) { row = dialog->news_row; row = row >= len ? len - 1 : row; gtk_clist_select_row (dialog->news_accounts, row, 0); } else { dialog->news_row = -1; gtk_widget_set_sensitive (GTK_WIDGET (dialog->news_edit), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->news_delete), FALSE); } } } #endif /* ENABLE_NNTP */ /* temp widget callbacks */ static void send_html_toggled (GtkToggleButton *button, gpointer data) { mail_config_set_send_html (gtk_toggle_button_get_active (button)); } static void citation_highlight_toggled (GtkToggleButton *button, gpointer data) { mail_config_set_citation_highlight (gtk_toggle_button_get_active (button)); } static void citation_color_set (GnomeColorPicker *cp, guint r, guint g, guint b, guint a) { guint32 rgb; rgb = r >> 8; rgb <<= 8; rgb |= g >> 8; rgb <<= 8; rgb |= b >> 8; mail_config_set_citation_color (rgb); } static void timeout_changed (GtkEntry *entry, gpointer data) { MailAccountsDialog *dialog = data; gint val; val = (gint) (gtk_spin_button_get_value_as_float (dialog->timeout) * 1000); mail_config_set_mark_as_seen_timeout (val); } static void pgp_path_changed (GtkEntry *entry, gpointer data) { const char *path, *bin; CamelPgpType type = CAMEL_PGP_TYPE_NONE; path = gtk_entry_get_text (entry); bin = g_basename (path); /* FIXME: This detection should be better */ if (!strcmp (bin, "pgp")) type = CAMEL_PGP_TYPE_PGP2; else if (!strcmp (bin, "pgpv") || !strcmp (bin, "pgpe") || !strcmp (bin, "pgpk") || !strcmp (bin, "pgps")) type = CAMEL_PGP_TYPE_PGP5; else if (!strcmp (bin, "gpg")) type = CAMEL_PGP_TYPE_GPG; mail_config_set_pgp_path (path && *path ? path : NULL); mail_config_set_pgp_type (type); } static void set_color (GnomeColorPicker *cp) { guint32 rgb = mail_config_get_citation_color (); gnome_color_picker_set_i8 (cp, (rgb & 0xff0000) >> 16, (rgb & 0xff00) >> 8, rgb & 0xff, 0xff); } static void construct (MailAccountsDialog *dialog) { GladeXML *gui; GtkWidget *notebook; gui = glade_xml_new (EVOLUTION_GLADEDIR "/mail-config.glade", NULL); dialog->gui = gui; /* get our toplevel widget */ notebook = glade_xml_get_widget (gui, "notebook"); /* reparent */ gtk_widget_reparent (notebook, GNOME_DIALOG (dialog)->vbox); /* give our dialog an OK button and title */ gtk_window_set_title (GTK_WINDOW (dialog), _("Evolution Account Manager")); gtk_window_set_policy (GTK_WINDOW (dialog), FALSE, TRUE, TRUE); gtk_window_set_default_size (GTK_WINDOW (dialog), 400, 300); gnome_dialog_append_button (GNOME_DIALOG (dialog), GNOME_STOCK_BUTTON_OK); dialog->mail_accounts = GTK_CLIST (glade_xml_get_widget (gui, "clistAccounts")); gtk_signal_connect (GTK_OBJECT (dialog->mail_accounts), "select-row", GTK_SIGNAL_FUNC (mail_select), dialog); gtk_signal_connect (GTK_OBJECT (dialog->mail_accounts), "unselect-row", GTK_SIGNAL_FUNC (mail_unselect), dialog); gtk_signal_connect (GTK_OBJECT (dialog->mail_accounts), "button_press_event", mail_double_click, dialog); dialog->mail_add = GTK_BUTTON (glade_xml_get_widget (gui, "cmdMailAdd")); gtk_signal_connect (GTK_OBJECT (dialog->mail_add), "clicked", GTK_SIGNAL_FUNC (mail_add), dialog); dialog->mail_edit = GTK_BUTTON (glade_xml_get_widget (gui, "cmdMailEdit")); gtk_signal_connect (GTK_OBJECT (dialog->mail_edit), "clicked", GTK_SIGNAL_FUNC (mail_edit), dialog); dialog->mail_delete = GTK_BUTTON (glade_xml_get_widget (gui, "cmdMailDelete")); gtk_signal_connect (GTK_OBJECT (dialog->mail_delete), "clicked", GTK_SIGNAL_FUNC (mail_delete), dialog); dialog->mail_default = GTK_BUTTON (glade_xml_get_widget (gui, "cmdMailDefault")); gtk_signal_connect (GTK_OBJECT (dialog->mail_default), "clicked", GTK_SIGNAL_FUNC (mail_default), dialog); dialog->mail_able = GTK_BUTTON (glade_xml_get_widget (gui, "cmdMailAble")); gtk_signal_connect (GTK_OBJECT (dialog->mail_able), "clicked", GTK_SIGNAL_FUNC (mail_able), dialog); #ifdef ENABLE_NNTP dialog->news_accounts = GTK_CLIST (glade_xml_get_widget (gui, "clistAccounts")); gtk_signal_connect (GTK_OBJECT (dialog->news_accounts), "select-row", GTK_SIGNAL_FUNC (news_select), dialog); gtk_signal_connect (GTK_OBJECT (dialog->news_accounts), "unselect-row", GTK_SIGNAL_FUNC (news_unselect), dialog); dialog->news_add = GTK_BUTTON (glade_xml_get_widget (gui, "cmdNewsAdd")); gtk_signal_connect (GTK_OBJECT (dialog->news_add), "clicked", GTK_SIGNAL_FUNC (news_add), dialog); dialog->news_edit = GTK_BUTTON (glade_xml_get_widget (gui, "cmdNewsEdit")); gtk_signal_connect (GTK_OBJECT (dialog->news_edit), "clicked", GTK_SIGNAL_FUNC (news_edit), dialog); dialog->news_delete = GTK_BUTTON (glade_xml_get_widget (gui, "cmdNewsDelete")); gtk_signal_connect (GTK_OBJECT (dialog->news_delete), "clicked", GTK_SIGNAL_FUNC (news_delete), dialog); #else /* remove the news tab since we don't support nntp */ gtk_notebook_remove_page (GTK_NOTEBOOK (notebook), 1); #endif /* get those temp widgets */ dialog->send_html = GTK_CHECK_BUTTON (glade_xml_get_widget (gui, "chkSendHTML")); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->send_html), mail_config_get_send_html ()); gtk_signal_connect (GTK_OBJECT (dialog->send_html), "toggled", GTK_SIGNAL_FUNC (send_html_toggled), dialog); dialog->citation_highlight = GTK_CHECK_BUTTON (glade_xml_get_widget (gui, "chckHighlightCitations")); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->citation_highlight), mail_config_get_citation_highlight ()); gtk_signal_connect (GTK_OBJECT (dialog->citation_highlight), "toggled", GTK_SIGNAL_FUNC (citation_highlight_toggled), dialog); dialog->citation_color = GNOME_COLOR_PICKER (glade_xml_get_widget (gui, "colorpickerCitations")); set_color (dialog->citation_color); gtk_signal_connect (GTK_OBJECT (dialog->citation_color), "color_set", GTK_SIGNAL_FUNC (citation_color_set), dialog); dialog->timeout = GTK_SPIN_BUTTON (glade_xml_get_widget (gui, "spinMarkTimeout")); gtk_spin_button_set_value (GTK_SPIN_BUTTON (dialog->timeout), (1.0 * mail_config_get_mark_as_seen_timeout ()) / 1000.0); gtk_signal_connect (GTK_OBJECT (dialog->timeout), "changed", GTK_SIGNAL_FUNC (timeout_changed), dialog); dialog->pgp_path = GNOME_FILE_ENTRY (glade_xml_get_widget (gui, "filePgpPath")); gtk_entry_set_text (GTK_ENTRY (gnome_file_entry_gtk_entry (dialog->pgp_path)), mail_config_get_pgp_path ()); gnome_file_entry_set_default_path (dialog->pgp_path, mail_config_get_pgp_path ()); gtk_signal_connect (GTK_OBJECT (gnome_file_entry_gtk_entry (dialog->pgp_path)), "changed", GTK_SIGNAL_FUNC (pgp_path_changed), dialog); /* now to fill in the clists */ dialog->accounts_row = -1; dialog->accounts = mail_config_get_accounts (); if (dialog->accounts) { load_accounts (dialog); gtk_clist_select_row (dialog->mail_accounts, 0, 0); } else { gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_edit), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_delete), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->mail_default), FALSE); } #ifdef ENABLE_NNTP dialog->news_row = -1; dialog->news = mail_config_get_news (); if (dialog->news) { load_news (dialog); gtk_clist_select_row (dialog->news_accounts, 0, 0); } else { gtk_widget_set_sensitive (GTK_WIDGET (dialog->news_edit), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (dialog->news_delete), FALSE); } #endif /* ENABLE_NNTP */ } MailAccountsDialog * mail_accounts_dialog_new (GNOME_Evolution_Shell shell) { MailAccountsDialog *new; new = (MailAccountsDialog *) gtk_type_new (mail_accounts_dialog_get_type ()); construct (new); new->shell = shell; return new; } ing on week numbers changes work week to week viewMilan Crha2011-06-302-4/+42 * | Coding style cleanups.Matthew Barnes2011-06-3041-169/+169 * | Whitespace and coding style cleanups.Matthew Barnes2011-06-3019-35/+78 * | Make EAlertBar messages selectableMilan Crha2011-06-301-0/+2 * | Adapt to CamelService changes.Matthew Barnes2011-06-301-7/+4 * | EWebView: Coding style cleanupMatthew Barnes2011-06-301-1/+2 * | Work around another a11y crash.Matthew Barnes2011-06-301-2/+10 * | EWebView: Fix icon retrieval when showing EAlerts.Matthew Barnes2011-06-301-1/+13 * | EWebView: Implement the EAlertSink interfaceMatthew Barnes2011-06-302-10/+116 * | Restore lockdown integration.Matthew Barnes2011-06-305-44/+116 * | Bug 644310 - Rework "Set as Background" image optionMatthew Barnes2011-06-301-25/+18 * | EAlertBar: Make warnings time out after 5 minutesMatthew Barnes2011-06-301-1/+11 * | Reduce EAlertBar height.Matthew Barnes2011-06-301-6/+12 * | Bug 418954 - Add a separate entry combo for port numbersDan Vráti2011-06-303-0/+558 * | Fix few invalid reads caused by ECanvasMilan Crha2011-06-301-6/+10 * | Bug 644235 - Make EActivityProxy a GtkFrameCosimo Cecchi2011-06-302-10/+5 * | Bug 644066 - Text selection is cleared when right-clicking on a linkMatthew Barnes2011-06-301-5/+6 * | Coding style and whitespace cleanup.Matthew Barnes2011-06-3050-50/+109 * | Do not leak attachments in a mail viewMilan Crha2011-06-303-5/+33 * | Fix Gtk-Doc comment notation.Matthew Barnes2011-06-302-9/+13 * | Bug #641374 - "Send new mail to..." popup action doesn't workMilan Crha2011-06-302-1/+18 * | Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-06-3050-364/+159 * | Use G_SIGNAL_TYPE_STATIC_SCOPE for all GdkEvent signal params.Matthew Barnes2011-06-306-45/+94 * | Bug #623593 - Cannot drag&drop attached messages from mailsMilan Crha2011-06-303-7/+111 * | Coding style and whitespace cleanup.Matthew Barnes2011-06-302-2/+2 * | Bug #642088 - Crash when changing advanced send options in GroupWiseMilan Crha2011-06-301-11/+35 * | Fix few memory leaksMilan Crha2011-06-302-3/+17 * | Remove NULL checks for GObject methods.Matthew Barnes2011-06-3034-85/+65 * | Fix a build break due to #error pragmaMilan Crha2011-06-301-4/+15 * | Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-06-308-65/+3 * | Composer: Add Edit -> PreferencesMatthew Barnes2011-06-301-5/+9 * | Bug #641011 - Ugly appointment editing windowsMilan Crha2011-06-302-0/+3 * | More whitespace cleanup.Matthew Barnes2011-06-3037-409/+409 * | Coding style and whitespace cleanup.Matthew Barnes2011-06-3014-172/+273 * | Adapt ETree to latest gtk+-3.0 API.Matthew Barnes2011-06-302-52/+58 * | Adapt ECell classes to latest gtk+-3.0 API.Matthew Barnes2011-06-3010-121/+69 * | Adapt ETableHeaderItem to latest gtk+-3.0 API.Matthew Barnes2011-06-303-33/+32 * | Adapt ETableFieldChooserItem to latest gtk+-3.0 API.Matthew Barnes2011-06-301-9/+18 * | Adapt ETableItem to latest gtk+-3.0 API.Matthew Barnes2011-06-301-17/+8 * | Adapt ETable to latest gtk+-3.0 API.Matthew Barnes2011-06-302-49/+58 * | Adapt ECanvasBackground to latest gtk+-3.0 API.Matthew Barnes2011-06-301-4/+3 * | Adapt EReflow to latest gtk+-3.0 API.Matthew Barnes2011-06-301-11/+12 * | Adapt EText to latest gtk+-3.0 API.Matthew Barnes2011-06-301-25/+21 * | Adapt EMap to latest gtk+-3.0 API.Matthew Barnes2011-06-301-140/+243 * | Adapt ECanvas to latest gtk+-3.0 API.Matthew Barnes2011-06-301-1/+1 * | Adapt ECalendarItem to latest gtk+-3.0 API.Matthew Barnes2011-06-301-50/+22 * | Fix minor compiler warningsMatthew Barnes2011-06-301-2/+2 * | Various critical warnings about comp-editor-pages and date editMilan Crha2011-06-301-0/+1 * | Do not oversize New and Send/Receive toolbar buttonsMilan Crha2011-06-301-37/+0 * | Adapt size_request vfuncs to latest gtk+-3.0 API.Rodrigo Moya2011-06-304-33/+84 * | Avoid using deprecated GTK_SELECTION_EXTENDEDVibha Yadav2011-06-301-2/+2 * | gdk_cursor_unref() -> g_object_unref()Matthew Barnes2011-06-304-6/+6 * | Dialogs no longer have separators.Matthew Barnes2011-06-303-3/+0 * | Drop backward-compatibility cruft.Matthew Barnes2011-06-3040-135/+6 * | Bug #640517 - Runtime warnings when launching composerMilan Crha2011-06-301-27/+27 * | Bug #634403 - Mails Label popup menu is not updated properlyMilan Crha2011-06-301-0/+1 * | libetable cleanups.Matthew Barnes2011-06-30134-3131/+4097 * | Remove some unused gnome-canvas options.Matthew Barnes2011-06-302-15/+7 * | Merge miscellaneous changes from gtk3 branch.Matthew Barnes2011-06-308-606/+537 * | Fudge GtkScrollable for gtk2.Matthew Barnes2011-06-308-99/+107 * | Fudge gtk_widget_get_preferred_size() for gtk2.Matthew Barnes2011-06-306-9/+15 * | ETree: Fix runtime warnings with GTK3.Matthew Barnes2011-06-303-12/+33 * | EAttachmentIconView: Fix runtime warnings with GTK3.Matthew Barnes2011-06-301-48/+58 * | EActionComboBox: Fix runtime warnings with GTK3.Matthew Barnes2011-06-301-22/+33 * | Bug #567879 - Add View >> Gallery Option In Email ComposerMilan Crha2011-06-303-0/+488 * | Minor compiler warnings fixMilan Crha2011-06-302-3/+3 * | Free/busy meeting view doesn't work due to non-working extensionMilan Crha2011-06-308-6/+21 * | Show calendar backend errors in an alert sinkMilan Crha2011-06-301-0/+32 * | Reset IM context when entering ECellText editingMilan Crha2011-06-301-39/+21 * | Bug #371705 - Calendar's day view does not reset its IM contextMilan Crha2011-06-301-48/+39 * | Bug #633779 - GtkComboBoxText issuesMilan Crha2011-06-301-11/+0 * | Bug #633774 - Headers are gone in grouped viewVibha Yadav2010-11-161-1/+1 * | Drop accessibility support for ECellText.Matthew Barnes2010-11-164-795/+0 * | Fix distcheck errors.Matthew Barnes2010-11-101-3/+0 * | Coding style and whitespace cleanup.Matthew Barnes2010-11-1010-30/+29 * | Bug #632768 - Message list not realized when opening new folderMilan Crha2010-11-101-15/+17 * | Add forgotten cairo_destroy() callsMilan Crha2010-11-102-3/+11 * | Pass an EAlertSink to e_alert_sink_submit_alert().Matthew Barnes2010-11-101-3/+3 * | Bug 633471 - EAttachmentStore store folder name where uri is expectedMatthew Barnes2010-11-102-29/+34 |/ * Fix cursor drawing in ECellText.Matthew Barnes2010-10-301-12/+17 * Fix typo in eti_update().Matthew Barnes2010-10-301-2/+2 * Restore update method in ECanvasBackgroundMatthew Barnes2010-10-301-0/+21 * Fix typo in EText.Matthew Barnes2010-10-301-2/+2 * Adapt branch for building with GTK+ 2.22.Matthew Barnes2010-10-302-2/+0 * e-table: Remove unused dnd pixmapsBenjamin Otte2010-10-303-65/+0 * e-table: Don't push/pop colormapsBenjamin Otte2010-10-304-13/+0 * e-table: Draw button with cairoBenjamin Otte2010-10-301-16/+12 * e-table: Draw ECellTree with cairoBenjamin Otte2010-10-301-10/+10 * e-text: Draw EReflow with cairoBenjamin Otte2010-10-301-7/+13 * e-text: Fix color handlingBenjamin Otte2010-10-302-27/+13 * e-map: Take colormap and visual from the widgetBenjamin Otte2010-10-301-2/+2 * e-table: Remove retro lookBenjamin Otte2010-10-304-207/+38 * e-table: Remove unused GdkGCBenjamin Otte2010-10-301-4/+0 * e-table: Draw ECellText with cairoBenjamin Otte2010-10-301-54/+30 * e-table: Use gdk_pango_layout_get_clip_region() in ECellTextBenjamin Otte2010-10-301-44/+24 * e-table: Remove unused GdkGC from ECellToggleBenjamin Otte2010-10-301-22/+0 * e-table: Use Pango ellipsizing instead of manual arrow drawingBenjamin Otte2010-10-301-91/+11 * e-map: Stuff tween duration into a macro so it's easier to changeBenjamin Otte2010-10-301-2/+3 * e-map: Add simplification API to zoom from a certain stateBenjamin Otte2010-10-301-16/+17 * e-map: Zoom out smoothly, tooBenjamin Otte2010-10-301-1/+14 * e-map: Redo zoomingBenjamin Otte2010-10-301-387/+223 * e-map: Make center_at() function take longitude/latitudeBenjamin Otte2010-10-301-21/+29 * e-map: Introduce e_map_get_current_location()Benjamin Otte2010-10-301-13/+13 * e-map: Use gtk_alignment_configure()Benjamin Otte2010-10-301-22/+14 * e-map: Repaint points unconditionallyBenjamin Otte2010-10-301-1/+2 * e-map: Make cache a server-side surfaceBenjamin Otte2010-10-301-95/+92 * e-map: Query adjustment for size, not pixbufBenjamin Otte2010-10-301-2/+2 * e-map: pass width and height to set_scroll_area() directlyBenjamin Otte2010-10-301-19/+7 * e-map: Draw with cairoBenjamin Otte2010-10-301-38/+11 * e-map: Update the xofs/yofs properties together with the adjustmentsBenjamin Otte2010-10-301-11/+9 * e-map: Don't block signal handlersBenjamin Otte2010-10-301-23/+0 * e-map: Move all rendering into the expose eventBenjamin Otte2010-10-301-114/+65 * e-map: Always repaint the whole window on scrollsBenjamin Otte2010-10-301-93/+1 * e-text: Draw with cairoBenjamin Otte2010-10-302-80/+27 * e-text: Use gdk_pango_layout_get_clip_region() for selection renderingBenjamin Otte2010-10-301-58/+19 * widgets: Don't use GdkGC in ECalendarItemBenjamin Otte2010-10-301-19/+18 * gnome-canvas: Convert canvas item transformation matrix to cairoBenjamin Otte2010-10-308-107/+80 * e-table: Convert coordinates using CairoBenjamin Otte2010-10-301-18/+18 * e-table: Remove unused member variables from ETableItemBenjamin Otte2010-10-302-18/+14 * e-table: Draw grids with CairoBenjamin Otte2010-10-302-25/+20 * e-canvas: Simplify ECanvasBackgroundBenjamin Otte2010-10-301-243/+17 * e-text: Only include libgnomecanvas.hBenjamin Otte2010-10-303-3/+2 * e-table: Fix includes to only ever include libgnomecanvas.hBenjamin Otte2010-10-3030-40/+30 * gnome-canvas: Change GnomeCanvasItem->point vfuncBenjamin Otte2010-10-308-59/+37 * gnome-canvas: Remove close_enough memberBenjamin Otte2010-10-301-1/+1 * widgets: Remove stipple from ECanvasBackgroundBenjamin Otte2010-10-302-46/+0 * e-table: Draw focus with CairoBenjamin Otte2010-10-302-16/+13 * e-table: Remove unused stipple variableBenjamin Otte2010-10-301-4/+0 * e-text: Remove stippling codeBenjamin Otte2010-10-302-48/+0 * e-table: Use semi-transparent red instead of stippled redBenjamin Otte2010-10-302-16/+1 * gnome-canvas: Remove aa codeBenjamin Otte2010-10-302-26/+20 * Bug #631982 - Hide Page properties in signature editorMilan Crha2010-10-291-0/+7 * Workaround GtkComboBoxText/GtkComboBoxEntry in .ui filesMilan Crha2010-10-281-6/+18 * Drop usage of GtkAnchorType.Matthew Barnes2010-10-276-106/+0 * Bug #631956 - Reset renderer properties in action_combo_box_render_pixbufMilan Crha2010-10-261-1/+3 * Bug #631870 - Memory leak in e_week_view after GtkObject removalMilan Crha2010-10-251-1/+1 * Bug 632870 - Cut and paste broken in ESignatureEditorMatthew Barnes2010-10-231-0/+31 * Simplify EActivity.Matthew Barnes2010-10-233-169/+229 * Memory leaks around g_value_set_stringMilan Crha2010-10-223-5/+5 * ESignatureList cleanups.Matthew Barnes2010-10-211-4/+3 * Deal with GtkComboBoxEntry removal in gtk+-3.0.Matthew Barnes2010-10-211-0/+9 * Bug 632641 - Handle combo box text API going awayMatthias Clasen2010-10-212-6/+11 * Bug #630504 - Precache collate keys before sorting in EReflowModelMilan Crha2010-10-203-7/+43 * Bug #630695 - Invalid read when enable/disable the account in preferencesMilan Crha2010-10-191-6/+19 * Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-191-2/+0 * EAlert: Allow arbitrary actions to be added.Matthew Barnes2010-10-191-43/+69 * Replace EBinding with GBinding.Matthew Barnes2010-10-1410-67/+102 * EAlertBar: Always show the most recent alert.Matthew Barnes2010-10-141-6/+2 * Adjust EAlertBar text attributes.Matthew Barnes2010-10-131-2/+7 * Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-136-4/+726 * Bug #631320 - GtkObject is gone in GTK3Milan Crha2010-10-0719-80/+79 * Get rid of deprecated GtkObject in EMap widgetMilan Bouchet-Valat2010-10-041-24/+2 * Coding style and whitespace cleanup.Matthew Barnes2010-10-045-37/+51 * EAttachmentPaned: Use gtk_expander_set_label_fill()Matthew Barnes2010-10-011-17/+1 * Messin around with EAlerts.Matthew Barnes2010-09-301-8/+10 * Bump gtk+-2.0 requirement to 2.22.0.Matthew Barnes2010-09-291-7/+0 * Adapt to Camel API changes.Matthew Barnes2010-09-281-5/+6 * Bug #629645 - Sets negative 'width' propertyMilan Crha2010-09-221-1/+1 * Add a GCancellable to EActivity.Matthew Barnes2010-09-191-6/+21 * Use new GDK keysym names if available.Matthew Barnes2010-09-1831-171/+253 * Bug #563471 - Printing tasks fails when grouped by category.Vibha Yadav2010-09-141-14/+32 * Coding style and whitespace cleanups.Matthew Barnes2010-09-1293-3003/+3052 * Convert ECell from a GtkObject to a GObject.Matthew Barnes2010-09-115-30/+22 * Re-work my GtkDialog:has-separator workaround.Matthew Barnes2010-09-114-8/+8 * Work around deprecation of gtk_dialog_set_has_separator()Matthew Barnes2010-09-114-0/+8 * Various memory leaksMilan Crha2010-09-082-1/+9 * Bug 628483 - signature_combo_box_refresh_cb memory leakMatthew Barnes2010-09-011-1/+3 * Coding style and whitespace cleanup.Matthew Barnes2010-08-2931-382/+410 * ECellText cleanups.Matthew Barnes2010-08-2910-162/+345 * Bug 628154 - Ignore paths in MIME part filenamesMatthew Barnes2010-08-281-1/+4 * Forgot a line.Matthew Barnes2010-08-271-0/+2 * Convert EAttachmentHandler to an EExtension.Matthew Barnes2010-08-276-123/+61 * GObject boilerplate cleanup.Matthew Barnes2010-08-25