From 9da92ad4e8085fa503726b64524ff54be5fe6cb3 Mon Sep 17 00:00:00 2001 From: Ignacio ROdríguez Date: Tue, 14 May 2013 16:22:19 +0000 Subject: Now stop button work. --- diff --git a/activity/activity.info b/activity/activity.info index b595144..4341868 100755 --- a/activity/activity.info +++ b/activity/activity.info @@ -1,6 +1,6 @@ [Activity] name = VncLauncher -activity_version = 7 +activity_version = 8 bundle_id = org.laptop.VncLauncher exec = sugar-activity vnclauncher.VncLauncherActivity icon = activity-vnclauncher diff --git a/vnclauncher.py b/vnclauncher.py index 7e99d47..5eefe09 100755 --- a/vnclauncher.py +++ b/vnclauncher.py @@ -108,7 +108,7 @@ class VncLauncherActivity(activity.Activity): def stopVNC(self,button): - cmd = "kill" + commands.getoutput('pidof x11vnc') + cmd = "kill " + commands.getoutput('pidof x11vnc') self._vte.fork_command(cmd) def connectVNC(self,button): -- cgit v0.9.1