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
Pavel Roskin
9901b005a6
* doc/mc.1.in: Fix description of mc.lib. Fix broken links.
2001-07-23 21:42:45 +00:00
Pavel Roskin
725f2ac2ec
* setup.c (load_keys_from_section): Give terminal-specific
...
settings preference over settings from [terminal:general].
2001-07-23 19:14:40 +00:00
Stanislav Brabec
a10d12e669
czech translation update
2001-07-22 19:49:32 +00:00
Pavel Roskin
a7937891ea
* setup.c (load_keys_from_section): Give ~/.mc/ini preference
...
over mc.lib.
2001-07-22 06:00:30 +00:00
Pavel Roskin
04b5b06919
* gconf.h: Remove some unused defines.
2001-07-20 22:05:00 +00:00
Pavel Roskin
506273750e
* dlg.c: Remove dependency on definitions in gconf.h.
2001-07-20 16:47:46 +00:00
Pavel Roskin
d866874b24
* widget.c (input_callback) [HAVE_X]: Disable Ctrl-q - it
...
doesn't work.
2001-07-20 16:34:05 +00:00
Pavel Roskin
2dd2dc2182
* file.c (panel_get_file): Use g_assert_not_reached().
...
* key.c (xgetch_second): Make static.
2001-07-20 16:19:28 +00:00
Pavel Roskin
d3b48bfdb2
* gmc-client.c (main): Use translations from the "mc" domain.
2001-07-20 15:27:46 +00:00
Pavel Roskin
b25f5be791
* Make.common.in: Move all defines ...
...
* gnome/Makefile.in: ... here ...
* src/Makefile.in: ... and here.
2001-07-20 15:22:50 +00:00
Pavel Roskin
a1532469cd
* extfs.c (extfs_init) [GTK]: Use mc_home instead of LIBDIR.
...
From Ludovic Drolez <ludovic.drolez@freealter.com>.
2001-07-20 14:50:30 +00:00
Pavel Roskin
72d0112151
* syntax.c (open_include_file) [GTK]: Use mc_home instead of
...
LIBDIR.
2001-07-20 14:45:30 +00:00
Pavel Roskin
2e136f7ec9
* gfind.c (setup_gui): Register destroy handler.
...
(find_destroy): New function. Unregister idle task if needed.
(find_do_chdir): Don't unregister idle task.
(find_do_again): Likewise.
(find_do_panelize): Likewise.
2001-07-20 06:07:27 +00:00
Pavel Roskin
ae5de08b1d
* gfind.c (insert_file) : Join with find_add_match().
...
(find_do_edit): Put g_status_label into a box to work around
what appears to be a bug in gtk-1.2.10.
2001-07-20 05:17:08 +00:00
Pavel Roskin
afe79160ef
* configure.in: Don't check for getwd, it's completely
...
eliminated.
* INSTALL: Remove reference to HAVE_GETWD.
2001-07-20 03:41:50 +00:00
Pavel Roskin
6f8e77f1fb
* editcmd.c (edit_canonicalize_pathname): Don't ever use
...
getwd(), use g_get_current_dir() instead.
2001-07-20 03:38:31 +00:00
Pavel Roskin
48101333b5
* lib/mc.ext.in: Fix opening info pages on VFS. Modernize
...
entries for compressed cpio archives.
2001-07-19 22:15:35 +00:00
Pavel Roskin
24e01579a8
* lib/mc.ext.in: Comment changes. Remove rules for programs -
...
they were only used in obsolete frontends. Don't ever use %view
without commands - it's slower and loses user settings, e.g.
hex mode. Put shared libraries before man pages and read.me
before .me macros so that they match correctly. Use nm for
shared libraries. Add rules for StarOffice and AbiWord.
2001-07-19 21:55:24 +00:00
Pavel Roskin
71620c6a9e
* user.c (check_format_view): Match "unform" instead of
...
"unformated" because some users may spell this word correctly.
2001-07-19 21:25:40 +00:00
Pavel Roskin
27f3c8c8ed
* editoptions.c (edit_options_dialog): Call edit_load_syntax()
...
if user turned syntax highlighting off to unload the rules.
2001-07-19 19:54:45 +00:00
Stanislav Brabec
ef581e8ed9
czech translation update
2001-07-19 13:02:29 +00:00
Pavel Roskin
c19dfa9175
* util.c (get_current_wd): Remove. It's obsoleted by
...
g_get_current_dir() from glib.
2001-07-18 03:49:08 +00:00
Pavel Roskin
613dc4d1ca
* vfs.c (mc_return_cwd): Use g_get_current_dir().
2001-07-18 03:44:38 +00:00
Pavel Roskin
7f952351c0
* gscreen.c (x_fill_panel): Use g_get_current_dir().
2001-07-18 03:42:09 +00:00
Pavel Roskin
ce150c8aa9
* ext.c (exec_extension): Add the `rm' command to the end of
...
temporary scripts so that they erase themselves.
2001-07-18 03:06:57 +00:00
Christian Rose
d75fc658ed
2001-07-18 Christian Rose <menthos@menthos.com>
...
* sv.po: Updated Swedish translation.
2001-07-17 22:13:29 +00:00
Pavel Roskin
9d94a3fbc8
* edit.h [MIDNIGHT]: Declare wedit.
...
* editmenu.c: Remove wedit declaration.
* editoptions.c (edit_options_dialog): Load syntax rules if user
turned syntax highlighting on.
* syntax.c (edit_load_syntax): Don't load rules if syntax
highlighting is disabled.
2001-07-17 21:38:49 +00:00
Pavel Roskin
4349ae1c4e
* util.c (mc_mkstemps): Always use "unsigned long" for enthropy,
...
since gcc-2.7.2.1 on SunOS doesn't understand __extension__ and
checking for "long long" is not worth the trouble.
Reported by David Martin <dmartina@excite.es>
2001-07-17 18:38:46 +00:00
Pavel Roskin
94df09e2a6
* glayout.c (gnome_exit): Position message boxes near the
...
current panel.
2001-07-17 03:48:21 +00:00
Pavel Roskin
f1984dd70d
* gutil.c (port_shutdown_extra_fds): Remove, it's unused.
...
(exec_direct): Likewise.
* gconf.h: Remove declaration of port_shutdown_extra_fds().
2001-07-16 23:40:35 +00:00
Pavel Roskin
f952acf1f8
* utilunix.c (mc_doublepopen): Use _exit() instead of exit()
...
and don't close any unrelated file descriptors. Explicitly
close inhandle.
2001-07-16 23:34:56 +00:00
Pavel Roskin
b2c12031c0
* gfind.c: Move most static variables to a structure, use it
...
in signal callbacks. All dependencies adjusted. Don't truncate
filenames.
2001-07-16 21:37:47 +00:00
Pavel Roskin
57fde54f99
* mad.h: Include stdio.h to prevent redefining mad_tempnam().
...
* main.c [HAVE_X && HAVE_MAD]: Don't call done_key().
2001-07-16 04:06:35 +00:00
Pavel Roskin
0841b4d586
* gfind.c (run_process): Interpret "Ok" button as "Cancel".
...
Set g_find_dlg to NULL if it has been closed.
(kill_gui): Don't destroy already destroyed dialog.
(find_file): Onle read directory and filename if needed.
(do_find): Break loop on B_EXIT.
2001-07-16 02:45:46 +00:00
Pavel Roskin
5ae49e62d1
* dlg.h: Remove declarations of non-existent functions.
...
[HAVE_X]: Disable color constants - they shouldn't be used.
2001-07-16 00:58:53 +00:00
Pavel Roskin
76c41d4726
* gscreen.c (panel_tree_button_release): New function, opens a
...
new window on middle click.
(panel_create_tree_view): Bind panel_tree_button_release() to
"button_release_event".
2001-07-16 00:05:50 +00:00
Pavel Roskin
209488dc6e
Remove /usr/lib/mc/layout.
2001-07-15 07:27:17 +00:00
Pavel Roskin
75be0dd7e1
Use short path in the last entry.
2001-07-15 07:24:58 +00:00
Pavel Roskin
0116e5aea3
* gmain.c (xtoolkit_create_dialog): Don't use "layout" - abort instead.
...
* layout: Remove.
* Makefile: Remove all references to file `layout'.
2001-07-15 07:23:36 +00:00
Pavel Roskin
0f9a3493ad
* gnome/gdialogs.c [WITH_SMBFS] (vfs_smb_get_authinfo): New
...
function implementing SMB password dialog.
2001-07-15 07:06:35 +00:00
Pavel Roskin
a66a15319d
* src/boxes.c [WITH_SMBFS] (vfs_smb_get_authinfo): Copied from
...
vfs/smbfs.c, function authinfo_get_authinfo_from_user().
2001-07-15 07:04:53 +00:00
Pavel Roskin
820a35758e
* vfs/smbfs.c: Rename authinfo to smb_authinfo and
...
authinfo_get_authinfo_from_user() to vfs_smb_get_authinfo()
and remove their definitions.
* vfs/vfs.h: Declare smb_authinfo and vfs_smb_get_authinfo().
2001-07-15 07:01:41 +00:00
Pavel Roskin
74f034e8d4
* gmain.c (gmc_window_setup_from_panel): Fix crash when called
...
early, before the panel is created.
2001-07-15 06:25:16 +00:00
Pavel Roskin
ee8f1d826b
* POTFILES.in: Add gnome/gfind.c.
2001-07-15 05:22:29 +00:00
Pavel Roskin
aa9ac05960
* cmd.c [HAVE_X]: Disable source routing dialog and panel
...
comparison.
* main.c (ctl_x_map): Simplify preprocessor directives.
2001-07-15 04:14:39 +00:00
Pavel Roskin
069eaca778
* screen.c (panel_keymap) [HAVE_X]: Disable Alt-H - it's not
...
implemented properly for GNOME.
* main.c (directory_history_list) [HAVE_X]: Disable.
2001-07-15 03:50:23 +00:00
Pavel Roskin
af1dc9fd62
* panelize.c [HAVE_X]: Disable unused code.
2001-07-14 22:41:24 +00:00
Pavel Roskin
9f014513ab
* main.c [HAVE_X]: Disable Ctrl-X sequences.
2001-07-14 22:13:46 +00:00