aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-storage-set-view-factory.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-09-14 05:11:22 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-09-14 05:11:22 +0800
commitc788ba0fafe0143c06efb32a633aef139d21e142 (patch)
tree2c593a485ad3d35f6f453f1f46b7a1394d828337 /shell/evolution-storage-set-view-factory.c
parent080576bf0dc05633d2e0d4ed7fef8db98a853fc9 (diff)
downloadgsoc2013-evolution-c788ba0fafe0143c06efb32a633aef139d21e142.tar
gsoc2013-evolution-c788ba0fafe0143c06efb32a633aef139d21e142.tar.gz
gsoc2013-evolution-c788ba0fafe0143c06efb32a633aef139d21e142.tar.bz2
gsoc2013-evolution-c788ba0fafe0143c06efb32a633aef139d21e142.tar.lz
gsoc2013-evolution-c788ba0fafe0143c06efb32a633aef139d21e142.tar.xz
gsoc2013-evolution-c788ba0fafe0143c06efb32a633aef139d21e142.tar.zst
gsoc2013-evolution-c788ba0fafe0143c06efb32a633aef139d21e142.zip
Disable DnD on the EStorageSetView to avoid strange behaviors.
* e-shell-view.c (pop_up_folder_bar): Disable DnD on the EStorageSetView to avoid strange behaviors. (reparent_storage_set_view_box_and_destroy_popup): Re-enable DnD here. (popdown_transient_folder_bar): And here as well. * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Disable DnD on the EStorageSetView. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Disable DnD on the EStorageSetView. * e-shell-folder-creation-dialog.c (add_storage_set_view): Disable DnD on the EStorageSetView. * e-storage-set-view.c: New member `allow_dnd' in `EStorageSetViewPrivate'. (init): Init to `allow_dnd' %TRUE. (tree_start_drag): If `allow_dnd' is false, don't start the drag and return %FALSE. (tree_drag_motion): If `allow_dnd' is false, return %FALSE. (e_storage_set_view_get_allow_dnd): New. (e_storage_set_view_set_allow_dnd): New. svn path=/trunk/; revision=12810
Diffstat (limited to 'shell/evolution-storage-set-view-factory.c')
-rw-r--r--shell/evolution-storage-set-view-factory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/evolution-storage-set-view-factory.c b/shell/evolution-storage-set-view-factory.c
index 50b066401b..9f2f30dee1 100644
--- a/shell/evolution-storage-set-view-factory.c
+++ b/shell/evolution-storage-set-view-factory.c
@@ -47,6 +47,8 @@ evolution_storage_set_view_factory_new_view (EShell *shell)
storage_set_view = e_storage_set_view_new (storage_set, NULL /*XXX*/);
gtk_widget_show (storage_set_view);
+ e_storage_set_view_set_allow_dnd (E_STORAGE_SET_VIEW (storage_set_view), FALSE);
+
storage_set_view_interface = evolution_storage_set_view_new (E_STORAGE_SET_VIEW (storage_set_view));
if (storage_set_view_interface == NULL) {
gtk_widget_destroy (storage_set_view);