callview: add plugin
Change-Id: If4cae049167d1a1e16dc6624a202722a6316a0ff
diff --git a/src/mainview/components/CallViewContextMenu.qml b/src/mainview/components/CallViewContextMenu.qml
index 93b008f..23da3fd 100644
--- a/src/mainview/components/CallViewContextMenu.qml
+++ b/src/mainview/components/CallViewContextMenu.qml
@@ -1,7 +1,8 @@
-/*
+/**
* Copyright (C) 2020 by Savoir-faire Linux
* Author: Mingrui Zhang <mingrui.zhang@savoirfairelinux.com>
* Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
+ * Author: Aline Gondim Santos <aline.gondimsantos@savoirfairelinux.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,6 +32,9 @@
property int generalMenuSeparatorCount: 0
property int commonBorderWidth: 1
+
+ signal pluginItemClicked
+
font.pointSize: JamiTheme.textFontSize+3
property bool isSIP: false
@@ -267,7 +271,7 @@
onClicked: {
root.close()
}
- }
+ }*/
GeneralMenuItem {
id: pluginItem
@@ -278,9 +282,10 @@
rightBorderWidth: commonBorderWidth
onClicked: {
+ root.pluginItemClicked()
root.close()
}
- }*/
+ }
background: Rectangle {
implicitWidth: startRecordingItem.preferredWidth