Commit Graph

960 Commits

Author SHA1 Message Date
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
Norbert Warmuth c1fb49b689 David's "Hex View in GMC & some June patches" sent on June 14 (don't blame
David for the ChangeLog entries).

1999-06-22  David Martin <dmartina@usa.net>

* gnome/gnome-file-property-dialog.c (switch_metadata_box): Tag some
strings for localization.

* gnome/gnome-open-dialog.c (gnome_open_dialog_new): Don't assemble
label_string from seperate strings (makes it easier to translate).

* src/view.c (display): added view_gotoxy's in order to make hex mode
work in the gnome edition.

* gtkedit/gtkedit.c (tb_items): Mark strings for localization.

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

* gnome/gview.c (viewer_size_changed): Update internal viewer state used
in hex mode.


And some fixes to the bug reported on mc-bugs ("Two Big Bugs in
Quickview@mc").

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

* src/cmd.c (quick_view_cmd): Change panel when the file we want to
view isn't in the current panel (prevents a "file not found"
error).

* src/menu.c (menubar_execute): De-activate the menubar previous to
invoking the callback. This is needed to make change_panel in
quick_view_cmd work (the activated menubar doesn't allow unfocus,
i.e. dlg_one_down|up don't change anything).

* src/view.c (do_view_init): improved error handling w.r.t quick view
(mc used to dump core when the file to view couldn't be opened).
1999-06-22 10:29:29 +00:00
Miguel de Icaza 7a22a993e7 1999-06-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (set_icon_wmclass): New function to set the wmclass
	and wmname for desktop icons.  This lets them be managed correctly
	by WMs who try to manage X11R5 clients decently.
	(text_changed): Call set_icon_wmclass().
	(desktop_icon_info_new): Call set_icon_wmclass().

	* gdesktop-icon.c (desktop_icon_realize): Do not clear the
	WM_CLIENT_LEADER property.
1999-06-17 22:42:01 +00:00
Pablo Saratxaga 4e24fdb8e7 added catalan language file.
corrected gnumeric file (it described gimp)
1999-06-16 11:07:35 +00:00
Nuno Ferreira 02842dce07 1999-06-15 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* */*.desktop: Added Portuguese translations.

1999-06-16  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

	* pt.po: Updated.
1999-06-16 00:30:00 +00:00
Miguel de Icaza b24460e51c 1999-06-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (icon_is_in_area): Fixed off-by-one error in
	intersection computation.

	* gdesktop-icon.c (desktop_icon_reshape): Set the correct values
	for dicon->text_x and dicon->text_y.
1999-06-14 22:50:45 +00:00
Miguel de Icaza 85b9ee430a 1999-06-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* complete.c (complete_engine): Put an #ifndef HAVE_GNOME around
	the completion/query engine.  Make the Gnome version just beep
	instead.  We do not have the completion/query engine for Gtk.

1999-06-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gwidget.c (x_update_input): Unblock the changed signal *after*
	we call gtk_editable_changed().
1999-06-11 16:56:28 +00:00
Miguel de Icaza d579290936 1999-06-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop-icon.[ch]: Removed the background hack for desktop
	icons.  Now the GnomeIconTextItem does the right thing.

	* gdesktop-icon.c (desktop_icon_reshape): Use the correct size for
	the icon text item.
1999-06-10 00:57:26 +00:00
Miguel de Icaza 2030141d95 1999-06-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (new_terminal): New function to open a terminal from
	the popup menu.  If the user opens a terminal from the desktop,
	then its cwd should be the user's home directory, not the desktop
	directory.  Fixes bug #2868 in the Red Hat bugzilla.
1999-06-07 22:14:55 +00:00
Miguel de Icaza eb785b90dc 1999-06-04 Robert Brady <rwb197@ecs.soton.ac.uk>
* gscreen.c (panel_list_configure_contents): Prevent
	divide by zero error. (Fixes bug #1360)
1999-06-06 03:47:19 +00:00
Miguel de Icaza a5187ef242 Include signal.h for recent changes -mig 1999-06-03 16:40:40 +00:00
Miguel de Icaza 924b4e22ff 1999-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gmain.c (xtoolkit_init): Ignore SIGTTIN and SIGTTOU.
1999-06-02 21:55:14 +00:00
Miguel de Icaza 9ffbc3ae81 1999-06-01 Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>
* gnome/gdesktop-icon.h:
	* gnome/gmc-chargrid.c: Replace gdk_font_load() with
	gdk_fontset_load(), and change the default font names.

1999-06-01  Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>

	* util.c (is_printable): in GNOME all characters are printable.
1999-06-01 22:38:56 +00:00
Miguel de Icaza ef3fe0dafe 1999-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop-icon.c (desktop_icon_select): Show the
	dicon->background.
	(desktop_icon_init): Initialize backgorund as a rectangle that
	fills all of the space used by the icon.
1999-06-01 19:15:47 +00:00
Kjartan Maraas 2b671bbfdd 1999-05-31 Kjartan Maraas <kmaraas@online.no>
* glayout.c (gnome_panel_about_menu): Hooked up the
		  new help file in the menu.
1999-05-31 18:57:05 +00:00
Kjartan Maraas 8d97491161 1999-05-31 Kjartan Maraas <kmaraas@online.no>
* glayout.c: hooked up the help file in the menu.
1999-05-31 18:54:25 +00:00
Miguel de Icaza 259a376b85 1999-05-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gprefs.c (create_prop_int): Translate this label too.

	* gnome-open-dialog.c: Add config.h here.  Otherwise there is no
	way to translate this dialog.  Thanks to David Martina for
	pointing this out.

1999-05-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1999-05-29 19:22:51 +00:00
Miguel de Icaza 9c0597b6a3 1999-05-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c: Include util.h after x.h;  Undefine __G_LIB_H__.
1999-05-28 22:31:30 +00:00
Yukihiro Nakai 1b021c6143 Add Japanese entry. 1999-05-28 07:51:04 +00:00
Miguel de Icaza 9e6058809a 1999-05-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c (panel_tree_button_press): Beginning of context menu
	on tree.

	* gtkdtree.c (gtk_dtree_load_path): Comment out the phantom code.
	Need to review this code.  Lets fix the problem Federico needs
	solved now.
1999-05-28 05:41:18 +00:00
Miguel de Icaza 7a0defee61 Fix bug #1293: 1999-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gpopup.c (panel_action_properties): Hanlde properly
	gnome_dialog_run here.

	* gpopup2.c (handle_properties): ditto

	* gmain.c (gnome_check_super_user): Use dialog_run_and_close here.

	* gpopup.c (dicon_properties): Handle propery gnome_dialog_run

	* gdialogs.c (file_mask_dialog): Fix usage of gnome_dialog_run
	here.  Handle case == -1.

	* gcmd.c (gnome_select): Fix usage of gnome_dialog_run here
	(handle case == -1)
1999-05-27 02:06:27 +00:00
Miguel de Icaza e082388cb9 1999-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c (panel_fill_panel_icons): Add a hack to work around
	gnome-libs/gnome-icon-list bug that did not reset the proper
	values.  A fix will be available in gnome-libs-1.0.10.

	Fixes bug #1338.
1999-05-27 01:46:22 +00:00
Miguel de Icaza 8c90a5a44d 1999-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gcmd.c (gnome_close_panel): Remove filter_w

	* gscreen.c (x_filter_changed): Update nothing.

1999-05-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1999-05-26 23:04:34 +00:00
Miguel de Icaza 2dd341f2a5 1999-05-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-open-dialog.c (gnome_open_dialog_generate_tree_helper):
	Invoke closedir here as well.

	* gdesktop-init.c (desktop_init_at): Invoke closedir here.
1999-05-24 22:46:26 +00:00
Tuomas Kuosmanen 6225086f5a Added the icon to the Makefile.in also so it gets installed. /tig 1999-05-19 05:55:10 +00:00
Tuomas Kuosmanen 8494a1098f Added a ZIP DISK icon - someone please add it to gmount.c :) /tig 1999-05-19 05:46:58 +00:00
cwryu 64cd62430d Added Korean translation for mime-type.desktop 1999-05-04 18:21:58 +00:00
Miguel de Icaza 1504246e7f 1999-04-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
* chmod.c (chmod_cmd): Missing _ in _().
	(chmod_cmd): Added braces around nested if/else.

	* widget.c (is_in_input_map): Added braces around nested if/else.
	(listbox_remove_current): Likewise.

	* subshell.c (read_subshell_prompt): Likewise.

	* view.c (view_status): Likewise.

1999-04-29  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gdialogs.c (file_progress_show_count): Use correct formats for
	snprintf().
1999-05-03 18:57:48 +00:00
Miguel de Icaza d5ba85df4b Add new Tigert icon 1999-05-03 15:49:07 +00:00
Tuomas Kuosmanen fd65d97979 Changed the dir-tree icons to match the green eeky color of the big folders
/tigert
1999-05-02 23:11:08 +00:00
Tuomas Kuosmanen c56e4206b8 Added new, better looking folder icons.. /tigert 1999-05-02 22:26:46 +00:00
Miguel de Icaza 6b8d2323bd 1999-05-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gcmd.c (gnome_new_link): Allow users to create url shortcuts on
	the desktop menu.
1999-05-01 13:58:00 +00:00
Miguel de Icaza 3ce320801f Handle image/png as well -mig 1999-04-27 23:43:59 +00:00
Miguel de Icaza 49061a6fc1 1999-04-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (click_proxy_motion): Terminate rubberbanding if the
	event mask does not contain GDK_BUTTON1_MASK.  There is a race
	condition where we will not get the button release event if we
	manage to grab the server in the button_press handler before the
	window manager proxies the button release to us.
	(perform_release): New function to terminate rubberbanding; this
	used to be in click_proxy_button_release().  Also, update the drag
	selection based on the last known mouse position, not on the
	current one (which is not meaningful if the race condition
	mentioned above kicks in).
	(click_proxy_button_release): Use perform_release().
1999-04-21 00:22:30 +00:00
Miguel de Icaza ce7f0886e4 1999-04-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdialogs.c (file_op_context_create_ui): Handle the "close"
	signal from the progress dialog; do not let GnomeDialog close it
	for us.  This fixes bug #2203 in Red Hat's Bugzilla.
1999-04-19 20:38:53 +00:00
Miguel de Icaza 9a0fa9a8e7 Second fix 1999-04-19 19:06:15 +00:00
Miguel de Icaza 9cd7859448 1999-04-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (perm_group_new): Small typo fix
	that fixes crash (#958)
1999-04-19 16:30:20 +00:00
Miguel de Icaza 800ab829b2 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (create_general_properties): Mark
	some more strings for translations.  Thanks to David Martina for
	pointing these out.

	* mc.keys.in.in: New icons from Tim Davis <davist@cs.man.ac.uk>
1999-04-18 22:35:42 +00:00
Miguel de Icaza f65689ab15 New audio/music icons from Tim Davis <davist@cs.man.ac.uk> 1999-04-18 22:22:13 +00:00
csmall c185615db9 remove second glib.h (the miguel made me do it) 1999-04-18 06:57:37 +00:00
Miguel de Icaza 3b2afd14c8 Jesus, typo went away 1999-04-18 06:54:49 +00:00
Miguel de Icaza 33c650f9bf Use dvips with explicit -o option 1999-04-17 18:28:33 +00:00
Miguel de Icaza 2c66e8180a 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c: Include the glib.h header file here.
1999-04-17 06:37:42 +00:00
Miguel de Icaza 936e6ef50f 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* mc.keys.in.in: Merge the application/tex values.
1999-04-16 23:42:53 +00:00
Miguel de Icaza 60f80115f3 1999-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* treestore.c (tree_store_save_to): Moved the functionality from
	tree_store_save() to here.
	(tree_store_save): Save the tree in the default location in an
	atomic fashion.
	(tree_store_load_from): Moved the functionality from
	tree_store_load() to here.
	(tree_store_load): Load the tree from the default location.

	* treestore.h (MC_TREE_TMP): Added a #define for the temporary
	name we'll use when saving the tree.  Moved the #defines from
	tree.h over to here.

	* main.c (main): Use tree_store_load() and tree_store_save().
	Removed the mc_tree_store_load/save() versions.

	* tree.c (load_tree): Use tree_store_load().
	(save_tree): Use tree_store_save().
1999-04-16 22:02:09 +00:00
Miguel de Icaza 1270687440 1999-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (panel_tree_check_auto_expand): Enabled auto-collapse
	functionality again.  Made the code a simpler by using
	gtk_dtree_is_ancestor().

	* gtkdtree.c (gtk_dtree_is_ancestor): New function to test whether
	a node is an ancestor of a child.  This does the same as
	gtk_ctree_is_ancestor(), but much more efficiently.  GtkCTree
	seems to use the pessimal algorithm for this.
	(gtk_dtree_collapse): Slight optimization: do not re-select if the
	node is already selected.
	(gtk_dtree_collapse): Do not freeze/thaw the tree while
	collapsing/selecting.

	* gmain.c: Removed crufty old SM code.
1999-04-16 18:25:00 +00:00
Matthias Warkus 00e136e22d Some German l10n 1999-04-16 11:45:10 +00:00
Miguel de Icaza 99d97479f0 1999-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (panel_setup_drag_scroll): Made it not return
	anything, since scrolling is independent from any other
	prelighting actions.
	(panel_tree_drag_begin): Do not print debugging message.
	(panel_drag_data_get): Assert that we were requested a valid data
	type.
	(panel_create_tree_view): Only specify GTK_DEST_DEFAULT_DROP for
	the tree, since we want to present the correct feedback when the
	user is hovering over the blank area in the tree.
	(panel_build_selected_file_list): Made it return char *.
	(panel_tree_drag_end): Free dtree->drag_dir, not dtree->current_path.
	(tree_drag_open_directory): Use panel->drag_tree_node instead of
	the coordinates hack.

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

	* gscreen.c (panel_setup_drag_scroll): Made it not return
	anything, since scrolling is independent from any other
	prelighting actions.
	(panel_tree_drag_begin): Do not print debugging message.
	(panel_drag_data_get): Assert that we were requested a valid data
	type.
1999-04-15 23:19:36 +00:00
Jonathan Blandford 3365e8122c 1999-04-15 <jrb@redhat.com>
(gmc_unable_to_execute_dlg): oops. forgot this.
1999-04-15 19:25:31 +00:00
Jonathan Blandford 4d2f528b3e 1999-04-15 <jrb@redhat.com>
* gaction.c (gmc_unable_to_execute_dlg): really ugly hack to set label.
1999-04-15 19:24:29 +00:00
Miguel de Icaza 5daec90384 1999-04-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtkdtree.c (gtk_dtree_destroy): Memory leak fix: destroy
	current_path and requested_path
1999-04-14 00:03:24 +00:00
Matthias Warkus ddfdbc4138 Added/revamped/hyphenified German lines in .desktop entries;
Updated/redid de.po.

I have *not* changed all the other .po files, I've done "make
update-po", that's all. Please kill me, should I have messed up the
tree somehow.

Kill me anyway, should I have goofed with CVS somehow. This thing
scares me no end, I keep looking stuff up in the documentation, and
it's with trembling fingers that I do my commits. Luckily I can't
break any code since I don't work on any code :)
1999-04-13 19:29:16 +00:00
Jonathan Blandford a0b4b12797 1999-04-13 Jonathan Blandford <jrb@redhat.com>
* capplets/mime-type/mime-data.c (write_mime_foreach): many many
	changes.  Now you can really add a mime-type.
1999-04-13 19:17:40 +00:00
Jonathan Blandford 5ea6f63177 *** empty log message *** 1999-04-13 18:49:29 +00:00
Pablo Saratxaga 1b8caceec6 little i18n fixes 1999-04-13 17:41:48 +00:00
Pablo Saratxaga c7869c46b5 updated spanish language file, and added spanish/french to
desktop files
1999-04-13 17:21:36 +00:00
Andrew T. Veliath 9e7e543cef src/
* main.c (_do_panel_cd): If we are using GNOME, and the panel is a
	desktop panel, open up a new panel for the contents.

gnome/
	* gdesktop.c (create_panel_from_desktop): Assign selected_index
	when we find the last selected icon.
	(desktop_icon_info_open): Desktop directory open case moved to
	main.c to handle both general and action cd commands.

vfs/
	* extfs.c (extfs_unlink):
	(extfs_mkdir):
	(extfs_rmdir):
	(remove_entry): New functions.
	(vfs_extfs_ops): Add unlink, mkdir and rmdir functions to table.
	Add descriptions for these to the extfs README.
1999-04-13 02:05:15 +00:00
Jonathan Blandford ba44c6a5f0 many fixes.
ugh, this code sux
1999-04-13 01:04:11 +00:00
Pablo Saratxaga d62476e80e little update of spanish language files 1999-04-12 23:46:24 +00:00
crichton 2446ed3b4c added [fi] to 2nd name line in .desktop. I dont know Finnish, but I got
a strong feeling tyypit is Finnish for type. ;)

Mark
1999-04-12 07:16:42 +00:00
Tuomas Kuosmanen 007cc2edfd oohh! my first gmc commit! Run for shelter! (actually I just changed one
menu icon to a better suitable one..)

 /tigert
1999-04-11 21:35:04 +00:00
Jonathan Blandford 10e3bd7aae wm-properties: Cosmetic cleanup
mime-type: more work.  Syncing with home 'puter
1999-04-11 17:46:45 +00:00
Miguel de Icaza 9f68cc2df5 1999-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (panel_icon_list_button_press): Ignore double clicks.
	(panel_widget_motion): Don't do anything if the button state does
	not match the button we are expecting.

	* gtkflist.c (gtk_flist_button_press): Remove pending selections
	when we receive a double click.

	* gaction.c: #include "view.h"
1999-04-10 00:54:10 +00:00
Miguel de Icaza aa723d5ddd 1999-04-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gmount.c (is_block_device_mountable): Allow root to mount
	devices.
1999-04-10 00:40:32 +00:00
Jonathan Blandford 1bf4926ff7 began adding new add window. Will finish it later tonight...
-Jonathan
1999-04-09 22:57:47 +00:00
Miguel de Icaza d2d6cd224a I always forget to add the files. I love my consistency. - Federico 1999-04-09 21:48:24 +00:00
Miguel de Icaza cdeefae1ec 1999-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtkflist.[ch]: New files.  This is a "file list" widget derived
	from GtkCList that does several things:

		- Overrides all mouse and keyboard event handlers.

		- Implements its own, *sane* selection behavior, unlike
		GtkCList's, which is broken.

		- Implements the same selection behavior as the desktop,
		which is a) correct, and b) consistent.

	* gscreen.c (panel_create_file_list): Use the GtkFList widget.
	(panel_widget_motion): Changed the drag thresholds to be the same
	as in gtkdnd.c.
	(start_drag): New convenience function to begin a drag operation.
	(panel_widget_motion): Use start_drag().
	(panel_clist_scrolling_is_desirable): Offsets must be with respect
	to the clist_window, not to the allocation.
	(panel_clist_drag_motion): Normalize the y coordinate of the
	motion event to the clist_window.

	* gdesktop.c (desktop_icon_info_destroy): Reset the
	last_selected_icon to NULL if it is destroyed.

	* Makefile.in: Added gtkflist to the list of files.
1999-04-09 21:13:04 +00:00
Rosanna Yuen a372e9a375 * gnome/gaction.c (gmc_view): We now have consistant actions
everywhere; every time you invoke a file.
	* src/screen.c (do_enter_on_file_entry): split GNOME version and
	non-gnome version.
	(parse_display_format): listen to the warning.
1999-04-09 12:58:10 +00:00
Jonathan Blandford 22fab3851b 1999-04-08 Jonathan Blandford <jrb@redhat.com>
* gaction.c (gmc_unable_to_execute_dlg):
	now actions do the right thing (TM).

no change in screen.c other than formatting.
1999-04-09 01:18:06 +00:00
Owen Taylor fa95649cfa 1999-04-07 Owen Taylor <otaylor@redhat.com>
* gsession.c (session_save): Set a discard command
	to get rid of the per-session information.
1999-04-08 02:13:21 +00:00
Jonathan Blandford a92adc1479 1999-04-06 Jonathan Blandford <jrb@redhat.com>
* gscreen.c: make sure that we bring up an open_with if
	open it.

	* gcmd.c (gnome_select): new selection dialog.

	* gdesktop-init.c (desktop_init_at): do not use access for it is
	poor when you are root.

1999-04-07  Jonathan Blandford  <jrb@redhat.com>

	* screen.c (do_enter_on_file_entry): added a consistent behaviour
	for GNOME stuff.
1999-04-07 23:26:49 +00:00
Miguel de Icaza b069f7b995 1999-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* glayout.c (create_container): Use gtk_window_set_default_size(),
	not gtk_widget_set_usize().

	* gdesktop.c (get_slot_from_pos): Clamp the slot positions to be
	inside the screen.

	* gmain.c (gnome_check_super_user): Improved the message a bit.
1999-04-07 01:49:22 +00:00
Miguel de Icaza ac4255c10b Adds C-s to the Edit menu.
Patch from Ronald Da Man.
1999-04-07 01:33:04 +00:00
Miguel de Icaza 0ef58f89a5 1999-04-06 David Martin <dmartina@usa.net>
* gcmd.c: marked message for translation.


1999-04-06  David Martin <dmartina@usa.net>

	* info.c (text out of box and locale layout).

	* util.c: If gmc uses strftime() why mc doesn't?

	* view.c: a) Tune status line so it does fit in a Quick View Panel
	b) Let Hex View resize cleanly. I think it's fixed for panel
	re-split and SIGWINCH signal in xterm. gmc still fails. There was
	a tiny risk of division by zero when pressing F4 in a very small
	box. True hard work... Must try and check it.

1999-04-06  David Martin <dmartina@usa.net>

	* Updated es.po
1999-04-06 19:00:16 +00:00
Miguel de Icaza af67e06272 1999-04-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmetadata.c (gmeta_del_icon_pos): New function to delete the
	icon position metadata from a file.

	* gcmd.c: Removed unused function gnome_quit_cmd().

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

	* main.c (main): Call mc_tree_store_save() when the program
	terminates.
1999-04-06 03:49:34 +00:00
Miguel de Icaza 4ee4ff8680 Toys + fixes from Ronald.
1999-04-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gprefs.c: Add new page for desktop properties.

1999-04-05  Ronald de Man <deman@win.tue.nl>

	* gnome-file-property-dialog.c (create_general_properties): Use
	local time here.

1999-04-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* setup.c: Save desktop information.
1999-04-06 01:00:20 +00:00
Miguel de Icaza 8ca4c59e39 1999-04-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gcorba.c: #include "../vfs/vfs.h"
1999-04-05 21:38:50 +00:00
Miguel de Icaza c7a8f4846e 1999-04-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (file_list_popup_items): Use "New Directory", not "New
	Folder", to be consistent with the desktop and File menus.  Thanks
	to Kevin Fox for pointing this out.
	(panel_icon_list_drag_data_received): Update the panels properly.
	(panel_clist_drag_data_received): Likewise.
	(panel_tree_drag_data_received): Likewise.

	* gcmd.c (gnome_close_panel): Doh.  Do not access g_free()d
	memory.

	* glayout.c (copy_uiinfo_widgets): Return the copied array as a
	return value, not in an argument.

	* gcmd.c (set_view_type): Added a sanity check.
1999-04-05 05:39:26 +00:00
Mikko Rauhala 950ba36516 Finnish translations 1999-04-04 23:57:42 +00:00
ettore c72875d399 Updated several `.desktop' and `.directory' files with the Italian
translations.
1999-04-02 22:38:54 +00:00
Miguel de Icaza 5c38a4b03b 1999-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtkdtree.c (scan_subtree): Moved the functionality to scan a
	subtree to this function.  Also, do not emit the DIRECTORY_CHANGED
	signal here.
	(gtk_dtree_select_row): Call scan_subtree() and emit the
	DIRECTORY_CHANGED signal here.
	(gtk_dtree_expand): Do not select the just-expanded node.  Call
	scan_subtree().
	(gtk_dtree_collapse): Only select the node if it is an ancestor of
	the currently-selected node.  This should really go in the
	GtkCTree sources.
	(gtk_dtree_init): Bad hack: unset the GTK_CAN_FOCUS flag to avoid
	the broken focusing behavior of GtkCTree.
1999-04-02 00:29:05 +00:00
Miguel de Icaza 584cac757f 1999-04-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gcmd.c (gnome_about_cmd): Internationalize about box.  And put
	the right address for bug reports.
1999-04-01 21:31:55 +00:00
Miguel de Icaza 2894d6298c When will I learn. It helps to add the files - Federico 1999-03-30 06:21:30 +00:00
Miguel de Icaza b3bb157ad5 These are a bunch of changes to fix CORBA and session management. They
are almost complete (i.e. to handle all nitty gritty cases), but they
seem to be working OK right now.  SM should be much more stable now.
Please tell me if you find any weird behavior - Federico

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

	* gdesktop-icon.c (desktop_icon_realize): Remove the
	WM_CLIENT_LEADER property from icon windows so that window
	managers will not store SM information for them.

	* gnome-open-dialog.c: Added missing #includes.

	* gdesktop-init.c (desktop_init_at): Removed an unused variable.

	* gdesktop.h: Added some missing prototypes.

	* gmain.h: Added some missing prototypes.

	* Makefile.in: Added gsession.[ch] to the list of sources.

	* gmain.c (create_panels): Consider whether we have a CORBA server
	and session management.

	* gdesktop.c: #include "gdesktop-init.h"
	* gdesktop.c: Added a missing cast to GNOME_DIALOG.

	* gmain.c (create_panels): Removed the run_desktop global
	variable.

	* glayout.c (create_container): Set the wmclass of the panel to
	include its unique ID.

	* gsession.[ch]: New file with the functions that deal with
	session management.

	* glayout.c (gnome_exit): Use session_set_restart().

	* gcorba.c (corba_init): Now returns an int with an error value.
	(corba_init_server): Initialize the server properly.
	Fixed all the object implementation code.
	(corba_create_window): New function used to create a window with
	the CORBA server.

	* gmain.c (gnome_check_super_user): Now the check for running as
	root is done here.  There should be no GUI code in src/.

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

	* dlg.c (dlg_run_done): Do not call the callback of a NULL current
	widget.

	* setup.h: Added missing prototype for setup_init().

	* filegui.c (check_progress_buttons): Added a missing return
	value.

	* dlg.c (remove_widget): Added a missing return value.

	* main.c: Removed the global directory_list variable.
	Removed the main_corba_register_server() function.

	* main.h: Removed the global run_desktop variable.

	* panel.h: Now the panel structure has a unique numerical ID used
	for session management.

	* screen.c (panel_new): Maintain a unique ID for each panel.

	* main.c (maybe_display_linksdir): Handle display of the desktop
	init dir here.
	(main): Call gnome_check_super_user().
	(init_corba_with_args): Call corba_init_server().

	* main.c (init_corba_with_args): Do CORBA initialization here.  Also
	removed the global force_activation option.

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

	* vfs.c (vfs_add_current_stamps): Only do stamping of the panels
	if they exist.

	* mcserv.c: #include <sys/wait.h>
	(get_client): Put `#ifdef __EMX__' around an otherwise-unused
	variable.

	* utilvfs.c (vfs_split_url): Fix NULL <-> 0 confusion when
	comparing characters.

	* ftpfs.c (retrieve_dir): Removed unused variable dot_dot_found.

	* extfs.c (extfs_init): Assign `key' to c, not `&key'.
1999-03-30 06:09:56 +00:00
Jonathan Blandford 05e0754f46 1999-03-29 Jonathan Blandford <jrb@redhat.com>
* gdesktop.c (create_desktop_dir): improved wording.
	(create_desktop_dir): improved wording.
1999-03-29 21:45:59 +00:00
Kjartan Maraas 8d44e8a322 1999-03-29 Kjartan Maraas <kmaraas@online.no>
* gnome-file-property-dialog.c (perm_ownership_new):
		marked a string for translation.
1999-03-28 23:14:07 +00:00
Kjartan Maraas c8e5afed8d 1999-03-29 Kjartan Maraas <kmaraas@online.no>
* gcmd.c (gnome_sort_cmd): two strings changed from
		N_() to _() to activate the translations.
1999-03-28 23:11:52 +00:00
Miguel de Icaza d2b3c007b3 4.5.28 - Federico 1999-03-26 20:37:48 +00:00
Jonathan Blandford 52dddb7598 1999-03-26 Jonathan Blandford <jrb@redhat.com>
* capplets/mime-type/mime-type-capplet.c (main): oops -- should be
	mime-type-capplet, not mouse-capplet.  Thanks to Jacob Berkman
	<jberkman@andrew.cmu.edu> for pointing this out

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

	* capplets/theme-switcher/gui.c (click_entry): bug fix.  Now we
	can try again after a revert.
1999-03-26 16:35:32 +00:00
Timur Bakeyev 188d414612 Fri Mar 26 19:16:38 1999 Timur Bakeyev <mc@bat.ru>
* */Makefie.*: fixed several missed conversions from libdir to
	mclibdir. (Should be automake'd, really)
1999-03-26 16:18:41 +00:00
Tomasz Kłoczko dcc0db3737 - modyfications which allow use $DESTDIR in install target. 1999-03-26 13:58:43 +00:00
Jonathan Blandford 9fba0a4e27 1999-03-25 Jonathan Blandford <jrb@redhat.com>
* gdesktop.c (set_background_image): now we can set the background
	from GMC.
1999-03-25 23:17:55 +00:00
Miguel de Icaza ff1a8f6a3b Ok, I am finally back.
Basically, I had to setup an ssh tunnel to be able to use CVS.  After
5 hours trying to get the damn thing to cvs update it was clear to me
why the .es people do not like to use the gnome cvs.

We really need a tunnel for .es hackers (as they have excellent connectivity
to the rest of Europe, they are just routed trough a 2 byte link to the US).

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

	* treestore.c (process_special_dirs): Free memory here.

	Fix test: Skip only "." and "..", before it could skip "?.".

1999-03-22  David Martin <dmartina@mailexcite.com>

	* wtools.c (real_input_dialog_help): Do a strncmp with the lenght
	of th same translated "Password:" string.

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

	* glayout.c (create_new_menu_from): closedir after running.

1999-03-20  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gnome-file-property-dialog.c (apply_metadata_change): Fix the
	test for setting the icon.  It was being done incorrectly and thus
	it was never possible to change the icon.

	* glayout.c (gnome_launch_mime_editor): Add mime-type-edit command
	to the menu: this launches mime-type-capplet

1999-03-22  David Martin <dmartina@mailexcite.com>

	* ftpfs.c: Internationalize the messages that are displayed as
	hints.

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

	* extfs.c (extfs_init): Fix the code here:  If the key is empty or
	only contains a new line, C would be pointing into an invalid location.
1999-03-24 12:16:52 +00:00
Miguel de Icaza e0db072382 1999-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gnome-file-property-dialog.c (apply_metadata_change): Fixed
	incorrect logic when testing whether the icon changed or not.
	This makes icons change correctly again.

	* Makefile.in (GNOMEHDRS): Added gdesktop-init.h.
1999-03-23 20:39:29 +00:00
Jonathan Blandford d82dfc7aa7 1999-03-22 Jonathan Blandford <jrb@redhat.com>
* gdesktop-init.c (gdesktop_init): Do what the documentation says.
1999-03-23 20:33:48 +00:00
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 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
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
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
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 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
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 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 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
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
Miguel de Icaza 3fd381cc32 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
Fix bug #261: inconsistent labels in view menu and toolbar,
	unsynchronized items.

	* glayout.c (panel_view_menu_uiinfo panel_view_toolbar_uiinfo):
	Made the view names consistent with the toolbar names.  Also,
	added underscore accelerators to the menu items.
	(copy_uiinfo_widgets): New function to copy the widgets from an
	uiinfo array into a widget array.
	(create_container): Copy the uiinfo widgets to the panel
	structure.

	* gcmd.c (set_view_type): New function to set the list view type
	and synchronize the menu and toolbar items.
	(gnome_close_panel): Free the view menu/toolbar item arrays.
1999-03-11 22:17:36 +00:00
Miguel de Icaza f96fdd9bbc 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gpopup2.c (perform_mount_unmount): Set the icon's cursor while it is
	being operated on.
	(handle_mount): Use perform_mount_unmount().
	(handle_unmount): Likewise.
	(handle_eject): Set the icon's cursor while it is being ejected.

	* gdesktop.c (desktop_icon_set_busy): New function to set a watch
	or normal cursor for a desktop icon.
1999-03-11 19:37:24 +00:00
Miguel de Icaza 7458010662 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (desktop_icon_info_open): Set the cursor to a watch
	while the icon is being opened.  Also, fixed memory leaks.
	(do_eject): Added a missing return value.
1999-03-11 19:23:23 +00:00
Miguel de Icaza cbebd9cd27 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (do_mount_umount): Use g_readlink here.

	* gpopup2.c (handle_eject): Small tuning.  And use g_readlink :-).

	* gmount.c (mount_point_to_device): New function.  Mapes a mount
	point to its device.  Required since we are now using the mount
	point (as this is not ambiguous) as the key for the devices and
	the eject command needs the device name, not the mount point.

	* gdesktop.c (desktop_icon_info_open): First try to see if
	filename is mountable.  Then do the directory tests and the file
	launching tests.  Fixes mount-by-double click.

	* gmount.c (setup_devices): Use new tigert icon.
1999-03-11 07:53:26 +00:00
Miguel de Icaza 9be5d13eb3 1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* glayout.c (save_panel_types): Do not save the setup of a desktop
	panel.

	* gpopup2.c (handle_mount): Use get_full_filename().
	(handle_unmount): Likewise.
	(handle_eject): Likewise.
	(handle_open): Likewise.
1999-03-11 04:49:55 +00:00
Miguel de Icaza 0bd0f7dac2 1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (update_url): Made static.
	(desktop_reload_icons): Call update_url() when updating an
	existing icon.

	* gpopup2.c (handle_properties): Do not update the icon url here.
1999-03-11 03:18:48 +00:00
Jonathan Blandford 4663c905a2 Beginnings of the mime-type capplet.
Also, fixed the stupid bug that prevented people from debugging capplets
in gdb.
1999-03-11 03:11:07 +00:00
Miguel de Icaza ca1437548b 1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
This is a semi-big slew of changes to integrate the DESKTOP_BRANCH
	into the main trunk.  Now the gdesktop code creates a temprary
	WPanel structure and passes it on to the core file management
	functions.  Also, the menu code is improved (we now use gpopup2;
	gpopup should go away shortly and gpopup2 should replace it).
	This makes the desktop act consistently with the file panels.
	Thanks to Jonathan for his help with this branch.

	* gdnd.c (perform_action): Use mc_lstat(), not mc_stat().

	* glayout.c (update_panels): Do not update the panels that are
	desktop panels.

	* gdesktop.c (icon_is_in_area): An icon is not considered to be in
	a 0x0 area.

	* gpopup2.c (handle_open): Fetch the desktop icon from the
	filename and call desktop_icon_info_open().

	* gdesktop.c (desktop_icon_info_get_by_filename): New function to
	look up a desktop icon by its filename.

	* glayout.c (create_new_menu_from): Test for the ".desktop" suffix
	correctly.

	* gpopup2.c (handle_properties): If the file comes from a desktop
	panel, always allow edition of the icon image.

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

	* file.c (erase_dir): Erase metadata for directories as well.
	(erase_dir_iff_empty): Likewise.
	(copy_file_file): Delete/copy the metadata even for
	char/block/sock/fifo files.  Same thing for when copying symlinks.
	(copy_dir_dir): Delete/copy the metadata.
	(move_dir_dir): Delete/move the metadata.
	(recursive_erase): Delete the metadata.
1999-03-11 02:40:53 +00:00
Miguel de Icaza 0559c128f7 1999-03-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdialogs.c: Support ui->ctx to be NULL, as file.c will set this
	to NULL for background operations.


1999-03-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* utilunix.c (g_readlink): New function.  Wraps all the nonsense
	of readlink into a nice routine.

	* filegui.c: Support ui->ctx to be NULL, as file.c will set this
	to NULL for background operations.

	* background.c (do_background): Handle EINTR in dup2.
1999-03-11 02:00:12 +00:00
Miguel de Icaza d80cea83fa 1999-03-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (icon_drag_data_received): Pass the full directory
	name to gdnd_perform_drop.

	* gpopup.c (create_regexp_actions): This routine no longer creates
	the default copy/move/delete context menu entries.

	(file_actions): Include the copy/move/delete options here.  This
	also enabled me to reorder things to put "Delete" closer to the
	top, as it is a pretty common operation.
1999-03-10 17:54:33 +00:00
Miguel de Icaza 262d157cc6 Debian updates:
- Do not limit to static buffer size in slang.
	- mcfn_install: fix, use #!, not #
	- Use +Z for zsh
	- Updated deb fs browser

Miguel.
1999-03-10 01:22:30 +00:00
Miguel de Icaza cb800625fc 1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gmain.c (session_save_state): Add call to gnome_config_sync().
1999-03-09 04:34:05 +00:00
Miguel de Icaza 83818189e0 1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gutil.c (my_system_get_child_pid): reset SIGPIPE to a sensible
	value.
	(my_system_get_child_pid): Close also stdin/stdout/stderr

	* gdesktop.c (is_mountable): Allow user-nfs devices to be mounted
1999-03-09 03:56:54 +00:00
Miguel de Icaza f3a438eae3 1999-03-08 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (can_drop_on_clist): New function to figure out if the
	user is trying to drop on a valid region of a GtkCList.  It sucks
	to have to poke into its internal geometry, though.
1999-03-09 00:13:07 +00:00
Miguel de Icaza dc5611105e 1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (apply_metadata_change): only set
	the needs-terminal property if we actually created such entry.
1999-03-08 21:00:33 +00:00
Sergey Panov 30052d80eb * gcustom-layout.c, gprefs.c: Make the preferences dialog
translatable. (include files in gcustom-layout.c and use of
        the _() macro in gprefs.c)
1999-03-08 05:18:50 +00:00
Miguel de Icaza d37b2a77f8 1999-02-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (create_settings_pane): Simplify
	the test and fix it.
1999-03-01 01:32:24 +00:00
Miguel de Icaza c5706b8e57 1999-02-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (create_settings_pane): Simplify
	the test and fix it.
1999-03-01 01:26:00 +00:00
Miguel de Icaza 8b195d8760 1999-02-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (create_settings_pane): Simplify
	the test and fix it.
1999-03-01 01:18:40 +00:00
Miguel de Icaza 222cb72a9a 1999-02-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdnd.c (drop_on_file): Fix these so that they can use the
	metadata drop-action.
1999-03-01 00:54:48 +00:00
Miguel de Icaza 1caafe5ce5 1999-02-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdnd.c (drop_on_file): Fix these so that they can use the
	metadata drop-action.
1999-03-01 00:54:47 +00:00
Miguel de Icaza 3d0c3214fa 1999-02-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (desktop_icon_info_open): Ugly.  Needs to share more
	code here.  Use the metadata first, and the is_exe to find out how
	to launch an application.
1999-03-01 00:11:40 +00:00
Tomasz Kłoczko 5f4ad663c3 - fixed installing $gnewdir with DESTDIR. 1999-02-28 21:21:26 +00:00
Miguel de Icaza c4673ab366 Uncomment ActiveVFS list until it works 1999-02-28 20:21:01 +00:00
Miguel de Icaza 3a6fa38650 1999-02-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (perm_group_new): Check the return
	value of getgrgid.
	(perm_group_new): Do not use a grp if it does not exist.
1999-02-28 07:19:33 +00:00
Miguel de Icaza cf5ce5b680 1999-02-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
* glayout.c (my_app_create_menus): New function, used to create
	our menus and set the realy properly, to make cpanel (ie,
	current_panel) always consistent with what the user users.

	So, no need to kill the tearoff menus in gmc now.
1999-02-27 00:04:40 +00:00
Miguel de Icaza 80d26de170 1999-02-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gmount.c (is_block_device_mountable): compare the device name
	here.
1999-02-26 19:18:51 +00:00
Miguel de Icaza e432e1fa4b Enhanced the device detection, should catch most cdroms now.
It also scans all the devices, instead of stopping in the
first device.

Miguel
1999-02-26 09:12:17 +00:00
Miguel de Icaza 9a938c3ae9 Internal viewer no longer "jumps" when dragging the scrollbar.
Miguel.
1999-02-26 07:26:40 +00:00
Miguel de Icaza 8578ca5e2e 1999-02-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (desktop_icon_info_open): Add needs terminal support.

	* gnome-file-property-dialog.c (create_settings_pane): Add Needs
	terminal check box

1999-02-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gaction.c (gmc_open_filename): Add support for needsterminal.

	* gscreen.c: Add New Folder option to the panel popup.
1999-02-26 07:17:51 +00:00
Owen Taylor f197b80587 1999-02-24 Owen Taylor <otaylor@redhat.com>
* fileopctx.h file.c: Moved recursive delete query
	dialog into gdialogs.c for GNOME.

1999-02-25 Owen Taylor  <otaylor@redhat.com>

	* gdialogs.c (file_delete_query_recursive): GNOME
	replacement for recursive delete query dialog.
1999-02-26 00:27:23 +00:00
Miguel de Icaza c1d1f5c52f Integrate new Tigert Icon for PhotoShop files 1999-02-25 22:03:09 +00:00
Owen Taylor 824c07e49f 1999-02-25 Owen Taylor <otaylor@redhat.com>
* gprefs.c gcustom-layout.[ch]: Add a new page to
	the preferences dialog to allow the user to change
	the columns in the custom view.
1999-02-25 19:13:31 +00:00
Miguel de Icaza 508f2e313a 4.5.21 + gnome->~/.gnome-desktop changes 1999-02-25 06:47:57 +00:00
Miguel de Icaza 90dc7a58f3 Renamed from ~/dekstop to ~/.gnome-desktop 1999-02-25 06:33:13 +00:00
Miguel de Icaza 8220628b18 Scanning devices now can run external program g-print 1999-02-25 05:11:35 +00:00
Miguel de Icaza a57560f5dd 1999-02-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gicon.c (gicon_get_filename_for_icon): Return const char *, this
	tells the user of this routine "you better not touch or free this
	you dofus".

	* gnome-file-property-dialog.c (apply_metadata_change): Always set
	the name of the icon to the new value, as the entry will always
	match the imlib image anyways (due to the fixes I did to const
	correctness).
	(generate_icon_sel): Do not free the value.  We do not own this
	return value.

	* gdesktop.c (is_mountable): NULL terminate string returned from
	readlink.  Yes guys, readlink does not NULL terminate things.
	(do_mount_umount): ditto.

	* gnome-file-property-dialog.c (init_metadata): ditto
1999-02-25 04:08:43 +00:00
Miguel de Icaza 0ca42b97f0 Text files use gnome-edit as open action 1999-02-25 00:56:02 +00:00
Miguel de Icaza 80174f1457 Also handle xcf.gz 1999-02-24 23:07:26 +00:00
Miguel de Icaza 257e46473f Integrate icons into mime types 1999-02-24 21:40:09 +00:00
Miguel de Icaza 4a954910b7 Add missing icons 1999-02-24 02:38:46 +00:00
Miguel de Icaza 68655c2e30 Prepare for 4.5.18 1999-02-24 02:26:11 +00:00
George Lebl 934532f95b Tue Feb 23 17:41:45 1999 George Lebl <jirka@5z.com>
* gmain.c: set the restart property of the gnome client to
          RESTART_IMMEDIATELY or RESTART_NEVER if we're gonna quit
1999-02-24 01:48:55 +00:00
Miguel de Icaza 009093222a 1. Allow symlink to executables to provide a drop action
2. Fix the DnD code to work in all places.,

Miguel.
1999-02-24 01:40:08 +00:00
Miguel de Icaza ca444518b8 1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (desktop_drag_data_received): Simplify.

	* gscreen.c (panel_icon_list_drag_data_received): Pass the full
	path to gdnd_perform_drop.
	(panel_clist_drag_data_received): same.

	* gdnd.c (drop_on_directory): We no longer take a file_entry
	here.  The directory we get passed is already a fully qualified
	name of the target location.

	* gwidget.c (x_create_input): Hook to the changed signal and sync
	the input with our view of the entry.  This fixes the paste bug
	reported.
1999-02-23 19:21:35 +00:00
Miguel de Icaza 3e9b39c9e1 Compile fix 1999-02-23 16:39:00 +00:00
George Lebl 0f57dbd94e Tue Feb 23 01:57:22 1999 George Lebl <jirka@5z.com>
* gmount.c: fix obvious typos, use str in option_has_user, fix
          mt_opts typo and is_block_device_mountable can't return TRUE nor
          FALSE, so it returns NULL

this makes it actually compile
-George
1999-02-23 09:57:52 +00:00
Miguel de Icaza f1120801b6 1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (apply_metadata_change): Fix memory leak.

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

	* gdesktop.c (desktop_reload_icons): Fix memory leak.

	* glayout.c (create_new_menu_from): Fix memory leak.
1999-02-23 06:14:02 +00:00
Miguel de Icaza 197cf5dcab Fixety fix 1999-02-23 03:08:49 +00:00
Miguel de Icaza 96a7f2c4f6 Sync 1999-02-23 02:53:30 +00:00
Miguel de Icaza aca0afd352 1999-02-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (desktop_icon_info_open): Launch a panel at the
	location of the mount point.

	* gmount.c (setup_devices): Use g_list_free, not g_free.  Fed,
	test your fixes to my code ;-)

	* glayout.c (create_container): Add a Desktop menu if the WM is
	not GNOME compliant.
1999-02-23 01:56:09 +00:00
Miguel de Icaza 0cacebab2a 1999-02-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (setup_motif_dnd_proxy): Use Window instead of
	gint32, fix from George Lebl.
	(setup_xdnd_proxy): ditto.
1999-02-22 22:59:58 +00:00
Miguel de Icaza 81eccd2b9d Integrate new Tigert icons 1999-02-22 19:29:35 +00:00
Miguel de Icaza 7aec2adddf 1999-02-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmain.h: Removed set_current_panel() since it was never used.

	* glayout.c (set_current_panel): Made static and renamed from
	set_new_current_panel().
	Removed old toolbar cruft.

	* gmount.c (get_mountable_devices): Made static.

	* Makefile.in (ICONS): Added i-floppy.png, i-cdrom.png,
	i-printer.png.  Thanks, Tigert!
1999-02-19 00:18:25 +00:00
Miguel de Icaza b169beea0e 1999-02-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
* setup.c: Declare extern int tree_panel_visible for the GNOME
	version.

1999-02-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gmount.c (gmount_setup_devices): New function to set up the
	mountable devices on the desktop directory.  Moved over from
	gdesktop.c.  Added an argument that specifies whether it should
	clean up the device list first.
	(cleanup_devices): Delete the metadata for the devices.
	(setup_devices): Free the list of device names.  Use the proper
	icon for each device.
	(create_device_link): Better error checking.

	* gdesktop.c (create_desktop_dir): Use gmount_setup_devices().
	(desktop_icon_info_destroy): Made static.
	(desktop_popup_items): The command for rescanning mountable
	devices should go here.
	(handle_rescan_devices): Call gmount and refresh the desktop.

	* gdesktop.h: Removed the declaration of tree_panel_visible, since
	it has nothing to do with the desktop.

	* glayout.c (gnome_panel_commands_menu): Removed the recreate
	devices command.

	* gdesktop.c (desktop_popup_items): Added a new command to create
	a file window.
1999-02-18 21:43:07 +00:00
Miguel de Icaza b683efeda3 1999-02-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
* dir.c (if_link_is_exe): Made this function take in a directory
	argument as well -- the sought file may not be in the cwd, and
	file entries do not carry the directory the file refers to.

	* screen.c (do_enter_on_file_entry): Pass in the cpanel->cwd to
	if_link_is_exe().

1999-02-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gdesktop.c (do_mount_umount): Removed unused variable.
	(do_eject): Return FALSE if there is no eject command.
	(setup_devices): Removed unused variable.

	* gdnd.c (drop_on_file): Pass the directory to if_link_is_exe().
	(gdnd_validate_action): Likewise.
	(gdnd_perform_drop): Made consistent with the rest of the code by
	taking the directory name along with the file entry.
	(gdnd_validate_action): Likewise.

	* gdesktop.c (icon_drag_motion): Pass the directory to the gdnd
	functions.
	(icon_drag_data_received): Likewise.
	(desktop_drag_motion): Likewise.
	(desktop_drag_data_received): Likewise.
	(desktop_icon_info_open): Pass the directory to if_link_is_exe().

	* gscreen.c (panel_icon_list_drag_data_received): Pass the
	directory to gdnd functions.
	(panel_clist_drag_data_received): Likewise.
	(panel_tree_drag_data_received): Likewise.
	(panel_clist_drag_motion): Likewise.
	(panel_icon_list_drag_motion): Likewise.
1999-02-18 00:07:26 +00:00
Miguel de Icaza 6eb9a08b29 1999-02-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (reload_desktop_icons): Load the information provided
	on the .desktop file for the desktop icon information: icon
	filename and text to be displayed.
1999-02-17 19:58:24 +00:00
Miguel de Icaza 2aa1314dba 1999-02-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gpopup.c (create_actions): Add ejectable

	* gdesktop.c (do_eject): Add eject command.
1999-02-17 16:32:12 +00:00
Miguel de Icaza e9f974dd11 1999-02-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gpopup.c (create_actions): Add support for mountable icons.

	* gdesktop.c (try_to_mount): Add an option to automatically mount
	links on the desktop that point to devices.
	(is_mountable): Returns true if a pathname is mountable.

	* glayout.c: Add the dirsizes command here.

	* gmount.c: New file.  Implements support routines for
	mount/umount.
1999-02-17 02:18:12 +00:00
Miguel de Icaza c6f07526b7 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* i-symlink.png: Flipped the image around, since we are putting
	the little icons on the lower-right corner.
	* i-stalled.png: Likewise.
1999-02-17 01:12:21 +00:00
Miguel de Icaza fda350b4ea 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gicon.c (gicon_get_filename_for_icon): Doh, use image_hash here.
1999-02-17 00:51:45 +00:00
Miguel de Icaza c52fde6398 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gicon.c: Lots of changes to support the little symlink/stalled
	icons that get overlaid on the normal file icons.  We now have the
	concept of an icon set, which is a cache of normal icons plus
	their overlaid versions.

	* gnome-file-property-dialog.c (apply_metadata_change): Use
	gicon_get_filename_for_icon().
	(generate_icon_sel): Likewise.

	* gnome-file-property-dialog.c (create_general_properties): Use
	buffers of size MC_MAXPATHLEN.
	(init_metadata): Likewise.
1999-02-17 00:38:16 +00:00
Miguel de Icaza 6dbe424c38 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmetadata.c: Removed the gmeta_del_icon_pos() function, since it
	is no longer used anywhere.

	* gdesktop.c (reload_desktop_icons): Use gnome_metadata_delete()
	instead of gmeta_del_icon_pos().
	(desktop_icon_info_delete): Likewise.
	(desktop_icon_info_destroy): Do not call gnome_metadata_delete().
1999-02-16 20:18:34 +00:00
Miguel de Icaza 53cfcf095d 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (arrange_desktop_icons): I am such a doofus, I did
	not initialize two variables here.
1999-02-16 03:42:52 +00:00
Miguel de Icaza 5e63dcaf4f 4.5.15 is ready 1999-02-15 23:38:02 +00:00
Miguel de Icaza f2b070cd7b 4.5.15 1999-02-15 22:55:28 +00:00
Miguel de Icaza e64da0870e Oops, removed debugging stuff - Federico 1999-02-15 22:48:00 +00:00
Miguel de Icaza d66cb8705a 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (reload_desktop_icons): Take auto-positioning and
	snap-positioning into account.  This is the right thing to do.
	(get_icon_auto_pos): Do auto-positioning in two steps, first from
	the requested position to the end of the slot array, then from
	slot zero forwards if required.
1999-02-15 22:44:18 +00:00
Miguel de Icaza 1370e6c166 Notice: release coming in about 90 minutes.
Miguel.

1999-02-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gcmd.c (gnome_open_terminal_with_cmd): New routine, based on the
	gnome_open_terminal routine, that will allow the user to specify a
	command to execute (used internally).

	* gaction.c (gmc_edit_filename): Support for the GNOME editor
	environment properties.

	* gdesktop.c (create_desktop_dir): Support GNOME_DESKTOP_DIR
	variable to configure the desktop directory.
1999-02-15 21:19:03 +00:00
Miguel de Icaza 39d815d7e9 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* mc.keys.in.in: Use "gnome-moz-remote file:%d/%f" for the html
	file actions.
1999-02-15 20:59:09 +00:00
Miguel de Icaza 79340b3015 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (toolbar): Added a "rescan" button.
1999-02-15 20:34:07 +00:00
Miguel de Icaza 573cf10675 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gprefs.c (create_prop_box): Make the preferences dialog modal.
	Also, set the window title and set the window's parent.
	Removed some unused functions.
1999-02-15 20:14:11 +00:00
Miguel de Icaza 2c1f45565b 1999-02-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (desktop_popup): Handle popup menus for the desktop.
	(arrange_desktop_icons): New function to auto-arrange the desktop
	icons.
	(reload_desktop_icons): Take care of positioning the new icons by
	ourselves; do not rely on desktop_icon_info_new() to do it.
	(remove_from_slot): Reset the icon's slot to -1.
	(reload_desktop_icons): Show all the icons after they have been
	loaded, instead doing it one by one.

	* gscreen.c (file_list_popup): Handle popup menus for the blank
	areas of the file panels.
	(panel_icon_list_button_press): Call file_list_popup().
	(panel_file_list_press_row): Likewise.
1999-02-15 17:59:49 +00:00
Sergey Panov c0782a21c0 * glayout.c: Fixed my own stupid typo( stock ID instead of NULL)
it was not critical. A few minor, rather cosmetic changes in
        GnomeUIInfo structures.
1999-02-15 09:09:01 +00:00
Miguel de Icaza 11a4f1fd61 1999-02-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
* mc.keys.in.in: Use Tigert's new icon for man pages.
1999-02-13 20:23:36 +00:00
Miguel de Icaza cae3f1b9ab Various typo fixes in gnome-file-property-dialog.c. nd in gdialogs.c.
It does not look as it was tested a lot.

Miguel

v
1999-02-13 20:12:35 +00:00
Miguel de Icaza 3b6b98dc2f 1999-02-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
* new_icons/Makefile.in (ALLICONS): Added Tigert's new icons for
	PS and EPS files.  Thanks, Tigert!

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

	* mc.metadata.in: Added a regexp for EPS files.

	* mc.keys.in.in: Use Tigert's new icon for Postscript files.
	Possible FIXME: are there different MIME types for PS and EPS
	files?
1999-02-12 22:16:32 +00:00
Tuomas Kuosmanen ea37ac4c47 Committed the new toolbar icons also for gmc /tigert 1999-02-12 12:47:22 +00:00
Tuomas Kuosmanen 5ef2740f3f Changed the folder-icons for the tree view to ones that work better in small
sizes. /tigert
1999-02-12 11:07:48 +00:00
Miguel de Icaza da63ee80d9 Fixes. Lots.
Headache.

Pink Elephants on the roof.

Miguel
1999-02-12 02:42:42 +00:00
Miguel de Icaza 5cd0eeb455 1999-02-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop-icon.c (set_icon): Do not destroy the image if it is
	the same as the old one.  Sigh, imlib really needs proper
	refcounting.

	* gscreen.c: Use gpopup_do_popup() until the new version is
	finished.

	* gpopup2.c (create_actions): Made the action selection logic
	simpler.
	(gpopup_do_popup2): Now can only operate on panels.
	(file_actions): Sanitized the actions a bit.

	* gutil.c (my_system_get_child_pid): sa_handler must be
	gnome_sigchld_handler, not gnome_sigchld_installed.

	* gpopup.c (dicon_properties): Do not call reread_cmd().  This is
	a hack until the menus for panels/desktop are finished.

	* gscreen.c (panel_file_list_press_row): Use gpopup_do_popup2().
1999-02-12 02:15:17 +00:00
Miguel de Icaza 9d41043798 1999-02-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gutil.c (my_system_get_child_pid): Implement a erase-temp-file
	when child dies instead of waiting for child that was launched
	from shell/temp-file to finish.
1999-02-11 21:16:36 +00:00
Miguel de Icaza e432ab90ed Use the new gnome-compressed icon from Tigert 1999-02-11 18:44:20 +00:00
Miguel de Icaza 2fae6571f9 1999-02-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (desktop_icon_info_place): Better icon placement by
	rounding to the proper slot number.
	(select_range): Simpler range selection for exact Windows behavior.
1999-02-11 18:24:08 +00:00
Miguel de Icaza 793afd03de 1999-02-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdnd.c (drop_on_directory): Do not ask for the action twice.
	This was a leftover from a bit of code reorganization.
1999-02-11 18:02:07 +00:00
Miguel de Icaza 3db04c2bb5 1999-02-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (panel_icon_list_button_press): Fixed "=" -> "!="
	typo.
1999-02-11 17:11:18 +00:00
Miguel de Icaza 586ac59456 And now that the release is out, take out the ifdefs - Federico 1999-02-11 12:50:25 +00:00
Miguel de Icaza 1266ed6d73 Bunch of changes:
1. desktop entries on the desktop work.
2. Update the mc.keys.in for using some gnome-libs icons
instead of the old ones.
3. Find command rewritten for GNOME.

miguel.
1999-02-11 05:52:55 +00:00
Miguel de Icaza dd58854f32 Bunch of ifdefs for the release - Federico 1999-02-10 23:56:59 +00:00
Miguel de Icaza 419806e927 New stalled icon from Tig 1999-02-10 22:10:53 +00:00
Miguel de Icaza 2352737144 1999-02-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* Makefile.in (ICONS): Added i-fifo.png to the list of icons.

	* gicon.c (gicon_init): Load the proper FIFO and socket icons.
	(gnome_file_entry_color): Return the proper icon for FIFOs.

	* i-fifo.png: Added this file, and made i-sock.png be the right
	image (thanks, Tigert!).
1999-02-10 22:07:39 +00:00
Miguel de Icaza c7cf201682 Remove CORBA_free until a new ORBit is officially out 1999-02-10 22:03:08 +00:00
Miguel de Icaza 913c2c689c Fix crashes reported by Jim.
Add support for DEL key killing files requested.
Added missing calls to tree_store_end_check
1999-02-10 21:58:05 +00:00
Miguel de Icaza aab8269cca 1999-02-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* main.h: Added prototype for main_corba_register_server().

1999-02-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gscreen.c (ILIST_FROM_SW): New macro to extract the icon list
	from the scrolled window.
	(panel_create_icon_display): Create a scrolled window and put the
	icon list inside it.  Changed the rest of the code to know about
	this.

	* gcorba.c (do_window_close): It turns out that we *do* need to
	call CORBA_free().  It was a bug in ORBit which was causing this
	to crash.
1999-02-10 21:03:04 +00:00
Miguel de Icaza e4ef9c4bae 1999-02-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gcorba.c (do_window_close): It turns out that we *do* need to
	call CORBA_free().  It was a bug in ORBit which was causing this
	to crash.
1999-02-10 20:01:13 +00:00
Miguel de Icaza 2dddadbdc0 1999-02-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (drag_end): Reload the desktop when a drag from the
	desktop terminates (the user may have moved something away).
1999-02-10 03:51:56 +00:00
Miguel de Icaza 7109c92eae 1999-02-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gcorba.c (do_window_close): Removed call to CORBA_free, as
	PortableServer_POA_deactivate_object already calls CORBA_free on
	the object.
1999-02-10 02:13:23 +00:00
Miguel de Icaza 0afe42d919 1999-02-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* glayout.c (gnome_close_panel_event): This function should return
	FALSE.

	* gcorba.c (corba_init): Cast poa to PortableServer_POA.
	(impl_GNOME_FileManagerWindow_close): Call gnome_close_panel(); do
	not destroy the widget by hand.

	* gcmd.c (gnome_close_panel): This function should be void.

	* gpopup2.c (popup_handle_rescan): Call reread_cmd().

	* gscreen.c (panel_icon_list_button_press): Return TRUE if we
	handled a popup menu.
1999-02-10 01:50:08 +00:00
Miguel de Icaza a08bebe655 1999-02-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gcorba.c (impl_GNOME_FileManagerFactory_create_window): Fix bug
	spooted by federico.  I was connecting to the wrong signal.
1999-02-09 23:56:23 +00:00
Miguel de Icaza 50de059b75 Support for freezing/thawing the GtkCTree during potential
tree updates from the treestore.

This speeds up a lot the display, as the GtkCTree seems to be
particularly bad at handling changes to the tree and keeping
the display in sync.

Makefile fixes to support SHELL= during compilation.

Miguel.
1999-02-09 22:06:56 +00:00
Miguel de Icaza 1dfa5305cf 1999-02-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtkdtree.c (gtk_dtree_class_init): Added two new signals,
	scan_begin and scan_end.
	(gtk_dtree_expand): Call scan_begin() and scan_end().
	(gtk_dtree_select_row): Call scan_begin() and scan_end().
	(gtk_dtree_expand): Use gtk_ctree_select(), not gtk_dtree_select_row().
	(gtk_dtree_collapse): Select the node when it is collapsed.

	* gscreen.c (panel_create_tree_view): Added handlers for the
	scan_begin and scan_end signals of the tree -- these will set the
	cursor to a watch while the tree is being scanned.
1999-02-09 20:10:10 +00:00
Miguel de Icaza 9036590857 Keep the gnome-metadata in sync with the actions of the
file manager.

Miguel.
1999-02-09 00:31:57 +00:00
Miguel de Icaza e0c156f31f Make use of the new gnome-package icon 1999-02-08 17:39:31 +00:00
Sergey Panov a8fb0e3e22 Clean menu -- made to use GNOME standart menu items, so that e.g. GNOME
wide items will be transleted in gnome-libs.

mc/gtkedit/editmenu.c removed from POTFILES.in because it is not used,
but was poluting *.po files with extra translations which, in turn, were
interfering with translations in gnome-libs.
1999-02-08 14:47:54 +00:00
Miguel de Icaza c4426b3f8a 1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gwidget.c (entry_click): On mouse clicks, mark the input as
	changed-without destroy.
1999-02-07 21:01:21 +00:00
Miguel de Icaza c3a9b75fa8 1999-02-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (x_create_panel): Removed a couple unused variables.
1999-02-07 10:39:42 +00:00
Miguel de Icaza 2d77bf3f10 1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtkdtree.c (gtk_dtree_select_row): Disable row selection when
	were are removing entries from the tree.
1999-02-07 07:23:41 +00:00
Miguel de Icaza faa8560535 1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gutil.c (my_system_get_child_pid): Fix.  We always wait for the
	child process.
1999-02-07 07:04:04 +00:00
Miguel de Icaza ffbd234ae6 Two changes:
- Kill the stack in the treestore.  It was the wrong approach
	  at fixing the problem.  Now emit all of the change notifications
	  after the tree has been finished the check.

	- GtkCTree is not a tree internally but a list and the gaps
	  are, well, gaps.  Deal with it.

Miguel.
1999-02-07 06:16:30 +00:00
Miguel de Icaza 0108bdba8f 1999-02-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* treestore.h: Replaced TreeStore.check_name_list by a GSList, for
	minimal memory savings.

	* treestore.c (tree_store_remove_entry): Removed unused code for
	base_sublevel computation.

1999-02-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtkdtree.c (gtk_dtree_insert_node): This function was never
	returning the newly-created sibling.
1999-02-07 05:04:09 +00:00
Timur Bakeyev 5cf1eca0cb Compile warnings.. 1999-02-07 02:38:49 +00:00
Timur Bakeyev 98ba8892ec Compilation warnings
Sun Feb  7 05:29:17 1999  Timur Bakeyev <mc@bat.ru>

	* Makefile.in: Remove references and dependences to/from libslang -
	we don't need this in GNOME. Changed the order of linking - libgtkedit
	require libgnomeui.a, so swap $(LDFLAGS) and $(EXTRALIBS). The same for
	corba edition.

	gdnd.c, gmetadata.c, gpopup2.c, gtools.c: Adde #include "global.h" or
	move it before #include <gnome.h> to avoid warnings about redefining
	MIN, MAX nad RE_DUP_MAX. More clean compiling.

	* gpopup2.h: New file - to avoid errors during "make distcheck". What
	it is for, really?
1999-02-07 02:35:57 +00:00
Miguel de Icaza 85e46b6b30 1999-02-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-file-property-dialog.c (apply_metadata_change): #include
	string.h and replace references to rindex to strrchr.
1999-02-07 01:00:49 +00:00