Summary Files Commits Branches @commit @diff @stats
path: root / config.h
diff options
context:
space:
mode:
Commitc6794979d1bebb5b66f12cf3542223133b20767f (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-06-12 01:50:39 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-06-20 17:34:52 +0200
Filese9886e2a0439f2323414e6376ab4897bd802eb21 /config.h
goodwolf-c6794979d1bebb5b66f12cf3542223133b20767f.tar
goodwolf-c6794979d1bebb5b66f12cf3542223133b20767f.tar.gz
goodwolf-c6794979d1bebb5b66f12cf3542223133b20767f.zip
Parent0b13fde2ed08abc2ddea18df2344b842f9f44b3d (diff)
downloads: Ellipsize destination file path
1 files changed, 12 insertions, 0 deletions
-rw-r--r--config.h12
diff --git a/config.h b/config.h
index d963cb6..14b142c 100644
--- a/config.h
+++ b/config.h
@@ -93,4 +93,16 @@
*/
#define BADWOLF_STATUSLABEL_ELLIPSIZE PANGO_ELLIPSIZE_MIDDLE
+/* BADWOLF_DOWNLOAD_FILE_PATH_ELLIPSIZE: pango ellipsize mode of the download destination path,
+ * can be one of:
+ * - PANGO_ELLIPSIZE_NONE
+ * - PANGO_ELLIPSIZE_START
+ * - PANGO_ELLIPSIZE_MIDDLE
+ * - PANGO_ELLIPSIZE_END
+ *
+ * See https://developer.gnome.org/pango/stable/pango-Layout-Objects.html#PangoEllipsizeMode
+ */
+#define BADWOLF_DOWNLOAD_FILE_PATH_ELLIPSIZE PANGO_ELLIPSIZE_MIDDLE
+
+
#endif /* CONFIG_H_INCLUDED */