diff options
author | Milan Crha <mcrha@redhat.com> | 2007-11-05 18:07:23 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-11-05 18:07:23 +0800 |
commit | a1a1f31ef8aa921e84f82d0e88b00ead5e92c738 (patch) | |
tree | 1ef2ab796f73424e443a8dd156963bfbd05284e6 /calendar/gui/comp-util.h | |
parent | abf34a4520db2714e688fcdc01f3e5cbb890bc73 (diff) | |
download | gsoc2013-evolution-a1a1f31ef8aa921e84f82d0e88b00ead5e92c738.tar.gz gsoc2013-evolution-a1a1f31ef8aa921e84f82d0e88b00ead5e92c738.tar.zst gsoc2013-evolution-a1a1f31ef8aa921e84f82d0e88b00ead5e92c738.zip |
** Fix for bug #315101
2007-11-05 Milan Crha <mcrha@redhat.com>
** Fix for bug #315101
* drag and drop to other source for multiselect
* gui/comp-util.h:
* gui/comp-util.c: (cal_comp_selection_set_string_list),
(cal_comp_selection_get_string_list): Two new helper functions
to set and get list of strings into GtkSelectionData.
* gui/e-tasks.c: (get_selected_components_cb),
(do_for_selected_components), (obtain_list_of_components),
(table_drag_data_get):
* gui/e-memos.c: (get_selected_components_cb),
(do_for_selected_components), (obtain_list_of_components),
(table_drag_data_get): Pass list of selected components as data
for drag and drop instead of focused component from the list.
* gui/e-tasks.c: (table_drag_data_delete):
* gui/e-memos.c: (table_drag_data_delete): Obsolete now.
* gui/tasks-component.c: (selector_tree_drag_data_received):
* gui/memos-component.c: (selector_tree_drag_data_received):
Receiving list of components, so made changes here to reflect it.
svn path=/trunk/; revision=34496
Diffstat (limited to 'calendar/gui/comp-util.h')
-rw-r--r-- | calendar/gui/comp-util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/comp-util.h b/calendar/gui/comp-util.h index 651fde686a..dfc5165b66 100644 --- a/calendar/gui/comp-util.h +++ b/calendar/gui/comp-util.h @@ -22,7 +22,9 @@ #ifndef COMP_UTIL_H #define COMP_UTIL_H +#include <glib.h> #include <gtk/gtkwidget.h> +#include <gtk/gtkselection.h> #include <libecal/e-cal-component.h> #include <libecal/e-cal.h> @@ -47,4 +49,7 @@ ECalComponent *cal_comp_event_new_with_current_time (ECal *client, gboolean all_ ECalComponent *cal_comp_task_new_with_defaults (ECal *client); ECalComponent *cal_comp_memo_new_with_defaults (ECal *client); +void cal_comp_selection_set_string_list (GtkSelectionData *data, GSList *str_list); +GSList *cal_comp_selection_get_string_list (GtkSelectionData *data); + #endif |