Commit Graph

67 Commits

Author SHA1 Message Date
Miguel de Icaza 2651c80364 Make distcheck fixes 1998-12-16 02:52:20 +00:00
Miguel de Icaza 32d4527d2b WEEE! Updated Mime Stuff bindings inthe Midnight Commander now 1998-12-15 22:42:33 +00:00
Elliot Lee 05139c0018 Fix the activation info file. 1998-12-14 15:44:51 +00:00
Miguel de Icaza 052e781898 Get the CORBA stuff compiling 1998-12-14 06:45:07 +00:00
Miguel de Icaza d20eaa12b7 More mc.keys work 1998-12-12 01:35:46 +00:00
Miguel de Icaza f0bf5bc2b8 Use mime-types as well 1998-12-12 00:55:54 +00:00
Miguel de Icaza 771413102b 1998-12-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gicon.c (gnome_file_entry_color): If we do not have permissions
	for this directory, indicate this with a special icon.

	* gscreen.c (panel_icon_list_select_icon): Middle button opens a
	new panel on a directory.
1998-12-11 01:57:01 +00:00
Norbert Warmuth 188b975722 s/maksourcelinks/sourcelinks/g
Someone did only half the job.
1998-12-09 06:00:11 +00:00
Miguel de Icaza c8f9650917 Create the directory, do not install the file blindly 1998-12-09 02:08:40 +00:00
Miguel de Icaza 1df4f2d736 Some made a typo here and we have all been typing dumbly make maksourcelinks. fixed 1998-12-09 00:59:23 +00:00
Miguel de Icaza cbce86f610 Install image.metadata as well 1998-12-08 23:32:36 +00:00
Miguel de Icaza 240bbf8226 Use the new icons 1998-12-08 23:30:45 +00:00
Elliot Lee 9678287cc7 mc.metadata is in . not $(srcdir) (for builds with builddir != srcdir). 1998-12-07 21:22:52 +00:00
Miguel de Icaza 44caa06a7b Small improvements 1998-12-07 17:08:59 +00:00
Miguel de Icaza 4a72b02987 Metadata-aware Midnight Commander. WEEEcvs update . 1998-12-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c (load_imlib_icons): Make it use the new gicon files.

	* gicon.c, gicon.h: New files: they keep an image cache and
	provide the right icon to use based on the filename.  They use the
	GNOME metadata to fecth the "icon-filename" and "icon-inline-png"
	keys.

	* gdialogs.c (file_mask_dialog): Commented the help messages until
	the warnings are figured out.
1998-12-05 21:54:25 +00:00
Jonathan Blandford 0d0c748afa changing dialogs... 1998-12-03 21:11:36 +00:00
Miguel de Icaza 414df0f7b7 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c (panel_tree_drag_data_received): Perform drag and drop
	operations on the Tree.
1998-12-03 16:10:25 +00:00
Miguel de Icaza 301e7fbfc3 Many changes:
- Beginning of the CORBA support for the file manager.
	- Tk and XView code dropped.

Miguel
1998-12-02 23:44:06 +00:00
Miguel de Icaza e265fe2067 1998-12-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
* glayout.c (file_menu): Use view_cmd and view_simple_cmd in the
	menu instead of panel_action_view and
	panel_action_view_unfiltered, respectively.

	* gpopup.c (create_regexp_actions): Create the menu items using
	gnome-app-helper, for visual consistency.
	(create_actions): Likewise.  Also, fixed S_ISLNK() confusion.
	(get_label_text): Extract the label from the GnomeUIInfo item in
	an ugly way.
1998-12-02 06:33:07 +00:00
Miguel de Icaza aaa7b5e9a2 Lots of changes:
- GNOME edition now compiles without any trace of the text mode
  dependencies.

- We no longer link with libraries we do not use (crypt, gpm), this
  fixes the recent bug reports.

- More tree updates, enhancements.

Miguel.
1998-12-02 05:18:20 +00:00
Jonathan Blandford b081558a24 moved functions around... 1998-12-02 04:33:26 +00:00
Miguel de Icaza 1a9c7f3274 IconList changes for gmc 1998-11-29 07:50:44 +00:00
Miguel de Icaza 74c83737fd 1998-11-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
* Makefile.in (OOBJS): Add filegui.o back until the GTK-specific
	filegui is written.

	* gdesktop.c (check_window_in_one_panel): Provide better error
	messages here for debugging purposes.

	Disable stubs for filegui.c until they are actually implemented.
	I need to debug stuff.

	* gdnd.c (find_panel_owning_window): Use the new
	gtk_drag_get_source_widget function to find out reliably if the
	drag source happens to be in this application.

	* gscreen.c (x_create_panel): Set the usize for the ministatus
	label to be (0, -1), this means: do not request any horizontal
	space, use any vertical space given.

	Put the ministatus inside an hbox, and use
	gtk_container_set_resize_mode in this hbox to stop any queue
	events from being propagated up in the hierachy of widgets

	This kills all of the CList/GnomeIconList/Scrollbar/Toolbar
	flickering now.
