/[weechat]/weechat/src/common/weeconfig.c
ViewVC logotype

Diff of /weechat/src/common/weeconfig.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.87 by flashcode, Fri Oct 28 13:07:32 2005 UTC revision 1.88 by flashcode, Sun Oct 30 09:56:25 2005 UTC
# Line 72  char *cfg_look_charset_decode_iso; Line 72  char *cfg_look_charset_decode_iso;
72  char *cfg_look_charset_decode_utf;  char *cfg_look_charset_decode_utf;
73  char *cfg_look_charset_encode;  char *cfg_look_charset_encode;
74  char *cfg_look_charset_internal;  char *cfg_look_charset_internal;
75    int cfg_look_one_server_buffer;
76  char *cfg_look_buffer_timestamp;  char *cfg_look_buffer_timestamp;
77  int cfg_look_color_nicks;  int cfg_look_color_nicks;
78  int cfg_look_color_nicks_number;  int cfg_look_color_nicks_number;
# Line 133  t_config_option weechat_options_look[] = Line 134  t_config_option weechat_options_look[] =
134      N_("forces internal WeeChat charset (should be empty in most cases, that means detected charset is used)"),      N_("forces internal WeeChat charset (should be empty in most cases, that means detected charset is used)"),
135      OPTION_TYPE_STRING, 0, 0, 0,      OPTION_TYPE_STRING, 0, 0, 0,
136      "", NULL, NULL, &cfg_look_charset_internal, config_change_charset },      "", NULL, NULL, &cfg_look_charset_internal, config_change_charset },
137      { "look_one_server_buffer", N_("use same buffer for all servers"),
138        N_("use same buffer for all servers"),
139        OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_FALSE,
140        NULL, NULL, &cfg_look_one_server_buffer, NULL, config_change_one_server_buffer },
141    { "look_buffer_timestamp", N_("timestamp for buffers"),    { "look_buffer_timestamp", N_("timestamp for buffers"),
142      N_("timestamp for buffers"),      N_("timestamp for buffers"),
143      OPTION_TYPE_STRING, 0, 0, 0,      OPTION_TYPE_STRING, 0, 0, 0,
# Line 241  int cfg_col_chat_time; Line 246  int cfg_col_chat_time;
246  int cfg_col_chat_time_sep;  int cfg_col_chat_time_sep;
247  int cfg_col_chat_prefix1;  int cfg_col_chat_prefix1;
248  int cfg_col_chat_prefix2;  int cfg_col_chat_prefix2;
249    int cfg_col_chat_server;
250  int cfg_col_chat_join;  int cfg_col_chat_join;
251  int cfg_col_chat_part;  int cfg_col_chat_part;
252  int cfg_col_chat_nick;  int cfg_col_chat_nick;
# Line 320  t_config_option weechat_options_colors[] Line 326  t_config_option weechat_options_colors[]
326      N_("color for middle char of prefix"),      N_("color for middle char of prefix"),
327      OPTION_TYPE_COLOR, 0, 0, 0,      OPTION_TYPE_COLOR, 0, 0, 0,
328      "white", NULL, &cfg_col_chat_prefix2, NULL, &config_change_color },      "white", NULL, &cfg_col_chat_prefix2, NULL, &config_change_color },
329      { "col_chat_server", N_("color for server name"),
330        N_("color for server name"),
331        OPTION_TYPE_COLOR, 0, 0, 0,
332        "brown", NULL, &cfg_col_chat_server, NULL, &config_change_color },
333    { "col_chat_join", N_("color for join arrow (prefix)"),    { "col_chat_join", N_("color for join arrow (prefix)"),
334      N_("color for join arrow (prefix)"),      N_("color for join arrow (prefix)"),
335      OPTION_TYPE_COLOR, 0, 0, 0,      OPTION_TYPE_COLOR, 0, 0, 0,
# Line 1011  config_change_charset () Line 1021  config_change_charset ()
1021  }  }
1022    
1023  /*  /*
1024     * config_change_one_server_buffer: called when the "one server buffer"
1025     *                                  setting is changed
1026     */
1027    
1028    void
1029    config_change_one_server_buffer ()
1030    {
1031        if (cfg_look_one_server_buffer)
1032            gui_merge_servers (gui_current_window);
1033        else
1034            gui_split_server (gui_current_window);
1035    }
1036    
1037    /*
1038   * config_change_color: called when a color is changed by /set command   * config_change_color: called when a color is changed by /set command
1039   */   */
1040    

Legend:
Removed from v.1.87  
changed lines
  Added in v.1.88

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26