View Single Post
Posts: 63 | Thanked: 46 times | Joined on Feb 2012
#2760
Last release of Cepi has problems with media sharing buttons, all of them launch SendPicture, to fix this, edit Conversation.qml

From:
Code:
			Button {
	    		id: image_button
	    		iconSource: theme.inverted ? "../common/images/image-white.png" : "../common/images/image.png"
	    		width: mediaContentSlip.width == 328 ? 44 : 0
				visible: width == 44 ? true : false
	    		height: width
	    		anchors.right: video_button.left
	    		anchors.rightMargin: 10
	    		anchors.verticalCenter: parent.verticalCenter
	    		onClicked: {
					mediaContentSlipOff.start();
					pageStack.push(sendPicture)
				}		
			}	
			Button {
				id: video_button
				iconSource: theme.inverted ? "../common/images/video-white.png" : "../common/images/video.png"
	    		width: mediaContentSlip.width == 328 ? 44 : 0
				visible: width == 44 ? true : false
	    		height: width
	    		anchors.right: audio_button.left
	    		anchors.rightMargin: 10
	    		anchors.verticalCenter: parent.verticalCenter
	    		onClicked: {
					mediaContentSlipOff.start();
					pageStack.push(sendPicture)
				}
			}

			Button {
				id: audio_button
				iconSource: theme.inverted ? "../common/images/audio-white.png" : "../common/images/audio.png"
	    		width: mediaContentSlip.width == 328 ? 44 : 0
				visible: width == 44 ? true : false
	    		height: width
	    		anchors.right: location_button.left
	    		anchors.rightMargin: 10
	    		anchors.verticalCenter: parent.verticalCenter
				onClicked: {
					mediaContentSlipOff.start();
					pageStack.push(sendPicture)
				}
			}
To:
Code:
			Button {
	    		id: image_button
	    		iconSource: theme.inverted ? "../common/images/image-white.png" : "../common/images/image.png"
	    		width: mediaContentSlip.width == 328 ? 44 : 0
				visible: width == 44 ? true : false
	    		height: width
	    		anchors.right: video_button.left
	    		anchors.rightMargin: 10
	    		anchors.verticalCenter: parent.verticalCenter
	    		onClicked: {
					mediaContentSlipOff.start();
					pageStack.push(sendPicture)
				}		
			}	
			Button {
				id: video_button
				iconSource: theme.inverted ? "../common/images/video-white.png" : "../common/images/video.png"
	    		width: mediaContentSlip.width == 328 ? 44 : 0
				visible: width == 44 ? true : false
	    		height: width
	    		anchors.right: audio_button.left
	    		anchors.rightMargin: 10
	    		anchors.verticalCenter: parent.verticalCenter
	    		onClicked: {
					mediaContentSlipOff.start();
					pageStack.push(sendVideo)
				}
			}

			Button {
				id: audio_button
				iconSource: theme.inverted ? "../common/images/audio-white.png" : "../common/images/audio.png"
	    		width: mediaContentSlip.width == 328 ? 44 : 0
				visible: width == 44 ? true : false
	    		height: width
	    		anchors.right: location_button.left
	    		anchors.rightMargin: 10
	    		anchors.verticalCenter: parent.verticalCenter
				onClicked: {
					mediaContentSlipOff.start();
					pageStack.push(sendAudio)
				}
			}
 

The Following 6 Users Say Thank You to nicodonte For This Useful Post: