Commit Graph

26 Commits

Author SHA1 Message Date
Jonathan Blandford
97c053032e 2000-06-16 Jonathan Blandford <jrb@redhat.com>
* gpopup2.c (handle_empty_trash): Finished trash can.  Now I just
	need an icon.

2000-06-15  Jonathan Blandford  <jrb@redhat.com>

	* gpopup2.c: Add "Move to Trash" as an option to the popup menu.
	Also, "Empty Trash" as appropriate.

	* gscreen.c (file_list_popup): Removed New File command.  It
	wasn't working, and didn't do anything useful, anyways.  Added
	"Empty Trash" to the options for the menu.
2000-06-16 18:16:44 +00:00
Miguel de Icaza
2bded57962 1999-09-21 Federico Mena Quintero <federico@redhat.com>
* gsession.c (create_panel_from_info): The widgets are not created
	yet, so just set the panel->list_type field.
1999-09-21 09:04:50 +00:00
Miguel de Icaza
0fbbead100 1999-09-21 Federico Mena Quintero <federico@redhat.com>
* dlg.c (init_dlg): Walk the list of widgets only if it exists.

1999-09-21  Federico Mena Quintero  <federico@redhat.com>

	* gmain.c (x_init_dlg): Only call x_focus_widget() if there is a
	current widget.
1999-09-21 05:50:22 +00:00
Miguel de Icaza
78fa313864 1999-09-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c: Added it here too.

	* glayout.c: Add File-new option here

	* gcmd.c (gnome_newfile_cmd): Added new routine.  Invoke when you
	want to create a new file.
1999-09-02 18:31:17 +00:00
Miguel de Icaza
39a1938a5f 1999-08-13 Federico Mena Quintero <federico@redhat.com>
* gscreen.c (panel_fill_panel_list): Select or unselect the rows
	as appropriate, not just select them.  This is needed because the
	clist changes the selection under us when appending rows.
	Finally, do not call select_item() at the end; just reset the
	panel->selected value.
	(panel_fill_panel_icons): Likewise.
	(tree_drag_open_directory): Disabled the auto-collapse
	functionality yet again, since it has numerous problems.  BUGFIX:
	GNOME bug tracker #1656.

	* gcmd.c (gnome_reverse_selection_cmd_panel): Re-enabled this
	function.  The reverse selection bug was somewhere else after all.

	* glayout.c (gnome_panel_edit_menu): Re-inserted the item for
	reverse selection.  It was pointing to the wrong callback, that is
	why it never worked.
1999-08-13 19:42:32 +00:00
Richard Hestilow
3d88953c11 1999-08-08 Richard Hestilow <hestgray@ionet.net>
* gcmd.[ch]
        * glayout.c
        * gprefs.c
        * gdesktop.[ch] (mostly auto_pos and desktop_arrange_icons):
        Reworking of the desktop's Arrange Icon code -- in addition to
        being able to sort by various criteria now (name, file size, etc),
        there are now 3 options (Right to Left, Bottom to Top, Rows instead
        of Columns) controlling layout positioning. (Located in the "Desktop"
        Preferences tab)
1999-08-09 03:41:39 +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
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
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
ac4255c10b Adds C-s to the Edit menu.
Patch from Ronald Da Man.
1999-04-07 01:33:04 +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
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
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
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
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
Jonathan Blandford
0dc1ef5771 1999-02-05 Jonathan Blandford <jrb@redhat.com>
* gcmd.c (gnome_reverse_selection_cmd_panel): new function -- does
	good things

	* gscreen.c (panel_icon_list_select_icon): uses new popup menu
	(panel_icon_list_button_press): ditto

	* gpopup2.c (gpopup_do_popup2): new implementation of popup
	menu.  Many changes -- almost all internal.  Much cleaner now...
	Off to England.
1999-02-05 23:52:44 +00:00
Miguel de Icaza
09bfb9e7de Make the mkdir command actually work.
Fix all of the broken stuff that was done with the poor code.

Miguel
1999-01-16 03:01:35 +00:00
Jonathan Blandford
ea47bae637 Okay,
the New-> menu item now works.
Installing a .desktop item in ${prefix}/share/mc/templates will now put
it in the New item menu.  The exec field of it will create the new item,
so choose it correctly.
Next on the TODO; rehash the toolbars.
1999-01-14 00:39:03 +00:00
Jonathan Blandford
7b8969cbbc 1999-01-12 Jonathan Blandford <jrb@redhat.com>
* gcmd.c (gnome_open_files): now you can open multiple files.
	* glayout.c: layout changed some.  moved run command.
	commented out ftplink/mkdir command for now.  gonna do mkdir
	next.  Why is the ftplink command needed?
1999-01-12 21:50:25 +00:00
Jonathan Blandford
8651cbfe54 rudimentary begininnings of a new, revitalized status bar.
Comments are welcome, but probably a tad premature at this point.
dobedobedobedo...

man it's late...
1999-01-07 06:53:31 +00:00
Jonathan Blandford
c928adcfc0 1999-01-04 Jonathan Blandford <jrb@redhat.com>
* glayout.c: menu changes.

	* gcmd.c (gnome_external_panelize): new function.  Does absolutely
	nothing yet but look pretty (and it doesn't do that all that well,
	yet...)  I'll hook it up to it's actual functions, tomorrow.
1999-01-04 23:45:02 +00:00
Jonathan Blandford
d6016ea709 1999-01-02 Jonathan Blandford <jrb@redhat.com>
* gcmd.c (gnome_sort_cmd): pretified
        (gnome_select_all_cmd): New command -- selects all files (in
        theory).

        * glayout.c: rearrange the edit menu some.


        * gscreen.c (x_create_panel): new icon view icons -- brief and
        custom.
1999-01-02 22:06:00 +00:00
Jonathan Blandford
282e95805b more work on the menu code -- hooking it up to actual code so it
works is a vast improvement.
1998-12-30 00:19:46 +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
92ecd7af62 nlink_t patch for some sysvr3 system by Philippe De Muyter 1998-03-23 17:49:04 +00:00
Miguel de Icaza
480616917c Missing file 1998-03-13 05:20:55 +00:00