Commit Graph

835 Commits

Author SHA1 Message Date
Miguel de Icaza ad1610c2e3 Viewer works; Entry widgets are synced with selection;
panel fills properly (fixes a bunch of file operations); more dialog
boxes exported to the gnome edition -mig
1998-03-12 03:29:45 +00:00
Miguel de Icaza 11099ee712 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmc-chargrid.c (gmc_char_grid_get_size): New public function.
	(gmc_char_grid_put_text): New public function.  It is the same as
	gmc_char_grid_put_str, but can take any arbitrary string plus its
	length.
	(gmc_char_grid_put_char, gmc_char_grid_put_str,
	gmc_char_grid_put_text): These functions now take a background
	pixel parameter --- the GmcCharGrid widget now supports fg/bg attributes.

	* gmc-chargrid.h: Changed colors field to attrs.
1998-03-12 02:28:12 +00:00
Miguel de Icaza c3b299f39a 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmc-chargrid.h:
	* gmc-chargrid.c: New Character Grid widget for the file viewer.
	This is a very lean and fast widget for displaying a grid of
	monospaced characters.  Just like a crippled-down terminal.
1998-03-11 22:50:29 +00:00
Miguel de Icaza d934dc4afe get_other_type works; sort order box works; rescan works; filter
is enabled; virtual fs setup dialog box is up; save setup; mkdir

link command is hossed.  It is more than hossed for some stoopid
reason, the thing is selecting the first file in the panel
just after I talked to it.  No matter how argumentative I get
with the code.  Have to fix next.

Commit the bits I forgot to commit yesterday.
-miguel.
1998-03-11 05:55:05 +00:00
Miguel de Icaza df4a6d6a3e 1998-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (panel_file_list_size_allocate_hook): Now we
	connect_after to the size_allocate signal and block the handler.
	Things are still not perfect, though.
1998-03-10 22:34:28 +00:00
Miguel de Icaza b440a3ee43 Cropped link icon - Federico 1998-03-10 21:28:36 +00:00
Miguel de Icaza 1f96bb467b Cropped and added transparency to device icon - Federico 1998-03-10 21:19:11 +00:00
Miguel de Icaza 4dd40872d9 1998-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtools.c (message): Added return NULL.  This needs to be fixed.
	(translate_gdk_keysym_to_curses): FIXME: Replace KEY_BACKTAB by '\t'
	while KEY_BACKTAB is added somewhere else.
	(translate_gdk_keysym_to_curses): return -1 as last resort.

	* glayout.c (get_current_index): Add g_assert_not_reached() for
	fatal case.

	* gmenu.c (menubar_new): Cast g_menubar to unsigned long.

	* gwidget.c (x_create_input): Cast entry to GTK_OBJECT.

	* gkey.c (find_select_closure_callback): Fix = -> == typo.

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

	* xslint.c (getch): Added missing "return".

	* utilunix.c (init_groups): Added parentheses around
	assignment/truth value.

	* boxes.c: #include <stdlib.h>

	* screen.c (string_inode): Cast fe->buf.st_ino to long to be
	consistent with sprintf format.

	* main.c (handle_args): Added parentheses around assignment/truth value.
1998-03-10 21:10:30 +00:00
Miguel de Icaza 49eda3f828 Forgot the pixmaps :-) 1998-03-10 20:55:01 +00:00
Miguel de Icaza c330992ae1 Tue Mar 10 14:01:47 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c

	* gscreen.c (x_adjust_top_file): We no longer adjust the top
	displayed filename.

	(panel_build_selected_file_list): Fix for the transfered data.

	(panel_drop_data_available): Now drop support uses the new
	coords.x and coords.y fields from the DropDataAvailableEvent to
1998-03-10 20:14:17 +00:00
Miguel de Icaza c6d65c1bd3 Add a couple of icons for devices and symlinks 1998-03-10 06:31:01 +00:00
Miguel de Icaza e78e0bd556 1998-03-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (x_panel_select_item): Set the colors of the row.
1998-03-10 04:45:35 +00:00
Miguel de Icaza 768e9596b4 1998-03-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmain.c (xtoolkit_init): Changed gnome_init() to new version.
	(xtoolkit_init): Call gnome_init() properly.  Also, return 0.
