[gitg/gnome-3-20] Hide description label if there is no description
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/gnome-3-20] Hide description label if there is no description
- Date: Wed, 22 Jun 2016 13:43:36 +0000 (UTC)
commit 1e62c10b03cd688dc8ca15690728a45c138effa7
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Sun Jun 5 11:37:30 2016 +0200
Hide description label if there is no description
libgitg/gitg-repository-list-box.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libgitg/gitg-repository-list-box.vala b/libgitg/gitg-repository-list-box.vala
index 57e10d7..1755787 100644
--- a/libgitg/gitg-repository-list-box.vala
+++ b/libgitg/gitg-repository-list-box.vala
@@ -220,7 +220,10 @@ namespace Gitg
}
repository_name = d_repository != null ? d_repository.name : "";
+
d_description_label.label = head_description;
+ d_description_label.visible = head_description != "";
+
branch_name = head_name;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]