[dconf] dconf cli: insert space after key completion
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] dconf cli: insert space after key completion
- Date: Thu, 5 May 2011 12:14:04 +0000 (UTC)
commit 7e973da6e7ba386bba18680983cce6381958a4fb
Author: Ryan Lortie <desrt desrt ca>
Date: Thu May 5 14:13:27 2011 +0200
dconf cli: insert space after key completion
bin/dconf.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bin/dconf.vala b/bin/dconf.vala
index 1b5b1ff..1509d92 100644
--- a/bin/dconf.vala
+++ b/bin/dconf.vala
@@ -222,7 +222,7 @@ void dconf_complete (string[] args) throws Error {
var full_item = dir + item;
if (full_item.has_prefix (path) && item.has_suffix (suffix)) {
- print ("%s\n", full_item);
+ print ("%s%s\n", full_item, full_item.has_suffix ("/") ? "" : " ");
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]