1998-03-10 01:50:55 +00:00
Miguel de Icaza 8ba83a3921 Sat Mar 7 15:24:49 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gwidget.c (entry_click): Focus the entry on clicks.
1998-03-07 21:24:48 +00:00
Miguel de Icaza 179eae1dd0 More .cvsignore for mc 1998-03-07 20:40:21 +00:00
Miguel de Icaza 057f69beae Lots of fixes: screen layout is much nicer on the GNOME edition now;
Listbox widget fully implemented;

MC Idle handlers implemented

Find command now works;

Changing the listing mode works;

various other bug fixes.
1998-03-07 03:02:01 +00:00
Miguel de Icaza 566c79dc42 *** empty log message *** 1998-03-07 00:05:06 +00:00
Miguel de Icaza 5cf9dcb99e 1998-03-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gmain.c (get_color): Make it use GdkColorContext correctly.
1998-03-06 19:42:57 +00:00
Miguel de Icaza b29aba8ae1 1998-03-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gscreen.c (panel_create_filter): The filter control is now a
nice GnomeEntry.  It does not work due to gmc trapping key events;
I'll look into it tomorrow.
(internal_select_item): Fixed broken behavior.  Now uses GtkCList properly.
default_filters: new structure with pre-defined glob patterns.
This is actually broken, because it will only work when
easy_patterns is enabled.  I have to figure a way to make it work
with regexp mode as well.
1998-03-06 06:42:43 +00:00
Miguel de Icaza 33929b0be0 Make it compile - miguel 1998-03-06 06:16:30 +00:00
Miguel de Icaza 73ba8fe2d5 Panels support drops now + some other changes 1998-03-06 06:03:30 +00:00
Miguel de Icaza d80470500b Sync up so that Elliot can fix shaped-windows dnd -mig 1998-03-06 03:48:31 +00:00
Miguel de Icaza 89821ca886 Piles of bug fixes; piles of new toys; running to a dinner, comment later -mig 1998-03-05 04:53:47 +00:00
Miguel de Icaza c9c591769e Gazillions of fixes today to the File Manager:
- Layout file is now installed and used properly.  That means
  that you can actually run the code.

- Buttons actually work in the GtkTed and the regular use
  thanks to GrossHack(tm).

- File operations are working!  Weee!  Copy and Move work as
  well as the warning dialog boxes for all kind of stuff;

- Progressive display is pretty cool, you have to see it.

- Dragging files to desktop icons now allows you to copy/move
  (supported both the remove and local cases, with the obvious
  optimizations).

Still missing:

   - Using Elliot's shaped windows for dnd.
   - Allowing the arbitrary placement of desktop icons by dnd.
   - dropping files into .desktop files.
   - drop support on the panels (right now they only work right
     as drag sources).

Weeeeeee!   Total excitement.  Total and absolute.

Miguel.
1998-03-04 06:28:35 +00:00
Miguel de Icaza a70287fe9a *** empty log message *** 1998-03-04 06:14:21 +00:00
Miguel de Icaza 099b76ec92 gscreen.c - guess - mig 1998-03-04 00:56:14 +00:00
Miguel de Icaza 644baf741f More drag and drop work; the desktop is usable in some areas now 1998-03-03 05:20:20 +00:00
Miguel de Icaza 8222d0bd69 more stuff, breaks on dragging from file manager to a target 1998-03-03 00:31:05 +00:00
Miguel de Icaza d14a111c99 Multiple panels key work; code cleanup; more dnd work; gone to eat now - mig 1998-03-02 20:27:08 +00:00
Miguel de Icaza 3d9ea977f0 More work -mig 1998-03-01 01:29:42 +00:00
Miguel de Icaza 40f47113e0 sync to my home copy 1998-02-28 02:23:00 +00:00
Miguel de Icaza b58d39008d No wonder nobody who got the tar file got mc to work with gnome :-) -- TAKE 2 1998-02-27 05:12:09 +00:00
Miguel de Icaza 45069895ee No wonder nobody who got the tar file got mc to work with gnome :-) 1998-02-27 05:10:44 +00:00
Miguel de Icaza 768e561158 GtkTed Layout file 1998-02-27 05:03:45 +00:00
Miguel de Icaza eb6b3842ab Initial revision 1998-02-27 04:54:42 +00:00