diff src/cagou/core/constants.py @ 97:5d2289127bb7

menu (upload): better menu using dedicated widget: upload menu now use a decicated widget instead of context menu. The menu take half the size of the main window, and show each upload option as an icon. Use can select upload or P2P sending, and a short text message explains how the file will be transmitted.
author Goffi <goffi@goffi.org>
date Thu, 29 Dec 2016 23:47:07 +0100
parents c711be670ecd
children
line wrap: on
line diff
--- a/src/cagou/core/constants.py	Thu Dec 29 23:47:04 2016 +0100
+++ b/src/cagou/core/constants.py	Thu Dec 29 23:47:07 2016 +0100
@@ -29,4 +29,7 @@
     DEFAULT_WIDGET_ICON = u'{media}/misc/black.png'
 
     PLUG_TYPE_WID = u'wid'
-    PLUG_TYPE_UPLOAD = u'upload'
+    PLUG_TYPE_TRANSFER = u'transfer'
+
+    TRANSFER_UPLOAD = u"upload"
+    TRANSFER_SEND = u"send"