~ubuntu-branches/ubuntu/hardy/evolution-data-server/hardy-updates

« back to all changes in this revision

Viewing changes to libedataserverui/e-source-combo-box.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-11-13 10:59:20 UTC
  • mfrom: (1.1.38 upstream)
  • Revision ID: james.westby@ubuntu.com-20071113105920-nb6w14udvgx0ghi3
Tags: 2.21.2-0ubuntu1
* New upstream version:
  Bug Fixes:
  - #318842: Task lists should be sorted (LP: #23912)
  - #345135: Disable SSLv2 compatible HELLO on SSL stream when 
    SSLv2 is disabled
  - #359267: Not all memos are showed in calendar view
  - #430420: Returned size <= 0 is an error
  - #460649: Meeting UI Needs To Show Color Of Selected Calendar Source
  - #487229: Use GKeyFile instead of gnome-config to access stored passwords
  - #488156: Minimize use of the WITH_GNOME_KEYRING macro
  - #492130: ESourceSelector uses pointers to ESource
  - #494304: Fix leak
  Updated Translations
  New in 2.21.1:
  - Support for Google Calendar
  Bug Fixes:
  - #203480: (Novell Bugzilla) Compiler warning fix 
    for usage ofunintialized variable
  - #231178: New symbol 'set-label' defined and added corresponding callback
  - #271777: Keep character's case as user types
  - #417999: Don't use deprecated GTK+ symbols
  - #420167: e-d-s now exits with gnome-session
  - #469657: Better use of GHashTable
  - #474000: Use GLib's Base64 API instead of Camel's
  - #475487: When creating the default contact, print errors to the console
  - #475493: Use G_DEFINE_TYPE
  - #475494: Use G_LOCK instead of a static mutex for clearer code
  - #478404: Reset the id to zero
  - #483301: Remove an unused variable
  - #487270: Fix typo in documentation
  - #488173: Remove __FUNCTION__, which is a gcc-ism
  - #488351: Fix an addressbook error on a fresh install
  Other Contributors:
  - Protect against a NULL subject string. 
* debian/*.preinst:
  - On upgrades from Gutsy, remove the symlinks introduced in Gutsy. They
    break upgrades all over, and current cdbs just symlinks individual files.
* Sync with Debian
* debian/control:
  - evolution-data-server Breaks evolution (<< 2.9), 
    evolution-exchange (<= 2.8.1-0ubuntu1),
    evolution-jescs (<= 2.8.2-0ubuntu3), 
    evolution-scalix (<= 10.0.0.357-0ubuntu6)
  - updated maintainer to desktop team
* debian/rules:
  - don't specify the paths for nspr and nss since the package is built 
    with firefox
  - don't build documentation, it's distributed in the upstream tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
 
2
/* e-source-combo-box.h
 
3
 *
 
4
 * Copyright (C) 2007 Novell, Inc.
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or
 
7
 * modify it under the terms of version 2 of the GNU Lesser General Public
 
8
 * License as published by the Free Software Foundation.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 * General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU Lesser General Public
 
16
 * License along with this program; if not, write to the
 
17
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
18
 * Boston, MA 02111-1307, USA.
 
19
 */
 
20
 
 
21
#ifndef _E_SOURCE_COMBO_BOX_H_
 
22
#define _E_SOURCE_COMBO_BOX_H_
 
23
 
 
24
#include <gtk/gtk.h>
 
25
#include <libedataserver/e-source-list.h>
 
26
 
 
27
#define E_TYPE_SOURCE_COMBO_BOX \
 
28
        (e_source_combo_box_get_type ())
 
29
#define E_SOURCE_COMBO_BOX(obj) \
 
30
        (G_TYPE_CHECK_INSTANCE_CAST \
 
31
        ((obj), E_TYPE_SOURCE_COMBO_BOX, ESourceComboBox))
 
32
#define E_SOURCE_COMBO_BOX_CLASS(cls) \
 
33
        (G_TYPE_CHECK_CLASS_CAST \
 
34
        ((cls), E_TYPE_SOURCE_COMBO_BOX, ESourceComboBoxClass))
 
35
#define E_IS_SOURCE_COMBO_BOX(obj) \
 
36
        (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_SOURCE_COMBO_BOX))
 
37
#define E_IS_SOURCE_COMBO_BOX_CLASS(cls) \
 
38
        (G_TYPE_CHECK_CLASS_TYPE ((cls), E_TYPE_SOURCE_COMBO_BOX))
 
39
#define E_SOURCE_COMBO_BOX_GET_CLASS(obj) \
 
40
        (G_TYPE_INSTANCE_GET_CLASS \
 
41
        ((obj), E_TYPE_SOURCE_COMBO_BOX, ESourceComboBox))
 
42
 
 
43
G_BEGIN_DECLS
 
44
 
 
45
typedef struct _ESourceComboBox ESourceComboBox;
 
46
typedef struct _ESourceComboBoxClass ESourceComboBoxClass;
 
47
typedef struct _ESourceComboBoxPrivate ESourceComboBoxPrivate;
 
48
 
 
49
struct _ESourceComboBox {
 
50
        GtkComboBox parent;
 
51
 
 
52
        ESourceComboBoxPrivate *priv;
 
53
};
 
54
 
 
55
struct _ESourceComboBoxClass {
 
56
        GtkComboBoxClass parent_class;
 
57
};
 
58
 
 
59
GType           e_source_combo_box_get_type     (void);
 
60
GtkWidget *     e_source_combo_box_new          (ESourceList *source_list);
 
61
ESourceList *   e_source_combo_box_get_source_list
 
62
                                                (ESourceComboBox *source_combo_box);
 
63
void            e_source_combo_box_set_source_list
 
64
                                                (ESourceComboBox *source_combo_box,
 
65
                                                 ESourceList *source_list);
 
66
ESource *       e_source_combo_box_get_active
 
67
                                                (ESourceComboBox *source_combo_box);
 
68
void            e_source_combo_box_set_active
 
69
                                                (ESourceComboBox *source_combo_box,
 
70
                                                 ESource *source);
 
71
const gchar *   e_source_combo_box_get_active_uid
 
72
                                                (ESourceComboBox *source_combo_box);
 
73
void            e_source_combo_box_set_active_uid
 
74
                                                (ESourceComboBox *source_combo_box,
 
75
                                                 const gchar *uid);
 
76
 
 
77
G_END_DECLS
 
78
 
 
79
#endif /* _E_SOURCE_COMBO_BOX_H_ */