Commit Graph

3045 Commits

Author SHA1 Message Date
Pavel Roskin
bb65545428 * autogen.sh: Use gettextize.
* ABOUT-NLS: Remove from CVS, it's installed by autogen.sh.
* po/Makefile.in.in: Likewise.
2001-07-31 18:25:23 +00:00
Pavel Roskin
05fc61d657 Use environment variables for most used programs.
Run gettextize.  Restore po/ChangeLog atfer that.
Parse gettextize output to copy gettext macros to gettext.m4.
2001-07-31 18:05:26 +00:00
Pavel Roskin
27d0af32c6 * Makefile.in: "install" now depends on "all".
Reported by Walery Studennikov <despair@sama.ru>
2001-07-31 15:24:15 +00:00
Andrew V. Samoilov
4e15f75f32 * complete.c (command_completion_function): Don't stop $PATH
processing on empty entry. Interpret it as current directory.
2001-07-31 15:21:28 +00:00
Andrew V. Samoilov
d83a8e7b5e * find.c (find_parameters): Fix hotkeys duplication. 2001-07-31 12:18:07 +00:00
Andrew V. Samoilov
d9fb8565c0 * menu.c (create_menu): Don't localize name, it is always done. 2001-07-31 11:15:46 +00:00
Andrew V. Samoilov
8611daeb0c * widget.[ch] (label_new): Make text parameter const. 2001-07-31 11:04:21 +00:00
Andrew V. Samoilov
78dbe61c6a * util.c [!HAVE_X] (is_printable): Don't duplicate declarations from
main.h.
(load_file): Use fopen and fstat to prevent race conditions.
(size_trunc): Make suffix const array.
(strip_password): Make prefixes const array.
(file_date): Make fmt auto variable.
2001-07-31 10:38:15 +00:00
Andrew V. Samoilov
24385045ce * color.c (color_table): Make constant array. 2001-07-31 10:32:50 +00:00
Marco Ciampa
a9b349283c 1 message traslated & old msgs cleanup 2001-07-31 10:25:29 +00:00
Pavel Roskin
2a6be49822 * charsets.c: Warning fixes.
* charsets.h: Likewise.
* selcodepage.c: Likewise.
* selcodepage.h: Likewise.
2001-07-31 05:54:39 +00:00
Pavel Roskin
1ae4e4e1cb * Makefile.in: Move most logic around gindex.pl into gindex.pl.
Don't use maintainer-only rules since mc.hlp won't be removed
now if perl is missing or gindex.pl fails.
* gindex.pl: Run man2hlp internally.  Use files given as
arguments instead of stdin and stdout.
2001-07-31 05:25:30 +00:00
Pavel Roskin
a6f868a6cf * mad.c: Don't use g_calloc - it's missing in glib 1.2.x.
* mad.h: Likewise.  Use mad_alloc0() to emulate calloc().
2001-07-30 20:43:20 +00:00
Pavel Roskin
12018b03a6 * gmain.h: Fix declaration of gnome_init_panels(). 2001-07-30 15:45:00 +00:00
Pavel Roskin
506634318f * view.h: Simplify, respect WANT_WIDGETS setting. 2001-07-30 15:43:42 +00:00
Stanislav Brabec
b29f6f9b59 czech translation update 2001-07-29 21:52:13 +00:00
Pavel Roskin
f7c5a5fea2 * syntax.c (syntax_text): Add support for S-Lang. 2001-07-29 14:52:05 +00:00
Pavel Roskin
61128e5858 * syntax/slang.syntax: New file.
From Walery Studennikov <despair@sama.ru>
* syntax/Makefile.am: Add slang.syntax.
2001-07-29 14:49:18 +00:00
Pavel Roskin
8f09a060e0 * gmain.c (x_init_dlg): Don't install handler for "delete_event"
if DLG_GNOME_APP flag is set.
* gview.c (gview_quit): Check view_ok_to_quit().
(quit_view): Likewise.
2001-07-29 02:32:30 +00:00
Pavel Roskin
813cf40ac4 * view.c (view_ok_to_quit): Make global - it's needed for GMC.
* view.h: Declare view_ok_to_quit().
2001-07-29 02:08:40 +00:00
Pavel Roskin
854918c1f8 * editcmd.c (menu_save_mode_cmd): Resurrect i18n code lost in
the last resync with Cooledit.
Reported by David Martin <dmartina@excite.es>
2001-07-28 14:52:05 +00:00
Pavel Roskin
bcb919b457 * gtkedit.c (gtk_edit_delete_cb): Handler for "delete_event".
(edit): Connect it.
2001-07-28 06:50:02 +00:00
Pavel Roskin
054b273045 * gmc-chargrid.c: Try 14-point clean and monospaced fonts
before resorting to "fixed".
2001-07-27 23:47:25 +00:00
Pavel Roskin
33fdf19ded * gfind.c (find_file): Add missing break. 2001-07-27 23:29:41 +00:00
Andraz Tori
bfc98d29d7 Updated Slovenian translation 2001-07-27 22:08:59 +00:00
Pavel Roskin
70fa991882 * util.c [!USE_VFS] (get_current_wd): Resurrect, this time using
g_get_current_dir().
2001-07-27 21:20:43 +00:00
Pavel Roskin
e642a22c53 Quick fix for the previous commit - use && instead of ||. 2001-07-27 21:16:30 +00:00
Pavel Roskin
babf238550 * edit.c: Fix include. 2001-07-27 21:10:42 +00:00
Pavel Roskin
97af90af3c * background.h: Remove WITH_BACKGROUND, it's now in extraconf.h.
* background.c: Use WITH_BACKGROUND instead of USE_NETCODE.
2001-07-27 20:36:22 +00:00
Pavel Roskin
d1693c3d39 * extraconf.h: Move WITH_BACKGROUND here. 2001-07-27 20:34:04 +00:00
Pavel Roskin
7f0c460355 * gdesktop.c (desktop_create_url): Accept new parameter
is_template.  Use mc_mkstemps() is it's TRUE.  Change all
callers.
* gcmd.c (gnome_new_link): Don't calculate the filename, trust
desktop_create_url() to do it.
* gdnd.c (drop_url_on_directory): Likewise.  Add support for
drag and drop from Mozilla.
2001-07-27 19:38:31 +00:00
Pavel Roskin
b4be52ba78 * util.c (mc_mkstemps): Don't prepend $TMPDIR if prefix contains
path separator.
2001-07-27 19:27:09 +00:00
Pavel Roskin
e447c7e10e Update. 2001-07-27 00:15:54 +00:00
Pavel Roskin
6db8e6158c * gfind.c (get_list_info): Get row number as argument. Return
boolean - FALSE if cannot find the row.  Calculate line number.
Change all callers.
(find_do_view_edit): Simplify.  Get line number as argument.
(find_do_view): Close the dialog because it's modal and prevents
user from interacting with other windows.
(find_do_edit): Likewise.
(setup_gui): Enable panelize button.  Improve look.
(find_panelize): New function.  Implement panelize.
(find_file): Add support for view, edit and panelize commands.
(do_find): Likewise.  Simplify.
(add_to_list): Block "select_row" signal until data is set.
2001-07-26 23:32:54 +00:00
Pavel Roskin
b734c85b0a * gfind.c (GFindDlg): Add last_dir_row field for the last
directory row.
(add_to_list): Last argument is now boolean, FALSE for files,
TRUE for directories.  Change all callers.  Use item data for
the row of the last directory.
(select_row): Enable `view' and `edit' buttons for files only,
`change' button for all entries.
(setup_gui): Set selection mode to GTK_SELECTION_BROWSE.  Make
`change' button inactive.  Don't hide `view' and `edit' buttons.
(get_list_info): Look up directory using list item data.
2001-07-26 19:49:11 +00:00
Abel Cheung
9456612686 Update/cleanup zh_TW.Big5.po to follow version 4.5.54a. 2001-07-26 19:16:19 +00:00
Pavel Roskin
67dbee53ed * gfind.c (find_parameters): Fix behavior of the Enter key.
Select initial values in the text entries.
2001-07-26 17:56:07 +00:00
Pavel Roskin
f0beaa4ed7 * cmd.c (do_link): Append filename to the default symlink
target.  Don't add path separator if there is no listing on
the other panel.  Avoid using fixed size buffers.
From Max Schedriviy <max@tavrida.net>
2001-07-26 15:47:19 +00:00
Pavel Roskin
11fd4abc0e * main.c [HAVE_X]: Disable eight_bit_clean and full_eight_bits.
* util.c (is_printable) [HAVE_X]: Simplify.
2001-07-26 05:01:26 +00:00
Pavel Roskin
b900848aaa * cmd.c (do_link): Simplify. Don't silently exit if the source
file is not regular - let user see the error if any.
2001-07-25 22:42:23 +00:00
Pavel Roskin
6a7a2252a3 * glayout.c (create_new_menu): Calculate last position in the
menu before using it.
2001-07-25 18:27:42 +00:00
Stanislav Visnovsky
dd37702f56 2001-07-25 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
2001-07-25 12:18:20 +00:00
Pavel Roskin
3543e015f4 * gutil.c: Remove broken child management.
(my_system): Fix file modes for standard descriptors.
2001-07-24 23:07:26 +00:00
Pavel Roskin
b502ddc39f * glayout.c (create_new_menu): Use fixed meny position instead
of gnome_app_find_menu_pos() - the later is not reliable and
breaks in many locales.
2001-07-24 20:01:40 +00:00
Pavel Roskin
b9714dad8e Add stamp-h? 2001-07-24 18:10:55 +00:00
Stanislav Brabec
edff4f6a03 czech translation update 2001-07-24 17:14:17 +00:00
Pavel Roskin
93f54c5c1b * achown.c (ch_perm): Make constant array.
(chown_info_update): Use set_perm_by_flags(), not set_perm().
(set_perm): Remove.
2001-07-24 16:16:13 +00:00
Pavel Roskin
3c511e8c08 * doc/mc.1.in: Quote all section headers. Minor formatting fix. 2001-07-24 15:18:29 +00:00
Pavel Roskin
159b4aa1ef * achown.c: Make all global variables static. Fix help.
* complete.c: Likewise.
* chmod.c: Make all global variables static.
* chown.c: Likewise.
* chmod.h: Remove all variables.
2001-07-24 15:04:21 +00:00
Pavel Roskin
fd895e3759 * user.c: Eliminate static variable s_editwidget. Pass
edit_widget as argument.  All callers changed.
(expand_format): Fix expansion of %n and %b for the editor.
* util.c: Remove dead code.
2001-07-23 22:50:54 +00:00