aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-04-09 23:01:31 +0800
committerDan Winship <danw@src.gnome.org>2002-04-09 23:01:31 +0800
commitb782a8c304485de3ae80f53ac100e41f4a6f747f (patch)
tree956a6310177192ae49918b1201d2e3560973d94b /addressbook
parent651329fd2758ea453e031aefe69ab5c7380bd584 (diff)
downloadgsoc2013-evolution-b782a8c304485de3ae80f53ac100e41f4a6f747f.tar.gz
gsoc2013-evolution-b782a8c304485de3ae80f53ac100e41f4a6f747f.tar.zst
gsoc2013-evolution-b782a8c304485de3ae80f53ac100e41f4a6f747f.zip
Add view_info arg, but don't do anything with it.
* gui/component/addressbook-component.c (create_view): Add view_info arg, but don't do anything with it. svn path=/trunk/; revision=16399
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook-component.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 21c95a5c42..b0b76a5949 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-08 Dan Winship <danw@ximian.com>
+
+ * gui/component/addressbook-component.c (create_view): Add
+ view_info arg, but don't do anything with it.
+
2002-04-06 JP Rosevear <jpr@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.oaf.in: add
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index c3f73a4262..beb0e594a7 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -83,6 +83,7 @@ static EvolutionShellComponentResult
create_view (EvolutionShellComponent *shell_component,
const char *physical_uri,
const char *type,
+ const char *view_info,
BonoboControl **control_return,
void *closure)
{
35a0afeed6c1675e30487c1e2bdc139f'>e7a31c5035
26e7480340
1489dc4fd8

4fedf14c7b



e7a31c5035

7ee6ef65f1






1bed00795b

a01525c931







7ee6ef65f1


a01525c931
5eb12906c4



de85e3c786
5eb12906c4
38790d8478
ab794abcd3
26e7480340

1bed00795b
5eb12906c4




1bed00795b
5eb12906c4

7ee6ef65f1



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110

                        

                                                                


                                                               



                                                                    


                                                                   
                                                                             


                                                        
  




                             

                                              
 

                                  
                            

























                                                                 
      
                                                                         

                                                                         



                                                                         

  






                                        

                     







                                                                             


                                                       
                                                 



                                                                              
                                                      
                                                                              
                                                      
                                                                              

                                                                              
                 




                                                                              
                                                 

                                                                             



                                  
/*
 * e-cal-shell-sidebar.h
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) version 3.
 *
 * 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with the program; if not, see <http://www.gnu.org/licenses/>
 *
 *
 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
 *
 */

#ifndef E_CAL_SHELL_SIDEBAR_H
#define E_CAL_SHELL_SIDEBAR_H

#include <libecal/libecal.h>
#include <libedataserverui/libedataserverui.h>

#include <shell/e-shell-sidebar.h>
#include <shell/e-shell-view.h>
#include <misc/e-calendar.h>

/* Standard GObject macros */
#define E_TYPE_CAL_SHELL_SIDEBAR \
    (e_cal_shell_sidebar_get_type ())
#define E_CAL_SHELL_SIDEBAR(obj) \
    (G_TYPE_CHECK_INSTANCE_CAST \
    ((obj), E_TYPE_CAL_SHELL_SIDEBAR, ECalShellSidebar))
#define E_CAL_SHELL_SIDEBAR_CLASS(cls) \
    (G_TYPE_CHECK_CLASS_CAST \
    ((cls), E_TYPE_CAL_SHELL_SIDEBAR, ECalShellSidebarClass))
#define E_IS_CAL_SHELL_SIDEBAR(obj) \
    (G_TYPE_CHECK_INSTANCE_TYPE \
    ((obj), E_TYPE_CAL_SHELL_SIDEBAR))
#define E_IS_CAL_SHELL_SIDEBAR_CLASS(cls) \
    (G_TYPE_CHECK_CLASS_TYPE \
    ((cls), E_TYPE_CAL_SHELL_SIDEBAR))
#define E_CAL_SHELL_SIDEBAR_GET_CLASS(obj) \
    (G_TYPE_INSTANCE_GET_CLASS \
    ((obj), E_TYPE_CAL_SHELL_SIDEBAR, ECalShellSidebarClass))

G_BEGIN_DECLS

typedef struct _ECalShellSidebar ECalShellSidebar;
typedef struct _ECalShellSidebarClass ECalShellSidebarClass;
typedef struct _ECalShellSidebarPrivate ECalShellSidebarPrivate;

enum {
    E_CAL_SHELL_SIDEBAR_HAS_PRIMARY_SOURCE          = 1 << 0,
    E_CAL_SHELL_SIDEBAR_PRIMARY_SOURCE_IS_WRITABLE      = 1 << 1,
    E_CAL_SHELL_SIDEBAR_PRIMARY_SOURCE_IS_REMOVABLE     = 1 << 2,
    E_CAL_SHELL_SIDEBAR_PRIMARY_SOURCE_IS_REMOTE_CREATABLE  = 1 << 3,
    E_CAL_SHELL_SIDEBAR_PRIMARY_SOURCE_IS_REMOTE_DELETABLE  = 1 << 4,
    E_CAL_SHELL_SIDEBAR_PRIMARY_SOURCE_IN_COLLECTION    = 1 << 5,
    E_CAL_SHELL_SIDEBAR_SOURCE_SUPPORTS_REFRESH     = 1 << 6
};

struct _ECalShellSidebar {
    EShellSidebar parent;
    ECalShellSidebarPrivate *priv;
};

struct _ECalShellSidebarClass {
    EShellSidebarClass parent_class;

    /* Signals */
    void        (*client_added) (ECalShellSidebar *cal_shell_sidebar,
                     ECalClient *client);
    void        (*client_removed)
                    (ECalShellSidebar *cal_shell_sidebar,
                     ECalClient *client);
    void        (*status_message)
                    (ECalShellSidebar *cal_shell_sidebar,
                     const gchar *status_message);
};

GType       e_cal_shell_sidebar_get_type    (void);
void        e_cal_shell_sidebar_type_register
                    (GTypeModule *type_module);
GtkWidget * e_cal_shell_sidebar_new (EShellView *shell_view);
GList *     e_cal_shell_sidebar_get_clients
                    (ECalShellSidebar *cal_shell_sidebar);
ECalendar * e_cal_shell_sidebar_get_date_navigator
                    (ECalShellSidebar *cal_shell_sidebar);
ECalClient *    e_cal_shell_sidebar_get_default_client
                    (ECalShellSidebar *cal_shell_sidebar);
GtkWidget * e_cal_shell_sidebar_get_new_calendar_button
                    (ECalShellSidebar *cal_shell_sidebar);
ESourceSelector *
        e_cal_shell_sidebar_get_selector
                    (ECalShellSidebar *cal_shell_sidebar);
void        e_cal_shell_sidebar_add_source
                    (ECalShellSidebar *cal_shell_sidebar,
                     ESource *source);
void        e_cal_shell_sidebar_remove_source
                    (ECalShellSidebar *cal_shell_sidebar,
                     ESource *source);

G_END_DECLS

#endif /* E_CAL_SHELL_SIDEBAR_H */