Commit Graph

103 Commits

Author SHA1 Message Date
Miguel de Icaza 8f56dbcab1 More more more more -mig 1998-04-16 04:27:44 +00:00
Miguel de Icaza 482e8af0fb My vain attempts at getting Radio Buttons working properly -mig 1998-04-16 04:22:56 +00:00
Miguel de Icaza f494ada890 Ok, most of the "Elliot Lee confidential bug report" has been dealt
with with this commit.  This also addresses a bunch of the comments
from the status.shtml from DrMike.

Miguel.

1998-04-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* screen.c (GT): Assign two spaces for the minimum size of the
	"type" field for the GNOME edition.  This gives some extra space
	for the icon that gets displayed.

	* dlg.c (remove_widget): New function:  used to remove a widget
	from an existing Dlg_head;
	(destroy_widget): Destroy a specific Widget.
	(add_widgetl): Extended to deal with the fact that a running
	Dlg_head can become empty.

	* panelize.c (l_call): Update the input line every time the user
	selects the entry with the mouse (pretty common in the gnome
	edition).

	* hotlist.c (add_new_group_input): Removed an extra field that was
	causing problems.

	* find.c (find_parameters): Tree button is gone for gnome until we
	get the tree function working on gnome.

	* cmd.c (save_setup_cmd): Per Elliot's suggestion, do not pop up a
	dialog box to inform the user about the saved setup.

1998-04-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gcmd.c (gnome_close_panel): Implement the close-the-panel
	functionality.

	* gscreen.c (x_panel_destroy): Implement the gnome mode way of
	destroying the panel.

	* gview.c (view_status): Add cacheing of the information status,
	to avoid excessive flicker.  It would be better if GtkLabel did
	not flicker though.
	(scrollbar_moved): Scroll correctly.  We now use
	view_move_backward and view_move_forward to adjust the scrollbar
	contents.  This displays the scrollbar correctly.

	* gwidget.c (x_listbox_select_nth): This may be invoked before the
	widget has been created, work around this problem.

	* gscreen.c (show_dir): Set the title bar for the window to the
	current directoy.  Reported by both Mike and Elliot.

	* layout: Updated to the new hotlist dialog box.
1998-04-16 02:45:53 +00:00
Miguel de Icaza 506094f44a 1 line fix-mig 1998-04-15 22:38:36 +00:00
Miguel de Icaza 41eeb94d42 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtrans.c (create_transparent_text_window): Destroy the cursor
	properly.
1998-04-15 07:45:51 +00:00
Miguel de Icaza 036af40392 1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
* screen.c (string_file_nlinks): The buffer was too small and we
	were overwriting parts of it.

	* subshell.c (do_subshell_chdir): Memory leak fix.

	* find.c (do_search): Do not use undefined order of evaluation.

	* user.c: Do not use undefined order of evaluation.

	* dlg.c (init_dlg): Do init the default return value.
1998-04-15 06:05:34 +00:00
Miguel de Icaza 515e64efdc 1. Use the old artificial drag start code.
2. Load/Save desktop-icon transparent state.
3. Add arrange icons code.
4. Add snap to grid option (default now).
5. Fixed viewer crash.

Still left to do:
- Nice config dialog to set the above variables.
1998-04-15 03:16:29 +00:00
Miguel de Icaza 1ff37554b8 1998-04-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.h: Added extern declarations for the
	want_transparent_icons and want_transparent_text variables.

	* gtrans.c (set_window_text): Now we use the new global variables
	want_transparent_icons and want_transparent_text to decide how to
	paint the pixmap and mask.  The want_transparent_* variables can
	thus be configured for the smartness/speed of your X server when
	using shaped windows.
1998-04-14 19:08:15 +00:00
Norbert Warmuth fd6cdb19cc Fri Apr 12 02:40:41 1998 Norbert Warmuth <k3190@fh-sw.de>
* gwidget.c (x_create_input): return 1 if the widget has been
        initialized manually (there was no return value)

        (x_create_buttonbar): to few arguments to sprintf (button number
        was missing); return a value.

Sun Apr 12 02:48:26 1998  Norbert Warmuth  <k3190@fh-sw.de>

        * xv/xvscreen.c: removed duplicate (conflicting) definition
        of do_enter()
