diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-02-12 06:14:49 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-02-12 06:14:49 +0800 |
commit | 3fa465c9d73c66bdd29cc311c2532fe2b0084516 (patch) | |
tree | 8f1e846fab2402e522b3eab86a36e771b0279f3d /mail/mail-callbacks.c | |
parent | cdb641800827669bdde0ade2e3efd08fd3a2b405 (diff) | |
download | gsoc2013-evolution-3fa465c9d73c66bdd29cc311c2532fe2b0084516.tar.gz gsoc2013-evolution-3fa465c9d73c66bdd29cc311c2532fe2b0084516.tar.zst gsoc2013-evolution-3fa465c9d73c66bdd29cc311c2532fe2b0084516.zip |
Use gtk_window_set_resizable() instead of gtk_window_set_policy().
2003-02-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-editor.c (construct): Use
gtk_window_set_resizable() instead of gtk_window_set_policy().
* mail-config.c: Fix a bunch of warnings.
(mail_config_signature_write): Removed.
* mail-callbacks.c: Removed unused variables.
svn path=/trunk/; revision=19885
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index c606301440..35501453fc 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -206,7 +206,6 @@ static gboolean check_send_configuration (FolderBrowser *fb) { EAccount *account; - GtkWidget *dialog; if (!mail_config_is_configured ()) { if (fb == NULL) { @@ -279,7 +278,6 @@ static gboolean ask_confirm_for_empty_subject (EMsgComposer *composer) { gboolean show_again, res; - GtkWidget *mbox, *check; GConfClient *gconf; gconf = gconf_client_get_default (); @@ -711,10 +709,9 @@ composer_save_draft_cb (EMsgComposer *composer, int quit, gpointer user_data) mail_msg_wait (id); if (!folder) { - gboolean res; - if (!e_question((GtkWindow *)composer, GTK_RESPONSE_YES, NULL, - _("Unable to open the drafts folder for this account.\n" - "Would you like to use the default drafts folder?"))) + if (!e_question ((GtkWindow *) composer, GTK_RESPONSE_YES, NULL, + _("Unable to open the drafts folder for this account.\n" + "Would you like to use the default drafts folder?"))) return; folder = drafts_folder; @@ -2306,7 +2303,6 @@ static gboolean are_you_sure (const char *msg, GPtrArray *uids, FolderBrowser *fb) { GtkWidget *dialog; - char *buf; int button, i; dialog = gtk_message_dialog_new (FB_WINDOW (fb), GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT, @@ -2373,7 +2369,6 @@ do_resend_messages (CamelFolder *folder, GPtrArray *uids, GPtrArray *messages, v } - void resend_msg (GtkWidget *widget, gpointer user_data) { @@ -2384,10 +2379,8 @@ resend_msg (GtkWidget *widget, gpointer user_data) return; if (!folder_browser_is_sent (fb)) { - GtkWidget *dialog; - - e_notice(FB_WINDOW(fb), GTK_MESSAGE_ERROR, - _("You may only resend messages\nin the Sent folder.")); + e_notice (FB_WINDOW (fb), GTK_MESSAGE_ERROR, + _("You may only resend messages\nin the Sent folder.")); return; } @@ -2403,6 +2396,7 @@ resend_msg (GtkWidget *widget, gpointer user_data) mail_get_messages (fb->folder, uids, do_resend_messages, fb); } + void search_msg (GtkWidget *widget, gpointer user_data) { |