~ubuntu-branches/ubuntu/precise/evolution/precise

« back to all changes in this revision

Viewing changes to calendar/gui/ea-calendar.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-06-24 00:27:53 UTC
  • mfrom: (1.1.80 upstream)
  • Revision ID: james.westby@ubuntu.com-20110624002753-2vh1vjavlya7r103
Tags: 3.1.2-0ubuntu1
* New upstream release 3.1.2.
* debian/control: adjust Build-Depends to match new upstream requirements for
  the new release.
* debian/control: update evolution and evolution-dev Depends to require the
  right versions of e-d-s (>= 3.1, << 3.2), and drop libunique-3.0-dev.
* debian/control,
  debian/evolution.install: remove groupwise-features from the plugin list,
  it's now split out into a separate module.
* debian/patches/03_lpi.patch: refreshed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 *
21
21
 */
22
22
 
 
23
#ifdef HAVE_CONFIG_H
 
24
#include <config.h>
 
25
#endif
 
26
 
23
27
#include <text/e-text.h>
24
28
#include <libgnomecanvas/libgnomecanvas.h>
25
29
#include "ea-calendar-helpers.h"
66
70
                pixbuf_type = g_type_class_ref (GNOME_TYPE_CANVAS_PIXBUF);
67
71
                e_day_view_type = g_type_class_ref (e_day_view_get_type ());
68
72
                e_week_view_type = g_type_class_ref (E_TYPE_WEEK_VIEW);
69
 
                e_day_view_main_item_type = g_type_class_ref (e_day_view_main_item_get_type ());
70
 
                e_week_view_main_item_type = g_type_class_ref (e_week_view_main_item_get_type ());
71
 
 
72
 
                g_signal_add_emission_hook (g_signal_lookup ("event", E_TYPE_TEXT),
73
 
                                            0, ea_calendar_focus_watcher,
74
 
                                            NULL, (GDestroyNotify) NULL);
75
 
                g_signal_add_emission_hook (g_signal_lookup ("event", GNOME_TYPE_CANVAS_PIXBUF),
76
 
                                            0, ea_calendar_focus_watcher,
77
 
                                            NULL, (GDestroyNotify) NULL);
78
 
                g_signal_add_emission_hook (g_signal_lookup ("event-after",
79
 
                                                             e_day_view_get_type ()),
80
 
                                            0, ea_calendar_focus_watcher,
81
 
                                            NULL, (GDestroyNotify) NULL);
82
 
                g_signal_add_emission_hook (g_signal_lookup ("event",
83
 
                                                             e_day_view_main_item_get_type ()),
84
 
                                            0, ea_calendar_focus_watcher,
85
 
                                            NULL, (GDestroyNotify) NULL);
86
 
                g_signal_add_emission_hook (g_signal_lookup ("event-after",
87
 
                                                             E_TYPE_WEEK_VIEW),
88
 
                                            0, ea_calendar_focus_watcher,
89
 
                                            NULL, (GDestroyNotify) NULL);
90
 
                g_signal_add_emission_hook (g_signal_lookup ("event",
91
 
                                                             e_week_view_main_item_get_type ()),
92
 
                                            0, ea_calendar_focus_watcher,
93
 
                                            NULL, (GDestroyNotify) NULL);
94
 
 
 
73
                e_day_view_main_item_type = g_type_class_ref (
 
74
                        e_day_view_main_item_get_type ());
 
75
                e_week_view_main_item_type = g_type_class_ref (
 
76
                        e_week_view_main_item_get_type ());
 
77
 
 
78
                g_signal_add_emission_hook (
 
79
                        g_signal_lookup ("event", E_TYPE_TEXT),
 
80
                        0, ea_calendar_focus_watcher,
 
81
                        NULL, (GDestroyNotify) NULL);
 
82
                g_signal_add_emission_hook (
 
83
                        g_signal_lookup ("event", GNOME_TYPE_CANVAS_PIXBUF),
 
84
                        0, ea_calendar_focus_watcher,
 
85
                        NULL, (GDestroyNotify) NULL);
 
86
                g_signal_add_emission_hook (
 
87
                        g_signal_lookup ("event-after", E_TYPE_DAY_VIEW),
 
88
                        0, ea_calendar_focus_watcher,
 
89
                        NULL, (GDestroyNotify) NULL);
 
90
                g_signal_add_emission_hook (
 
91
                        g_signal_lookup ("event", E_TYPE_DAY_VIEW_MAIN_ITEM),
 
92
                        0, ea_calendar_focus_watcher,
 
93
                        NULL, (GDestroyNotify) NULL);
 
94
                g_signal_add_emission_hook (
 
95
                        g_signal_lookup ("event-after", E_TYPE_WEEK_VIEW),
 
96
                        0, ea_calendar_focus_watcher,
 
97
                        NULL, (GDestroyNotify) NULL);
 
98
                g_signal_add_emission_hook (
 
99
                        g_signal_lookup ("event", E_TYPE_WEEK_VIEW_MAIN_ITEM),
 
100
                        0, ea_calendar_focus_watcher,
 
101
                        NULL, (GDestroyNotify) NULL);
95
102
        }
96
103
}
97
104