1998-04-12 00:52:13 +00:00
Miguel de Icaza 95ac574288 Sync to my tree -mig 1998-04-11 02:53:35 +00:00
Miguel de Icaza de86596546 Assorted bug fixes -mig 1998-04-09 21:59:32 +00:00
Miguel de Icaza 2f0f1be529 Nicer back/forward implementation -miguel 1998-04-09 05:05:14 +00:00
Miguel de Icaza e0c843048c A bunch of extra TODO items from DrMike have been adressed.
- Double click should work.
- Dragging to other panels shoudl work
- Scrollbar in the viewer
- Entry widgets get their text selected at startup
- Prompts for command if default action does not exist for a filename
- Updated spanish translation.

Plus some other bugs I fixed.

Miguel
1998-04-09 04:58:24 +00:00
Miguel de Icaza 76496220cc Wed Apr 8 11:15:29 1998 Alex Tkachenko <alex@bcs.zp.ua>
* src/find.c: changes to find_parameters/find_file i18n.

	* src/widget.c: new function introduced, button_scan_hotkey();
	button_new() and button_set_text() fixed to use mentioned function.

	* src/key.[ch], src/dlg.c: changes to make recognition of ESC char as
	ALT(c) possible for 8-bit chars. (By replacing 'A'/'Z' comparisons with
	call to isalpha() in the way proposed by Norbert).

	* src/boxes.c: changes to display box i18n

	* src/learn.c: changes to learn key dialog i18n
1998-04-08 18:50:24 +00:00
Miguel de Icaza ca2ffb99b6 Various fixes reported by DrMike:
- Nicer dialog destruction (no flicker)
- refresh of panels after a drop.
- Pause after run is gone in the gnome edition.
- Improved layout for options dialog box.
- Checkbox widgets are implemented, they now work.

Miguel.
1998-04-07 23:45:27 +00:00
Miguel de Icaza c019ee5a56 Layout fixes -mig 1998-04-07 22:27:47 +00:00
Miguel de Icaza 30252eccf8 Fixes, fixes, fixes, fixes, fixes.
Thanks DrMike for the detailed listing of problems.

Miguel.
1998-04-07 19:08:31 +00:00
Miguel de Icaza 3c6328b4de updated todo list with Mike's (msf@redhat.com) comments 1998-04-02 17:47:45 +00:00
Marc Ewing 3bbe4851e0 - added gdkprivate.h to gscreen.c
- tk Makefile tweak to use menu.* instead of tkmenu.*

(someday my commit will work!)

-Marc <marc@redhat.com>
1998-04-01 19:18:05 +00:00
Miguel de Icaza 0842a5390c 1998-03-31 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gcache.c: Added an Image cache for all of the imlib-loaded
	images to avoid destroying/reloading the images.

	* gdesktop.c, gtrans.c: Use the image cache.
1998-04-01 00:52:33 +00:00
Miguel de Icaza 8c4cee34c3 Temporary work around for the buggy DnD implementation in Gdk:
Gdk should not be sending drag_begin_events if a drag event has not
finished.

Gdk has some wierdo way of moving the shaped window, it flashes a
*lot*.

This basically avoid leaving garbage on the desktop, but it is not
the best fix.

Miguel.
1998-03-31 07:35:38 +00:00
Miguel de Icaza a424615f54 Small menu stubs, will be gone soonish -mig 1998-03-30 21:29:31 +00:00
Miguel de Icaza 54442413ee Finishing touches to new dirhist Makefiles. - mig 1998-03-30 21:26:14 +00:00
Miguel de Icaza 2b79792d85 Move the MSG_ERROR testing to query_dlg 1998-03-29 21:07:37 +00:00
Miguel de Icaza 391f08d9e5 Initialize dentry->geometry -mig 1998-03-25 19:29:12 +00:00
Miguel de Icaza ac70e34d02 MC goes Internationallsls./gmc Spanish translation almost complete -mig 1998-03-25 05:16:00 +00:00
Miguel de Icaza f29db51778 cwd input line works/filter handling works/clipping label widget/flashing removed -mig 1998-03-24 05:25:56 +00:00
Miguel de Icaza 38f7b63645 1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtrans.c (create_transparent_text_window): Set the window's
	cursor to the normal top-left arrow.
