aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-search.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-02-23 13:03:18 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-23 13:03:18 +0800
commit59796eb93c1eeaf5c53559f1424e795da4f137a6 (patch)
tree0f74d3bc9462cb416b9d53f83b1ec312d080faa0 /mail/mail-search.h
parent1247dfa0f36b97099863ea202221e0604bdd311f (diff)
downloadgsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar
gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar.gz
gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar.bz2
gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar.lz
gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar.xz
gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar.zst
gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.zip
New overloaded virtual method, does what dialog_destroy_cb was trying to
2003-02-23 Jeffrey Stedfast <fejj@ximian.com> * mail-search.c (mail_search_destroy): New overloaded virtual method, does what dialog_destroy_cb was trying to do. (mail_search_construct): Connect to the "response" signal rather than "clicked" to correspond to the GtkDialog API (instead og the old GnomeDialog API). (dialog_response_cb): Changed the function name and made it check button == GTK_RESPONSE_ACCEPT to search, any other button closes. Fixes bug #37947. svn path=/trunk/; revision=20005
Diffstat (limited to 'mail/mail-search.h')
-rw-r--r--mail/mail-search.h46
1 files changed, 21 insertions, 25 deletions
diff --git a/mail/mail-search.h b/mail/mail-search.h
index 590fabb1ba..cbcf563636 100644
--- a/mail/mail-search.h
+++ b/mail/mail-search.h
@@ -1,28 +1,25 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-
/*
- * mail-search.h
+ * Authors: Jon Trowbridge <trow@ximian.com>
+ *
+ * Copyright 2001-2003 Ximian, Inc. (www.ximian.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.
*
- * Copyright (C) 2001 Ximian, Inc.
+ * 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.
*
- * Developed by Jon Trowbridge <trow@ximian.com>
*/
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 of the GNU General Public
- * License as published by the Free Software Foundation.
- *
- * 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 Place, Suite 330, Boston, MA 02111-1307
- * USA.
- */
#ifndef _MAIL_SEARCH_H_
#define _MAIL_SEARCH_H_
@@ -48,21 +45,21 @@ struct _MailSearch {
GtkDialog parent;
MailDisplay *mail;
-
+
GtkWidget *entry;
GtkWidget *msg_frame;
GtkWidget *count_label;
-
+
gboolean search_forward, case_sensitive;
- gchar *last_search;
-
+ char *last_search;
+
guint begin_handler;
guint match_handler;
};
struct _MailSearchClass {
GtkDialogClass parent_class;
-
+
};
GtkType mail_search_get_type (void);
@@ -76,4 +73,3 @@ GtkWidget *mail_search_new (MailDisplay *);
#endif /* _cplusplus */
#endif /* _MAIL_SEARCH_H_ */
-