summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2012-01-05 15:11:14 -0500
committerPeng Huang <shawn.p.huang@gmail.com>2012-02-21 11:51:53 -0500
commit2872ba0f68bc960668eddabd00c39529235919d6 (patch)
tree9d5813df578f4d76c82f456903eb5651e24a2d67 /ui
parent866efc43a4ae8a91956fe1d9d252eb5963d3170a (diff)
downloadibus-2872ba0f68bc960668eddabd00c39529235919d6.tar.gz
Execute ibus-setup in panel correctly
Diffstat (limited to 'ui')
-rw-r--r--ui/gtk3/panel.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk3/panel.vala b/ui/gtk3/panel.vala
index da122b79..b00f551e 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;
}