1998-03-24 05:03:56 +00:00
Miguel de Icaza 92ecd7af62 nlink_t patch for some sysvr3 system by Philippe De Muyter 1998-03-23 17:49:04 +00:00
Norbert Warmuth e06cd1968c Mon Mar 23 01:40:35 1998 Norbert Warmuth <k3190@fh-sw.de>
* gnome/gtools.c (translate_gdk_keysym_to_curses): renamed KEY_BACKTAB
to KEY_BTAB (the name ncurses uses)

* gnome/Makefile.in: Install the icon-files and the layout-file from $srcdir.

* autogen.sh: added support for builddir != srcdir

* doc/Makefile.in: The manual pages are generated files and
located in the builddir and not in the srcdir.

* src/find.c (find_file): Use the same hotkey for the panelize button
as we use with the external panelize command.

* src/myslang.h: --with-ncurses didn't compile: renamed
KEY_BACKTAB to KEY_BTAB (the name ncurses uses)

* src/dlg.c (dlg_key_event): likewise

* src/tkmain.c (x_init_dlg): added dummy function to make it
compile

* vfs/Makefile.in, extfs/extfs.ini, extfs/hp48: New external
filesystem to view and copy files to/from the HP48.

Now it should be possible to build and install gnome edition with
builddir != srcdir.
1998-03-23 07:12:13 +00:00
Pavel Machek 8665ccd219 Numerous OS/2 and NT fixes. Borland C++ for OS/2 supported 1998-03-23 05:27:15 +00:00
Miguel de Icaza 8be7ff1383 update the TODO a bit - Federico 1998-03-20 23:46:00 +00:00
Miguel de Icaza 25d833d805 1998-03-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (icon_properties):
	* gpageprop.c (item_properties): Modified to accept dentry title
	changes as well.
	(item_properties): Fixed base and fname confusion in call to
	concat_dir_and_file().

	* gprop.c (gprop_general_new):
	(gprop_general_get_data): Renamed to general from icon.  The
	general Gprop now lets you enter the title and icon filename for a
	dentry.
1998-03-20 23:38:43 +00:00
Miguel de Icaza 8dc04e93bd 1998-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (icon_properties): Whoops, actually save the dentry.
	(post_setup_desktop_icon): Moved the icon positioning call outside
	of this function so that property-changed icons will not move on
	the desktop.
1998-03-20 06:00:20 +00:00
Miguel de Icaza 1cdbe8dbda 1998-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (desktop_icon_context_popup): It is not necessary to
	set the menu position.
	(desktop_icon_context_popup): gtk_signal_connect_object_after to the menu
	items with gtk_widget_destroy as a callback so that we can destroy
	the menu widget appropriately.
1998-03-20 05:41:30 +00:00
Miguel de Icaza 10d7865679 compilation fix -miguel 1998-03-20 04:29:57 +00:00
Miguel de Icaza 09343b2393 Weee! gmc uses the gnome.m4 macros now and detects properly gnome installation - mig 1998-03-20 02:54:06 +00:00
Miguel de Icaza 442ad09caf 1998-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (get_transparent_window_for_dentry): New function,
	creates the proper transparent icon window for a dentry.
	(post_setup_desktop_icon): New function, does post-setup stuff for
	a desktop icon (setting it as a drop target, positioning it, etc.).

	* gpageprop.c (item_properties): Now the dentry parameter is a
	desktop_icon_t instead.
	We now return a bitmask that indicates what stuff changed.  The
	caller can use this information to decide what to update, repaint, etc.

	* gdesktop.h: Moved the icon_t and desktop_icon_t structures here.

	* gpageprop.c (item_properties): Insert icon control if appropriate.

	* gprop.c (gprop_icon_new):
	(gprop_icon_get_data): Renamed from gprop_dir_*().

	* gscreen.c (panel_action_properties): Re-reads panel only if necessary.

	*gpageprop.c (item_properties): now returns TRUE if something got
	changed, FALSE otherwise.  This should be used to decide whether
	to re-read the panel or not.

	* gpageprop.c: #include "../vfs/vfs.h".
	#include "dialog.h".

	* gprop.c (gprop_dir_new):
	(gprop_perm_new):
	(gprop_general_new): Connect to the destroy signal of the toplevel
	widget and destroy the Gprop structure on the callback.
