Commit Graph

1448 Commits

Author SHA1 Message Date
Miguel de Icaza
9207af342d COOL CODE! OH MAN! I AM GOOD!
Ok, so this time I got the stuff to auto-load desktop startup links.
This means you can ship stuff to pre-configure the desktop of the
users now.

We support program-based setup and url-links.

Details on the lib/README.desktop file
1999-03-20 18:08:52 +00:00
Miguel de Icaza
6263497852 1999-03-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gpopup2.c (create_mime_actions): Attach to the menu, not the uiinfo.
1999-03-20 12:06:38 +00:00
Jonathan Blandford
f539ceed2b 1999-03-19 Jonathan Blandford <jrb@redhat.com>
* main.c (main): We don't want to restart if we hit cancel.
1999-03-19 23:07:58 +00:00
Jonathan Blandford
55615776fe 1999-03-19 Jonathan Blandford <jrb@redhat.com>
* gscreen.c (panel_tree_drag_motion): Dragging now automatically
	highlights the tree.  God does it flicker... )-:

	* gtkdtree.h (gtk_dtree_construct): removed unused prototype.

	* gscreen.c (panel_tree_check_auto_expand): removed the
	auto-collapse of trees, as it is confusing to the user.
1999-03-19 21:59:34 +00:00
Jonathan Blandford
aec84e1075 'head -n 4 ChangeLog' 1999-03-19 19:41:32 +00:00
Jonathan Blandford
4c205131ec 1999-03-19 Jonathan Blandford <jrb@redhat.com>
* gdialogs.c (file_progress_show_bytes): bug fix proposed by Max
	Weninger <max@takefive.co.at>
1999-03-19 19:09:43 +00:00
Miguel de Icaza
30059ac53c 1999-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* no.po: Fixed missing quote.
1999-03-19 17:14:32 +00:00
Jonathan Blandford
0a28a308b3 1999-03-19 Jonathan Blandford <jrb@redhat.com>
* gcmd.c (dentry_apply_callback): new function.
	(gnome_new_launcher): We can now create new

1999-03-19  Jonathan Blandford  <jrb@redhat.com>

	* file.c (panel_operate): Ugly hack for GNOME.  We only treat the
	copy as if it were many files, and skip the only_one branch.
1999-03-19 17:13:33 +00:00
Miguel de Icaza
c30a2e3bcc 1999-03-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gpopup2.c (create_mime_actions): Free full_name, just once, not
	once per action.
1999-03-19 14:16:27 +00:00
Miguel de Icaza
ba56e04c4c 1999-03-19 Paul Raines <raines@slac.stanford.edu>
* gtkdtree.c (gtk_dtree_load_path): Uses a phantom node to get
	directories with the expandable flag.  Avoids loading directories
	at two levels.
1999-03-19 11:15:12 +00:00
Kjartan Maraas
d45dc1f253 1999-03-19 Kjartan Maraas <kmaraas@fib.hl.no>
* no.po: updated translation
1999-03-19 08:47:11 +00:00
Norbert Warmuth
d37e959b67 Fri Mar 19 06:32:36 1999 David Martin <dmartina@usa.net>
* po/es.po: update

* edit/edit_key_translator.c: Added missing translation tags.
1999-03-19 06:14:56 +00:00
Miguel de Icaza
870b29f702 4.5.27 - Federico 1999-03-19 02:45:51 +00:00
Miguel de Icaza
256467b407 Do not popup a window if it fails to mount the device.
Reported by Tim Janik.

Miguel.
1999-03-18 18:43:52 +00:00
Pavel Machek
79846ffaab Applied patch from jj@sunsite.ms.mff.cuni.cz: don't try some ioctls
when on linux.
1999-03-18 16:25:17 +00:00
Timur Bakeyev
79c0c8442f Thu Mar 18 16:09:09 1999 Timur Bakeyev <mc@bat.ru>
* panel.h, screen.c: Add an ability to center justify fields in
	panel, in addition to left and right justificatin. Just for fun.
	Try =name in user format.

	* util.c (name_quote): Quote "~@^|;:". Hope, that's all :)
1999-03-18 13:40:23 +00:00
Timur Bakeyev
470d754497 Thu Mar 18 14:59:12 1999 Timur Bakeyev <mc@bat.ru>
* gnome-open-dialog.c (read_directory): s/basename/x_basename/g
1999-03-18 12:09:37 +00:00
Jonathan Blandford
fbc07a11d4 1999-03-17 Jonathan Blandford <jrb@redhat.com>
* main.c (main): Put in a warning when run as root.

