[gnome-boxes] i-props-provider: String props should be selectable
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] i-props-provider: String props should be selectable
- Date: Tue, 7 Jul 2015 16:44:28 +0000 (UTC)
commit 801307e261df367e701fe2ad2c3705080ad4ee66
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Jul 7 16:42:42 2015 +0100
i-props-provider: String props should be selectable
Some of the properties are mainly useful for copy&pasting (e.g if you
want to ssh into a local box so you'll likely want to copy&paste it's
IP address and you can't do that without being able to select it) so
let's make them selectable.
src/i-properties-provider.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/i-properties-provider.vala b/src/i-properties-provider.vala
index 231e4b5..15895a2 100644
--- a/src/i-properties-provider.vala
+++ b/src/i-properties-provider.vala
@@ -150,6 +150,7 @@ private class Boxes.StringProperty : Boxes.Property {
public StringProperty (string name, string value) {
var label = new Gtk.Label (value);
label.halign = Gtk.Align.START;
+ label.selectable = true;
base (name, label, null);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]