1998-03-20 02:00:09 +00:00
Miguel de Icaza d37d663f15 mc 4.1.28 is released 1998-03-19 20:07:54 +00:00
Miguel de Icaza 213a417181 We had time, so we wrote property pages for desktop, files and children all alike -mig and federico 1998-03-19 04:51:17 +00:00
Miguel de Icaza 84013cb8d5 Wed Mar 18 20:35:45 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdesktop.c (desktop_create_launch_entry): Support for the "Drop"
	target in mc.ext now.

	* Add support for dragging the icons on the desktop.

	(desktop_icon_make_draggable): new function.
	(drop_from_event): simplify.
	(my_create_transparent_text_window): Get the motion notify event.
	(drops_from_event): create a vector based on thge drop event.
	(drop_cb): splitted, call url_drop for regular drops, otherwise it
	is a icon drop.
	(artificial_drag_start): new routine, used now by gscreen.c and
	gdesktop.c
	(drop_on_directory): Check result value of operation.
	(desktop_icon_set_position): sane interface.
	(stop_desktop): Flush all of our state to disk.
1998-03-19 02:57:01 +00:00
Miguel de Icaza 9ab2e34656 1998-03-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c: Removed tests for the gprop stuff.
	(file_popup): It is not necessary to show the popup menu.
1998-03-19 02:35:44 +00:00
Miguel de Icaza 2a2ac8396f 1998-03-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gprop.c (perm_group_new):
	(perm_owner_new): Fill the combo lists with users and groups,
	respectively.
1998-03-19 02:32:03 +00:00
Miguel de Icaza 3d72eb83fc 1998-03-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gprop.h: New files gprop.[ch].  These create the property pages
	for desktop entries.

	* Makefile.in: Added gprop.[ch] to the rules.

	* glayout.c: Put gnome_about_cmd as a callback for the About menu item.
1998-03-19 01:22:32 +00:00
Miguel de Icaza c996c5ddd2 Lots 1998-03-18 06:24:20 +00:00
Pavel Machek 46e8d43127 Some files in /gnome was not copied on "make dist"
Warning in gnome/gmain.c suppressed
"VERSION." is included instead of "VERSION" for Borland C++, otherwise it assumes VERSION.h
Mouse is not enabled for Windows NT edition
Warning about missing hotlist was shown incorrectly on NT and Linux console
1998-03-17 21:29:22 +00:00
Miguel de Icaza 2837e8f447 root window accepts drops (does not do anything yet)
setups a simple ~/desktop directory with a link to the home dir
various random bits documented in the changelog
1998-03-17 08:27:10 +00:00
Tom Tromey 982d4137a8 Tue Mar 17 00:43:50 1998 Tom Tromey <tromey@cygnus.com>
* glayout.c (gnome_panel_about_menu): "About" item now a stock
	menu item.
1998-03-17 07:58:52 +00:00
Miguel de Icaza 4a883be09e 1998-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (filter_item_activate): Make it convert the glob
	pattern to a regexp if appropriate.

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

	* util.c (convert_pattern): Now the internal buffer is malloc()ed
	instead of being static.  This is required for long patterns.
	(regexp_match): Free the pattern after calling convert_pattern().

	* file.c (file_mask_dialog): Free the source_mask after calling
	convert_pattern().
1998-03-17 00:24:52 +00:00
Miguel de Icaza 9d4987c84b Mon Mar 16 13:03:45 1998 Pavel Roskin <pavel@absolute.spb.su>
* cmd.c: Internal edit is used by default. vi may be
        confusing for some users.

	* tree.c: tree_rmdir_cmd() should not return any value,
        because it is not analyzed for errors.

	* main.c: NT code: use O_BINARY instead of _O_BINARY

	* util.c: DO not test for arguments that do not make sense under
	Windows NT.

	* file.c: utime.h always included for Windows NT port.

	* view.c: Events are flushed only if the ports supports it.


Lots of Windows/NT changes, but I will let Pavlov write the ChangeLog
entries.

Mon Mar 16 13:05:47 1998  Pavel Roskin <pavel@absolute.spb.su>

	* tkview.c: Include stdio.h;  Minor spelling corrections added.
1998-03-16 19:09:24 +00:00