Commit Graph

1736 Commits

Author SHA1 Message Date
Miguel de Icaza
9e2bb07d6e 1999-08-30 Federico Mena Quintero <federico@redhat.com>
* gdnd.c (file_has_drop_action): New function to test whether a
	file has the drop-action metadata or MIME action property.
	(gdnd_validate_action): Take the drop-action metadata/MIME
	property into account.
	(gdnd_can_drop_on_file): New function to see whether a
	non-directory file can take drops.

	* gscreen.c (drop_on_panel): New helper function to drop stuff on
	a panel.  This uses gdnd_can_drop_on_file so that we have the
	correct behavior.  This enables dropping on executables and files
	with the drop-action metadata/MIME property again.
	(panel_icon_list_drag_data_received): Use drop_on_panel().
	(panel_clist_drag_data_received): Use drop_on_panel().  Normalize
	the Y coordinate to the clist_window.
1999-08-30 20:07:33 +00:00
Pablo Saratxaga
00785b29c6 update-po 1999-08-30 12:13:02 +00:00
Pablo Saratxaga
be45c721d3 updated wa file 1999-08-30 10:57:26 +00:00
Norbert Warmuth
d393e2e098 1999-08-30 Norbert Warmuth <nwarmuth@privat.circular.de>
* lib/mc.sh: create temporary files in ~/.mc/tmp in order to avoid
symlink attacks (mcfn_install and the man page still needs to be
updated).

* src/main.c (print_mc_usage): Print the bug reporting address.
(main): Put prompt in a new line at termination.

* vfs/shared_ftp_fish.c (get_line): Fixed off by one error ('\0' might
have been written one slot past the supplied character array).

