* (hline_set_text): new function.
* (file_progress_show_total): use hline_set_text to show processed
files counter.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Added the aspell param 'spell_language' in ini-file.
This allow set spelling language. spell_language=NONE - disable aspell support.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
* 2888_cleanup: (34 commits)
(exec_get_export_variables_ext): use g_new0() for stable test results.
Implement quick and easy disable of xdg-open usage.
Sync with gnulib 40f82767840187c20051ca99385f75a42f92de99.
Add extra checks in macro engine.
Ticket #2935: update uc1541 extfs plug-in up to version 2.5.
(del_widget): fix memory leak.
(editcmd_dialog_replace_prompt_show): fix string truncations.
Portability: rename some str_class members
Portability: ESC_CHAR is defined in /usr/include/langinfo.h in some systems
Cleanup code related to GLib < 2.12.
Portability: use g_ascii_strtoll instead of strtoll, atoll and atof.
Fix crash when user menu is called in editor with no filename.
Keep some edit window parameters during file reloading.
Fix editor crash in "Save as..." command.
Ticket #2841: adjust i18n label sizes in learn key dialog.
Disable the localized output of utilities such as - ls, git, etc..
(add_widget_autopos): don't access to NULL widget.
Parenthesis around some -1.
src/filemanager/mountlist.c: use GLib functions to allocate/free memory.
Sync with gnulib 613bcb6205cf2b64d835c19074c5a7e7c6cb99eb
...
mountlist: recognize more "dummy" file systems
* src/filenamager/mountlist.c (ME_DUMMY_0):
Add these dummy FS names to the list:
- "debugfs" virtual filesystem for kernel debugging
- "devpts" PTY slave filesystem
- "devtmpfs" device filesystem on top of tmpfs/ramfs
- "fusectl" control filesystem for FUSE
- "mqueue" enumerates POSIX message queues
- "rpc_pipefs" kernel <-> userspace bridge for NFS
- "sysfs" is for exporting kernel objects
- "devfs" device filesystem for Linux 2.4 and FreeBSD
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
...to avoid conflict with global names.
On HP-UX, inttypes.h includes ctype.h through other dependencies, ctype.h
defines macros for various functions and these macros clash with entries
of "struct str_class".
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(mc_search): immediately return FALSE if str is NULL.
(mc_search_run): immediately return FALSE if user_data is NULL.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Learn keys dialogue shows "smaller buttons" when localized key names
include special chars (as the "á" in "Avanzar página" for es_ES locale).
"%Ns" formats for g_snprintf are not reliable for multibyte encodings.
For larger buttons (> 16 characters), padding size must be zero.
Thanks David Martin for the original patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
...and ab7a2b67b48deb4c253b3b6bd983690d71515265.
* src/filemanager/mountlist: do not classify a bind-mounted dir entry
as "dummy".
(ME_DUMMY_0): Rename from ME_DUMMY, but omit the "none"-testing clause.
(ME_DUMMY) [MOUNTED_GETMNTENT1]: New macro to encapsulate the exception
for bind-mounted directories.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>