1999-03-17  Jonathan Blandford  <jrb@redhat.com>

	* gnome-file-property-dialog.c (generate_icon_sel): I don't know
	who broke this, but it was a mess.  It now does the right thing,
	and works...
1999-03-17 19:21:16 +00:00
Jonathan Blandford
56d2b086aa 1999-03-16 Jonathan Blandford <jrb@redhat.com>
* gnome-open-dialog.c (read_directory): We now honor .order files.
1999-03-17 03:23:39 +00:00
Miguel de Icaza
86adbc6678 1999-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gicon.c (get_icon_set): Use iset->filename (which is a
	strdup()ed string) instead of filename as a key in the hash table,
	since the user will very likely free filename.
1999-03-17 03:20:59 +00:00
Miguel de Icaza
7313fee0b0 1999-03-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* boxes.c (symlink_dialog): Put this inside an "#ifndef
	HAVE_GNOME" since we now provide a nicer version of the dialog.

	* wtools.c (real_input_dialog_help): Removed un-needed #ifdef.

1999-03-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gdialogs.c (symlink_dialog): Finished implementing the new
	symlink dialog.
1999-03-16 20:46:47 +00:00
Miguel de Icaza
7a96008267 1999-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (icon_event): I'm an idiot.  Someone teach me boolean
	logic again.  Fixed edit-on-release for icons.
1999-03-16 20:08:35 +00:00
Miguel de Icaza
eb864a4949 1999-03-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* cmd.c (edit_symlink_cmd): Generate the title of the dialog after
	we have computed the source filename.
	(edit_symlink_cmd): Use g_strdup_printf() instead of g_strconcat()
	for better internationalization.

	* wtools.c: Removed unused function input_dialog_help_2().
	(real_input_dialog_help): Put this inside an "#ifndef HAVE_GNOME",
	because now the Gnome version implements its own pretty dialog.

1999-03-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gdialogs.c (real_input_dialog_help): Now we use a
	gnome_request_dialog() for generic input dialogs.  They look
	prettier and consistent now.
	(file_progress_show): Update the progress bars.  Thanks to Greg
	for noticing this!

	* Makefile.in: Removed references to gpopup.[co].
1999-03-16 00:11:32 +00:00
Gregory McLean
dbf6e0f2d3 Reverted my stuff as I can't test this in text mode (I have no clue how
to use mc in text mode)/

-- Greg
1999-03-15 22:39:22 +00:00
Gregory McLean
53777c2e35 Update the progress bars when copying stuff around.
-- Greg
1999-03-15 22:24:05 +00:00
Gregory McLean
150cc7de1c Mon Mar 15 17:09:37 1999 Gregory McLean <gregm@comstar.net>
* gdialogs.c (file_progress_show_bytes): Fixed a GTK Warning when
	done / total >= 1.0
	* file.c : Actually update the progress bar when copying files around.
1999-03-15 22:23:02 +00:00
Jonathan Blandford
f91b5de7c8 1999-03-15 Jonathan Blandford <jrb@redhat.com>
* capplets/mime-type/: No more warnings.
1999-03-15 19:31:08 +00:00
Jonathan Blandford
e0973b6951 Oh fooey. I forgot a file again... )-:
I should know better by now...

1999-03-15  Jonathan Blandford  <jrb@redhat.com>

	* capplets/mime-type/mime-info.c (write_initial_keys): Now we
	explicitly remove then recreate the file, so that we can guarantee
	that the mime-type gets reread.
1999-03-15 18:05:33 +00:00
Miguel de Icaza
d1b80d6f09 1999-03-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (x_select_item): It is not necessary to call
	gnome_canvas_update_now() here.

	* gdesktop-icon.c (set_icon): Do not destroy the icon image.

	* gnome-file-property-dialog.c
	(gnome_file_property_dialog_finalize): Do not destroy the icon
	image, since it is a shared resource.
1999-03-15 18:01:37 +00:00
Gregory McLean
b541e637c5 Lets pick up the mc.spec.in file up in the dist. (Cures one warning during
a configure run)

-- Greg
1999-03-15 04:24:10 +00:00
Jonathan Blandford
9e562aae41 the mime-type capplet should be ready for prime-time...
Hopefully it'll work for most people.
1999-03-15 04:07:12 +00:00
Miguel de Icaza
aa13eb006f 4.5.26 1999-03-15 00:22:44 +00:00
Miguel de Icaza
3829bc2fce 1999-03-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (text_changed): If the file has the "icon-caption"
	metadata set, then change that instead of renaming the file.  This
	can be used by URLs and is also needed by the mountable device
	icons.
	(text_changed_url): Removed this function now that text_changed()
	can handle all cases.

	* gdnd.c (drop_url_on_directory): Set the "icon-caption" metadata
	for URLs.

	* gdesktop.c (icon_event): Handle button-2 clicks and drags
	properly.
