Commit Graph

3058 Commits

Author SHA1 Message Date
Pavel Roskin
7e625c9153 * edit/Makefile.in: Allow running "make install" before "make all".
* gtkedit/Makefile.in: Likewise.
2001-08-01 16:17:52 +00:00
Pavel Roskin
c1d46903d7 * Make-mc.in: Make it possible to run "make install" before
"make all".  Use more Automake-compatible target names.
2001-08-01 16:15:22 +00:00
Andrew V. Samoilov
ae7fd2fcd2 (search_dir_entry): Make text parameter const.
(smbfs_get_host_and_username): Make macro.
(my_forget): Fix compilation.
2001-08-01 12:24:35 +00:00
Marco Ciampa
cb7d5d5598 *** empty log message *** 2001-08-01 12:05:49 +00:00
Andrew V. Samoilov
0db7865c82 * smbfs.c: Undefine VERSION to prevent warning. Comments fixes.
(do_connect): Symplify.
(get_stat_info): Symplify. Eliminate another fake_stat.
(smbfs_chdir): Release remote_dir after use.
(smbfs_stat): Likewise. Fix another 2 memory leaks.
(smbfs_mkdir): Release remote_file after use.
(smbfs_rmdir): Likewise.
(smbfs_open): Likewise. Indentation fixes.
(smbfs_unlink): Likewise.
(smbfs_rename): Release rb and ra after use.
2001-08-01 10:40:15 +00:00
Pavel Roskin
36b103997c * lib/edit.spell.rc: New file. Invoke ispell on Ctrl-p in the editor.
* lib/Makefile.am: Add lib/edit.spell.rc.
2001-07-31 22:13:55 +00:00
Pavel Roskin
543d606b49 Add Makefile.in.in. 2001-07-31 21:29:19 +00:00
Pavel Roskin
4d661c0bfc Add ABOUT-NLS. 2001-07-31 21:28:05 +00:00
Pavel Roskin
7dcd162d79 Remove. We now longer ignore any files. 2001-07-31 21:26:43 +00:00
Pavel Roskin
72b756d41b Remove mime-type capplet.
It is now in the "control-center" module, directory capplets/mime-type
2001-07-31 21:25:19 +00:00
Pavel Roskin
ced1d864e8 Add *.cache. 2001-07-31 18:27:52 +00:00
Pavel Roskin
32a5e277ed Add intl. 2001-07-31 18:27:19 +00:00
Pavel Roskin
9e10ade308 Add *.cache, gettext.m4. 2001-07-31 18:26:54 +00:00
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