[gnome-builder/wip/greeter] greeter: bind description project info to label
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/greeter] greeter: bind description project info to label
- Date: Sun, 10 May 2015 18:47:02 +0000 (UTC)
commit b231770166398f9af90b4c4b28fd68ba2bc123d8
Author: Christian Hergert <christian hergert me>
Date: Sun May 10 11:46:41 2015 -0700
greeter: bind description project info to label
data/ui/gb-greeter-project-row.ui | 2 ++
src/greeter/gb-greeter-project-row.c | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/gb-greeter-project-row.ui b/data/ui/gb-greeter-project-row.ui
index 4ba5ca0..e48200a 100644
--- a/data/ui/gb-greeter-project-row.ui
+++ b/data/ui/gb-greeter-project-row.ui
@@ -41,6 +41,8 @@
</child>
<child>
<object class="GtkLabel" id="description_label">
+ <property name="single-line-mode">true</property>
+ <property name="ellipsize">end</property>
<property name="valign">baseline</property>
<property name="visible">true</property>
<property name="xalign">0.0</property>
diff --git a/src/greeter/gb-greeter-project-row.c b/src/greeter/gb-greeter-project-row.c
index 5a001fe..540c663 100644
--- a/src/greeter/gb-greeter-project-row.c
+++ b/src/greeter/gb-greeter-project-row.c
@@ -217,8 +217,5 @@ gb_greeter_project_row_init (GbGreeterProjectRow *self)
humanize_date_time, NULL, NULL, NULL);
egg_binding_set_bind_full (self->bindings, "directory", self->location_label, "label", 0,
truncate_location, NULL, NULL, NULL);
-#if 0
- egg_binding_set_bind (self->bindings, "directory", self->location_label, "label", 0);
egg_binding_set_bind (self->bindings, "description", self->description_label, "label", 0);
-#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]