1998-11-28 03:12:13 +00:00
Miguel de Icaza 7b89c91ebb 1998-11-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (desktop_icon_info_event): Run the popup menu for the
	icons in the desktop.

	* gpopup.[ch]: New files that take care of the popup menus for
	files in the desktop and in the panels.

	* Makefile.in: Added gpopup.[ch] to the list of sources.
1998-11-25 03:29:23 +00:00
Miguel de Icaza af807858c2 1998-11-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* Makefile.in (OOBJS): Do not link ../src/filegui.o.  GMC does not
	link right now, but I guess I'll add stubs until we finish with
	the dialog boxes.

	* gdnd.c: #include <sys/types.h>

	* Makefile.in (checklinks): Fix sourcelinks -> maksourcelinks typo.
1998-11-20 05:14:38 +00:00
Miguel de Icaza a7996c0a20 Weee!
Ok, finally splitted the GUI code that dealt with the file operations into
a separate file.  It is now possible to write a native Gtk version of this.

Until the Gtk-native version is done, the code in mc/gnome/ is linking with
filegui.c.

Miguel
1998-11-18 02:31:23 +00:00
Miguel de Icaza c346f8892e 1998-11-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* Makefile.in: Removed gtrans.c from the list of sources.

	* gdesktop-icon.c: #ifdef cleanups.

	* gscreen.c (panel_create_file_list): Doh.  Return the scrolled
	window, not the clist.

	* gdnd.c (get_action): Implement the DnD actions menu.

1998-11-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* setup.c: Removed the icons_snap_to_grid and
	want_transparent_{icons,text} options.
1998-11-11 00:05:12 +00:00
Miguel de Icaza 2c1226f796 The clist is not working, I'll fix that when I get home - Federico
1998-11-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gdnd.c: New file that handles all the DnD stuff.  Mainly used to
	clean up gdesktop.c.

	* gscreen.c (panel_icon_list_drag_data_received): Use
	gdnd_drop_on_directory().
	(CLIST_FROM_SW): Added this macro to fetch the clist from the
	scrolled window in panel->list.
	(panel_create_file_list): Create a scrolled window and put the
	clist inside it.  This is required per the new clist API.
	(panel_configure_file_list): Use the scrolled window's adjustment.
	(panel_file_list_size_allocate_hook): Use the scrolled window
	instead of the clist.
	(panel_file_list_compute_lines): Use the scrolled window instead
	of the clist.
	(panel_file_list_configure_contents): Use the scrolled window
	instead of the clist.
	(panel_create_file_list): Do the DnD setup here, not in the
	realization callback.
	(x_create_panel): Do not realize the panel explicitly.
	(panel_create_pixmaps): Create the pixmaps using imlib instead of
	Gdk.
1998-11-10 02:28:34 +00:00
Elliot Lee 44936ff8a1 popt works better now (at least, the new popt should compile into
non-GNOME mc).
1998-11-04 19:03:44 +00:00
Elliot Lee db30df14d0 more popt 1998-11-03 23:36:58 +00:00
Miguel de Icaza 903eb5a880 Sync to laptop; I ifdef-ed the old code just so that it will compile - Federico 1998-10-30 00:47:54 +00:00
Miguel de Icaza 22a0026bde 1998-10-28 Federico Mena Quintero <federico@nuclecu.unam.mx>
* Makefile.in: Fixed for gdesktop-icon.
1998-10-28 19:23:51 +00:00
Miguel de Icaza e7911e2b15 Sync sync - debugging time - Federico
1998-10-21  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gdesktop.c (create_desktop_icon): Renamed from
	my_create_transparent_text_window.  Now uses the DesktopIcon
	widget for its work.
	(get_desktop_icon_for_dentry): Renamed from
	get_transparent_window_for_dentry.  Uses the DesktopIcon widget.
	(get_desktop_icon_for_di): Renamed from
	get_transparent_window_for_di.
	(desktop_icon_properties): Do not size_request the icon, since now
	we can get its dimensions directly from the DesktopIcon structure.

	* desktop-icon.[ch]: New file that takes care of desktop icons.
	It provides the spiffy widget that is used for them.

	* Makefile.in: Added desktop-icon.[ch] to the list of sources.
	MC should use Automake, I think.
