diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-12-17 07:29:07 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-12-17 07:29:07 +0800 |
commit | db7a74c0b7276ea71c45d029210112a92ce33d7a (patch) | |
tree | d417ca895d6fb29698fd5d72ac0a0697b9f04be2 /calendar/gui/e-calendar-table.h | |
parent | 794d833e8d202a0670f1076a0b89af3561eedaaa (diff) | |
download | gsoc2013-evolution-db7a74c0b7276ea71c45d029210112a92ce33d7a.tar.gz gsoc2013-evolution-db7a74c0b7276ea71c45d029210112a92ce33d7a.tar.zst gsoc2013-evolution-db7a74c0b7276ea71c45d029210112a92ce33d7a.zip |
Fixes part of #41237
2003-12-16 Rodrigo Moya <rodrigo@ximian.com>
Fixes part of #41237
* gui/e-calendar-table.c: use GtkClipboard instead of GtkInvisible
for cut/copy/paste.
(selection_clear_event, selection_received, selection_get): removed
unneeded functions.
(e_calendar_table_init): don't create the invisible widget.
(e_calendar_table_copy_clipboard): use gtk_clipboard_set_text().
(e_calendar_table_paste_clipboard): use gtk_clipboard_request_text().
(clipboard_get_text_cb): callback for gtk_clipboard_request_text().
* gui/e-cal-view.c (e_calendar_view_init, e_calendar_view_destroy,
e_calendar_view_copy_clipboard): no need anymore to keep the last
clipboard selection, GtkClipboard does it for us.
svn path=/trunk/; revision=23952
Diffstat (limited to 'calendar/gui/e-calendar-table.h')
-rw-r--r-- | calendar/gui/e-calendar-table.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/e-calendar-table.h b/calendar/gui/e-calendar-table.h index 810c78254b..2cff1bead3 100644 --- a/calendar/gui/e-calendar-table.h +++ b/calendar/gui/e-calendar-table.h @@ -57,9 +57,7 @@ struct _ECalendarTable { /* The ECell used to view & edit dates. */ ECellDateEdit *dates_cell; - /* The invisible widget used for cut/copy/paste */ - GtkWidget *invisible; - gchar *clipboard_selection; + /* Fields used for cut/copy/paste */ icalcomponent *tmp_vcal; /* Activity ID for the EActivityHandler (i.e. the status bar). */ |