From 929f4cb63ede24120701b45f5cbace826a243fc2 Mon Sep 17 00:00:00 2001
From: Antoine Fontaine <antoine.fontaine@epfl.ch>
Date: Mon, 12 Aug 2019 10:00:46 +0200
Subject: [PATCH] Better document a workaround

---
 src/gui-window.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gui-window.c b/src/gui-window.c
index 7fef956..da31af0 100644
--- a/src/gui-window.c
+++ b/src/gui-window.c
@@ -220,7 +220,9 @@ update_courses (GuiWindow *self)
                           self->courses[i].name);
   }
 
-  // ellipsize the labels
+  // ellipsize the labels, this is a workaround.
+  // See https://source.puri.sm/Librem5/libhandy/issues/118 for the bug report
+  // and https://gitlab.gnugen.ch/afontain/moodle/issues/20
   GtkWidget *scrolled_win = gtk_bin_get_child (GTK_BIN (self->sidebar));
   GtkWidget *viewport     = gtk_bin_get_child (GTK_BIN (scrolled_win));
   GtkWidget *label_list   = gtk_bin_get_child (GTK_BIN (viewport));
-- 
GitLab