Disconnect from facebook manually.

Added a button to disconnect from facebook.
This clears the webview cookies so it correctly
disconnects us from facebook, and clears the
access token.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-12-23 19:29:00 -02:00 committed by Dirk Hohndel
parent cc69e6ffa2
commit a7e148c0a8
3 changed files with 43 additions and 7 deletions

View file

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>562</width>
<width>924</width>
<height>718</height>
</rect>
</property>
@ -972,7 +972,7 @@
</layout>
</widget>
<widget class="QWidget" name="page_6">
<layout class="QHBoxLayout" name="horizontalLayout_10">
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="QWebView" name="facebookWebView">
<property name="url">
@ -982,6 +982,13 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnDisconnectFacebook">
<property name="text">
<string>Disconnect from facebook</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>