summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-18 19:17:32 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-18 19:17:32 -0800
commit9295b3aa3742ea3af4427de831af58ed2a268c9b (patch)
tree6af21d7fdda3158db8b1db50de847b2ed4b3e491 /desktop-widgets/mainwindow.ui
parentca5b751610e1928eb1211622035390bd38dd32bf (diff)
downloadsubsurface-9295b3aa3742ea3af4427de831af58ed2a268c9b.tar.gz
Add menu entry for creating GPS location
And disable it if there is no satellite based location service (but see the comment in the previous commit - this doesn't appear to work reliably). Nothing happens when you use the menu entry. This just allows us to hook this up later. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/mainwindow.ui')
-rw-r--r--desktop-widgets/mainwindow.ui7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop-widgets/mainwindow.ui b/desktop-widgets/mainwindow.ui
index c62e1df7f..724c83657 100644
--- a/desktop-widgets/mainwindow.ui
+++ b/desktop-widgets/mainwindow.ui
@@ -92,6 +92,8 @@
<addaction name="copy"/>
<addaction name="paste"/>
<addaction name="separator"/>
+ <addaction name="add_GPS_location_here"/>
+ <addaction name="separator"/>
<addaction name="actionRenumber"/>
<addaction name="actionAutoGroup"/>
<addaction name="separator"/>
@@ -738,6 +740,11 @@
<string>Facebook</string>
</property>
</action>
+ <action name="add_GPS_location_here">
+ <property name="text">
+ <string>Add GPS location here</string>
+ </property>
+ </action>
</widget>
<customwidgets>
<customwidget>