diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-09-16 16:43:01 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-16 21:16:58 -0700 |
commit | d59e89e569b732661633424fcf19f09e95b936fe (patch) | |
tree | 738d09dfd413ba279ada2a05a88eba5a031efcdf /qt-ui/mainwindow.ui | |
parent | e945134cc48315dfbe462051d9facd1543779e2c (diff) | |
download | subsurface-d59e89e569b732661633424fcf19f09e95b936fe.tar.gz |
Make Facebook more user friendly
The current way that facebook works is terrible: it's scattered
around tons of files ( at least 4 different files and classes )
this moves things around a bit, add a disconnect button that
was missing, cleans tons of code and fix inconsistencies.
I will also redo this part for 5.0, but it's too late for 4.5
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r-- | qt-ui/mainwindow.ui | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index 8ecdc13ac..5e3200cfc 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -15,16 +15,7 @@ <property name="spacing"> <number>0</number> </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>0</number> </property> <item> @@ -62,7 +53,7 @@ <x>0</x> <y>0</y> <width>861</width> - <height>29</height> + <height>23</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -146,11 +137,19 @@ <string>&Edit</string> </property> </widget> + <widget class="QMenu" name="menuShare_on"> + <property name="title"> + <string>Share on</string> + </property> + <addaction name="separator"/> + <addaction name="actionFacebook"/> + </widget> <addaction name="menuFile"/> <addaction name="menu_Edit"/> <addaction name="menuImport"/> <addaction name="menuLog"/> <addaction name="menuView"/> + <addaction name="menuShare_on"/> <addaction name="menuHelp"/> </widget> <action name="actionNew"> @@ -735,6 +734,11 @@ <string>Dive Site &Edit</string> </property> </action> + <action name="actionFacebook"> + <property name="text"> + <string>Facebook</string> + </property> + </action> </widget> <customwidgets> <customwidget> |