1999-03-15 00:00:00 +00:00
Miguel de Icaza
d3aa1fc39a 1999-03-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gmount.c (get_mountable_devices): Show error message if the
	/etc/fstab is not readable by the user.
1999-03-14 23:31:50 +00:00
Miguel de Icaza
30a80d6c8a 1999-03-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
* dlg.c (dlg_select_nth_widget): Handle the case where h->current
	points to NULL.
1999-03-14 23:18:25 +00:00
Kjartan Maraas
e8c91869f8 1999-03-13 Kjartan Maraas <kmaraas@fib.hl.no>
* Norwegian translation
1999-03-13 22:24:18 +00:00
Miguel de Icaza
824fdcc5b8 1999-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
* file.c (erase_file): Here we need to mc_lstat(), not mc_stat().
	Since we use the resulting buf.st_size to update the progress, we
	need the size of unresolved links.  This also makes it consistent
	with screen.c:do_file_mark().

	* screen.c (select_item): Return immediately if this is a desktop
	panel.

1999-03-12  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gdesktop.c (create_panel_from_desktop): Do not assert that
	panel->count > 0, because we may actually not have any icons in
	the desktop.
	(desktop_popup): Reload the desktop once the popup menu is done.
	(create_panel_from_desktop): Be consistent with the way totals are
	computed in screen.c:do_file_mark().
1999-03-13 01:02:29 +00:00
Jonathan Blandford
903f57ef76 more work.
also minor fix in gnome-edit-properties.
off to go see cruel intentions.
1999-03-13 00:53:27 +00:00
Miguel de Icaza
26556bcf3b 1999-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (create_panel_from_desktop): Do not assert that
	panel->count > 0, because we may actually not have any icons in
	the desktop.
	(desktop_popup): Reload the desktop once the popup menu is done.
1999-03-12 23:48:36 +00:00
Miguel de Icaza
8cb5ff2882 New mc.spec from Paul E. Johnson 1999-03-12 22:11:07 +00:00
Miguel de Icaza
ab76cf3097 1999-03-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
* subshell.c (pty_open_slave): Glibc-2.1-based Linux kernels have
	grantpt() but they do lack SysV streams.  Handle this.  Noticed by
	Jakub Jelinek
1999-03-12 18:46:33 +00:00
Miguel de Icaza
49570e5d3e 1999-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gnome-file-property-dialog.c (gnome_file_property_dialog_init):
	Set the dialog to not destroy-on-close.
1999-03-12 17:37:21 +00:00
Miguel de Icaza
b3a1fd790c 1999-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gpopup2.c (gpopup_do_popup2): Fixed Miguel's code.
1999-03-12 05:45:43 +00:00
Jonathan Blandford
77e65821e3 fixed bug where changing the name of a file in the properties box also
changed the icon whether or not it had actually changed.
1999-03-12 03:03:08 +00:00
Miguel de Icaza
a369d4a8d8 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gpopup2.c (gpopup_do_popup2): Until Federico look over this, I
	am fixing this crash.
1999-03-12 02:43:26 +00:00
Kjartan Maraas
fc1453a55e 1999-03-12 Kjartan Maraas <kmaraas@fib.hl.no>
* Updated translation
1999-03-12 02:28:12 +00:00
Miguel de Icaza
bd86803f3e 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (text_changed): Rename the metadata and refresh the
	desktop.  This also fixes bug #573.
1999-03-12 00:26:47 +00:00
Jonathan Blandford
c6a3431459 1999-03-11 Jonathan Blandford <jrb@redhat.com>
* gnome-file-property-dialog.c (create_settings_pane): change the
	wording to be a tad clearer.
1999-03-12 00:22:42 +00:00
Miguel de Icaza
68ed301272 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gpopup2.c (create_mime_actions): Do not free the file name here,
	since it is passed on to the callback.  It will be freed on the
	destroy handler instead.
1999-03-11 23:38:31 +00:00
Miguel de Icaza
1b0258b1d6 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gpopup2.c (escape_underlines): New function to escape the
	underlines in a string so that GtkLabel will include them in the
	final result.
	(create_mime_actions): Escape the underlines from the MIME action
	descriptions.
1999-03-11 23:22:47 +00:00