~noskcaj/ubuntu/saucy/sflphone/merge-1.2.3-2

« back to all changes in this revision

Viewing changes to gnome/src/contacts/searchbar.h

  • Committer: Jackson Doak
  • Date: 2013-07-10 21:04:46 UTC
  • mfrom: (20.1.3 sid)
  • Revision ID: noskcaj@ubuntu.com-20130710210446-y8f587vza807icr9
Properly merged from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 *  Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010, 2011 Savoir-Faire Linux Inc.
 
2
 *  Copyright (C) 2004-2012 Savoir-Faire Linux Inc.
3
3
 *
4
4
 *  Author: Antoine Reversat <antoine.reversat@savoirfairelinux.com>
5
5
 *  Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
17
17
 *
18
18
 *  You should have received a copy of the GNU General Public License
19
19
 *  along with this program; if not, write to the Free Software
20
 
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
20
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.
21
21
 *
22
22
 *  Additional permission under GNU GPL version 3 section 7:
23
23
 *
39
39
#ifndef __SEARCH_FILTER_H__
40
40
#define __SEARCH_FILTER_H__
41
41
 
42
 
#include <calllist.h>
43
42
#include <gtk/gtk.h>
44
 
#include <mainwindow.h>
45
 
 
46
 
#include <addressbook.h>
47
 
#include <history.h>
48
 
 
49
 
GdkPixbuf *waitingPixOff;
50
 
 
51
 
SearchType HistorySearchType;
 
43
#include "history.h"
52
44
 
53
45
/**
54
46
 * Create a new search bar for call hostory
55
47
 */
56
 
GtkWidget* history_searchbar_new (void);
 
48
GtkWidget*
 
49
history_searchbar_new();
57
50
 
58
51
/**
59
52
 * Create a new search bar for addressbook
60
53
 */
61
 
GtkWidget* contacts_searchbar_new (void);
 
54
GtkWidget*
 
55
contacts_searchbar_new(GSettings *settings);
62
56
 
63
57
/**
64
58
 * Get type of call to be search from call history
65
59
 */
66
 
SearchType get_current_history_search_type (void);
 
60
SearchType
 
61
get_current_history_search_type();
67
62
 
68
63
/**
69
64
 * Set focus on addressbook search bar
70
65
 */
71
 
void set_focus_on_addressbook_searchbar (void);
 
66
void
 
67
set_focus_on_addressbook_searchbar();
72
68
 
73
69
/**
74
70
 * Reload combo box to update list of active addressbook
75
71
 */
76
 
void update_searchbar_addressbook_list (void);
 
72
void
 
73
update_searchbar_addressbook_list(GSettings *settings);
77
74
 
78
75
/**
79
76
 * Create a new menu listing all system addressbooks
80
77
 */
81
 
GtkWidget *addressbook_menu_new (void);
 
78
GtkWidget *
 
79
addressbook_menu_new();
82
80
 
83
81
#endif