* vfs/ftpfs.c (resolve_symlink_without_ls_options): Don't dump core on
strange symlinks (ls -la doesn't reveal where the symlink points to
and ls -lLa doesn't resolve the symlink either)

Added protection against recursive symbolic links.
1999-08-30 06:01:37 +00:00
Miguel de Icaza
efecafc30e 1999-08-29 Federico Mena Quintero <federico@redhat.com>
* POTFILES.in: Added gnome/gdesktop-prefs.c to the list of files.
1999-08-29 20:47:04 +00:00
Matthias Warkus
24f09f02a7 Assigned an icon 1999-08-29 12:49:53 +00:00
Miguel de Icaza
871a880139 1999-08-27 Federico Mena Quintero <federico@redhat.com>
* ext.c (quote_block): How did this ever work?  People, if you
	realloc() things, don't keep pointers to stuff inside the original
	block.

	* screen.c (do_enter_on_file_entry): Pass in the full name to
	if_link_is_exe().

	* dir.[ch] (if_link_is_exe): Take in the full name, not the directory
	and the file entry.

1999-08-26  Federico Mena Quintero  <federico@redhat.com>

	* gscreen.c (panel_clist_drag_motion): Pass the full name to
	gdnd_validate_action().
	(panel_icon_list_drag_motion): Likewise.
	(panel_tree_drag_motion): Likewise.

	* gdnd.c (gdnd_perform_drop): Renamed the "directory" argument to
	"dest_full_name" for clarity.
	(gdnd_validate_action): Likewise.  Pass in the full name to
	if_link_is_exe().
	(drop_on_file): Do not compute the full name, since we are already
	get it from the caller.
	(drop_on_file): Pass in the full name to if_link_is_exe().

	* gscreen.c (panel_tree_drag_data_received): Free the pathname.

	* gdesktop.c (icon_drag_data_received): Pass the full name of the
	file to gdnd_perform_drop(), not just the desktop directory.
1999-08-27 05:01:08 +00:00
Andras Timar
2eae1a244e Shooby Ban <bansz@szif.hu>
* Updated Hungarian translations
1999-08-26 14:30:26 +00:00
Anders Carlsson
d5c8ca9af0 Fixing URL 1999-08-25 19:25:17 +00:00
Miguel de Icaza
2fc63b70f2 I'm a turbo-idiot. It helps to add the files. - Federico 1999-08-24 03:47:19 +00:00
Miguel de Icaza
5d67b4ea51 Forgot this - Federico 1999-08-23 23:16:08 +00:00
Miguel de Icaza
af568f447e 1999-08-23 Federico Mena Quintero <federico@redhat.com>
* gdesktop-prefs.[ch]: New files that handle the desktop
	preferences page.  Now we have a nice way to configure the
	position of desktop icons.

	* gprefs.c (create_prop_box): Use desktop_prefs_new() to create
	the desktop preferences page.
	(apply_page_changes): Do not update the desktop here.
	(apply_callback): Take the desktop page into account.

	* gdesktop.c (desktop_use_shaped_text): Renamed from
	desktop_use_transparent_text.

	* Makefile.in: Added gdesktop-prefs.[ch] to the list of sources.
1999-08-23 23:13:31 +00:00
Mikko Rauhala
35e31e95eb Finnish desktop file additions. 1999-08-23 21:09:53 +00:00
Mikko Rauhala
7a340a93b0 Added lots of Finnish translations. Not complete yet, though, nor perfect. 1999-08-23 21:08:12 +00:00
Norbert Warmuth
3ca228c330 1999-08-20 Norbert Warmuth <nwarmuth@privat.circular.de>
* configure.in (AC_WITH_SLANG): rm -f destination before makeing
a symbolic link (ln -sf doesn't work as expected on Solaris)

1999-08-19  Norbert Warmuth  <nwarmuth@privat.circular.de>

* vfs/smbfs.c: added missing include file

(browsing_helper): use g_strdup instead of g_new + pstrcpy
(Btw. this is an example why the handholding of smblib gives a
false security feeling. pstrcpy limits the number of characters
copied and is used with a buffer which is smaler than the hard
coded limit in pstrcpy)
(loaddir_helper): ditto
(server_browsing_helper): ditto

(get_remote_stat): fixed memory leaks
(smbfs_loaddir): ditto
(get_stat_info): ditto
(smbfs_stat): ditto

(convert_path): rewritten, now it's much cleaner what it does.
This rewrite was necessary because gcc -O2 choked on glibc 2.1
systems. In that combination strncat is a macro which expands to
strlen and strcat and in vfs/samba/include/includes.h the latter is
defined to __ERROR__XX__NEVER_USE_STRCAT___;.
1999-08-20 05:42:02 +00:00
Sung-Hyun Nam
f987b3e07f updated to 4.5.38 and fix shell!=NULL error 1999-08-20 05:36:11 +00:00
Elliot Lee
0bd6d7504a Have 'make dist' work with builddir != srcdir. 1999-08-19 20:17:40 +00:00
Miguel de Icaza
4a90180bd5 1999-08-19 Federico Mena Quintero <federico@redhat.com>
* doc-gnome/C/gmc.sgml: Index fixes.
1999-08-19 16:17:11 +00:00
Pablo Saratxaga
8994590550 added catalan *.po files and cataln description on various *.desktop files 1999-08-19 10:22:12 +00:00
Pablo Saratxaga
7b7e02728a updated walloon language file 1999-08-18 23:43:55 +00:00
Elliot Lee
54575e2beb * gtkedit/gtkedit.c: Make it build with gcc 2.95, by fixing the non-constant
initializers in the GnomeUIInfo structure.
1999-08-18 19:10:21 +00:00
Norbert Warmuth
d988df6100 1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/direntry.c (vfs_s_getlocalcopy): There's an aditional strdup
needed. In rare cases a pointer was freed twice. Pavel Machek
pointed this out a while ago but obviously it hasn't been fixed, yet.

* vfs/sfs.c (vfmake): Quote characters with a special meaning to the
shell in filenames/-pathes (Fix Bug #1931, VFS will not work if
your full path has the space character in it.).
1999-08-18 19:08:56 +00:00
Norbert Warmuth
3cf5946891 Revert last patch, it has some issues (you want to update when you already
updated your code with the broken patch).
1999-08-18 05:37:45 +00:00
Norbert Warmuth
8a7769edb3 1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/sfs.c (vfmake): Quote characters with a special meaning to the
shell in filenames/-pathes (Fix Bug #1931, VFS will not work if
your full path has the space character in it.).
1999-08-18 04:53:18 +00:00
Kjartan Maraas
cb009aa708 1999-08-18 Kjartan Maraas <kmaraas@online.no>
* no.po: Updated translation.
1999-08-17 22:44:54 +00:00
Kjartan Maraas
dd6d56508b 1999-08-18 Kjartan Maraas <kmaraas@online.no>
* no.po: Fix typo.
1999-08-17 22:42:14 +00:00
Miguel de Icaza
14c3b99489 Getting ready for 4.5.38 - Federico 1999-08-17 18:26:36 +00:00
Norbert Warmuth
10347c3633 Forgot to add this. 1999-08-17 04:30:46 +00:00
Miguel de Icaza
f433b2ae87 1999-08-16 Federico Mena Quintero <federico@redhat.com>
* gmain.c (default_edition_colors): "brightred" is not a standard
	X color; use "red" instead.
	(get_color): Take into account the result of gdk_color_parse().
1999-08-16 20:02:27 +00:00
Jonathan Blandford
cb49109679 1999-08-16 Jonathan Blandford <jrb@redhat.com>
* Patch from Chyla Zbigniew <chyla@alice.ci.pwr.wroc.pl> to
	gettextize everything.  Sorry translators...
1999-08-16 15:42:30 +00:00
Norbert Warmuth
6fae3e0425 1999-08-15 David Martin <dmartina@usa.net>
* gtkedit/edit.c: Print localized date with strftime()

* src/boxes.c: (symlink_dialog): Move dialog misaligned elements

* vfs/vfs.c (vfs_print_stats): Translate vfs stats

* vfs/shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation

* vfs/fish.c: Translate messages

* src/boxes.c: (symlink_dialog): Move dialog misaligned elements

* src/cmd.c (get_random_hint): Look for localized hint files

* lib/mc.hint.es: NEW FILE. Hints in Spanish flavour.


1999-08-15  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/cmd.c (guess_message_value): New function. Determine locale used
for messages

(get_random_hint): use guess_message_value

* lib/Makefile.in: added mc.hint.es to LIBFILES_CONST
1999-08-16 05:31:23 +00:00
Kjartan Maraas
de9b574c35 1999-08-14 Kjartan Maraas <kmaraas@online.no>
* no.po: Updated translation.
1999-08-14 16:04:18 +00:00
Miguel de Icaza
9fee98879f Add new icon 1999-08-14 01:11:36 +00:00
Miguel de Icaza
b91b989b92 Sync - Federico 1999-08-13 23:21:03 +00:00
Miguel de Icaza
d80cba67cc 1999-08-08 David Martin <dmartina@usa.net>
* gtkedit/syntax.c (upgrade_syntax_file): Mark error strings for
	translation.

	* gtkedit/editmenu.c (edit_about_cmd): Mark text in "about" for
	translation as it used to be.
1999-08-13 22:45:07 +00:00
Miguel de Icaza
39a1938a5f 1999-08-13 Federico Mena Quintero <federico@redhat.com>
* gscreen.c (panel_fill_panel_list): Select or unselect the rows
	as appropriate, not just select them.  This is needed because the
	clist changes the selection under us when appending rows.
	Finally, do not call select_item() at the end; just reset the
	panel->selected value.
	(panel_fill_panel_icons): Likewise.
	(tree_drag_open_directory): Disabled the auto-collapse
	functionality yet again, since it has numerous problems.  BUGFIX:
	GNOME bug tracker #1656.

	* gcmd.c (gnome_reverse_selection_cmd_panel): Re-enabled this
	function.  The reverse selection bug was somewhere else after all.

	* glayout.c (gnome_panel_edit_menu): Re-inserted the item for
	reverse selection.  It was pointing to the wrong callback, that is
	why it never worked.
1999-08-13 19:42:32 +00:00
Pablo Saratxaga
369514dd4e updated wa file 1999-08-13 11:37:31 +00:00
Miguel de Icaza
3ba5595791 1999-08-08 David Martin <dmartina@usa.net>
* gtkedit/syntax.c (upgrade_syntax_file): Mark error strings for
	translation.

	* gtkedit/editmenu.c (edit_about_cmd): Mark text in "about" for
	translation as it used to be.
1999-08-12 23:15:03 +00:00
Jonathan Blandford
37efb6b935 updated bugs 1999-08-12 22:52:32 +00:00
Jonathan Blandford
b2af161b6d 1999-08-12 Jonathan Blandford <jrb@redhat.com>
* gpopup2.c (handle_unmount): We refresh when we unmount/mount a cdrom.

	* gscreen.c (queue_reread_cmd): We refresh when we make a change.
1999-08-12 22:50:25 +00:00
Miguel de Icaza
fe7d83f1d0 1999-08-12 Federico Mena Quintero <federico@redhat.com>
The two following entries are BUGFIX: GNOME bug tracker #1789.

	* gscreen.c (panel_fill_panel_list): Do not allow selection of "..".
	(panel_icon_list_select_icon): Likewise.

	* glayout.c (gnome_panel_edit_menu): Removed the Invert Selection
	command.  It is completely broken for the expected GNOME
	semantics.
1999-08-12 22:14:07 +00:00
Miguel de Icaza
5e2a2a1e40 Sync sync - Federico 1999-08-12 20:24:31 +00:00
Miguel de Icaza
b072b4aab2 I am a bug's worst nightmare - Federico 1999-08-12 19:38:32 +00:00
Miguel de Icaza
d087dd3350 1999-08-12 Federico Mena Quintero <federico@redhat.com>
* gnome-file-property-dialog.c (perm_group_new): If the file
	belongs to an unknown user/group, use the group's number as a
	string for the entry box.  BUGFIX: GNOME bug tracker #1414.
	(perm_owner_new): Do the same thing for the user.
1999-08-12 19:38:09 +00:00
Miguel de Icaza
5b14d415a6 1999-08-08 David Martin <dmartina@usa.net>
* gtkedit/syntax.c (upgrade_syntax_file): Mark error strings for
	translation.

	* gtkedit/editmenu.c (edit_about_cmd): Mark text in "about" for
	translation as it used to be.
1999-08-12 19:26:09 +00:00
Miguel de Icaza
c7c7c0feb1 Sync sync sync - Federico 1999-08-10 22:10:36 +00:00
Miguel de Icaza
c314133465 1999-08-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdialogs.c (file_mask_dialog): Sigh, disabled background
	operations, since they are completely hosed.  Re-aligned the
	widgets in the dialog.
1999-08-10 21:52:06 +00:00
Miguel de Icaza
d8e892cb48 1999-08-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (editing_icon_list): New function to figure out
	whether an icon in the icon list is being edited.  This is a
	FANTASTICALLY UGLY HACK, but we cannot add new functions to the
	icon list at this point as it would break forwards compatibility.
	Sigh.  BUGFIX: GNOME bug tracker #382, #1065.

	* glayout.c (gnome_panel_desktop_menu): Added some underline
	accelerators.

	* gdesktop.c (desktop_arrange_icons_items): Renamed to the desktop
	namespace.  Added underline accelerators.
	(handle_arrange_icons_name): Made static.
	(handle_arrange_icons_type): Likewise.
	(handle_arrange_icons_size): Likewise.
	(handle_arrange_icons_access): Likewise.
	(handle_arrange_icons_mod): Likewise.
	(handle_arrange_icons_change): Likewise.
	(desktop_arrange_icons): Made static.
	(strip_tearoff_menu_item): Made it return the number of items in
	the menu, not the list of children.
	(desktop_icon_info_destroy): Remove the icon from the icon hash
	table.
	(text_changed): Update the icon hash table information.

	* gdesktop.h: Cleaned up some unused prototypes.

	* gview.c (view_status): Use the correct g_snprintf() format
	argument.

	* gcmd.c (sort_get_func_from_type): Indented according to the MC
	conventions.  People, *PLEASE* follow the Gnome Programming
	Guidelines, especially when modifying existing code.

	* gdesktop.c (swap): Likewise.
	(auto_pos): Likewise.
	(get_icon_auto_pos): Likewise.
1999-08-09 22:54:02 +00:00
Richard Hestilow
be51568dc6 Oops, meant to commit this with my earlier commit... 1999-08-09 22:38:44 +00:00
cwryu
5c49287e52 * capplets/mime-type/edit-window.c (initialize_main_win_vals): For
easier i18n, used g_strdup_printf() instead of g_strconcat().
1999-08-09 12:37:43 +00:00