[dconf-editor] Be simple, for now.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Be simple, for now.
- Date: Fri, 26 Jan 2018 14:28:25 +0000 (UTC)
commit 57404ff834cbb6bc7998e9015307cee15215c2d3
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Jan 26 15:28:06 2018 +0100
Be simple, for now.
editor/key-list-box-row.vala | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/editor/key-list-box-row.vala b/editor/key-list-box-row.vala
index 6f971c6..8b167ba 100644
--- a/editor/key-list-box-row.vala
+++ b/editor/key-list-box-row.vala
@@ -179,16 +179,14 @@ private class FolderListBoxRow : ClickableListBoxRow
protected override bool generate_popover (ContextPopover popover) // TODO better
{
- Variant variant;
+ Variant variant = new Variant.string (full_name);
if (search_result_mode)
{
- variant = new Variant.string (full_name);
popover.new_gaction ("open_parent", "ui.open-parent(" + variant.print (false) + ")");
popover.new_section ();
}
- variant = new Variant.string (full_name);
popover.new_gaction ("open", "ui.open-folder(" + variant.print (false) + ")");
popover.new_copy_action (get_text ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]