mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
show initial nick and name on first start
This commit is contained in:
parent
7e619ed990
commit
b0fa4dd46d
8 changed files with 85 additions and 26 deletions
|
|
@ -55,6 +55,7 @@ pkginc_fe_common_core_HEADERS = \
|
|||
fe-exec.h \
|
||||
fe-messages.h \
|
||||
fe-queries.h \
|
||||
fe-settings.h \
|
||||
fe-tls.h \
|
||||
formats.h \
|
||||
hilight-text.h \
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#include "misc.h"
|
||||
#include "lib-config/iconfig.h"
|
||||
#include "settings.h"
|
||||
|
||||
#include "fe-settings.h"
|
||||
#include "levels.h"
|
||||
#include "printtext.h"
|
||||
#include "keyboard.h"
|
||||
|
|
@ -41,6 +41,11 @@ static void set_print(SETTINGS_REC *rec)
|
|||
g_free(value);
|
||||
}
|
||||
|
||||
void fe_settings_set_print(const char *key)
|
||||
{
|
||||
set_print(settings_get_record(key));
|
||||
}
|
||||
|
||||
static void set_print_pattern(const char *pattern)
|
||||
{
|
||||
GSList *sets, *tmp;
|
||||
|
|
|
|||
6
src/fe-common/core/fe-settings.h
Normal file
6
src/fe-common/core/fe-settings.h
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef __FE_CHANNELS_H
|
||||
#define __FE_CHANNELS_H
|
||||
|
||||
void fe_settings_set_print(const char *key);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue