From: Peng Huang Date: Thu, 5 Jan 2012 20:11:14 +0000 (-0500) Subject: Execute ibus-setup in panel correctly X-Git-Tag: 1.4.99.20121006~86^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2872ba0f68bc960668eddabd00c39529235919d6;p=platform%2Fupstream%2Fibus.git Execute ibus-setup in panel correctly --- diff --git a/ui/gtk3/panel.vala b/ui/gtk3/panel.vala index da122b7..b00f551 100644 --- a/ui/gtk3/panel.vala +++ b/ui/gtk3/panel.vala @@ -214,7 +214,7 @@ class Panel : IBus.PanelService { m_setup_pid = 0; } - string binary = GLib.Path.build_path(BINDIR, "ibus-setup", null); + string binary = GLib.Path.build_filename(BINDIR, "ibus-setup"); try { GLib.Process.spawn_async(null, {binary, "ibus-setup"}, @@ -223,7 +223,7 @@ class Panel : IBus.PanelService { null, out m_setup_pid); } catch (GLib.SpawnError e) { - warning("Execute %s failed!", binary); + warning("Execute %s failed! %s", binary, e.message); m_setup_pid = 0; }