URI: 
       tkivy: add title to do_share - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 362e4be6f0b00bfaf6da8f5d5db6ea0b72377163
   DIR parent 7c42957a7ce492cdd99031a28335966288158aa7
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu, 16 Jun 2016 09:47:31 +0200
       
       kivy: add title to do_share
       
       Diffstat:
         M gui/kivy/main_window.py             |       4 ++--
         M gui/kivy/uix/dialogs/create_restor… |       2 +-
         M gui/kivy/uix/screens.py             |       2 +-
       
       3 files changed, 4 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py
       t@@ -346,7 +346,7 @@ class ElectrumWindow(App):
                activity.bind(on_activity_result=on_qr_result)
                integrator.initiateScan()
        
       -    def do_share(self, data):
       +    def do_share(self, data, title):
                if platform != 'android':
                    return
                from jnius import autoclass, cast
       t@@ -358,7 +358,7 @@ class ElectrumWindow(App):
                sendIntent.putExtra(Intent.EXTRA_TEXT, JS(data))
                PythonActivity = autoclass('org.renpy.android.PythonActivity')
                currentActivity = cast('android.app.Activity', PythonActivity.mActivity)
       -        it = Intent.createChooser(sendIntent, cast('java.lang.CharSequence', JS("Share Bitcoin Request")))
       +        it = Intent.createChooser(sendIntent, cast('java.lang.CharSequence', JS(title)))
                currentActivity.startActivity(it)
        
            def build(self):
   DIR diff --git a/gui/kivy/uix/dialogs/create_restore.py b/gui/kivy/uix/dialogs/create_restore.py
       t@@ -587,7 +587,7 @@ class ShowXpubDialog(WizardDialog):
                self.app._clipboard.copy(self.xpub)
        
            def do_share(self):
       -        self.app.do_share(self.xpub)
       +        self.app.do_share(self.xpub, _("Master Public Key"))
        
            def do_qr(self):
                from qr_dialog import QRDialog
   DIR diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py
       t@@ -358,7 +358,7 @@ class ReceiveScreen(CScreen):
        
            def do_share(self):
                uri = self.get_URI()
       -        self.app.do_share(uri)
       +        self.app.do_share(uri, _("Share Bitcoin Request"))
        
            def do_copy(self):
                uri = self.get_URI()