mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 02:22:36 +02:00
add themes XDG support
- fix is_xdg_supported() not being in common.h - themes are now loaded from $XDG_DATA_HOME, if and only if xdg paths are being used
This commit is contained in:
parent
e6b9a07f9a
commit
dad31bdfde
4 changed files with 20 additions and 8 deletions
|
|
@ -55,9 +55,11 @@ int g_input_add(GIOChannel *source, int condition,
|
|||
int g_input_add_full(GIOChannel *source, int priority, int condition,
|
||||
GInputFunction function, void *data);
|
||||
|
||||
/* return full path for ~/.irssi */
|
||||
/* return if xdg is being used */
|
||||
int is_xdg_supported();
|
||||
/* return full path for irssi folder */
|
||||
const char *get_irssi_dir(void);
|
||||
/* return full path for ~/.irssi/config */
|
||||
/* return full path for irssi config */
|
||||
const char *get_irssi_config(void);
|
||||
|
||||
/* max. size for %d */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue