From 6cc8f7afc1e64a2fc24b7b312b785843dadc98a3 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Mon, 21 Sep 2015 08:09:22 +0200 Subject: [PATCH] Fix method calls. --- lib/qasim/gui.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/qasim/gui.rb b/lib/qasim/gui.rb index a874b8b..36bf87c 100644 --- a/lib/qasim/gui.rb +++ b/lib/qasim/gui.rb @@ -81,8 +81,8 @@ module Qasim def action_trigger_map_item map, item @connect_error[map.path] = Set.new @connect_running[map.path] = 0 - method = if map.connected? then :disconnect - else :connect + method = if map.mounted? then :umount + else :mount end begin @@ -247,7 +247,7 @@ module Qasim # # def run - Process.daemon(false) #FIXME: add foreground mode too + #Process.daemon(false) #FIXME: add foreground mode too lock_set @app.exec exit 0