aboutsummaryrefslogtreecommitdiff
path: root/src/slide_sorter.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-11-21 23:47:51 +0100
committerThomas White <taw@bitwiz.org.uk>2014-11-21 23:47:51 +0100
commit85570d136f664b3c75151e06e686723be95f00c0 (patch)
tree9a6010a0b03c4d6d0b0e9c8c23deafe3649dea17 /src/slide_sorter.c
parent2413cd7f20bbf24375f04d740daeb8743a501a1a (diff)
WIP on patching up SlideShow
Diffstat (limited to 'src/slide_sorter.c')
-rw-r--r--src/slide_sorter.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/slide_sorter.c b/src/slide_sorter.c
index 54b6804..cdc5879 100644
--- a/src/slide_sorter.c
+++ b/src/slide_sorter.c
@@ -202,6 +202,7 @@ static gboolean motion_sig(GtkWidget *da, GdkEventMotion *event,
/* If we are dragging the current editor or projector slide,
* we'd better remember to update when we're finished. */
+#if 0 /* FIXME! */
if ( n->p->cur_edit_slide == n->selected_slide ) {
n->dragging_cur_edit_slide = 1;
} else {
@@ -213,7 +214,7 @@ static gboolean motion_sig(GtkWidget *da, GdkEventMotion *event,
} else {
n->dragging_cur_proj_slide = 0;
}
-
+#endif
list = gtk_target_list_new(targets, 1);
gtk_drag_begin(da, list, GDK_ACTION_COPY | GDK_ACTION_MOVE,
1, (GdkEvent *)event);
@@ -438,6 +439,7 @@ static void dnd_delete(GtkWidget *widget, GdkDragContext *drag_context,
if ( sn < n->drop_here ) n->drop_here--;
+#if 0 /* FIXME ! */
if ( n->p->cur_edit_slide == n->selected_slide ) {
if ( same ) {
@@ -483,7 +485,7 @@ static void dnd_delete(GtkWidget *widget, GdkDragContext *drag_context,
}
}
-
+#endif
delete_slide(n->p, n->selected_slide);
}