Commit Graph

3181 Commits

Author SHA1 Message Date
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
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