Commit Graph

803 Commits

Author SHA1 Message Date
Miguel de Icaza
78fa313864 1999-09-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c: Added it here too.

	* glayout.c: Add File-new option here

	* gcmd.c (gnome_newfile_cmd): Added new routine.  Invoke when you
	want to create a new file.
1999-09-02 18:31:17 +00:00
Miguel de Icaza
0ac4d17dd9 1999-09-01 Federico Mena Quintero <federico@redhat.com>
* gscreen.c (panel_icon_renamed): Do nothing if the name did not
	change.
1999-09-01 19:28:57 +00:00
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
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
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
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
Elliot Lee
0bd6d7504a Have 'make dist' work with builddir != srcdir. 1999-08-19 20:17:40 +00:00
Pablo Saratxaga
8994590550 added catalan *.po files and cataln description on various *.desktop files 1999-08-19 10:22:12 +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
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
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
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
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
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
Richard Hestilow
3d88953c11 1999-08-08 Richard Hestilow <hestgray@ionet.net>
* gcmd.[ch]
        * glayout.c
        * gprefs.c
        * gdesktop.[ch] (mostly auto_pos and desktop_arrange_icons):
        Reworking of the desktop's Arrange Icon code -- in addition to
        being able to sort by various criteria now (name, file size, etc),
        there are now 3 options (Right to Left, Bottom to Top, Rows instead
        of Columns) controlling layout positioning. (Located in the "Desktop"
        Preferences tab)
1999-08-09 03:41:39 +00:00
Norbert Warmuth
ccdd7f5bce 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.

* po/POTFILES.in: Removed symbolic links, and outdated
gmc-window.[ch] and olddnd.c. These don't repport any new strings,
increase compile time and make po files large. Basically adds
gaction.c, g,mount, smbfs.c to the pre-previous file.

* po/es.po: Added new strings with latest editor changes. Added
strings in gaction.c. Merged with a new mc.pot after the changes
in POTFILES.in.

* gnome/gaction.c (mainly gmc_unable_to_execute_dlg): Moved g_strconcat
to g_strdup_printf, to get compact strings and make coherent
translations. Translate atomic actions (open, edit, view) when
calling this function.

* src/menu.c: (create_menu): Adjust "#ifdef ENABLE_NLS" so that menus
get the right size even when NLS is disabled.



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

* po/POTFILE.in: Removed gpopup.c as it is not compiled.
1999-08-08 12:43:32 +00:00
Miguel de Icaza
a98d957baa 1999-08-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (try_rename): New function to rename a desktop icon's
	file by using a file operation context.
	(text_changed): Use try_rename() instead of fiddling with the VFS
	directly.  BUGFIX: GNOME bug tracker #707.  Also, destroy the old
	icon before updating the desktop.
1999-08-06 20:10:34 +00:00
Norbert Warmuth
972271c9e2 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de>
* gnome/gconf.h (PORT_STATIC_IN_STRING_FILE_XTIME): new port specific
feature. The Gnome edition first calls all string_file functions
and then uses the return values of these functions. Therefore additional
static buffers in string_file_[acm]time are needed.

* src/screen.c (string_file_[amc]time): These three functions use
file_date which returns a pointer to a static buffer. In the
Gnome edition this buffer has to be coppied to a static buffer
which isn't used in the other two functions (Fix Bug #1766).

* src/util.c, util.h: Moved some constants to util.h

* vfs/tar.c (read_header): Don't segfault when a symlink points to the
root directory.


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

* src/widget.c (push_history): Add SMB Link to the list of input dialogs
where urls are input without vfs prefix.

Translate the titles of these input dialogs only once.

Removed Gnome specific code because the Gnome edition doesn't use
the input history any more.

* src/util.c (strip_password): Add /#smb: to the list of urls which might
be input with password.
1999-08-06 19:24:04 +00:00
Miguel de Icaza
3e988d4f1f 1999-08-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gnome-file-property-dialog.c (perm_group_new): Set the correct
	group name in the group entry box.  BUGFIX: Red Hat bugzilla #3244.

	* gmount.c (get_mountable_devices): Return the list in getmntent()
	order.  BUGFIX: Red Hat bugzilla #3621.

	* gprefs.c (help_callback): New help callback for the preferences
	dialog.  It loads the "gmcprefs.html" section from the GMC user's
	guide.  We need a better framework for this; we need to be able to
	map DocBook identifiers (<foo id="bar">) to HTML files or
	whatever.  BUGFIX: Red Hat bugzilla #3194.

1999-08-05  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* doc-gnome/C/gmc.sgml: Set the book element's id to "index" so
	that the correct index.html will be generated.
1999-08-05 20:58:36 +00:00
Anders Carlsson
b89d775435 Updating Swedish translation 1999-08-05 16:40:26 +00:00
Tomasz Kłoczko
5ddaf9b10c - removed "." from ending Comment fielsds,
- added pl translation.
1999-08-01 22:13:08 +00:00
Miguel de Icaza
95ff494e76 get max defined 1999-08-01 18:29:11 +00:00
Norbert Warmuth
fc05bf2408 1999-08-01 David Martin <dmartina@usa.net>
* gnome/gcmd.c (gnome_about_cmd): Change strings in gmc "about" to
static as they only translated once.

