mc/lib/mcconfig
Slava Zanko b375236b53 Ticket #2544: search dialog trim spaces
What steps will reproduce the problem?

 * View some text (log) file (F3), or edit (F4).
 * Open search dialog (F7).
 * Enter string starting with space and ending with space (I used " ERROR " without quotes), press Enter
 * Press F7 to open search dialog again.

What is the expected output?
 * Original string in search dialog (" ERROR " without quotes)

What do you see instead?
 * "ERROR " (without leading space!)

What solution?
 * In function mc_config_set_string_raw() use g_key_file_set_string() instead of g_key_file_set_value()
 * change src/learn.c for handle new behavior
 * write some tests for new behavior

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-05-31 18:50:31 +03:00
..
Makefile.am Moved initialization of mc_global.share_data_dir and mc_global.sysconf_dir to library 2011-03-21 23:55:51 +02:00
common.c Removed mc_main_error_quark() function 2011-03-21 23:55:51 +02:00
get.c Remove backlinks from lib to src - move global variables(used in lib) to mc_global structure (see lib/global.c) 2011-03-21 23:55:50 +02:00
paths.c Moved initialization of mc_global.share_data_dir and mc_global.sysconf_dir to library 2011-03-21 23:55:51 +02:00
set.c Ticket #2544: search dialog trim spaces 2011-05-31 18:50:31 +03:00