summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-05-08 09:48:13 +0200
committerPatrick Griffis <tingping@tingping.se>2016-06-30 15:51:10 -0400
commit9e11280e529b5b494f0c04bda602df907aa0b207 (patch)
treefc7239f716171a9834d9ffa0bcc845ecaf0cea6c /src/fe-gtk
parent77dccacd0215aa51edf755886d39d94ed30b03af (diff)
dcc: Introduce dcc_type and dcc_state enums
Closes #1705
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/dccgui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fe-gtk/dccgui.c b/src/fe-gtk/dccgui.c
index 8c9dc8b4..5ad6451d 100644
--- a/src/fe-gtk/dccgui.c
+++ b/src/fe-gtk/dccgui.c
@@ -713,6 +713,11 @@ dcc_dclick_cb (GtkTreeView *view, GtkTreePath *path,
 	case STAT_ABORTED:
 	case STAT_DONE:
 		dcc_abort (dcc->serv->front_session, dcc);
+		break;
+	case STAT_QUEUED:
+	case STAT_ACTIVE:
+	case STAT_CONNECTING:
+		break;
 	}
 }