Summary Files Commits Branches @commit @diff @stats
path: root / config.h
diff options
context:
space:
mode:
Commitacde5dfc614ee549b5c1f0119c7e3c8c777c4a82 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-07-08 07:42:06 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-07-08 07:42:06 +0200
Files7a84d999ef7e84a8dc40293f7affb068ba01a2b6 /config.h
goodwolf-1.0.1.tar
goodwolf-1.0.1.tar.gz
goodwolf-1.0.1.zip
Parenta49df8ad9869a47a10138738b38fd0ffdb95e402 (diff)
Parentdf18b8d0a3a0634e18b518e9cfc21fd8f4ea7908 (diff)
Merge branch 'release-1.0' into missy for 1.0.1 v1.0.1
Fixes ------- - Support for relative paths as command line arguments - Downloads tab: no longer resizes the main window - Manpage: Syntax is now correct, unbreaking GNU groff formatting. Changes ------- - When an user requests as new tab (ctrl-t, new tab button), switch to it - Downloads tab: A scrollable list view is used instead of a stack of labels
1 files changed, 11 insertions, 0 deletions
-rw-r--r--config.h11
diff --git a/config.h b/config.h
index d963cb6..8426ce3 100644
--- a/config.h
+++ b/config.h
@@ -93,4 +93,15 @@
*/
#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 */