Ticket #4039 (new defect)

Opened 7 days ago

Last modified 5 days ago

Bool vs. int inconsistency in config files

Reported by: egmont Owned by:
Priority: minor Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc:
Blocked By: #3997 Blocking:
Branch state: no branch Votes for changeset:

Description

Up until 3 years ago (commit c4550374b2c and a few followup ones) mc used to store config file entries like

shell_patterns=1

but then it was changed to

shell_patterns=true

The switch was incomplete, the "[Layout]" section still contains integers, e.g.:

menubar_visible=1

resulting in an inconsistent use of booleans in the config file.

([HotlistConfig] -> expanded_view_of_groups is also an integer instead of boolean, but see #4038 for that.)

Change History

comment:1 Changed 5 days ago by andrew_b

Done in the 3997_cleanup branch.

comment:2 Changed 5 days ago by andrew_b

  • Blocked By 3997 added
Note: See TracTickets for help on using tickets.