Summary Files Commits Branches @commit @diff @stats
path: root / config.h
diff options
context:
space:
mode:
Commit828e2e38e092a8ccc11a57b66baa14e2291f59e6 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-06-12 01:50:39 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-06-12 01:50:39 +0200
Files5a87a56dc064e1f8c5fd34fddf59c0893716705a /config.h
goodwolf-828e2e38e092a8ccc11a57b66baa14e2291f59e6.tar
goodwolf-828e2e38e092a8ccc11a57b66baa14e2291f59e6.tar.gz
goodwolf-828e2e38e092a8ccc11a57b66baa14e2291f59e6.zip
Parented40d74fdde65134365334b8d0d2b5593c121b89 (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 */