Ignore GPM_DRAG mouse event above or below dropped down menu.
Also fixed handling of click events.
Minor optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 380_bw_colors_and_frames:
misc/skins/Makefile.am: Add skin files into EXTRA_DIST list.
Trinvial refactoring: changed order of color definitions.
Modified color of dialog hotkeys.
Fixed menu colors for BW mode.
Ticket #380: fix of menu colors in BW mode and pseudo-graphics symbols.
Added check for result of
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.6], [glib_found=yes], [:])
Now if glib not found or if glib have version less than 2.6 configure script
will exit with error message.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Dialog width calcualtion is based on each dialog widget width.
Updated russian translation (for 'Find all' button).
Thanks a lot to David Martin.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 380_skins:
Added new installed files into mc.spec.in
Added Russian and English docs for skins.
Add octets into array of lines instread of utf-8 string.
Reidentation of code and changes for compile with CFLAGS="-pedantic -Wall -Wextra -Werror -Wno-long-long"
Continue development of skins
continue develop of skins.
Add handle '-b' command line option.
Box lines drawing. Now reading from skins. With ncurses don't work!
Add hardcoded skins.
Base support of skins.
* Compile with option --with-screen=ncurses
* Added default init of colors (if color description is null)
* Renamed some color pairs. All static color pairs now cached.
* Fix cursor show in panel over selected files in b&w color scheme.
* Fix editor highlight
* Handle old-style colors definitions.
* Fix showing box lines in onebyte codepages.
* Fix segfault with:
* mc -C 'menu=blue,white:'
* Fix reading of color backgrounds from old-style color definition strings.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* Fixed typos.
* Added ACS_PLUS char and related stuff.
* Changed order of colors.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* Fixed pseudo-graphics drawing for S-Lang library and 8-bit locale.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* Increase number of reading butes by one for better analyzation of compression type.
* Add recognize lzma archive by extention.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Since ~beginning of August mc does not enter .tar.xz archives,
it just prints the error message:
"Hmm,... aaa.tar.xz doesn't look like a tar archive."
The version of Jul 28 works with .tar.xz archives.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
fix: segfault mcviev in case when the source_codepage is not equal to the display_codepage.
refactoring: some code optimization.
Signed-off-by: Ilia Maslakov <il.smind@google.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 1552_nonstd_button_location:
Changes for lines length less than 100.
Fixed button locations in 'Sort order' dialog.
Refactoring of src/boxes.c.
Fixed button locations in 'Listing mode' dialog.
Ticked #1552: fixed non-standard button location in dialogs.
First step: refactoring of WButton widget API.
(button_len): renamed to button_get_len and made global.
(button_get_text): const argument.
Removed trailing spaces.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>