1998-10-22 00:32:21 +00:00
Pavel Roskin 6fcef05d42 It is not needed to remove gnome/gui.tcl because it is never created here 1998-10-01 16:17:28 +00:00
Miguel de Icaza 181774a7fa Solaris compilation fix 1998-09-29 17:52:59 +00:00
Pavel Roskin b81161f131 "make clean" tried to erase tkmc instead of gmc 1998-09-18 18:30:44 +00:00
Pavel Roskin 3745c22c69 make should not rebuild gmc every time. 1998-09-18 12:55:02 +00:00
Paul Sheer 5036dfc48f call to edit added for gnome, menus and F4 key now works 1998-09-14 20:35:21 +00:00
Pavel Roskin 947942f488 If cd failed on "make uninstall" mc.hlp and gnome icons were deleted from
the source directory.
1998-06-26 09:41:17 +00:00
Pavel Roskin 2f1eda7776 "make install" and "make uninstall" did not handle icons correctly 1998-06-18 07:37:15 +00:00
Pavel Roskin a7a330d75d Leading spaces replaced with tabs in all makefiles. 1998-06-09 13:09:19 +00:00
Norbert Warmuth a6736ce62a Sun May 31 13:19:59 1998 Norbert Warmuth <k3190@fh-sw.de>
* Makefile.in: use @LIBVFS@ when referring to libvfs-mc.a (one
reference wasn't converted, yet).
1998-05-31 20:18:40 +00:00
Marc Ewing 37c46d866c 1998-05-26 Marc Ewing <marc@redhat.com>
* Makefile.in: use @LIBVFS@ when referring to libvfs-mc.a
1998-05-26 19:41:44 +00:00
Miguel de Icaza f7851d17c2 1998-05-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c (load_dnd_icons): Remove the code and the icons that
	we had here privately.  Use new gnome-stock functionality
	instead.
1998-05-22 01:07:00 +00:00
Norbert Warmuth 6029deefa6 Thu May 14 01:56:11 1998 Norbert Warmuth <k3190@fh-sw.de>
* configure.in: Don't add -lintl to LIBS when included gettext is
used (further checks for libraries would fail because libintl.a
isn't build, yet). Instead use and substitute LINTL.

* src/Makefile.in (OURLIBS):      add @LINTL@
* gnome/Makefile.in (EXTRALIBS):  add @LINTL@
* tk/Makefile.in (EXTRALIBS):     add @LINTL@
* vfs/Makefile.in (LIBS):         add @LINTL@
* xv/Makefile.in (EXTRALIBS):     add @LINTL@
1998-05-14 00:13:36 +00:00
Miguel de Icaza 595c9f87d8 Keyboard works on iconic view. It is basically done.
We now just need to get some nice icons.

I am also revamping a little the toolbar, to have a switch to
icon mode and switch to listing mode icons.  To make people
happy.  More on this tomorrow.

Miguel.
1998-05-12 04:26:21 +00:00
Miguel de Icaza 9d3dafcc3e Do not hard code the libraries used -mig 1998-05-09 22:36:59 +00:00
Miguel de Icaza 824b7198ea Icon View mode for GNOME/mc:
1. My icons suck.
	2. Keyboard handling is not finished.
	3. Save current-mode, load current-mode is not
	   implemented yet.
	4. Listing mode is not working, as I have hardcoded
	   the icon view for now.
	5. Will finish this tomorrow.  Not much is missing.
	6. No, this is not the final implementation.
	7. Yes, later I will put some scheme for using
	   more icons as discussed in the ethernal "Re: Icons"
	   thread.

Miguel.

1998-05-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gscreen.c (panel_icon_list_realized): Add drag and drop support
	to the icon list view;

1998-05-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gscreen.c (panel_fill_panel_icons): New function:  Fill up the
	icon list.
	(x_create_panel): Change in the approach:  we create both of the
	widget views at creation time and we now carefully show every
	component.  I attach everything to the table, but not necesarly
	show it.
1998-05-08 02:25:00 +00:00
Miguel de Icaza df1c003f37 Better you-can-not-drop-here icon -mig 1998-05-03 18:50:10 +00:00
Miguel de Icaza 98ff71d81f - Simplified the update_panels routine to only care about the current
panel, the old way of using it was an historic relic.

- This now works properly with the GNOME edition.

- Finished/fixed the implementation of the desktop-remove-icon
  functionality.

- Raster's new multi-ok window.  For some reason this is not getting
  loaded.   I am compiling gdb 4.17 now, as it is better for egcs
  output.

Miguel.
1998-04-30 03:21:52 +00:00