* src/menu.c (create_menu, menubar_drop_compute, menubar_paint_idx):
Discount '&' for hotkeys when checking menu widths to avoid the
extra blank space.
Moved this accounting from the drawing to the creating function.

* src/widget.c: Translate History box tittle.

* po/es.po, po/es_ES.po: added translation for history box title



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

* src/vfs.c: Don't close a function definition with "};". SunCC from
2.5.1 chokes on the extra semicolon.

(mc_munmap): Don't dereference function pointer when checking for
NULL (this check is supposed to prevent a segfault instead of
causing one). This haven't got noticed up to now becaue there's no
file system with mmap but without munmap.
1999-08-01 11:37:25 +00:00
Jonathan Blandford
d8513ecd2c 1999-08-01 <jrb@redhat.com>
* glayout.c: moved Preferences to a settings menu.
1999-08-01 05:18:12 +00:00
karsten
09373628b3 1999-07-24 Karsten Weiss <karsten@addx.au.s.shuttle.de>
* de.po: Updated translation.
1999-07-23 22:48:38 +00:00
karsten
c3171bda9e 1999-07-17 Karsten Weiss <karsten@addx.au.s.shuttle.de>
* mc.keys.in.in: changed "x11amp" references to "xmms" (xmms is
        the new name of x11amp).
1999-07-17 12:14:29 +00:00
Jonathan Blandford
1d74709b95 1999-07-14 Jonathan Blandford <jrb@redhat.com>
* capplets/mime-type/edit-window.c (initialize_main_win_vals):
	Patch from Fabrice.Bellet@imag.fr for i18n and portability.

1999-07-08    <jrb@redhat.com>

	* mouse-properties.c (mouse_apply): Added patch by Tom Tromey
	<tromey@cygnus.com> to handle left-handed wheeled mice.  Fixed
	Authors file, too.
1999-07-14 19:33:35 +00:00
Pablo Saratxaga
9064ba0b11 updated a lot of *.desktip, *.directory and *.soundlists with spanish,
french and waloon descriptions
1999-07-13 20:25:32 +00:00
Miguel de Icaza
2080f6d2bd 1999-07-13 Miguel de Icaza <miguel@gnu.org>
* gnome-file-property-dialog.c (perm_group_new): the return values
	from the group functions in libc return pointers to static buffers
	in the library.  Duplicate all return values and free them at the
	end.
1999-07-13 18:27:05 +00:00
Miguel de Icaza
8cf053cea7 4.5.37 1999-07-13 04:32:46 +00:00
Miguel de Icaza
da70c26149 1999-07-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (perm_group_new): Patch from
	Germano Leichsenring <germano@jedi.cs.kobe-u.ac.jp> that fixes the
	display of groups for non-root users.
1999-07-12 20:22:47 +00:00
Jonathan Blandford
eff5f7b312 1999-07-07 <jrb@redhat.com>
* mc.keys.in.in: updated a few values.
1999-07-07 20:03:17 +00:00
Kjartan Maraas
fe5dcd817d 1999-07-04 Kjartan Maraas <kmaraas@online.no>
* gimp.image.desktop: Added norwegian translation.
1999-07-04 08:29:28 +00:00
Kjartan Maraas
f0091b6070 1999-07-04 Kjartan Maraas <kmaraas@online.no>
* application.x-gnumeric.desktop: Norwegian entry
1999-07-04 08:27:39 +00:00
Pablo Saratxaga
dda52a99fc added walloon language file 1999-07-04 00:29:33 +00:00
Miguel de Icaza
ea6b8036f5 1999-07-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gcorba.c (corba_create_window): Ensure that the directory we
	pass to the CORBA server is not NULL.

	* gscreen.c: Removed a bunch of unused functions for filters.
1999-07-01 23:15:08 +00:00
Tuomas Kuosmanen
6e95404fae Added a nice zip-disk icon bezides the current one - having some variation
is nice.

/tig
1999-06-30 23:20:35 +00:00
Miguel de Icaza
f085b40d57 1999-06-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (x_select_item): Removed icon list hacks.
1999-06-30 19:21:56 +00:00
Norbert Warmuth
4519b43ebc 1999-06-24 Norbert Warmuth <nwarmuth@privat.circular.de>
* gnome/gmc-chargrid.c (update_strip): Paint every character with the
assigned fore and background color instead of using the colors of
the first character for the whole line.


1999-06-24  smil@linuxfan.com

* src/view.c (view_update_bytes_per_line, display): show correctly the
offset of the file (full 8 digit), display offset in bold colour

(view_labels): use goto_addr instead of goto_line in hex mode

(goto_addr): New function. Goto offset address in hex mode.

* src/view.h: use unsigned long for hexedit cursor position in file
1999-06-24 21:53:40 +00:00
Miguel de Icaza
9f81821878 1999-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
* acconfig.h: Add WITH_SMBFS

	* macros/gnome-vfs.m4: Support conditional samba support.

1999-06-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gsession.c (create_default_panel): Use directory specified in
	command line.

	* gcorba.c (corba_create_window): Pass the directory we receive or
	cwd if this value is NULL.

	* gmain.c (non_corba_create_panels): Use parameter for startup
	directory (use the this_dir external directory for this).
	(create_panels): Pass this_dsir to non_corba_create_panels and
	corba_create_window.
1999-06-22 21:02:08 +00:00