1 2001-06-06 Pavel Roskin <proski@gnu.org>
3 * Makefile.in: Don't use terms.o.
4 * glayout.c: Remove unused global variables. Set command_prompt
7 * gprefs.c [!USE_VFS]: Disable VFS code to allow compilation.
9 * gmc-client.c (main): Warning fix.
11 2001-06-04 Pavel Roskin <proski@gnu.org>
13 * gmcd.c (gnome_filter_cmd): Set default regex filter to "^.*$".
15 (set_cursor_busy): Warning fix.
17 2001-06-02 Pavel Roskin <proski@gnu.org>
19 * Makefile.in: Don't use hotlist.o. Remove annoying message.
21 2001-06-01 Pavel Roskin <proski@gnu.org>
23 * gmain.c (x_init_dlg): Warning fix.
25 * Makefile.in: Don't use key.o.
27 2001-05-29 Pavel Roskin <proski@gnu.org>
29 * Makefile.in: Don't use boxes.o.
31 * gcmd.c (gnome_listing_cmd): Remove, it unused.
32 (gnome_compare_panels): Likewise.
34 * Makefile.in: Don't use subshell.o.
36 2001-05-26 Pavel Roskin <proski@gnu.org>
38 * glayout.c (gnome_panel_layout_menu): Status bar messages for
39 "Sort By" and "Filter View" were incorrect.
41 2001-05-25 Pavel Roskin <proski@gnu.org>
43 * gmain.c (gnome_check_super_user): Add option not to show the
44 root warning again. From Ximian patches.
46 * gmain.c: Include libgnomeui/gnome-window-icon.h if needed.
47 (gnome_check_super_user): Better warning for root. From Ximian.
48 (idle_destroy_panel): Remove.
50 2001-05-23 jacob berkman <jacob@ximian.com>
52 * mc.keys.in.in: fix missing trailing @ in audio/x-xi entry
54 2001-05-20 Pavel Roskin <proski@gnu.org>
56 * gmount.c: Fix warning "extra token after endif".
58 2001-05-14 Pavel Roskin <proski@gnu.org>
62 * gcliplabel.c: Likewise.
63 * gcliplabel.h: Likewise.
66 * gpageprop.c: Likewise.
67 * gpageprop.h: Likewise.
70 * Makefile.in: Adjust for the above.
71 * glayout.c: Don't include the above headers.
72 * gpopup2.c: Likewise.
73 * gscreen.c: Likewise.
75 * gcorba.c: Add "const" when needed to match FileManager.idl.
77 * gtools.c (message): Use g_vsnprintf(). Make the "text"
80 2001-04-30 Pavel Roskin <proski@gnu.org>
82 * directory.xpm: Remove.
83 * Makefile.in: Remove directory.xpm.
85 2001-04-20 Miguel de Icaza <miguel@ximian.com>
87 * gdesktop.c (new_terminal): Use gnome_open_terminal, and do not
90 * gcmd.c (gnome_open_terminal_with_cmd): When launching
91 gnome-terminal, pass the --start-factory-server --use-factory
94 2001-04-14 Federico Mena Quintero <federico@ximian.com>
96 * gdesktop.c (desktop_icon_set_busy): Use a pretty arrow instead
97 of GDK_TOP_LEFT_ARROW.
98 (click_proxy_button_press): Likewise.
100 * gcmd.c (set_cursor_normal): Set the cursor to NULL so that we
101 pick up the cursor that the window manager set for us.
103 * gscreen.c (panel_tree_scan_begin): Use set_cursor_busy().
104 (panel_tree_scan_end): Uset set_cursor_normal().
106 2001-04-11 Miguel de Icaza <miguel@ximian.com>
108 * gdesktop.c (should_hide_nautilus_file): New function, used to
109 decide if things should be hidden (handles nautilus home key,
110 trash key, and .nautilus-metafile.xml for now)
112 (desktop_reload_icons): Hook up above function.
114 * gdesktop-init.c (migrate): New function to help migrate metadata
117 * gscreen.c (file_list_popup): Changed here too.
119 * gdesktop-init.c (gdesktop_links_init): Migrate from Trash to
120 Trash.gmc to integrate with Nautilus on the same computer.
122 * gcmd.c (create_trash_panel): ditto
124 * gpopup2.c (check_trash_func): Rename trash directory to Trash.gmc
126 2001-04-06 Miguel de Icaza <miguel@ximian.com>
128 * gdesktop.c (do_rescan): Added automatic desktop reloading.
130 2001-04-06 Pavel Roskin <proski@gnu.org>
132 * gscreen.c (tree_size_allocate): Don't call save_setup() if
133 auto_save_setup is 0.
135 * Makefile.in: Add dependencies between gmc and static libraries
138 * layout: New widget "findfile-Widget-find-case-check".
140 2001-02-28 Christian Meyer <chrisime@gnome.org>
142 * application.x-gnumeric.desktop: Added German strings.
144 Wed Jan 10 15:52:51 2001 Jonathan Blandford <jrb@redhat.com>
146 * gdesktop-init.c (gdesktop_links_init): allow I18N of trash.
148 2000-10-19 Martin Bialasinski <martin@internet-treff.uni-koeln.de>
150 * gscreen.c (toolbar): Fixes misspelling of "hierarchy".
152 2000-09-21 Pavel Roskin <proski@gnu.org>
154 * Makefile.in: Don't use $< in explicit rules - this should fix
155 non-GNU makes. Removed GNOME_IDLDIR - it wasn't used.
157 2000-09-14 Pavel Roskin <proski@gnu.org>
159 * Makefile.in: Compile our own mad.o. Don't link object files.
160 Put links to the build directory. Don't link headers, change
161 includes accordingly. gdialogs.o removed from OOBJS. Link
162 only sources we need. Obsolete comments removed or updated.
164 * Makefile.in: Don't make softlinks to the libraries
166 2000-09-12 Andrew V. Samoilov <sav@bcs.zp.ua>
168 * glayout.c (run_cmd): Memory leak fix: cmd released after use
170 2000-08-31 Pavel Roskin <proski@gnu.org>
172 * directory-ok.xpm gpopup.c i-device.png image.metadata.in
173 make-thumb.c mc.metadata.in multi-ok.png multi-ok.xpm multi.xpm
174 not.png olddnd.c: removed
176 2000-08-29 Norbert Warmuth <nwarmuth@privat.circular.de>
178 * Makefile.in (CFLAGS): -I$(rootdir)/src removed from CFLAGS -- it
179 breaks compilation on glibc2.1 systems because glibc includes
180 src/features.h instead of it's own features.h. Run `make
181 cleansourcelinks; make sourcelinks' in case mc doesn't find it's
184 2000-08-23 Pavel Roskin <proski@gnu.org>
186 * Makefile.in: Don't do anything with *.inc - they are gone
188 2000-08-22 Pavel Roskin <proski@gnu.org>
190 * Makefile.in: Don't use info.o, chmod.o, chown.o, achown.o,
191 @XCURSES@ and option.o
193 2000-08-21 Jonathan Blandford <jrb@redhat.com>
195 * gmount.c (create_device_link): Fix memory leak. Also, make sure
196 the icon is dead before making the link. This is necessary in
197 case your metadata database gets fubarred.
199 2000-08-08 Miguel de Icaza <miguel@gnu.org>
201 * gdesktop.c (new_terminal): Add patch from Duncan Mak to use the
202 gnome terminal factory server
204 2000-08-03 Pavel Roskin <proski@gnu.org>
207 * gtree.h: Added prototype for sync_tree()
209 2000-07-17 Andrew V. Samoilov <sav@bcs.zp.ua>
211 * gdesktop-init.c (desktop_init_at): fname released after use
212 (desktop_load_init_from): don't release icon if it is null
213 (gdesktop_links_init): ditto
215 2000-07-03 Jonathan Blandford <jrb@redhat.com>
217 * gdesktop-init.c (gdesktop_links_init): set the initial icon of
218 the trashcan, and make the trashcan.
220 2000-06-20 Jacob Berkman <jacob@helixcode.com>
222 * gtkdtree.c (gtk_dtree_construct):
223 * gscreen.c (panel_create_tree_view): don't set the tree's line
226 * gprefs.[ch] (create_prop_box): only set the parent if the parent
228 (create_prop_box): only show the custom tab if we have a parent
230 (gnome_configure_box_with_desktop): add a param for optionally
231 doing the desktop prefs
232 (gnome_configure_box): wrap the other function
234 * gdesktop.c (set_desktop_icons): show icon properties
235 (desktop_popup_items): add an item to configure icons
237 2000-05-06 Jacob Berkman <jacob@helixcode.com>
239 * gmain.c (xtoolkit_get_main_dialog):
240 (xtoolkit_create_dialog):
241 (x_create_panel_container): set the default icon
243 2000-06-16 Jonathan Blandford <jrb@redhat.com>
245 * gpopup2.c (handle_empty_trash): Finished trash can. Now I just
248 2000-06-15 Jonathan Blandford <jrb@redhat.com>
250 * gpopup2.c: Add "Move to Trash" as an option to the popup menu.
251 Also, "Empty Trash" as appropriate.
253 * gscreen.c (file_list_popup): Removed New File command. It
254 wasn't working, and didn't do anything useful, anyways. Added
255 "Empty Trash" to the options for the menu.
257 2000-05-24 Arik Devens <arik@helixcode.com> and Ian Peters <itp@helixcode.com>
259 * gdesktop-init.c (desktop_load_init_from): don't crash on
260 recreating icons, iterating over NULL pointer.
262 2000-05-15 Andrew Post <apost@cbmi.upmc.edu>
264 * gdesktop.c (get_icon_snap_pos): Icons no longer count themselves
267 * gdesktop.c (desktop_reload_icons): Icons are no longer
268 auto-arranged every time the user logs in (or in IceWM, the weird
269 icon focusing problems are fixed). An old and broken version of
270 the snap-to-grid patch was committed to CVS, causing these
273 2000-05-14 Andreas Hyden <a.hyden@cyberpoint.se>
275 * application.x-gnumeric.desktop: Added Swedish translation.
277 2000-05-14 Andreas Hyden <a.hyden@cyberpoint.se>
279 * gimp.image.desktop: Added Swedish translation.
281 2000-05-08 Miguel de Icaza <miguel@helixcode.com>
283 * gnome-file-property-dialog.c (create_general_properties): Tag
284 the strftime format for translation to let the localization
285 efforts to localize the time display.
287 2000-05-06 Jacob Berkman <jacob@helixcode.com>
289 * gsession.c (session_set_restart): restart with priority 40 so we show
290 up in the splash screen
292 2000-04-23 JP Rosevear <jpr@arcavia.com>
294 * gview.c (view): Constify file parameter to match prototype and fix
297 2000-04-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
299 * gcmd.c (gnome_open_terminal_with_cmd): Allow translating of
302 2000-04-04 Jacob and Miguee, The Debugging Machines <debugging_machines@helixcode.com>
304 * gdesktop.c (click_proxy_button_press): Federico should make sure
305 he releases the server grab before he starts pooping up menus on
308 2000-03-13 Miguel de Icaza <miguel@helixcode.com>
310 * gaction.c (gmc_open_filename): Usae open.flags to determine
311 whether we need a terminal.
312 (gmc_open_filename): Fix the logic to make it work properly with
313 .desktop and .kdelnk files.
315 2000-02-03 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
317 * gicon.c (gicon_init): make missing icons back fatal (prevents
320 2000-02-01 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
322 * gicon.c (gicon_init): make missing icons non-fatal error
324 * gmain.c, gdesktop.c: added option not to display desktop icons
325 (desktop_popup): don't handle clicks when --nodesktop
327 2000-01-26 Federico Mena Quintero <federico@helixcode.com>
329 * gmc-client.c (options): Added the --arrange-desktop-icons
331 (arrange_desktop_icons): Implemented.
333 * gcorba.c (Desktop_arrange_icons): Implemented.
334 (Desktop_class_init): Put the function in the desktop_epv.
336 * gdesktop.c (desktop_arrange_icons): Made public.
338 * gnome-file-property-dialog.c (align_label_new): Renamed from
339 label_new() to avoid a conflict with widget.h.
341 2000-01-02 Federico Mena Quintero <federico@helixcode.com>
343 * gaction.c (gmc_open_filename): Use gnome_mime_needsterminal()
344 instead of gnome_mime_type_or_default(). This was a thinko.
345 Thanks to Aaron Lehmann <aaronl@vitelus.com> for pointing this
348 1999-12-28 Matthias Warkus <mawa@iname.com>
350 * mc.keys.in.in: Added a whole slew of new icons.
352 1999-11-29 Federico Mena Quintero <federico@redhat.com>
354 * gdesktop.c (desktop_arrange_icons): Return immediately if there
355 are no icons in the desktop. BUGFIX: bugs.gnome.org #3789.
356 (desktop_popup): Desensitize the "arrange icons" commands if there
357 are no icons in the desktop.
359 1999-11-01 Pavel Machek <pavel@ucw.cz>
361 * make_thumb.c: close symlink hole
363 * *.c: add return_val_if_fail, it is better than crashing. Sorry
364 about that *image = NULL, but gcc should be able to optimize it
365 out in non-debugging case.
367 1999-10-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
369 * gdesktop-init.c (desktop_init_at): Put an equal sign between the
372 1999-10-20 Federico Mena Quintero <federico@redhat.com>
374 * gdesktop.c (text_changed): Do not try to rename the file if the
375 name did not change. BUGFIX: GNOME bug tracker #2851.
377 1999-10-06 Jonathan Blandford <jrb@redhat.com>
379 * gpopup2.c (create_actions): Now the Mount/Unmount/Eject device
380 code will be lumped together with the other MIME_ACTIONS, even
381 thought they're not controlled there.
383 1999-10-06 Norbert Warmuth <nwarmuth@privat.circular.de>
385 * gmain.c, gmain.h: removed disable_root_warning. This variable
386 wasn't defined anywhere.
388 1999-09-30 Vincent Renardias <vincent@ldsol.com>
390 * gmain.c, gmain.h: add a '--disablerootwarning' flag which
391 disable the iritating "You're running gmc as root." dialog box.
392 (idealy, that box should also contain a "don't show this
393 message again" checkbox; any objection?).
395 1999-09-29 Federico Mena Quintero <federico@redhat.com>
397 * gcorba.c (corba_activate_server): New function. Activate the
398 POA manager here, when we are actually ready to process requests,
399 instead of at the beginning of initialization.
401 * gmain.c (create_panels): Call corba_activate_server().
403 1999-09-22 Federico Mena Quintero <federico@redhat.com>
405 * gscreen.c (panel_chdir): Clear the lists if the chdir operation
408 * gtkflist.c (gtk_flist_button_press): Only emit the open_row
409 signal if we are not on the empty area.
411 * gnome-open-dialog.c (gnome_open_dialog_new): Expand the tree
412 when we are done generating it.
414 1999-09-21 Federico Mena Quintero <federico@redhat.com>
416 * gdesktop.c (desktop_reload_icons): Do not call x_flush_events()
419 * gsession.c (create_panel_from_info): The widgets are not created
420 yet, so just set the panel->list_type field.
422 * gscreen.c (x_create_panel): Do not change the dialog head's
425 * gmain.c (x_init_dlg): Only call x_focus_widget() if there is a
427 (non_corba_create_panels): Removed the nasty hack that created a
428 dummy panel and destroyed it in the idle loop. Wheeeeeee!
430 1999-09-20 Federico Mena Quintero <federico@redhat.com>
432 * gsession.c (save_panel_info): Save the panel's list type.
433 (idle_create_panels): Set the panel's list type.
435 * gdesktop.c (handle_recreate_default_icons): New option to
436 re-create the default set of icons.
438 * gdesktop-init.c (gdesktop_links_init): Create the link to the
439 user's home directory here.
441 * gcorba.c (WindowFactory_get_windows_by_directory): Fill in the
444 * gsession.c (load_panel_info): Doh. Fix test for presence of the
446 (load_session_info): If we could not load the panel info, do not
447 insert bogus data in the list.
449 The following is a patch from Volker Braun
450 <volker.braun@physik.hu-berlin.de> to fix column resizing in the
453 * gcustom-layout.c (custom_layout_apply): Set the
454 default_user_format to the new format.
456 * gscreen.c (panel_fill_panel_list): Set the column widths
457 according to the previously stored values.
458 Nuked the old and hideous panel_file_list_configure_contents().
459 (panel_file_list_configure): Connect to resize_column in the clist.
460 (panel_create_file_list): Do not connect to size_allocate.
461 (x_create_panel): Set the column width array for this panel. Set
462 the user format from the default one if it exists.
464 * gsession.c (PanelInfo): Added information about column widths
466 (save_panel_info): Save the complete information.
467 (load_panel_info): Load the complete information.
468 (free_panel_info): Free the user format.
469 (idle_create_panels): Set the user format and column widths.
471 1999-09-20 Federico Mena Quintero <federico@redhat.com>
473 * gdesktop.c (desktop_rescan_devices): Call gmount_setup_devices().
475 * gdesktop-init.c (gdesktop_links_init): Renamed from
476 gdesktop_init(). Only set up customizable links here.
478 * gdesktop.c (create_desktop_dir): Do the default setup of desktop
481 * gmount.c (option_has_owner): New function to see if a mount
482 entry has the "owner" flag and its uid matches our euid.
483 (is_block_device_mountable): Use option_has_owner().
484 (get_mountable_devices): Likewise.
486 1999-09-17 Federico Mena Quintero <federico@redhat.com>
488 * gmain.c (x_init_dlg): Display a warning if the GtkTed code path
490 (xtoolkit_create_dialog): Likewise.
491 (x_add_widget): Likewise.
493 1999-09-16 Owen Taylor <otaylor@redhat.com>
495 * gmount.c: Remove the HAVE_MAGICDEV conditional.
497 * Makefile.in magicdev.idl: Add the magicdev.idl file
498 here to avoid creating dependency loops.
500 1999-09-14 Norbert Warmuth <nwarmuth@privat.circular.de>
502 * layout: Added the new samba password dialog.
504 1999-09-13 Owen Taylor <otaylor@redhat.com>
506 * Makefile.in (MAGICDEV_OBJS): Built common/stubs
507 for magicdev if we found it.
509 * gmount.c (automounter_is_running): If we detected
510 magicdev support at compile time, use a CORBA query
511 to detect if it is running.
513 * gcorba.c (WindowFactory_get_windows_by_directory): Set the
514 length of the sequence we are returning.
516 * gmount.c (setup_devices): is_block_device_mounted expects
517 mount point, not device.
519 1999-09-13 Miguel de Icaza <miguel@gnu.org>
521 * glayout.c: Add C-w for sopwith.
523 1999-09-13 Federico Mena Quintero <federico@redhat.com>
525 * gtkdtree.c (scan_subtree): Do not set the current path here,
526 just load the subtree.
527 (gtk_dtree_get_row_path): Removed the column argument, since it
529 (scan_subtree): Added a path argument that can be calculated
531 (gtk_dtree_expand): Compute the path for scan_subtree().
532 (gtk_dtree_select_row): Compute the path for scan_subtree(), and
533 set the tree's current path here. This is the right thing;
534 setting the current path is completely orthogonal from scanning a
537 * gtkdtree.c (gtk_dtree_class_init): Sigh. Create a new signal,
538 called "possibly_ungrab", used to request the client to ungrab the
539 mouse at the proper time. This is required because the stupid
540 clist button press handler grabs the mouse, and we don't want that.
541 (gtk_dtree_select_row): Emit the possibly_ungrab signal here.
543 * gscreen.c (panel_tree_drag_motion): Set the
544 panel->drag_tree_dragging_over flag.
545 (panel_tree_drag_leave): Unset said flag.
546 (panel_tree_possibly_ungrab): Ungrab the mouse here.
548 1999-09-11 Owen Taylor <otaylor@redhat.com>
550 * gcorba.c (Window_close): Fixed typo in cast.
552 1999-09-10 Federico Mena Quintero <federico@redhat.com>
554 * gmount.c (setup_devices): See if our supported automounter,
555 magicdev, is running and only create links for mounted CD-ROMs if
557 (automounter_is_running): For now just return TRUE; we have to
558 wait for magicdev to export a CORBA server.
560 * gcorba.c (corba_init_server): Initialize the POA here instead of
561 in register_servers().
563 1999-09-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
565 * gnome-file-property-dialog.c (apply_uid_group_change): Fix more
568 1999-09-09 Federico Mena Quintero <federico@redhat.com>
570 * gcorba.c (WindowFactory_close_invalid_windows): Doh. Walk the
571 list properly, since it may change as we delete windows.
573 1999-09-09 Federico Mena Quintero <federico@redhat.com>
575 * gmc-client.c: New file. This is a small program to which you
576 can pass arguments to call the GMC CORBA interface for you. You
577 can do stuff like create a directory window, rescan the desktop,
580 * gcorba.c (register_servers): Create the window factory and
583 1999-09-08 Federico Mena Quintero <federico@redhat.com>
585 * gcorba.c: Major re-arrangement and beautifying. Use nicer and
586 shorter identifier names.
587 (WindowFactory_rescan_directory): New method to rescan all the
588 panels that pertain to the specified directory.
589 (WindowFactory_close_invalid_windows): New method to close all the
590 panels that have unreachable directories.
591 (WindowFactory_get_windows_by_directory): New method to get a
592 sequence of all the panels that are showing the specified directory.
593 (Desktop_rescan): New method to rescan the desktop.
594 (Desktop_rescan_devices): New method to rescan the mountable devices.
596 * gmc.gnorba: Fixed the GOAD IDs to be something non-ad-hoc.
597 Added the Desktop interface.
599 1999-09-06 Federico Mena Quintero <federico@redhat.com>
601 * gtkdtree.c (gtk_dtree_size_allocate): Do the "visibility" test
604 1999-09-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
606 * gtkdtree.c (gtk_dtree_size_allocate): Small change to improve
607 the non-tree loading feature of gmc.
609 1999-09-05 <jrb@redhat.com>
611 * mc.keys.in.in: changed image/x-xcf to be image/x-gimp. Also,
612 associated gimp with the various actions. This prolly should be
613 done distributed with gimp, but it's more useful here.
615 1999-09-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
617 * gscreen.c: Added it here too.
619 * glayout.c: Add File-new option here
621 * gcmd.c (gnome_newfile_cmd): Added new routine. Invoke when you
622 want to create a new file.
624 1999-09-01 Federico Mena Quintero <federico@redhat.com>
626 * gscreen.c (panel_icon_renamed): Do nothing if the name did not
629 1999-08-30 Federico Mena Quintero <federico@redhat.com>
631 * gdnd.c (file_has_drop_action): New function to test whether a
632 file has the drop-action metadata or MIME action property.
633 (gdnd_validate_action): Take the drop-action metadata/MIME
634 property into account.
635 (gdnd_can_drop_on_file): New function to see whether a
636 non-directory file can take drops.
638 * gscreen.c (drop_on_panel): New helper function to drop stuff on
639 a panel. This uses gdnd_can_drop_on_file so that we have the
640 correct behavior. This enables dropping on executables and files
641 with the drop-action metadata/MIME property again.
642 (panel_icon_list_drag_data_received): Use drop_on_panel().
643 (panel_clist_drag_data_received): Use drop_on_panel(). Normalize
644 the Y coordinate to the clist_window.
646 1999-08-26 Federico Mena Quintero <federico@redhat.com>
648 * gscreen.c (panel_clist_drag_motion): Pass the full name to
649 gdnd_validate_action().
650 (panel_icon_list_drag_motion): Likewise.
651 (panel_tree_drag_motion): Likewise.
653 * gdnd.c (gdnd_perform_drop): Renamed the "directory" argument to
654 "dest_full_name" for clarity.
655 (gdnd_validate_action): Likewise. Pass in the full name to
657 (drop_on_file): Do not compute the full name, since we are already
658 get it from the caller.
659 (drop_on_file): Pass in the full name to if_link_is_exe().
661 * gscreen.c (panel_tree_drag_data_received): Free the pathname.
663 * gdesktop.c (icon_drag_data_received): Pass the full name of the
664 file to gdnd_perform_drop(), not just the desktop directory.
666 1999-08-23 Federico Mena Quintero <federico@redhat.com>
668 * gdesktop-prefs.[ch]: New files that handle the desktop
669 preferences page. Now we have a nice way to configure the
670 position of desktop icons.
672 * gprefs.c (create_prop_box): Use desktop_prefs_new() to create
673 the desktop preferences page.
674 (apply_page_changes): Do not update the desktop here.
675 (apply_callback): Take the desktop page into account.
677 * gdesktop.c (desktop_use_shaped_text): Renamed from
678 desktop_use_transparent_text.
680 * Makefile.in: Added gdesktop-prefs.[ch] to the list of sources.
682 1999-08-19 Richard Hestilow <hestgray@ionet.net>
684 * gicon.h: define ICON_IMAGE_WIDTH and ICON_IMAGE_HEIGHT
685 for default icon size. Currently set at 48 by 48.
687 * gicon.c (gicon_get_icon_for_file): Scale down images that are too
688 large. Scales down to a size <= DESKTOP_ICON_WIDTH by
689 DESKTOP_ICON_HEIGHT. Correctly composites arrows on user-selected
690 icons. Shows gnome-warning for unreachable symlinks with no user
693 * gdesktop-icon.c (desktop_icon_reshape): dicon->height is now a
694 MAX of total height (icon height + spacing + text height) and
695 DESKTOP_SNAP_X, so that all icons are of a uniform height and small
696 icons center nicely. Rest of function modified to take this into
697 account. create_window_shape is now called last of all,
698 so dicon's various x/y/width/height fields are up to date.
699 (create_window_shape): Determine drawing coordinates based on
700 dicon->icon & dicon->text coordinates, instead of calculating them
701 by hand (Needed for size changes).
702 (set_text): Modified to take the size changes into acount.
704 PATCH FROM volker.braun@physik.hu-berlin.de:
706 * gprefs.c, setup.c, gdesktop.[ch]: Added option
707 desktop_use_transparent_text (Default is FALSE)
709 * gdesktop-icon.c (create_window_shape:
710 * gdesktop.c (click_button_proxy_press): Modified to take into
711 account transparent text.
713 1999-08-16 Federico Mena Quintero <federico@redhat.com>
715 * gmain.c (default_edition_colors): "brightred" is not a standard
716 X color; use "red" instead.
717 (get_color): Take into account the result of gdk_color_parse().
719 1999-08-13 Federico Mena Quintero <federico@redhat.com>
721 * gscreen.c (rename_file_with_context): Moved the try_rename()
722 function from gdesktop.c over to here, and renamed it for general
724 (panel_icon_renamed): Use rename_file_with_context(). BUGFIX:
725 GNOME bug tracker #1582.
727 * gscreen.c (panel_fill_panel_list): Select or unselect the rows
728 as appropriate, not just select them. This is needed because the
729 clist changes the selection under us when appending rows.
730 Finally, do not call select_item() at the end; just reset the
731 panel->selected value.
732 (panel_fill_panel_icons): Likewise.
733 (tree_drag_open_directory): Disabled the auto-collapse
734 functionality yet again, since it has numerous problems. BUGFIX:
735 GNOME bug tracker #1656.
737 * gcmd.c (gnome_reverse_selection_cmd_panel): Re-enabled this
738 function. The reverse selection bug was somewhere else after all.
740 * glayout.c (gnome_panel_edit_menu): Re-inserted the item for
741 reverse selection. It was pointing to the wrong callback, that is
744 1999-08-12 Federico Mena Quintero <federico@redhat.com>
746 * gtkdtree.c (scan_subtree): Scan the subtree unconditionally, as
747 it is completely orthogonal from the selection status.
748 (gtk_dtree_select_row): Maintain the dtree->last_node field here.
749 This fixes the expand/select the same row sequence. BUGFIX: GNOME
752 1999-08-12 Jonathan Blandford <jrb@redhat.com>
754 * gpopup2.c (handle_unmount): We refresh when we unmount/mount a cdrom.
756 * gscreen.c (queue_reread_cmd): We refresh when we make a change.
758 1999-08-12 Federico Mena Quintero <federico@redhat.com>
760 The two following entries are BUGFIX: GNOME bug tracker #1789.
762 * gscreen.c (panel_fill_panel_list): Do not allow selection of "..".
763 (panel_icon_list_select_icon): Likewise.
765 * glayout.c (gnome_panel_edit_menu): Removed the Invert Selection
766 command. It is completely broken for the expected GNOME
769 * gnome-file-property-dialog.c (perm_group_new): If the file
770 belongs to an unknown user/group, use the group's number as a
771 string for the entry box. BUGFIX: GNOME bug tracker #1414.
772 (perm_owner_new): Do the same thing for the user.
774 * gdialogs.c (file_mask_dialog): Destroy the dialog if it was
775 closed by the window manager, as well.
776 (file_op_context_create_ui): Make the operation window modal so
777 that the user cannot fiddle with other windows while files are
778 being operated on. BUGFIX: GNOME bug tracker #1035.
780 1999-08-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
782 * gdialogs.c (file_mask_dialog): Sigh, disabled background
783 operations, since they are completely hosed. Re-aligned the
784 widgets in the dialog. BUGFIX: GNOME bug tracker #1412, #1416.
786 1999-08-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
788 * gscreen.c (editing_icon_list): New function to figure out
789 whether an icon in the icon list is being edited. This is a
790 FANTASTICALLY UGLY HACK, but we cannot add new functions to the
791 icon list at this point as it would break forwards compatibility.
792 Sigh. BUGFIX: GNOME bug tracker #382, #1065.
794 * glayout.c (gnome_panel_desktop_menu): Added some underline
797 * gdesktop.c (desktop_arrange_icons_items): Renamed to the desktop
798 namespace. Added underline accelerators.
799 (handle_arrange_icons_name): Made static.
800 (handle_arrange_icons_type): Likewise.
801 (handle_arrange_icons_size): Likewise.
802 (handle_arrange_icons_access): Likewise.
803 (handle_arrange_icons_mod): Likewise.
804 (handle_arrange_icons_change): Likewise.
805 (desktop_arrange_icons): Made static.
806 (strip_tearoff_menu_item): Made it return the number of items in
807 the menu, not the list of children.
808 (desktop_icon_info_destroy): Remove the icon from the icon hash
810 (text_changed): Update the icon hash table information.
812 * gdesktop.h: Cleaned up some unused prototypes.
814 * gview.c (view_status): Use the correct g_snprintf() format
817 * gcmd.c (sort_get_func_from_type): Indented according to the MC
818 conventions. People, *PLEASE* follow the Gnome Programming
819 Guidelines, especially when modifying existing code.
821 * gdesktop.c (swap): Likewise.
822 (auto_pos): Likewise.
823 (get_icon_auto_pos): Likewise.
825 1999-08-08 Richard Hestilow <hestgray@ionet.net>
830 * gdesktop.[ch] (mostly auto_pos and desktop_arrange_icons):
831 Reworking of the desktop's Arrange Icon code -- in addition to
832 being able to sort by various criteria now (name, file size, etc),
833 there are now 3 options (Right to Left, Bottom to Top, Rows instead
834 of Columns) controlling layout positioning. (Located in the "Desktop"
837 1999-08-08 David Martin <dmartina@usa.net>
839 * gaction.c (mainly gmc_unable_to_execute_dlg): Moved g_strconcat
840 to g_strdup_printf, to get compact strings and make coherent
841 translations. Translate atomic actions (open, edit, view) when
842 calling this function.
844 1999-08-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
846 * gdesktop.c (try_rename): New function to rename a desktop icon's
847 file by using a file operation context.
848 (text_changed): Use try_rename() instead of fiddling with the VFS
849 directly. BUGFIX: GNOME bug tracker #707. Also, destroy the old
850 icon before updating the desktop.
852 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de>
854 * gconf.h (PORT_STATIC_IN_STRING_FILE_XTIME): new port specific
855 feature. The Gnome edition first calls all string_file functions
856 and then uses the return values of these functions. This needs
857 some static buffers in string_file_[acm]time. Therefore additional
858 static buffers in string_file_[acm]time are needed.
860 1999-08-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
862 * gnome-file-property-dialog.c (perm_group_new): Set the correct
863 group name in the group entry box. BUGFIX: Red Hat bugzilla #3244.
865 * gmount.c (get_mountable_devices): Return the list in getmntent()
866 order. BUGFIX: Red Hat bugzilla #3621.
868 * gprefs.c (help_callback): New help callback for the preferences
869 dialog. It loads the "gmcprefs.html" section from the GMC user's
870 guide. We need a better framework for this; we need to be able to
871 map DocBook identifiers (<foo id="bar">) to HTML files or
872 whatever. BUGFIX: Red Hat bugzilla #3194.
874 1999-08-01 David Martin <dmartina@usa.net>
876 * gcmd.c (gnome_about_cmd): Change strings in gmc "about" to
877 static as they only translated once.
879 1999-08-01 <jrb@redhat.com>
881 * glayout.c: moved Preferences to a settings menu.
883 1999-07-17 Karsten Weiss <karsten@addx.au.s.shuttle.de>
885 * mc.keys.in.in: changed "x11amp" references to "xmms" (xmms is
886 the new name of x11amp).
888 1999-07-13 Miguel de Icaza <miguel@gnu.org>
890 * gnome-file-property-dialog.c (perm_group_new): the return values
891 from the group functions in libc return pointers to static buffers
892 in the library. Duplicate all return values and free them at the
895 1999-07-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
897 * gdesktop.c (icon_drag_data_received): Use desktop directory here
898 not the fullname when invoking gdnd_perform_drop as this is what
901 * gnome-file-property-dialog.c (perm_group_new): Patch from
902 Germano Leichsenring <germano@jedi.cs.kobe-u.ac.jp> that fixes the
903 display of groups for non-root users.
905 1999-07-07 <jrb@redhat.com>
907 * mc.keys.in.in: updated a few values.
909 1999-07-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
911 * gcorba.c (corba_create_window): Ensure that the directory we
912 pass to the CORBA server is not NULL.
914 * gscreen.c: Removed a bunch of unused functions for filters.
916 1999-06-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
918 * gscreen.c (x_select_item): Removed icon list hacks.
920 1999-06-24 Norbert Warmuth <nwarmuth@privat.circular.de>
922 * gmc-chargrid.c (update_strip): Paint every character with the
923 assigned fore and background color instead of using the colors of
924 the first character for the whole line.
926 1999-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
928 * gsession.c (create_default_panel): Use directory specified in
931 * gcorba.c (corba_create_window): Pass the directory we receive or
932 cwd if this value is NULL.
934 * gmain.c (non_corba_create_panels): Use parameter for startup
935 directory (use the this_dir external directory for this).
936 (create_panels): Pass this_dsir to non_corba_create_panels and
939 1999-06-22 David Martin <dmartina@usa.net>
941 * gnome-file-property-dialog.c (switch_metadata_box): Tag some
942 strings for localization.
944 * gnome-open-dialog.c (gnome_open_dialog_new): Don't assemble
945 label_string from seperate strings (makes it easier to translate).
947 1999-06-22 Norbert Warmuth <nwarmuth@privat.circular.de>
949 * gview.c (viewer_size_changed): Update internal viewer state used
952 1999-06-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
954 * gdesktop.c (set_icon_wmclass): New function to set the wmclass
955 and wmname for desktop icons. This lets them be managed correctly
956 by WMs who try to manage X11R5 clients decently.
957 (text_changed): Call set_icon_wmclass().
958 (desktop_icon_info_new): Call set_icon_wmclass().
960 * gdesktop-icon.c (desktop_icon_realize): Do not clear the
961 WM_CLIENT_LEADER property.
963 1999-06-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
965 * gdesktop.c (icon_is_in_area): Fixed off-by-one error in
966 intersection computation.
968 * gdesktop-icon.c (desktop_icon_reshape): Set the correct values
969 for dicon->text_x and dicon->text_y.
971 1999-06-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
973 * gwidget.c (x_update_input): Unblock the changed signal *after*
974 we call gtk_editable_changed().
976 1999-06-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
978 * gdesktop-icon.[ch]: Removed the background hack for desktop
979 icons. Now the GnomeIconTextItem does the right thing.
981 * gdesktop-icon.c (desktop_icon_reshape): Use the correct size for
984 1999-06-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
986 * gdesktop.c (new_terminal): New function to open a terminal from
987 the popup menu. If the user opens a terminal from the desktop,
988 then its cwd should be the user's home directory, not the desktop
989 directory. Fixes bug #2868 in the Red Hat bugzilla.
991 1999-06-04 Robert Brady <rwb197@ecs.soton.ac.uk>
993 * gscreen.c (panel_list_configure_contents): Prevent
994 divide by zero error. (Fixes bug #1360)
996 1999-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
998 * gmain.c (xtoolkit_init): Ignore SIGTTIN and SIGTTOU.
1000 1999-06-01 Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>
1002 * gnome/gdesktop-icon.h:
1003 * gnome/gmc-chargrid.c: Replace gdk_font_load() with
1004 gdk_fontset_load(), and change the default font names.
1006 1999-05-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
1008 * gscreen.c: Include util.h after x.h; Undefine __G_LIB_H__.
1010 1999-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
1012 * gdesktop-icon.c (desktop_icon_select): Show the
1014 (desktop_icon_init): Initialize backgorund as a rectangle that
1015 fills all of the space used by the icon.
1017 1999-05-31 Kjartan Maraas <kmaraas@online.no>
1019 * glayout.c (gnome_panel_about_menu): Hooked up the new help
1022 1999-05-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
1024 * gprefs.c (create_prop_int): Translate this label too.
1026 * gnome-open-dialog.c: Add config.h here. Otherwise there is no
1027 way to translate this dialog. Thanks to David Martina for
1030 1999-05-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
1032 * gscreen.c (panel_tree_button_press): Beginning of context menu
1035 * gtkdtree.c (gtk_dtree_load_path): Comment out the phantom code.
1036 Need to review this code. Lets fix the problem Federico needs
1039 1999-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
1041 * gpopup.c (panel_action_properties): Hanlde properly
1042 gnome_dialog_run here.
1044 * gpopup2.c (handle_properties): ditto
1046 * gmain.c (gnome_check_super_user): Use dialog_run_and_close here.
1048 * gpopup.c (dicon_properties): Handle propery gnome_dialog_run
1050 * gdialogs.c (file_mask_dialog): Fix usage of gnome_dialog_run
1051 here. Handle case == -1.
1053 * gcmd.c (gnome_select): Fix usage of gnome_dialog_run here
1056 * gscreen.c (panel_fill_panel_icons): Add a hack to work around
1057 gnome-libs/gnome-icon-list bug that did not reset the proper
1058 values. A fix will be available in gnome-libs-1.0.10.
1062 * gcmd.c (gnome_close_panel): Remove filter_w
1064 * gscreen.c (x_filter_changed): Update nothing.
1066 1999-05-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
1068 * gnome-open-dialog.c (gnome_open_dialog_generate_tree_helper):
1069 Invoke closedir here as well.
1071 * gdesktop-init.c (desktop_init_at): Invoke closedir here.
1073 1999-04-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
1075 * gdialogs.c (file_progress_show_count): Use correct formats for
1078 1999-05-03 Tuomas Kuosmanen <tigert@gimp.org>
1081 * i-directory.png: Added new icons for normal and locked folder..
1082 I hope you like them - imho they look way better than the old ones.
1084 1999-05-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
1086 * gcmd.c (gnome_new_link): Allow users to create url shortcuts on
1089 1999-04-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
1091 * gdesktop.c (click_proxy_motion): Terminate rubberbanding if the
1092 event mask does not contain GDK_BUTTON1_MASK. There is a race
1093 condition where we will not get the button release event if we
1094 manage to grab the server in the button_press handler before the
1095 window manager proxies the button release to us.
1096 (perform_release): New function to terminate rubberbanding; this
1097 used to be in click_proxy_button_release(). Also, update the drag
1098 selection based on the last known mouse position, not on the
1099 current one (which is not meaningful if the race condition
1100 mentioned above kicks in).
1101 (click_proxy_button_release): Use perform_release().
1103 1999-04-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
1105 * gdialogs.c (file_op_context_create_ui): Handle the "close"
1106 signal from the progress dialog; do not let GnomeDialog close it
1107 for us. This fixes bug #2203 in Red Hat's Bugzilla.
1109 1999-04-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
1111 * gnome-file-property-dialog.c (perm_group_new): Small typo fix
1112 that fixes crash (#958)
1114 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
1116 * mc.keys.in.in: Merge the application/tex values.
1118 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
1120 * gnome-file-property-dialog.c (create_general_properties): Mark
1121 some more strings for translations. Thanks to David Martina for
1124 * mc.keys.in.in: New icons from Tim Davis <davist@cs.man.ac.uk>
1126 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
1128 * gscreen.c: Include the glib.h header file here.
1130 1999-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
1132 * gtkdtree.c (gtk_dtree_save_tree): Use tree_store_save().
1134 * gscreen.c (panel_tree_check_auto_expand): Enabled auto-collapse
1135 functionality again. Made the code a simpler by using
1136 gtk_dtree_is_ancestor().
1138 * gtkdtree.c (gtk_dtree_is_ancestor): New function to test whether
1139 a node is an ancestor of a child. This does the same as
1140 gtk_ctree_is_ancestor(), but much more efficiently. GtkCTree
1141 seems to use the pessimal algorithm for this.
1142 (gtk_dtree_collapse): Slight optimization: do not re-select if the
1143 node is already selected.
1144 (gtk_dtree_collapse): Do not freeze/thaw the tree while
1145 collapsing/selecting.
1147 * gmain.c: Removed crufty old SM code.
1149 1999-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
1151 * gscreen.c (panel_setup_drag_scroll): Made it not return
1152 anything, since scrolling is independent from any other
1153 prelighting actions.
1154 (panel_tree_drag_begin): Do not print debugging message.
1155 (panel_drag_data_get): Assert that we were requested a valid data
1157 (panel_create_tree_view): Only specify GTK_DEST_DEFAULT_DROP for
1158 the tree, since we want to present the correct feedback when the
1159 user is hovering over the blank area in the tree.
1160 (panel_build_selected_file_list): Made it return char *.
1161 (panel_tree_drag_end): Free dtree->drag_dir, not dtree->current_path.
1162 (tree_drag_open_directory): Use panel->drag_tree_node instead of
1163 the coordinates hack.
1165 1999-04-15 Jonathan Blandford <jrb@redhat.com>
1167 * gaction.c (gmc_unable_to_execute_dlg): really ugly hack to set label.
1168 (gmc_unable_to_execute_dlg): oops. forgot this.
1170 1999-04-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
1172 * gtkdtree.c (gtk_dtree_destroy): Memory leak fix: destroy
1173 current_path and requested_path
1175 1999-04-13 Jonathan Blandford <jrb@redhat.com>
1177 * mc.keys.in.in: updated the key files to add more types.
1179 1999-04-12 Andrew T. Veliath <andrewtv@usa.net>
1181 * gdesktop.c (create_panel_from_desktop): Assign selected_index
1182 when we find the last selected icon.
1183 (desktop_icon_info_open): Desktop directory open case moved to
1184 main.c to handle both general and action cd commands.
1186 1999-04-12 Tuomas Kuosmanen <tigert@gimp.org>
1188 * glayout.c: Changed the stock icon for File->Delete to
1189 GNOME_STOCK_PIXMAP_TRASH (the trashcan)
1191 1999-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
1193 * gscreen.c (panel_icon_list_button_press): Ignore double clicks.
1194 (panel_widget_motion): Don't do anything if the button state does
1195 not match the button we are expecting.
1197 * gtkflist.c (gtk_flist_button_press): Remove pending selections
1198 when we receive a double click.
1200 * gaction.c: #include "view.h"
1202 1999-04-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
1204 * gmount.c (is_block_device_mountable): Allow root to mount
1207 1999-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
1209 * gtkflist.[ch]: New files. This is a "file list" widget derived
1210 from GtkCList that does several things:
1212 - Overrides all mouse and keyboard event handlers.
1214 - Implements its own, *sane* selection behavior, unlike
1215 GtkCList's, which is broken.
1217 - Implements the same selection behavior as the desktop,
1218 which is a) correct, and b) consistent.
1220 * gscreen.c (panel_create_file_list): Use the GtkFList widget.
1221 (panel_widget_motion): Changed the drag thresholds to be the same
1223 (start_drag): New convenience function to begin a drag operation.
1224 (panel_widget_motion): Use start_drag().
1225 (panel_clist_scrolling_is_desirable): Offsets must be with respect
1226 to the clist_window, not to the allocation.
1227 (panel_clist_drag_motion): Normalize the y coordinate of the
1228 motion event to the clist_window.
1230 * gdesktop.c (desktop_icon_info_destroy): Reset the
1231 last_selected_icon to NULL if it is destroyed.
1233 * Makefile.in: Added gtkflist to the list of files.
1235 1999-04-09 Rosanna Yuen <rwsy@mit.edu>
1237 * gaction.c (gmc_view): We now have consistant actions everywhere;
1238 every time you invoke a file.
1240 1999-04-08 Rosanna Yuen <rwsy@mit.edu>
1242 * gcmd.c (set_cursor_normal): new function to set the watch cursor
1245 1999-04-08 Jonathan Blandford <jrb@redhat.com>
1247 * gaction.c (gmc_unable_to_execute_dlg):
1248 now actions do the right thing (TM).
1250 1999-04-07 Owen Taylor <otaylor@redhat.com>
1252 * gsession.c (session_save): Set a discard command
1253 to get rid of the per-session information.
1255 1999-04-06 Jonathan Blandford <jrb@redhat.com>
1257 * gscreen.c: make sure that we bring up an open_with if
1260 * gcmd.c (gnome_select): new selection dialog.
1262 * gdesktop-init.c (desktop_init_at): do not use access for it is
1263 poor when you are root.
1265 1999-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
1267 * glayout.c (create_container): Use gtk_window_set_default_size(),
1268 not gtk_widget_set_usize().
1270 * gdesktop.c (get_slot_from_pos): Clamp the slot positions to be
1273 * gmain.c (gnome_check_super_user): Improved the message a bit.
1275 1999-04-06 David Martin <dmartina@usa.net>
1277 * gcmd.c: marked message for translation.
1279 1999-04-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
1281 * gmetadata.c (gmeta_del_icon_pos): New function to delete the
1282 icon position metadata from a file.
1284 * gcmd.c: Removed unused function gnome_quit_cmd().
1286 1999-04-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
1288 * gprefs.c: Add new page for desktop properties.
1290 1999-04-05 Ronald de Man <deman@win.tue.nl>
1292 * gnome-file-property-dialog.c (create_general_properties): Use
1295 1999-04-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
1297 * gcorba.c: #include "../vfs/vfs.h"
1299 * gdesktop.c (click_proxy_button_release): Call gdk_flush() after
1300 doing XUngrabServer().
1302 1999-04-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
1304 * gscreen.c (file_list_popup_items): Use "New Directory", not "New
1305 Folder", to be consistent with the desktop and File menus. Thanks
1306 to Kevin Fox for pointing this out.
1307 (panel_icon_list_drag_data_received): Update the panels properly.
1308 (panel_clist_drag_data_received): Likewise.
1309 (panel_tree_drag_data_received): Likewise.
1311 * gcmd.c (gnome_close_panel): Doh. Do not access g_free()d
1314 * glayout.c (copy_uiinfo_widgets): Return the copied array as a
1315 return value, not in an argument.
1317 * gcmd.c (set_view_type): Added a sanity check.
1319 1999-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
1321 * gtkdtree.c (scan_subtree): Moved the functionality to scan a
1322 subtree to this function. Also, do not emit the DIRECTORY_CHANGED
1324 (gtk_dtree_select_row): Call scan_subtree() and emit the
1325 DIRECTORY_CHANGED signal here.
1326 (gtk_dtree_expand): Do not select the just-expanded node. Call
1328 (gtk_dtree_collapse): Only select the node if it is an ancestor of
1329 the currently-selected node. This should really go in the
1331 (gtk_dtree_init): Bad hack: unset the GTK_CAN_FOCUS flag to avoid
1332 the broken focusing behavior of GtkCTree.
1334 1999-04-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
1336 * gcmd.c (gnome_about_cmd): Internationalize about box. And put
1337 the right address for bug reports.
1339 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
1341 * gdesktop-icon.c (desktop_icon_realize): Remove the
1342 WM_CLIENT_LEADER property from icon windows so that window
1343 managers will not store SM information for them.
1345 * gnome-open-dialog.c: Added missing #includes.
1347 * gdesktop-init.c (desktop_init_at): Removed an unused variable.
1349 * gdesktop.h: Added some missing prototypes.
1351 * gmain.h: Added some missing prototypes.
1353 * Makefile.in: Added gsession.[ch] to the list of sources.
1355 * gmain.c (create_panels): Consider whether we have a CORBA server
1356 and session management.
1358 * gdesktop.c: #include "gdesktop-init.h"
1359 * gdesktop.c: Added a missing cast to GNOME_DIALOG.
1361 * gmain.c (create_panels): Removed the run_desktop global
1364 * glayout.c (create_container): Set the wmclass of the panel to
1365 include its unique ID.
1367 * gsession.[ch]: New file with the functions that deal with
1370 * glayout.c (gnome_exit): Use session_set_restart().
1372 * gcorba.c (corba_init): Now returns an int with an error value.
1373 (corba_init_server): Initialize the server properly.
1374 Fixed all the object implementation code.
1375 (corba_create_window): New function used to create a window with
1378 * gmain.c (gnome_check_super_user): Now the check for running as
1379 root is done here. There should be no GUI code in src/.
1381 1999-03-29 Jonathan Blandford <jrb@redhat.com>
1383 * gdesktop.c (create_desktop_dir): improved wording.
1384 (create_desktop_dir): improved wording.
1386 1999-03-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
1388 * mc.keys.in: Now that the menu code uses the full filename, we do
1389 not need "%d/%f" for html files.
1391 1999-03-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
1393 * gdialogs.c (file_progress_show_bytes): Total may be zero (for
1394 instance, if you are copying zero-byte files). Take this into
1395 account instead of issuing a warning.
1397 1999-03-25 Jonathan Blandford <jrb@redhat.com>
1399 * gdesktop.c (set_background_image): now we can set the background
1402 1999-03-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
1404 * glayout.c (create_new_menu_from): closedir after running.
1406 1999-03-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
1408 * gnome-file-property-dialog.c (apply_metadata_change): Fix the
1409 test for setting the icon. It was being done incorrectly and thus
1410 it was never possible to change the icon.
1412 * glayout.c (gnome_launch_mime_editor): Add mime-type-edit command
1413 to the menu: this launches mime-type-capplet
1415 1999-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
1417 * gnome-file-property-dialog.c (apply_metadata_change): Fixed
1418 incorrect logic when testing whether the icon changed or not.
1419 This makes icons change correctly again.
1421 * Makefile.in (GNOMEHDRS): Added gdesktop-init.h.
1423 1999-03-23 Jonathan Blandford <jrb@redhat.com>
1425 * gscreen.c (panel_tree_drag_motion): lets try to cut down on the flickers.
1427 1999-03-22 Jonathan Blandford <jrb@redhat.com>
1429 * gdesktop-init.c (gdesktop_init): Do what the documentation says.
1431 1999-03-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
1433 * gdesktop-init.c (desktop_load_init_from): New file that loads
1434 new configuration files from the installation directory.
1436 * gdesktop.c: Drop all the reload code from there, put it above.
1438 * gpopup2.c (create_mime_actions): Attach to the menu, not the uiinfo.
1440 1999-03-19 Jonathan Blandford <jrb@redhat.com>
1442 * gscreen.c (panel_tree_drag_motion): Dragging now automatically
1443 highlights the tree. God does it flicker... )-:
1445 * gtkdtree.h (gtk_dtree_construct): removed unused prototype.
1447 * gscreen.c (panel_tree_check_auto_expand): removed the
1448 auto-collapse of trees, as it is confusing to the user.
1450 * gcustom-layout.c (custom_layout_set): We don't want to let the
1451 user remove all of the settings.
1453 * gdialogs.c (file_progress_show_bytes): bug fix proposed by Max
1454 Weninger <max@takefive.co.at>
1456 * gcmd.c (dentry_apply_callback): new function.
1457 (gnome_new_launcher): We can now create new
1459 1999-03-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
1461 * gpopup2.c (create_mime_actions): Free full_name, just once, not
1464 1999-03-19 Paul Raines <raines@slac.stanford.edu>
1466 * gtkdtree.c (gtk_dtree_load_path): Uses a phantom node to get
1467 directories with the expandable flag. Avoids loading directories
1470 1999-03-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
1472 * gdesktop.c (desktop_icon_info_open): Fix condition. Should not
1473 open a new panel if it fails to mount the device.
1475 Thu Mar 18 14:59:12 1999 Timur Bakeyev <mc@bat.ru>
1477 * gnome-open-dialog.c (read_directory): s/basename/x_basename/g
1479 1999-03-17 Jonathan Blandford <jrb@redhat.com>
1481 * gnome-file-property-dialog.c (generate_icon_sel): I don't know
1482 who broke this, but it was a mess. It now does the right thing,
1485 1999-03-16 Jonathan Blandford <jrb@redhat.com>
1487 * gnome-open-dialog.c (read_directory): We now honor .order files.
1489 1999-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
1491 * gicon.c (get_icon_set): Use iset->filename (which is a
1492 strdup()ed string) instead of filename as a key in the hash table,
1493 since the user will very likely free filename.
1495 * gdialogs.c (symlink_dialog): Finished implementing the new
1498 * gdesktop.c (icon_event): I'm an idiot. Someone teach me boolean
1499 logic again. Fixed edit-on-release for icons.
1501 1999-03-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
1503 * gdialogs.c (real_input_dialog_help): Now we use a
1504 gnome_request_dialog() for generic input dialogs. They look
1505 prettier and consistent now.
1506 (file_progress_show): Update the progress bars. Thanks to Greg
1509 * Makefile.in: Removed references to gpopup.[co].
1511 Mon Mar 15 17:09:37 1999 Gregory McLean <gregm@comstar.net>
1513 * gdialogs.c (file_progress_show_bytes): Fixed a GTK Warning when
1515 * file.c : Actually update the progress bar when copying files around.
1517 1999-03-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
1519 * gscreen.c (x_select_item): It is not necessary to call
1520 gnome_canvas_update_now() here.
1522 * gdesktop-icon.c (set_icon): Do not destroy the icon image.
1524 * gnome-file-property-dialog.c
1525 (gnome_file_property_dialog_finalize): Do not destroy the icon
1526 image, since it is a shared resource.
1528 1999-03-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
1530 * gdesktop.c (text_changed): If the file has the "icon-caption"
1531 metadata set, then change that instead of renaming the file. This
1532 can be used by URLs and is also needed by the mountable device
1534 (text_changed_url): Removed this function now that text_changed()
1535 can handle all cases.
1537 * gdnd.c (drop_url_on_directory): Set the "icon-caption" metadata
1540 * gdesktop.c (icon_event): Handle button-2 clicks and drags
1543 1999-03-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
1545 * gmount.c (get_mountable_devices): Show error message if the
1546 /etc/fstab is not readable by the user.
1548 1999-03-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
1550 * gview.c (scrollbar_moved): Better, but still shaggy when you
1551 drag with the scrollbar.
1553 1999-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
1555 * gdesktop.c (create_panel_from_desktop): Do not assert that
1556 panel->count > 0, because we may actually not have any icons in
1558 (desktop_popup): Reload the desktop once the popup menu is done.
1559 (create_panel_from_desktop): Be consistent with the way totals are
1560 computed in screen.c:do_file_mark().
1562 * gnome-file-property-dialog.c (gnome_file_property_dialog_init):
1563 Set the dialog to not destroy-on-close.
1565 * gpopup2.c (gpopup_do_popup2): Fixed Miguel's code.
1567 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
1569 * gpopup2.c (gpopup_do_popup2): Until Federico look over this, I
1570 am fixing this crash.
1572 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
1574 * gpopup2.c: Sigh. It happened again. More features killed by
1577 If a file does not have any metadata/mime way of viewing it, the
1578 viewer will always work.
1580 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
1582 * gdesktop.c (text_changed): Rename the metadata and refresh the
1583 desktop. This also fixes bug #573.
1585 1999-03-11 Jonathan Blandford <jrb@redhat.com>
1587 * gnome-file-property-dialog.c (create_settings_pane): change the
1588 wording to be a tad clearer.
1589 (apply_metadata_change): only set the icon if it has changed.
1591 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
1593 * gpopup2.c (create_mime_actions): Do not free the file name here,
1594 since it is passed on to the callback. It will be freed on the
1595 destroy handler instead.
1597 * gpopup2.c (escape_underlines): New function to escape the
1598 underlines in a string so that GtkLabel will include them in the
1600 (create_mime_actions): Escape the underlines from the MIME action
1603 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
1605 Fix bug #261: inconsistent labels in view menu and toolbar,
1606 unsynchronized items.
1608 * glayout.c (panel_view_menu_uiinfo panel_view_toolbar_uiinfo):
1609 Made the view names consistent with the toolbar names. Also,
1610 added underscore accelerators to the menu items.
1611 (copy_uiinfo_widgets): New function to copy the widgets from an
1612 uiinfo array into a widget array.
1613 (create_container): Copy the uiinfo widgets to the panel
1616 * gcmd.c (set_view_type): New function to set the list view type
1617 and synchronize the menu and toolbar items.
1618 (gnome_close_panel): Free the view menu/toolbar item arrays.
1620 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
1622 * gpopup2.c (perform_mount_unmount): Set the icon's cursor while it is
1624 (handle_mount): Use perform_mount_unmount().
1625 (handle_unmount): Likewise.
1626 (handle_eject): Set the icon's cursor while it is being ejected.
1628 * gdesktop.c (desktop_icon_set_busy): New function to set a watch
1629 or normal cursor for a desktop icon.
1631 * gdesktop.c (desktop_icon_info_open): Set the cursor to a watch
1632 while the icon is being opened. Also, fixed memory leaks.
1633 (do_eject): Added a missing return value.
1635 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
1637 * gmount.c (setup_devices): Use new tigert icon.
1639 * gdesktop.c (do_mount_umount): Use g_readlink here.
1641 * gpopup2.c (handle_eject): Small tuning. And use g_readlink :-).
1643 * gmount.c (mount_point_to_device): New function. Mapes a mount
1644 point to its device. Required since we are now using the mount
1645 point (as this is not ambiguous) as the key for the devices and
1646 the eject command needs the device name, not the mount point.
1648 * gdesktop.c (desktop_icon_info_open): First try to see if
1649 filename is mountable. Then do the directory tests and the file
1650 launching tests. Fixes mount-by-double click.
1652 1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
1654 * glayout.c (save_panel_types): Do not save the setup of a desktop
1657 * gpopup2.c (handle_mount): Use get_full_filename().
1658 (handle_unmount): Likewise.
1659 (handle_eject): Likewise.
1660 (handle_open): Likewise.
1662 * gdesktop.c (update_url): Made static.
1663 (desktop_reload_icons): Call update_url() when updating an
1666 * gpopup2.c (handle_properties): Do not update the icon url here.
1668 1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
1670 This is a semi-big slew of changes to integrate the DESKTOP_BRANCH
1671 into the main trunk. Now the gdesktop code creates a temprary
1672 WPanel structure and passes it on to the core file management
1673 functions. Also, the menu code is improved (we now use gpopup2;
1674 gpopup should go away shortly and gpopup2 should replace it).
1675 This makes the desktop act consistently with the file panels.
1676 Thanks to Jonathan for his help with this branch.
1678 * gdnd.c (perform_action): Use mc_lstat(), not mc_stat().
1680 * glayout.c (update_panels): Do not update the panels that are
1683 * gdesktop.c (icon_is_in_area): An icon is not considered to be in
1686 * gpopup2.c (handle_open): Fetch the desktop icon from the
1687 filename and call desktop_icon_info_open().
1689 * gdesktop.c (desktop_icon_info_get_by_filename): New function to
1690 look up a desktop icon by its filename.
1692 * glayout.c (create_new_menu_from): Test for the ".desktop" suffix
1695 * gpopup2.c (handle_properties): If the file comes from a desktop
1696 panel, always allow edition of the icon image.
1698 1999-03-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
1700 * gdialogs.c: Support ui->ctx to be NULL, as file.c will set this
1701 to NULL for background operations.
1703 1999-03-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
1705 * gdesktop.c (icon_drag_data_received): Pass the full directory
1706 name to gdnd_perform_drop.
1708 * gpopup.c (create_regexp_actions): This routine no longer creates
1709 the default copy/move/delete context menu entries.
1711 (file_actions): Include the copy/move/delete options here. This
1712 also enabled me to reorder things to put "Delete" closer to the
1713 top, as it is a pretty common operation.
1715 1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
1717 * gmain.c (session_save_state): Add call to gnome_config_sync().
1719 * gutil.c (my_system_get_child_pid): reset SIGPIPE to a sensible
1721 (my_system_get_child_pid): Close also stdin/stdout/stderr
1723 * gdesktop.c (is_mountable): Allow user-nfs devices to be mounted
1725 1999-03-08 Federico Mena Quintero <federico@nuclecu.unam.mx>
1727 * gscreen.c (can_drop_on_clist): New function to figure out if the
1728 user is trying to drop on a valid region of a GtkCList. It sucks
1729 to have to poke into its internal geometry, though.
1731 1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
1733 * gnome-file-property-dialog.c (apply_metadata_change): only set
1734 the needs-terminal property if we actually created such entry.
1736 1999-03-08 Sergey Panov <sipan@mit.edu>
1738 * gcustom-layout.c, gprefs.c: Make the preferences dialog
1739 translatable. (include files in gcustom-layout.c and use of
1740 the _() macro in gprefs.c)
1742 1999-02-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
1744 * gnome-file-property-dialog.c (create_settings_pane): Simplify
1745 the test and fix it.
1747 * gdnd.c (drop_on_file): Fix these so that they can use the
1748 metadata drop-action.
1750 * gdesktop.c (desktop_icon_info_open): Ugly. Needs to share more
1751 code here. Use the metadata first, and the is_exe to find out how
1752 to launch an application.
1754 * gnome-file-property-dialog.c (perm_group_new): Check the return
1756 (perm_group_new): Do not use a grp if it does not exist.
1758 1999-02-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
1760 * glayout.c (my_app_create_menus): New function, used to create
1761 our menus and set the realy properly, to make cpanel (ie,
1762 current_panel) always consistent with what the user users.
1764 So, no need to kill the tearoff menus in gmc now.
1766 * gmount.c (is_block_device_mountable): compare the device name
1769 (get_mountable_devices): Do not stop scanning devices.
1771 * gview.c (scrollbar_moved): Call view update here, with
1774 * gdesktop.c (desktop_icon_info_open): Add needs terminal support.
1776 * gnome-file-property-dialog.c (create_settings_pane): Add Needs
1779 1999-02-25 Jonathan Blandford <jrb@redhat.com>
1781 * gpopup2.c: even more bug-fixes. Plenty more left to do, but now
1782 all the menu code seems to work other then the
1783 select-and-popup-menu problem.
1785 * gaction.c (gmc_can_view_file): new function. Can we view the file?
1787 1999-02-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
1789 * gaction.c (gmc_open_filename): Add support for needsterminal.
1791 * gscreen.c: Add New Folder option to the panel popup.
1793 1999-02-25 Owen Taylor <otaylor@redhat.com>
1795 * gdialogs.c (file_delete_query_recursive): GNOME
1796 replacement for recursive delete query dialog.
1798 * gprefs.c gcustom-layout.[ch]: Add a new page to
1799 the preferences dialog to allow the user to change
1800 the columns in the custom view.
1802 1999-02-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
1804 * gmount.c (desktop_cleanup_devices): Export this routine now and
1805 call it from gdeskop instead of overloading gmount_setup_devices.
1807 * gprint.c: Sample file, it uses an externally provided program
1808 (not in 1.0 so far) to setup printer devices.
1810 * gmount.c (gmount_setup_devices): No longer cleans up here.
1812 * gicon.c (gicon_get_filename_for_icon): Return const char *, this
1813 tells the user of this routine "you better not touch or free this
1816 * gnome-file-property-dialog.c (apply_metadata_change): Always set
1817 the name of the icon to the new value, as the entry will always
1818 match the imlib image anyways (due to the fixes I did to const
1820 (generate_icon_sel): Do not free the value. We do not own this
1823 * gdesktop.c (is_mountable): NULL terminate string returned from
1824 readlink. Yes guys, readlink does not NULL terminate things.
1825 (do_mount_umount): ditto.
1827 * gnome-file-property-dialog.c (init_metadata): ditto
1829 Tue Feb 23 17:41:45 1999 George Lebl <jirka@5z.com>
1831 * gmain.c: set the restart property of the gnome client to
1832 RESTART_IMMEDIATELY or RESTART_NEVER if we're gonna quit
1834 1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
1836 * gnome-file-property-dialog.c (gnome_file_property_dialog_new):
1837 When dealing with a symbolic link, check the stat info from the
1838 real file, not the link.
1840 * gscreen.c (panel_tree_drag_data_received): Use path here (which
1841 is what is selected on the tree, not panel->cwd).
1843 * gdesktop.c (desktop_drag_data_received): Simplify.
1845 * gscreen.c (panel_icon_list_drag_data_received): Pass the full
1846 path to gdnd_perform_drop.
1847 (panel_clist_drag_data_received): same.
1849 * gdnd.c (drop_on_directory): We no longer take a file_entry
1850 here. The directory we get passed is already a fully qualified
1851 name of the target location.
1853 * gwidget.c (x_create_input): Hook to the changed signal and sync
1854 the input with our view of the entry. This fixes the paste bug
1857 Tue Feb 23 01:57:22 1999 George Lebl <jirka@5z.com>
1859 * gmount.c: fix obvious typos, use str in option_has_user, fix
1860 mt_opts typo and is_block_device_mountable can't return TRUE nor
1861 FALSE, so it returns NULL
1863 1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
1865 * gnome-file-property-dialog.c (apply_metadata_change): Fix memory leak.
1867 1999-02-23 Jonathan Blandford <jrb@redhat.com>
1869 * gpopup2.c (handle_open_with): use the new dialog. Doesn't quite
1870 work -- I'll make sure it does tonight.
1872 * gnome-open-dialog.c: new widget -- an "Open with..." dialog.
1874 1999-02-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
1876 * gdesktop.c (desktop_reload_icons): Fix memory leak.
1878 * glayout.c (create_new_menu_from): Fix memory leak.
1880 * gdesktop.c (desktop_icon_info_open): Launch a panel at the
1881 location of the mount point.
1883 * gmount.c (setup_devices): Use g_list_free, not g_free. Fed,
1884 test your fixes to my code ;-)
1886 * glayout.c (create_container): Add a Desktop menu if the WM is
1887 not GNOME compliant.
1889 * gdesktop.c (setup_motif_dnd_proxy): Use Window instead of
1890 gint32, fix from George Lebl.
1891 (setup_xdnd_proxy): ditto.
1893 1999-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
1895 * gdesktop.c (file_entry_fill): Initialize fe->f.dir_size_computed.
1897 1999-02-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
1899 * gmain.h: Removed set_current_panel() since it was never used.
1901 * glayout.c (set_current_panel): Made static and renamed from
1902 set_new_current_panel().
1903 Removed old toolbar cruft.
1905 * gmount.c (get_mountable_devices): Made static.
1907 * Makefile.in (ICONS): Added i-floppy.png, i-cdrom.png,
1908 i-printer.png. Thanks, Tigert!
1910 1999-02-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
1912 * gmount.c (gmount_setup_devices): New function to set up the
1913 mountable devices on the desktop directory. Moved over from
1914 gdesktop.c. Added an argument that specifies whether it should
1915 clean up the device list first.
1916 (cleanup_devices): Delete the metadata for the devices.
1917 (setup_devices): Free the list of device names. Use the proper
1918 icon for each device.
1919 (create_device_link): Better error checking.
1921 * gdesktop.c (create_desktop_dir): Use gmount_setup_devices().
1922 (desktop_icon_info_destroy): Made static.
1923 (desktop_popup_items): The command for rescanning mountable
1924 devices should go here.
1925 (handle_rescan_devices): Call gmount and refresh the desktop.
1927 * gdesktop.h: Removed the declaration of tree_panel_visible, since
1928 it has nothing to do with the desktop.
1930 * glayout.c (gnome_panel_commands_menu): Removed the recreate
1933 * gdesktop.c (desktop_popup_items): Added a new command to create
1936 1999-02-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
1938 * gdesktop.c (do_mount_umount): Removed unused variable.
1939 (do_eject): Return FALSE if there is no eject command.
1940 (setup_devices): Removed unused variable.
1942 * gdnd.c (drop_on_file): Pass the directory to if_link_is_exe().
1943 (gdnd_validate_action): Likewise.
1944 (gdnd_perform_drop): Made consistent with the rest of the code by
1945 taking the directory name along with the file entry.
1946 (gdnd_validate_action): Likewise.
1948 * gdesktop.c (icon_drag_motion): Pass the directory to the gdnd
1950 (icon_drag_data_received): Likewise.
1951 (desktop_drag_motion): Likewise.
1952 (desktop_drag_data_received): Likewise.
1953 (desktop_icon_info_open): Pass the directory to if_link_is_exe().
1955 * gscreen.c (panel_icon_list_drag_data_received): Pass the
1956 directory to gdnd functions.
1957 (panel_clist_drag_data_received): Likewise.
1958 (panel_tree_drag_data_received): Likewise.
1959 (panel_clist_drag_motion): Likewise.
1960 (panel_icon_list_drag_motion): Likewise.
1962 1999-02-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
1964 * gdesktop.c (reload_desktop_icons): Load the information provided
1965 on the .desktop file for the desktop icon information: icon
1966 filename and text to be displayed.pwd
1969 * gpopup.c (create_actions): Add ejectable
1971 * gdesktop.c (do_eject): Add eject command.
1973 1999-02-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
1975 * gpopup.c (create_actions): Add support for mountable icons.
1977 * gdesktop.c (try_to_mount): Add an option to automatically mount
1978 links on the desktop that point to devices.
1979 (is_mountable): Returns true if a pathname is mountable.
1981 * glayout.c: Add the dirsizes command here.
1983 * gmount.c: New file. Implements support routines for
1986 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
1988 * i-symlink.png: Flipped the image around, since we are putting
1989 the little icons on the lower-right corner.
1990 * i-stalled.png: Likewise.
1992 * gicon.c (gicon_get_filename_for_icon): Doh, use image_hash here.
1994 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
1996 * gicon.c: Lots of changes to support the little symlink/stalled
1997 icons that get overlaid on the normal file icons. We now have the
1998 concept of an icon set, which is a cache of normal icons plus
1999 their overlaid versions.
2001 * gnome-file-property-dialog.c (apply_metadata_change): Use
2002 gicon_get_filename_for_icon().
2003 (generate_icon_sel): Likewise.
2005 * gnome-file-property-dialog.c (create_general_properties): Use
2006 buffers of size MC_MAXPATHLEN.
2007 (init_metadata): Likewise.
2009 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
2011 * gmetadata.c: Removed the gmeta_del_icon_pos() function, since it
2012 is no longer used anywhere.
2014 * gdesktop.c (reload_desktop_icons): Use gnome_metadata_delete()
2015 instead of gmeta_del_icon_pos().
2016 (desktop_icon_info_delete): Likewise.
2017 (desktop_icon_info_destroy): Do not call gnome_metadata_delete().
2019 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
2021 * gdesktop.c (arrange_desktop_icons): I am such a doofus, I did
2022 not initialize two variables here.
2024 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
2026 * gdesktop.c (reload_desktop_icons): Take auto-positioning and
2027 snap-positioning into account. This is the right thing to do.
2028 (get_icon_auto_pos): Do auto-positioning in two steps, first from
2029 the requested position to the end of the slot array, then from
2030 slot zero forwards if required.
2032 1999-02-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
2034 * gcmd.c (gnome_open_terminal_with_cmd): New routine, based on the
2035 gnome_open_terminal routine, that will allow the user to specify a
2036 command to execute (used internally).
2038 * gaction.c (gmc_edit_filename): Support for the GNOME editor
2039 environment properties.
2041 * gdesktop.c (create_desktop_dir): Support GNOME_DESKTOP_DIR
2042 variable to configure the desktop directory.
2044 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
2046 * mc.keys.in.in: Use "gnome-moz-remote file:%d/%f" for the html
2049 * gscreen.c (toolbar): Added a "rescan" button.
2051 * gprefs.c (create_prop_box): Make the preferences dialog modal.
2052 Also, set the window title and set the window's parent.
2053 Removed some unused functions.
2055 1999-02-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
2057 * gdesktop.c (desktop_popup): Handle popup menus for the desktop.
2058 (arrange_desktop_icons): New function to auto-arrange the desktop
2060 (reload_desktop_icons): Take care of positioning the new icons by
2061 ourselves; do not rely on desktop_icon_info_new() to do it.
2062 (remove_from_slot): Reset the icon's slot to -1.
2063 (reload_desktop_icons): Show all the icons after they have been
2064 loaded, instead doing it one by one.
2066 * gscreen.c (file_list_popup): Handle popup menus for the blank
2067 areas of the file panels.
2068 (panel_icon_list_button_press): Call file_list_popup().
2069 (panel_file_list_press_row): Likewise.
2071 1999-02-14 Sergey Panov <sipan@mit.edu>
2073 * glayout.c: Fixed my own stupid typo( stock ID instead of NULL)
2074 it was not critical. A few minor, rather cosmetic changes in
2075 GnomeUIInfo structures.
2077 1999-02-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
2079 * mc.keys.in.in: Use Tigert's new icon for man pages.
2081 1999-02-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
2083 * gdialogs.c (file_mask_dialog): Renaming files was not working
2084 due to having the "file-must-exist" bit turned on.
2086 * gnome-file-property-dialog.c (apply_metadata_change): Metadata
2089 Change fpd->file_name to point to the new name so that any
2090 metadat changes take effect on the new name, not the old name.
2092 Test return value from move_file_file.
2094 (init_metadata): Fixed typo.
2096 1999-02-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
2098 * mc.metadata.in: Added a regexp for EPS files.
2100 * mc.keys.in.in: Use Tigert's new icon for Postscript files.
2101 Possible FIXME: are there different MIME types for PS and EPS
2104 1999-02-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
2106 * gdesktop-icon.c (set_icon): Do not destroy the image if it is
2107 the same as the old one. Sigh, imlib really needs proper
2110 * gscreen.c: Use gpopup_do_popup() until the new version is
2113 * gpopup2.c (create_actions): Made the action selection logic
2115 (gpopup_do_popup2): Now can only operate on panels.
2116 (file_actions): Sanitized the actions a bit.
2118 * gutil.c (my_system_get_child_pid): sa_handler must be
2119 gnome_sigchld_handler, not gnome_sigchld_installed.
2121 * gpopup.c (dicon_properties): Do not call reread_cmd(). This is
2122 a hack until the menus for panels/desktop are finished.
2124 * gscreen.c (panel_file_list_press_row): Use gpopup_do_popup2().
2126 1999-02-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
2128 * gutil.c (my_system_get_child_pid): Implement a erase-temp-file
2129 when child dies instead of waiting for child that was launched
2130 from shell/temp-file to finish.
2132 1999-02-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
2134 * gdesktop.c (desktop_icon_info_place): Better icon placement by
2135 rounding to the proper slot number.
2136 (select_range): Simpler range selection for exact Windows behavior.
2138 * gdnd.c (drop_on_directory): Do not ask for the action twice.
2139 This was a leftover from a bit of code reorganization.
2141 * gscreen.c (panel_icon_list_button_press): Fixed "=" -> "!="
2144 1999-02-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
2146 * gaction.c (gmc_open_filename): Add support for running .desktop
2149 (gmc_view): Made const correct.
2151 1999-02-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
2153 * Makefile.in (ICONS): Added i-fifo.png to the list of icons.
2155 * gicon.c (gicon_init): Load the proper FIFO and socket icons.
2156 (gnome_file_entry_color): Return the proper icon for FIFOs.
2158 * i-fifo.png: Added this file, and made i-sock.png be the right
2159 image (thanks, Tigert!).
2161 * gscreen.c (ILIST_FROM_SW): New macro to extract the icon list
2162 from the scrolled window.
2163 (panel_create_icon_display): Create a scrolled window and put the
2164 icon list inside it. Changed the rest of the code to know about
2167 * gcorba.c (do_window_close): It turns out that we *do* need to
2168 call CORBA_free(). It was a bug in ORBit which was causing this
2171 1999-02-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
2173 * gdesktop.c (drag_end): Reload the desktop when a drag from the
2174 desktop terminates (the user may have moved something away).
2176 1999-02-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
2178 * gcorba.c (do_window_close): Removed call to CORBA_free, as
2179 PortableServer_POA_deactivate_object already calls CORBA_free on
2182 1999-02-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
2184 * glayout.c (gnome_close_panel_event): This function should return
2187 * gcorba.c (corba_init): Cast poa to PortableServer_POA.
2188 (impl_GNOME_FileManagerWindow_close): Call gnome_close_panel(); do
2189 not destroy the widget by hand.
2191 * gcmd.c (gnome_close_panel): This function should be void.
2193 * gpopup2.c (popup_handle_rescan): Call reread_cmd().
2195 * gscreen.c (panel_icon_list_button_press): Return TRUE if we
2196 handled a popup menu.
2198 1999-02-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
2200 (impl_GNOME_FileManagerFactory_create_window): Fix bug
2201 spooted by federico. I was connecting to the wrong signal.
2203 1999-02-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
2205 * gtkdtree.c (gtk_dtree_class_init): Added two new signals,
2206 scan_begin and scan_end.
2207 (gtk_dtree_expand): Call scan_begin() and scan_end().
2208 (gtk_dtree_select_row): Call scan_begin() and scan_end().
2209 (gtk_dtree_expand): Use gtk_ctree_select(), not gtk_dtree_select_row().
2210 (gtk_dtree_collapse): Select the node when it is collapsed.
2212 * gscreen.c (panel_create_tree_view): Added handlers for the
2213 scan_begin and scan_end signals of the tree -- these will set the
2214 cursor to a watch while the tree is being scanned.
2216 1999-02-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
2218 * gdesktop.c (desktop_icon_info_destroy): Delete the metadata
2219 associated with this icon.
2221 1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
2223 * gwidget.c (entry_click): On mouse clicks, mark the input as
2224 changed-without destroy.
2226 1999-02-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
2228 * gscreen.c (x_create_panel): Removed a couple unused variables.
2230 1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
2232 * gtkdtree.c (gtk_dtree_select_row): Disable row selection when
2233 were are removing entries from the tree.
2235 * gutil.c (my_system_get_child_pid): Fix. We always wait for the
2238 * gtkdtree.c (gtk_dtree_lookup_dir): Scan the whole tree.
2239 Appanrently now the nodes expose are not ordered, but can contain
2242 1999-02-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
2244 * gtkdtree.c (gtk_dtree_insert_node): This function was never
2245 returning the newly-created sibling.
2247 Sun Feb 7 05:29:17 1999 Timur Bakeyev <mc@bat.ru>
2249 * Makefile.in: Remove references and dependences to/from libslang -
2250 we don't need this in GNOME. Changed the order of linking - libgtkedit
2251 require libgnomeui.a, so swap $(LDFLAGS) and $(EXTRALIBS). The same for
2254 gdnd.c, gmetadata.c, gpopup2.c, gtools.c: Adde #include "global.h" or
2255 move it before #include <gnome.h> to avoid warnings about redefining
2256 MIN, MAX nad RE_DUP_MAX. More clean compiling.
2258 * gpopup2.h: New file - to avoid errors during "make distcheck". What
2261 1999-02-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
2263 * gnome-file-property-dialog.c (apply_metadata_change): #include
2264 string.h and replace references to rindex to strrchr.
2266 1999-02-07 Tomas Ogren <stric@ing.umu.se>
2268 * glayout.c, gnome-file-property-dialog.c: s/rindex/strrchr/
2269 To get rid of BSDism and make it compile on solaris 2.6
2271 1999-02-06 Ettore Perazzoli <ettore@comm2000.it>
2273 * gscreen.c (x_create_panel): The location bar is now a simple
2274 GtkHBox instead of a GtkToolbar, and as a consequence the location
2275 entry widget is expanded to fill all of the window horizontally.
2277 1999-02-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
2279 * gdesktop.c (drag_data_get): Set the Netscape URL from the icon
2280 if it is available. Wheee! We can now drop icons onto Netscape.
2282 * gmain.h: Added prototype for gmc_open_filename().
2284 * gdesktop.c (desktop_icon_info_open): Fixed call to
2285 gmc_open_filename(). See why it is good to have prototypes? :-)
2287 * gdnd.c (perform_action): Oops. Removed a leftover "break" that
2288 was causing the loop to exit, so you could not operate on more
2291 1999-02-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
2293 * gpopup2.c (popup_handle_properties): Update the URL information
2296 * gnome-file-property-dialog.c (generate_actions_box): Fix memory leak.
2297 (create_general_properties): Fix memory leak.
2299 * gdesktop.c (desktop_icon_update_url): New function. Updates any
2300 changes done to the url/caption on the file-property-dialog.
2302 * gnome-file-property-dialog.c
2303 (gnome_file_property_dialog_finalize): Release all of the
2304 resources allocated (metadata routines alwayre return an allocated
2307 Add support for changing the url an icon points to and the caption.
2309 * gdnd.c (drop_url_on_directory): Better set the icon-filename
2310 metadata entry instead of hard coding it.
2312 1999-02-05 Jonathan Blandford <jrb@redhat.com>
2314 * gcmd.c (gnome_reverse_selection_cmd_panel): new function -- does
2317 * gscreen.c (panel_icon_list_select_icon): uses new popup menu
2318 (panel_icon_list_button_press): ditto
2320 * gpopup2.c (gpopup_do_popup2): new implementation of popup
2321 menu. Many changes -- almost all internal. Much cleaner now...
2324 1999-02-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
2326 * gicon.c (gicon_get_url_image): Return an image for url types.
2327 (gicon_init): Load the url image.
2329 * gdesktop.c (desktop_icon_info_new): Use an URL image for
2330 desktop-urls. Use the url as the caption for those icons.
2332 1999-02-04 Jonathan Blandford <jrb@redhat.com>
2334 * gprefs.c (caching_and_optimization_props): wording changes
2336 1999-02-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
2338 * gdesktop.c (desktop_icon_info_open): Run "execute" if the file
2339 is an executable. I forgot that gmc_open does not test for
2342 1999-02-04 Jonathan Blandford <jrb@redhat.com>
2344 * gnome-file-property-dialog.c (apply_uid_group_change): Bug fix.
2345 (apply_metadata_change): Another bug fix.
2347 1999-02-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
2349 * gdnd.c (gdnd_validate_action): Show the correct feedback when
2352 1999-02-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
2354 * gdesktop.c (desktop_icon_info_open): Use gmc_open_filename
2355 instead of the stuff that goes trough a file_entry as we loose the
2358 * gnome-file-property-dialog.c (generate_actions_box): Tag "open"
2360 (apply_metadata_change): Use fm-open instead of fm_open for the
2363 * gscreen.c (panel_file_list_configure_contents): Make the icon on
2364 the type column be displayed.
2365 (panel_file_list_select_row): Removed dead code.
2366 (panel_file_list_press_row): Select the row before calling
2369 1999-02-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
2371 * gscreen.c (drop_types): Allow dropping URLs on file panels.
2373 * gdnd.c (gdnd_validate_action): Added an "on_desktop" argument;
2374 this specifies that the user is dragging over the desktop. Added
2375 cases for drags of desktop icons and URLs.
2376 (gdnd_perform_drop): New public function to handle drops. This is
2377 now the master function to handle drops -- use this to make all of
2379 (drop_on_directory): Made static and renamed from
2380 gdnd_drop_on_directory(). Made it fit for use by
2381 gdnd_perform_drop().
2382 (drop_url_on_directory): New function to drop an url on a
2383 directory, moved over from gdesktop.c.
2384 (drop_uri_list_on_directory): New function to handle drops of URI
2385 lists on a directory.
2386 (drop_on_file): New function to handle drops on a non-directory
2387 file entry. This is moved over from gdesktop.c,
2388 desktop_icon_drop_uri_list(). This is yet to be finished.
2390 * gdesktop.c (desktop_icon_drop_uri_list): Fix memory leak.
2391 (desktop_drag_motion): Use gdnd_validate_action().
2392 (dnd_icon_targets): Allow dropping URLs on icons.
2393 (icon_drag_motion): Use gdnd_validate_action().
2394 (desktop_drag_data_received): Use gdnd_perform_drop().
2395 (icon_drag_data_received): Use gdnd_perform_drop().
2397 * gscreen.c (panel_icon_list_drag_data_received): Use
2398 gdnd_perform_drop().
2399 (panel_clist_drag_data_received): Use gdnd_perform_drop().
2400 (panel_tree_drag_data_received): Use gdnd_perform_drop().
2402 * gcmd.c (gnome_about_cmd): Fixed Foundation typo, and updated the
2405 1999-02-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
2407 * gnome-file-property-dialog.c (create_general_properties): Use
2408 strrchr instead of rindex
2410 1999-02-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
2412 * gdesktop.c: Init gicon here to avoid crashing when we have the
2413 metadata database locked. Not really important, but makes the
2414 code cleaner (in terms of fixes).
2416 1999-01-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
2418 * gnome-file-property-dialog.c (icon_sel_callback): Fix the
2421 1999-02-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
2423 * gdesktop.c (desktop_drag_motion): If the user is dragging a
2424 Netscape url, allow ACTION_LINK.
2425 (setup_desktop_dnd): Now we use a single GtkInvisible widget to
2426 proxy both DnD and clicks on the desktop.
2427 (setup_motif_dnd_proxy): New function to set up a widow as a Motif
2428 DnD proxy (to allow drops from Netscape, for example).
2429 (setup_desktop_click_proxy_window): Use the proxy_invisible widget.
2430 (drop_url): Reload desktop icons after creating the url entry.
2431 (desktop_icon_info_place): Allow a drop from something other than
2432 a desktop icon to be placed where the user wants.
2433 (desktop_drag_motion): Unconditionally specify ACTION_MOVE if we
2434 are dragging a desktop icon.
2435 (desktop_icon_info_place): Remove the icon from its slot before
2436 calling the smart-positioning routines.
2438 1999-01-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
2440 * gdesktop.c (reload_desktop_icons): Reload the icon image for a
2441 file that already exists in the desktop, because it may have
2444 * gdesktop-icon.c (desktop_icon_reshape): Center the text
2445 correctly if the user is using huge icons.
2447 Mon Feb 1 00:49:18 1999 Timur Bakeyev <mc@bat.ru>
2449 * gscreen.c (panel_configure_file_list): Add central justification,
2450 as we got it (useless, imho :)
2452 Sun Jan 31 19:42:47 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2454 * Makefile.in (install_mx): make it work with srcdir != builddir
2455 (gmc.gnorba is located in $srcdir)
2457 1999-01-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
2459 * gdesktop.c (reload_desktop_icons): Move metadata_unlock after
2460 the positioning loop (as we use the metadata there too).
2461 (desktop_icon_info_new): Accept a new parameter: url.
2462 (drop_url): New function. Creates the files that represent urls
2464 (text_changed_url): New routine to handle url-renames
2466 Use the metadata "desktop-url" property to figure out if an icon
2469 1999-01-28 Jonathan Blandford <jrb@redhat.com>
2471 * gnome-file-property-dialog.c (create_settings_pane): We only let
2472 you set info if we are a regular file, or a link to a regular file.
2474 * gdesktop-icon.c (desktop_icon_reshape): Cut-n-paste error fixed
2477 1999-01-27 Jonathan Blandford <jrb@redhat.com>
2479 * gnome-file-property-dialog.h (struct _GnomeFilePropertyDialog):
2480 Now make open field mandatory and icon selection optional.
2481 * gnome-file-property-dialog.c: as above
2483 * gpopup.c (panel_action_properties): only allow setting images if
2484 we_can_afford_the_speed.
2486 * gicon.c: make we_can_afford_the_speed non-static
2488 1999-01-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
2490 * gcorba.c: Provide new code to activate an existing
2491 FileManagerFactory factory.
2493 installed gmc is now corba-gmc. plain-gmc is still available if
2496 Thu Jan 28 02:15:48 1999 Timur Bakeyev <mc@bat.ru>
2498 * gdialogs.c: fixed "regexp.h" -> "eregexp.h" conversion.
2500 * oldnd.c: Replaced copy_strings() with g_strconcat().
2502 1999-01-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
2504 * gscreen.c (panel_clist_motion): Stop the emission of the
2505 motion_notify_event signal so that it does not reach the clist.
2506 We do not want it to select rows while dragging.
2507 Replaced copy_strings() with g_strconcat().
2509 * gdnd.c (gdnd_validate_action): Do not override GDK_ACTION_ASK.
2511 * gdesktop.c: Updated the TODO list at the top of the file.
2513 Wed Jan 27 03:14:46 1999 Timur Bakeyev <mc@bat.ru>
2515 * Converted memory managment to Glib - where it wasn't done. Now we
2516 use g_new()/g_malloc()/g_strdup()/g_free() routings. copy_strings() re-
2517 placed by g_strconcat(), and sprintf() by g_snprintf(). Some other,
2520 1999-01-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
2522 * gscreen.c (panel_setup_drag_scroll): Renamed from
2523 panel_setup_drag_motion().
2524 (panel_clist_drag_motion): Use gdnd_validate_action().
2525 (panel_clist_motion): Return immediately if the event window is
2526 not the clist_window. Otherwise, forward the event to
2527 panel_widget_motion().
2529 * gdnd.c (gdnd_find_panel_by_drag_context): New public function to
2530 find a panel based on a drag context. This is basically the old
2531 find_panel_owning_window() made public.
2532 (gdnd_drop_on_directory): Test for the source widget being a tree,
2533 and if so, do not use the default behavior for panels.
2534 (gdnd_validate_action): New function to compute the final drag
2535 action given some conditions. This is now used to make dragging
2536 behavior consistent across the desktop and the file panels.
2538 1999-01-26 Jonathan Blandford <jrb@redhat.com>
2540 * gnome-file-property-dialog.c: Many Many Many changes. Now it's
2541 pretty cool. You can set all meta-data but the icon now. Need to
2542 make gmc do the right thing with it, though.
2544 1999-01-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
2546 * gtkdtree.c (gtk_dtree_select_row): This should be also protected
2547 against async notifications.
2549 1999-01-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
2551 * gscreen.c (panel_create_icon_display): Only use
2552 GTK_DEST_DEFAULT_DROP since we want to do exotic stuff in the
2553 drag_motion handler to validate drops.
2554 (panel_icon_list_drag_motion): Use gdnd_validate_action().
2556 * gdnd.c (gdnd_drop_on_directory): Removed hack that prevented the
2557 user from dropping files on the same panel as the source one.
2558 This should not be done here.
2560 * gdnd.c (get_action): Sensitize the menu items based on the
2561 allowed actions in the drag context.
2562 (actions): Add some underlined accelerators for the action menu.
2564 * gdesktop.c (icon_drag_motion): Use S_ISDIR() in addition to
2567 * gscreen.c (panel_file_list_scrolled): Removed this function, as
2568 it was not used for anything useful.
2570 * gdnd.c (gdnd_drop_on_directory): Duh. Use context->action, not
2571 context->suggested_action.
2573 1999-01-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
2575 * gtkdtree.c (gtk_dtree_load_path): Keep track of when we are
2576 loading the tree (and thus we do not care about async
2577 notifications to the tree state changes) and when we are done (and
2578 thus, we care about the async treestore structure notifications).
2580 1999-01-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
2582 * gcmd.c (ep_add_callback): Set Window's position to
2584 (gnome_external_panelize): ditto.
2585 (gnome_filter_cmd): ditto.
2587 * gdialogs.c (file_progress_query_replace_policy): Set Window's
2588 position to GTK_WIN_POS_MOUSE.
2589 (file_progress_real_query_replace): ditto.
2590 (file_mask_dialog): ditto.
2592 * gdialogs.c: Tag the strings for localization. Remove debugging
2595 * gmain.c (gmc_window_setup_from_panel): Helper routine used to
2596 set the GTK_WIN_POS_MOUSE on a window and set the parent with
2597 gnome_dialog_set_parent (iff you have the WPanel * pointer to the
2600 * gtools.c (query_dialog): Set the window position to GTK_WIN_POS_MOUSE.
2602 * gtkdtree.c (gtk_dtree_destroy): Kill the add_entry notification hook.
2603 (gtk_dtree_init): Install a notification function for treentry.
2605 (entry_added_callback, entry_removed_callback): Implemented. Now
2606 the tree is in sync with the panels and reload will update the
2609 1999-01-22 Federico Mena Quintero <federico@nuclecu.unam.mx>
2611 * gdesktop-icon.c (set_text): Update the call to
2612 gnome_icon_text_item_configure() for the new API.
2614 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
2616 * gdesktop.c (desktop_drag_data_received): Do not force links on
2619 * gscreen.c (panel_create_file_list): Do not use
2620 GTK_DEST_DEFAULT_ALL for the drop site. Only use
2621 GTK_DEST_DEFAULT_DROP, since we need to check motion ourselves.
2622 (panel_clist_drag_motion): Do not allow dropping on the clist buttons.
2623 (panel_clist_button_press): Do not assign the
2624 panel->maybe_drag_start flag if the user clicked outside the clist_window.
2626 * gdesktop.h: Removed old crud (desktop_icon_t, icon_t).
2628 * gscreen.c (drag_types, drop_types): Use the constants from gdnd.h.
2630 1999-01-21 Jonathan Blandford <jrb@redhat.com>
2632 * gnome-file-property-dialog.c (apply_uid_group_change): uh, lets
2633 do this in Octal. (:
2635 * glayout.c: comment out compare panels.
2637 * gnome-file-property-dialog.h: new file. This is a new widget
2638 for the file-properties dialog. It doesn't handle mode changes
2639 quite right yet, but does everything else beautifully...
2641 * gnome-file-property-dialog.c: new file
2643 * gpopup.c (panel_action_properties): use new dialog
2644 (dicon_properties): as above.
2646 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
2648 * gscreen.c (panel_create_file_list): Added GDK_ACTION_ASK to the
2649 destination actions.
2650 (panel_create_icon_display): Likewise.
2651 (panel_create_tree_view): Likewise.
2653 * gdesktop.c (desktop_drag_motion): If the user explicitly
2654 requested action ASK, then do not make feedback show MOVE.
2656 * gscreen.c (panel_widget_motion): Pass in all drag actions now
2657 that Gtk handles button 2 by itself.
2659 * gdesktop.c (icon_event): Also delay the call to select_icon()
2660 until button release if the icon is selected and there are no
2661 modifier keys pressed. This lets us perform drags on
2662 multi-selections easily.
2664 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
2666 * gdesktop.c (setup_icon_dnd_dest): Always specify ACTION_MOVE,
2667 since we want to be able to move the icons around. Connect to the
2669 (dnd_icon_targets): List desktop icons as a target to be able to
2670 move them just a notch in the desktop.
2671 (icon_drag_motion): Decide which action we can use for dropping
2672 stuff on a desktop icon.
2673 (setup_icon_dnd_dest): Always specify all the actions.
2674 (icon_drag_data_received): Allow for icons to be moved just a
2675 notch by accepting drops from icons.
2677 * gdnd.h: Added #defines for the DnD target type names.
2679 * gdnd.c (gdnd_init): New public function to intern the target
2681 (gdnd_drag_context_has_target): New public function to see if a
2682 drag context has a certain target type.
2684 * gdesktop.c (setup_desktop_dnd): Do not use
2685 GTK_DEST_DEFAULT_MOVE, and connect to drag_motion.
2686 (desktop_drag_motion): If we are dragging from a desktop icon,
2687 indicate the action as MOVE. Otherwise, force the action to be
2688 LINK unless the user explicitly requested ASK.
2689 (setup_desktop_dnd): Intern the atoms for the drop targets.
2691 1999-01-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
2693 * gscreen.c: Selection code now is simpler and should be easier to
2694 use in the listing modes.
2696 1999-01-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
2698 * gicon.h (gicon_image_to_name): Added prototype for
2699 gicon_image_to_name().
2701 * gicon.c (gicon_get_icon_for_file):
2702 (gicon_get_icon_for_file_speed): Added a "directory" argument.
2703 It is needed because the file_entry structure only contains the
2704 pruned filename, and we need the complete name for the metadata
2707 * gdesktop.c (desktop_icon_info_new): Pass the directory to
2708 gicon_get_icon_for_file_speed().
2710 * gpageprop.c (item_properties): Build the directory name and pass
2711 it to gicon_get_icon_for_file_speed().
2713 * gscreen.c: Do not #include "directory.xpm". Do #include "setup.h".
2714 Removed unused function button_switch_to().
2716 * gscreen.c (panel_fill_panel_icons): Pass the directory to
2717 gicon_get_icon_for_file().
2719 * gscreen.c (panel_create_tree_view): Allow button 2 to start the
2721 (panel_clist_scrolling_is_desirable): Make both scrolling
2722 thresholds consistent. Also, do not allow scrolling past the
2724 (panel_icon_list_scrolling_is_desirable): Likewise.
2725 (panel_tree_scrolling_is_desirable): Likewise.
2726 (panel_clist_scroll): Do not allow scrolling past the correct limits.
2727 (panel_icon_list_scroll): Likewise.
2728 (panel_tree_scroll): Likewise.
2730 1999-01-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
2732 * gscreen.c (panel_create_icon_display): Do not set the style of
2735 1999-01-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
2737 * gprefs.c (apply_callback): Update the directory contents after
2738 the settings have changed.
2740 1999-01-19 Jonathan Blandford <jrb@redhat.com>
2742 * gdialogs.c (file_op_context_create_ui): OP_DELETE now has it's
2743 very own dialog. whee.
2745 * gscreen.c (panel_create_pixmaps): now we use dir-open.xpm
2746 instead of the (apparently) ugly yellow one.
2748 1999-01-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
2750 * gtkdtree.c (gtk_dtree_select_row): Wonder why the code was
2751 returning for the clicks on the root node.
2753 1999-01-19 Jonathan Blandford <jrb@redhat.com>
2755 * gprefs.c: applied a heavily modified patch by Dave Camp
2756 <campd@oit.edu> The preference box now works.
2758 1999-01-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
2760 * gtkdtree.c (gtk_dtree_construct): And the GTK+ people broke the
2763 1999-01-18 Jonathan Blandford <jrb@redhat.com>
2765 * gscreen.c (x_create_panel): chnaged padding on the Filter label
2766 (do_ui_signal_connect): new view switching code. Toolbar now works
2767 (go_home): new function -- takes one home
2769 * gtkdtree.c (gtk_dtree_construct): change ctree_set_reorderable.
2771 1999-01-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
2773 * gdesktop.c (icon_event): Rewrote event handling for icons on the
2774 desktop. This function handles button presses and releases and
2775 does some anal-retentive checking to avoid stuck pointer grabs.
2776 (icon_event_after): New fallback function for button presses.
2777 This is only called when an icon is being edited and the user
2778 clicks outside the icon's text item, indicating that editing
2779 should be accepted and terminated.
2780 (selection_stopped): New callback used to re-install the mouse
2781 grab once the icon text item stops selecting text.
2783 * gdesktop.h (DesktopIconInfo): Removed the finishing_selection
2784 flag now that the event handling code is cleaned up.
2786 1999-01-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
2788 * gpageprop.c (item_properties): Use the metadata information for this.
2789 (item_properties): Set the icon-filename metadata bit
2791 1999-01-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
2793 * glayout.c (create_new_menu_from): Handle both the system dir and
2794 the locally installed directory.
2796 1999-01-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
2798 * gtkdtree.c (gtk_dtree_do_select_dir): Select the node, and test
2799 against full visibility of a node.
2801 * gscreen.c (panel_fill_panel_icons): While loading the icon list,
2802 mark those items that are selected as, well, ahem, selected.
2803 (x_fill_panel): Use the system getwd routine to find out the real
2804 location in the file system
2806 1999-01-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
2808 * gpageprop.c (item_properties): Use file contexts appropriately.
2810 * gdnd.c (perform_action): Use file contexts appropriately.
2812 1999-01-13 Jonathan Blandford <jrb@redhat.com>
2814 * glayout.c (create_container): finished the New->menu. Looks
2816 (create_container): Moved the statusbar creaton. Now you can get
2819 * gcmd.c (gnome_run_new): new function.
2821 * glayout.c (create_container): beginnings of the New-> menu. It
2822 doesn't have much yet, hopefully we'll have a good way to let apps
2823 register themselves with it.
2825 1999-01-13 bertrand <Bertrand.Guiheneuf@inria.fr>
2830 s/gtk_toggle_button_state/gtk_toggle_button_active
2832 1999-01-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
2834 * gdesktop.c (desktop_icon_info_delete): Pass the file operation
2835 context to erase_dir() and erase_file().
2837 * gcmd.c (gnome_sort_cmd): Cast the sort functions to avoid
2840 * gdialogs.c: Converted to use FileOpContext.
2842 * gmain.h: Added some prototypes needed in the Gnome version.
2844 1999-01-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
2846 * gdesktop.c (desktop_drag_data_received): Drops on the desktop by
2847 default will always be Link commands. If the user wants to
2848 copy/move he needs to use the button-2 to do this.
2849 (desktop_icon_info_delete): Treat links as files, not directories.
2851 I have got enough complaints about this.
2852 1999-01-12 Jonathan Blandford <jrb@redhat.com>
2854 * gcmd.c (gnome_open_files): now you can open multiple files.
2855 * glayout.c: layout changed some. moved run command.
2856 commented out ftplink/mkdir command for now. gonna do mkdir
2857 next. Why is the ftplink command needed?
2859 1999-01-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
2861 * glayout.c (run_cmd): Add run command. Add back FTP link
2862 command. Add Mkdir command. Use standard key definitions.
2864 * gview.c: Use new standard keybindings
2866 * gtkdtree.c: Now it uses the treestore code.
2868 * treestore.c: New file format which includes the scan status of
2871 * treestore.c: Provide _opendir, _readdir, _closedir operations
2874 Next step: load/save the tree_entry->scanned flag (without this,
2875 you wont notice a big speedup).
2877 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
2879 * gutil.c (my_system_get_child_pid): Acknowledge new EXECUTE_WAIT
2880 flag. This is required by the vfs code.
2882 1999-01-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
2884 * gscreen.c (panel_create_file_list, panel_create_icon_display):
2885 I got excited adding the gtk_drag_source_set. I generate those
2886 events myself, no need to put them here.
2888 1999-01-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
2890 * gwidget.c (stock_from_text): Return this value.
2892 1999-01-08 Jonathan Blandford <jrb@redhat.com>
2894 * glayout.c: now open the new (non-functional) dialog box. If you
2895 want functionality, I suppose you could put the old one back in.
2896 I'll work on it more this weekend, though, so hopefully it can get
2897 back to the old state relatively quickly.
2898 * gprefs.c (gnome_configure_box): New function, new file, first
2899 start at unified properties box.
2901 1999-01-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
2903 * gscreen.c (panel_icon_list_select_icon): Remove debugging message.
2905 * glayout.c: Add a create directory option.
2907 1999-01-07 Jonathan Blandford <jrb@redhat.com>
2909 * gcmd.c (gnome_filter_cmd): now it works! It's even sorta
2910 useful. I'm so psyched... (:
2913 1999-01-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
2915 * gscreen.c (panel_icon_list_drag_data_received): Do not update
2916 contents if nothing was done (ie, the drop was cancelled).
2917 (panel_create_file_list): Duh. Restore this, as, ahem, we dont
2918 have banding selection on CList.
2919 (panel_icon_list_select_icon): Open the new panel only on button
2921 (panel_file_list_select_row): New panel started on clist when you
2922 press middle button.
2924 (panel_create_file_list): Ahaha! I found that CList now has a
2925 gtk_clist_set_buttion_actions. Go figure why we need this and why
2926 it was implemented, but now buttons work as they should on clist.
2928 * gdnd.c (gdnd_drop_on_directory): Do nothing if the files dragged
2929 are on the same directory we are.
2931 1999-01-07 Jonathan Blandford <jrb@redhat.com>
2933 * gcmd.c (gnome_filter_cmd): Function filled in now. Actually
2934 works (amazing!.) Next: put a history on it, and maybe an event
2937 * glayout.c: use the function below.
2939 * gcmd.c (gnome_filter_cmd): New function (or a sorry excuse for
2942 * gscreen.c (x_create_panel): now uses gnome-appbar instead of the
2943 old, psuedo status bar.
2945 1999-01-06 Jonathan Blandford <jrb@redhat.com>
2947 * gcmd.c (gnome_external_panelize): Now it works. Just need to save
2948 results so the next time works. Will do this tomorrow.
2949 (gnome_external_panelize): think I finished this now.
2951 1999-01-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
2953 * gdesktop-icon.c (desktop_icon_realize): Make icons sticky as
2956 * gpageprop.c (item_properties): Use a file operation context.
2957 * gdnd.c (perform_action): Likewise.
2958 * gdesktop.c (desktop_icon_info_delete): Likewise.
2960 * Makefile.in: Added fileopctx.o.
2962 1999-01-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
2964 * gdesktop.c (desktop_icon_drop_uri_list): Implement
2965 drops-on-executable.
2967 * gmetadata.c, gaction.c, gdesktop.c, gicon.c: Use g_free instead
2968 of free to follow the convention in gnome-metadata.c
2970 * gtools.c (query_dialog): Fix the new version of this. It was
2971 overwriting memory all over.
2973 * gdialogs.c (): Use GNOME stock; Fill in some FIXME strings.
2974 (file_progress_real_query_replace): Use the formatted
2977 Change the inlined N_( for _( in various places.
2978 (cancel_cb): Cancel button now cancels a copy or move operation.
2980 * gtools.c (query_dialog): Remove the hotkey indicator in the
2981 gnome version specific query_dialog box.
2983 1999-01-05 Jonathan Blandford <jrb@redhat.com>
2985 * gcmd.c (gnome_external_panelize): mostly hooked up now.
2986 will finish tomorrow (shouldn't take very long...)
2988 1999-01-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
2990 * Makefile.in (GNOMESRCS): Removed temp-hack.c from the list of
2992 (GNOMEHDRS): Ditto for gdialogs.h.
2994 * gscreen.c (x_create_panel): Removed periods from the toolbar
2997 1999-01-04 Jonathan Blandford <jrb@redhat.com>
2999 * glayout.c: menu changes.
3001 * gcmd.c (gnome_external_panelize): new function. Does absolutely
3002 nothing yet but look pretty (and it doesn't do that all that well,
3003 yet...) I'll hook it up to it's actual functions, tomorrow.
3005 1999-01-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
3007 * gscreen.c (x_reset_sort_labels): Various fixes to fix some of my
3008 recent changes. I bet Jonathan found that things were not quite
3009 working. Sorry for the previous untested changes.
3011 This also fixes the bugs reported on gnome-list regarding the
3012 CList problems. This is the correct fix (basically, we were using
3013 a CList that was configured in one way, even if the display format
3014 had changed. Now, the CList is kept in sync with the format by
3015 calling a routine that somehow got dropped during some recent
3018 * gtools.c (query_dialog): Simplified.
3020 1999-01-02 Jonathan Blandford <jrb@redhat.com>
3022 * gcmd.c (gnome_sort_cmd): pretified
3023 (gnome_select_all_cmd): New command -- selects all files (in
3026 * glayout.c: rearrange the edit menu some.
3028 * gscreen.c (x_create_panel): new icon view icons -- brief and
3031 1999-01-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
3033 * gdesktop.c (select_range): Fixed selection of ranges where the
3034 starting and ending icons are in the same vertical or horizontal
3036 (reload_desktop_icons): Fixed incorrect usage of
3037 g_list_remove_link(). Also, moved the functionality from the old
3038 load_desktop_icons() here. Now all icons are always loaded
3039 efficiently, and there is no need for the "incremental" flag.
3040 (desktop_icon_info_delete): Delete the icon position information.
3042 * gmetadata.c (gmeta_del_icon_pos): New public function to delete
3043 the icon position information from a file.
3045 1999-01-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
3047 * gwidget.c (x_create_listbox): Temporary hack
3049 * gmetadata.c (gmeta_get_icon_pos): Fixed the memory leak here.
3051 * gicon.c (gicon_get_icon_for_file): Actually return a value
3054 1999-01-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
3056 * gscreen.c (panel_fill_panel_list): Assertion that will pin point
3057 if a CList gets out of sync with the panel->format.
3059 1999-01-01 Momchil 'Velco' Velikov <velco@fadata.bg>
3061 * gscreen.c (panel_fill_panel_list): NULL terminate the column
3062 array. This is strange, as it should not need the ending NULL.
3064 1999-01-01 Jonathan Blandford <jrb@redhat.com>
3066 * gcmd.c ((GtkWidget *widget, WPanel *panel): Now hooked up
3067 correctly. Still needs to set the option menu correctly. Oh
3070 1998-12-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
3072 * gpopup.c (dicon_properties): Made static, and renamed from
3073 desktop_icon_properties().
3074 (dicon_execute): Likewise.
3075 (dicon_actions): Renamed from desktop_icon_actions.
3077 * gdesktop.c (desktop_icon_info_destroy): Renamed from
3078 desktop_icon_destroy(), for consistency with the rest of the
3079 functions that handle DesktopIconInfo structures.
3080 (desktop_icon_info_open): Likewise.
3081 (desktop_icon_info_delete): Likewise.
3083 1998-12-31 Miguel de Icaza <miguel@nuclecu.unam.mx>
3085 * gscreen.c (panel_create_icon_display): Provide auto-scroll
3086 handlers for the drag stuff.
3088 1998-12-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
3090 * gmain.c (create_panels): Register corba server here.
3092 * gcorba.c: Fix a servant declaration to point to the correct
3095 1998-12-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
3097 * gdesktop.c (find_icon_by_drag_context): Made static.
3099 * gdesktop.h (DesktopIconInfo): Now that this type is public,
3100 renamed it from struct desktop_icon_info, for consistency.
3102 1998-12-30 Jeff Garzik <jgarzik@pobox.com>
3104 * gprop.c, gpopup.c: s/g_copy_strings/g_strconcat/
3106 1998-12-30 Jonathan Blandford <jrb@redhat.com>
3108 * gaction.c (gmc_execute): now takes an filename instead of a file
3109 entry for an argument
3110 (gmc_open_filename): handles the new gmc_execute code.
3112 * gdesktop.c (desktop_icon_drop_uri_list): commented out
3113 action_drop. Needs defining.
3115 1998-12-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
3117 * gdesktop.c (desktop_icon_delete): New function, used for
3119 (load_desktop_icons): Implemented the incremental reloading of
3120 desktop icons. This should make the code much nicer.
3121 (reload_desktop_icons): Call x_flush_events to force a display at
3124 * gpopup.c (dicon_delete): Implement this operation.
3125 (desktop_icon_execute): Use the existing implementation for
3126 launching desktop icons instead of a new hacked up version
3128 (desktop_icon_actions): Until copy/move is implemented, do not
3129 even list them to the user.
3131 * gdesktop.c (create_desktop_dir): No trashcan setup until it
3134 * gscren.c (panel_widget_motion): Use button 2 for dragging and
3138 * gscreen.c (panel_create_file_list): Use a notebook instead of
3139 the hack I was using before for switching the panel contents.
3141 * gtkdtree.c (gtk_dtree_new): We now rely on the whole code to be
3142 running in the proper visual. The more I look at this, the more
3143 desires I have to do a proper imlib.
3145 * gdesktop-icon.c (desktop_icon_init): ditto.
3147 Tue Dec 29 16:55:24 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3149 * gmain.c: According to the man page the color keyword for executable
3150 files is `executable' and not `execute' -- changed.
3152 1998-12-28 Jonathan Blandford <jrb@redhat.com>
3154 * glayout.c: Initial rehash of the menu code.
3156 1998-12-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
3158 * gprop.c (perm_mode_new), gcliplabel.c: Uset gtk_label_set_text.
3160 Thu Dec 24 18:38:45 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3162 * layout: Adapted for the new option Compute Totals in the
3163 Configuration dialog.
3165 1998-12-22 Jonathan Blandford <jrb@redhat.com>
3167 * gdialogs.c (file_progress_real_query_replace): Cleaned up some. Still has a
3168 bit of work to do, but in general, much better.
3170 Mon Dec 21 22:33:07 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
3172 * layout: Deleted obsolete widgets from the Virtual FS configuration
3175 1998-12-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
3177 * gscreen.c (panel_icon_list_select_icon): Show the popup menu on
3178 button release here. This is what makes most sense.
3179 (panel_widget_motion): Drags with button 3 now produce a popup
3180 dialog box that asks
3182 1998-12-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
3184 * gdialogs.c (create_op_win): Remove second spurious packing.
3185 (create_op_win): OP_MOVE uses the same stuff OP_COPY does. Fix
3187 (file_progress_show_target): More compliant to the original
3189 (file_progress_show_source): More compliant to the original
3192 * gdesktop.c (create_desktop_dir): Fix mem leak.
3194 Tue Dec 15 10:51:12 1998 Gregory McLean <gregm@comstar.net>
3196 * gdesktop-icon.c : Attach a desktop_icon wmclass to the desktop
3197 icons to allow even more wizardry with the desktop icons, mainly
3198 to exclude them from window lists, don't decorate them, skip
3199 desktops and other boring stuff.
3201 1998-12-14 Sven Neumann <sven@gimp.org>
3203 * lightened up the dir-pixmaps a little to please your eyes and
3206 1998-12-14 Owen Taylor <otaylor@redhat.com>
3208 * gnome.TODO: Added a number of tree and icon
3211 1998-12-14 Owen Taylor <otaylor@redhat.com>
3213 * gscreen.c (x_create_panel): Keep up with changes
3216 1998-12-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
3218 * gwidget.c (x_update_input): Use gtk_entry_get_text here.
3220 1998-12-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
3222 * gscreen.c (panel_create_icon_display): Set white background.
3224 1998-12-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
3226 * gdnd.c (perform_action): Fixed a pair of incorrect braces.
3227 Files were not being operated on because of this.
3229 1998-12-12 Owen Taylor <otaylor@gtk.org>
3231 * gscreen.c (panel_tree_drag_motion): Doubled timeout
3232 for autoexpand - reducing opening unwanted directories.
3234 * gscreen.c (tree_drag_open_directory): Use
3235 gtk_ctree_expand() not gtk_ctree_expand_recursive,
3236 which increases confusion and could be
3237 _vvveeerrrryyyy_ expensive. (/afs ?)
3239 * gscreen.c (panel_tree_drag_leave): Fixed up
3240 signature - "drag_leave" has no x,y.
3242 * gscreen.[ch] (panel_tree_check_auto_expand): When
3243 we've expanded rows during a drag, collapse them
3244 again when the drag leaves that row.
3246 1998-12-12 Owen Taylor <otaylor@gtk.org>
3248 * gtkdtree.c (gtk_dtree_destroy): Remove timer upon
3249 destruction to be safe. (Should this, and
3250 dtree->timer_id itself be in gscreen.c instead?)
3252 * gscreen.c (panel_tree_drag_leave): Change == to !=
3253 so that timeouts are properly removed.
3255 1998-12-11 Matt Wilson <msw@redhat.com>
3257 * gscreen.c: The solid lines in the tree are kinda harsh. Replace
3258 them with soothing dotted lines.
3260 1998-12-11 Matt Wilson <msw@redhat.com>
3262 * dir-open.xpm, dir-close.xpm: Away with the tacky yellow folders -
3263 I like these brown ones from tigert better.
3265 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
3267 * gpopup.c (create_actions): The tests for F_PANEL and F_DICON
3268 were wrong. Fixed them. This does not mean that the popup menus
3271 1998-12-11 Owen Taylor <otaylor@redhat.com>
3273 * gscreen.c gdesktop.c gdnd.h: enable dragging locale files
3276 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
3278 * gicon.c (gicon_get_icon_for_file): First try to fetch the inline
3279 icon data (i.e. thumbnails), second try the generic icon filename.
3281 1998-12-11 Owen Taylor <otaylor@redhat.com>
3283 * gdesktop.c (window_button_press): Ehen cancelling editing
3284 account for clicks on other GMC windows.
3286 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
3288 * gdesktop.c (click_proxy_filter): Doh. We may get DestroyNotify
3289 for other windows than the proxy, so deal with it.
3291 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
3293 * gdesktop.c (click_proxy_button_press): Use a nice arrow cursor
3295 (click_proxy_filter): Keep a firm jaw when the window manager dies
3296 and thus the proxy window is destroyed.
3297 (setup_desktop_click_proxy_window): Moved the proxy window
3298 creation code to this function.
3299 (click_proxy_property_notify): Handle PropertyNotify events from
3300 the root window for when the proxy window changes. Now the window
3301 manager can restart itself as it pleases and GMC will handle it
3304 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
3306 Wheeeee! Desktop icons can be selected by rubberbanding. You
3307 need Englightenment to do this, as so far it seems to be the only
3308 WM with support for the _WIN_DESKTOP_BUTTON_PROXY property.
3310 * gdesktop.c (click_proxy_filter): New event filter for button
3311 presses and releases on the root window.
3312 (click_proxy_button_press): New function to handle button presses
3314 (click_proxy_button_release): New function to handle button
3315 releases on the desktop.
3316 (click_proxy_motion): New function to handle rubberbanding motion
3318 (setup_xdnd_proxy): Flush the server after ungrabbing it.
3319 (find_click_proxy_window): Flush the server after ungrabbing it.
3320 (store_temp_selection): Stores the temporary selection to the
3321 master selection, or viceversa. This is needed for dynamic
3322 updating while the user rubberbands.
3323 (update_drag_selection): New function to update the selection
3324 while the user is rubberbanding on the desktop.
3325 (icon_is_in_area): New function to see if an icon is inside the
3328 * gdesktop-icon.h: Added fields for querying the icon and text
3331 * gdesktop-icon.c (desktop_icon_reshape): Set the position and
3332 size fields as computed for layout.
3334 1998-12-11 Owen Taylor <otaylor@redhat.com>
3336 * gdesktop.c (editing_started): Grab on the window for the
3337 icon, not on the canvas, so we can properly detect
3340 (icon_button_release_after): When the user stops selecting,
3343 1998-12-11 Jonathan Blandford <jrb@redhat.com>
3345 * gtkdtree.c (gtk_dtree_do_select_dir): fixed a little bug --
3348 * gscreen.c (x_create_panel): More changes. The toolbar is moved
3349 to a gtk_toolbar, and is movable. The entry will be put in it's
3351 (panel_create_cwd): For now, hardcode the usize of the entry
3352 widget. Later on, have it expand (when toolbar supports it)
3354 1998-12-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
3356 * gcmd.c: #include "../vfs/vfs.h"
3358 * gdesktop.c (setup_icon_dnd_actions): Moved the code that calls
3359 gtk_drag_source_set() for an icon here.
3360 (editing_started): Temporarily disable drags while the icon's text
3362 (editing_stopped): Re-enable DnD from the icon once editing has
3365 1998-12-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
3367 * gcmd.c (gnome_close_panel): When a panel is destroyed, chdir to
3368 root directory, as the process will be holding the inode for the
3369 directory that was selected until an operation is performed in
3372 * gicon.c (gicon_get_icon_for_file): Invert the way the testing
3373 for icons is done to handle directories properly.
3375 1998-12-10 Jonathan Blandford <jrb@redhat.com>
3377 * gscreen.c (x_create_panel): made some small stylistic changes.
3378 Also, removed the hint bar and consolidated the status bar.
3380 Thu Dec 10 21:38:55 1998 Owen Taylor <otaylor@redhat.com>
3382 * gkey.c (delete_select_channel): Fixed list handling
3383 with g_list_remove().
3385 1998-12-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
3387 * gdesktop.c (dnd_select_icon_pending): Added this flag that
3388 specifies whether a selection is pending for an icon if the user
3389 was holding the Control key down while clicking. We have to delay
3390 selection in this case so that DnD will work correctly, just like
3392 (icon_button_press): New function that handles button presses on
3393 icons; it obsoletes the old desktop_icon_info_event().
3394 (icon_button_release): New function that handles button releases
3395 on desktop icons; it will do what is appropriate if there was a
3396 pending icon selection.
3397 (drag_begin): Handle pending selections as appropriate.
3398 (unselect_all): Added an paremeter that specifies which icon to
3399 exclude from unselection.
3400 (editing_started): Unselect all icons but the one for which
3401 editing has started.
3402 (dnd_icon_sources): Changed the MIME-types for internal drops to
3403 "application/x-mc-desktop-icon".
3404 (click_proxy_window): New variable that stores the proxy window
3405 for clicks on the desktop.
3406 (setup_desktop_clicks): New function that sets up clicks on the
3408 (find_click_proxy_window): New function to find and set up the
3409 window for proxying clicks from the root window.
3411 * image.metadata.in: Added case for `jpg', as there was only a
3414 1998-12-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
3416 * gicon.c (gnome_file_entry_color): If we do not have permissions
3417 for this directory, indicate this with a special icon.
3419 * gscreen.c (panel_icon_list_select_icon): Middle button opens a
3420 new panel on a directory.
3422 1998-12-08 Federico Mena Quintero <federico@nuclecu.unam.mx>
3424 * gdesktop.c: Moved the old DnD cruft to olddnd.c to keep it there
3425 for reference purposes.
3427 * gmetadata.c: Removed the gmeta_get_icon_for_file() function, as
3428 it is obsoleted by gicon_get_icon_for_file().
3430 * gdesktop.c (desktop_icon_info_new): Made it use
3431 gicon_get_icon_for_file().
3433 * gdesktop-icon.c (set_icon): Now we handle things internally
3434 using an imlib image, not a filename.
3435 (desktop_icon_new): Now takes an imlib image for the icon instead
3437 (desktop_icon_set_icon): Likewise.
3439 1998-12-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
3441 * gtkdtree.c (gtk_dtree_new): Use imlib's visual and colormap.
3443 * gscreen.c (panel_create_tree_view): Use the colormap and visual
3444 from imlib when creating the DTree,
3446 1998-12-08 Federico Mena Quintero <federico@nuclecu.unam.mx>
3448 * gdesktop.c (icon_drag_data_received): Doh. Use the correct
3449 pathname when calling gdnd_drop_on_directory().
3451 1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
3453 * gdesktop.c (desktop_icon_info_new): Do not stat the file, as we
3454 do not need that information anymore.
3455 (setup_icon_dnd_source): Moved the DnD-as-source code to here.
3456 (setup_icon_dnd_dest): New function to set up an icon as a DnD
3459 * gdesktop.c (desktop_icon_info_place): Doh, do not place icons
3460 past the edge of the *whole* screen :-)
3461 (dnd_press_x dnd_press_y): New variables to store the cursor
3462 hotspot for DnD icons. Moved these over from the
3463 desktop_icon_info structure, as it does not make sense to have
3464 this inside every icon.
3465 (button_press): Use dnd_press_x and dnd_press_y.
3466 (drag_begin): Likewise.
3467 (drop_desktop_icons): Use dnd_press_x and dnd_press_y to fix the offsets.
3468 (drag_data_received): Fix the proxy window offsets for all types
3470 (drop_desktop_icons): Snap the coordinates as appropriate.
3472 1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
3474 * gdesktop.c (drop_desktop_icons): New function to perform a drop
3475 from desktop icons to the desktop. It effectively moves the icons
3477 (desktop_icon_info_place): Do not place the icons past the edge of
3480 1998-12-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
3482 * gdesktop.c (file_entry_from_file): Finished implementing
3483 file_entry_from_file().
3484 (struct desktop_icon_info): Removed the `type' field. We now stat
3485 the file when needed to figure out the file type.
3486 (desktop_icon_info_event): Test whether the file is a directory by
3487 ourselves, and if it is, open a new panel for it.
3488 (drag_data_get): Generate the uri-list for internal desktop icon
3491 * gdesktop.c (drag_data_received): We do not need to call
3492 gtk_drag_finish(), since we are using the GTK_DEST_DEFAULT_DROP
3493 flag for drops on the desktop.
3494 (desktop_icon_info_event): Reload the desktop icons after
3495 executing a command from the popup menu. This kind of sucks, but
3497 (desktop_icon_info_event): Upon receiving a button-1 press, if the
3498 icon was already selected in the first place, delay the
3499 re-selection phase until we get a mouse release event. This lets
3500 us start a multiple-selection drag without having the initial
3501 click clear the selection first.
3502 (desktop_icon_info_event): Open the file or directory when the
3503 desktop icon receives a double click.
3505 * gmain.c (beep): Made it void, since it does not (need to) return
3507 (xtoolkit_end): Likewise.
3509 1998-12-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
3511 * gscreen.c (panel_build_selected_file_list): Provide space for
3512 the terminating NULL.
3514 * gmain.c (beep): Return a value.
3516 * gdnd.c (get_action): Typo fix.
3518 1998-12-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
3520 * gscreen.c (load_imlib_icons): Make it use the new gicon files.
3522 * gicon.c, gicon.h: New files: they keep an image cache and
3523 provide the right icon to use based on the filename. They use the
3524 GNOME metadata to fecth the "icon-filename" and "icon-inline-png"
3525 keys for per-image icons.
3527 * gdialogs.c (file_mask_dialog): Commented the help messages until
3528 the warnings are figured out.
3530 1998-12-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
3532 * gdesktop.c (desktop_icon_info_new): Connect the signals for DnD
3533 so that we can drag icons from the desktop.
3534 (drag_begin): New function to set the drag cursor for icons on the desktop.
3535 (button_press): New function that stores the hot spot position for
3537 (drag_data_get): New function to fetch the URI-list of selected icons.
3539 * gdialogs.c: Fixed some includes.
3541 * gdesktop.h: Removed the DnD target enum from here, since it is
3542 specific to each submodule.
3544 * gdnd.h: Moved the DnD target enums to here. Added a new
3545 TARGET_MC_DESKTOP_ICON.
3547 * gdesktop.c (get_icon_snap_pos): Fixed icon snapping; the
3548 coordinates not being updated correctly.
3550 * gscreen.c (panel_drag_data_get): Free the uri list; it was being leaked.
3552 1998-12-04 Jonathan Blandford <jrb@redhat.com>
3554 * gdialogs.c (file_progress_show_count): finished the copy dialog.
3556 1998-12-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
3558 * gblist.c (blist_select_row): Warning fixes.
3560 * olddnd.c: Moved the old DND code here for reference purposes.
3562 * gscreen.c: Made the tree a drag source.
3564 1998-12-04 Jonathan Blandford <jrb@redhat.com>
3566 * gdialogs.c (trim_file_name): better update dialog
3568 1998-12-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
3570 * gdesktop.c (load_desktop_icons): Added arguments that specify
3571 where to place the newly-created icons. This needs some tweaking still.
3572 (reload_desktop_icons): Now takes arguments for the position of
3574 (drag_data_received): Pass in the drop position to reload_desktop_icons().
3576 * gscreen.c (panel_tree_drag_motion): Added missing variable declaration.
3578 * gdesktop.c (load_desktop_icons): Added an incremental flag that
3579 specifies whether icon creation is unconditional regardless of
3580 whether there is an icon for a file or not.
3581 (reload_desktop_icons): Use the incremental flag in load_desktop_icons().
3582 (drag_data_received): Reload the desktop incrementally, to avoid flicker.
3583 (desktop_icon_info_new): Use mc_lstat(), not mc_stat(). We do
3584 want to read symlinks, even dangling ones, if they exist.
3585 (load_desktop_icons): While we are reading the desktop directory,
3586 first place all the icons that have their metadata icon-position
3587 set, and build a list of the ones that don't. *Then* place
3588 those. This fixes overlapping icons on weird situations.
3590 * directory.xpm: Removed bogus garbage. There was a stale pixmap here.
3592 * gdesktop.c (setup_desktop_dnd): Allow for GDK_ACTION_ASK as well.
3594 * gscreen.c (panel_widget_motion): The action argument to
3595 gtk_drag_begin() is a mask of possible actions, not a single action.
3597 * gdesktop.c (drag_data_received): Only reload the icons if the
3598 drop was successful.
3600 1998-12-03 Jonathan Blandford <jrb@redhat.com>
3602 * gdialogs.c (create_op_win): starting the op_win dialog stuff
3604 1998-12-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
3606 * gscreen.c (panel_create_icon_display, panel_create_file_list):
3607 Hook up to drag_begin and drag_end events.
3609 * gscreen.c (panel_tree_drag_motion): Improve interactivity
3610 (x_create_panel): Add a little decorating frame.
3612 (panel_create_icon_display, panel_create_file_list):
3613 Hook up to drag_begin and drag_end events.
3615 (panel_tree_drag_motion): Either queue a scroll on the tree, or
3616 queue an open-directory event.
3618 (panel_tree_scroll): Scroll the tree when the drag pointer is in
3619 one of the boundaries of the tree.
3621 (panel_tree_scrolling_is_desirable): new function to figure out if
3622 it is a good plan to scroll the tree view instead of opening it.
3624 (panel_chdir): Do not sync with the tree when we are in the middle
3625 of a drag and drop operation.
3627 (panel_drag_begin, panel_drag_end): New functions to keep track
3628 of the dragging operations.
3630 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
3632 * gscreen.c (panel_tree_drag_data_received): Perform drag and drop
3633 operations on the Tree.
3635 1998-12-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
3637 * gdesktop.c (setup_desktop_dnd): New function to set up drops
3639 (setup_xdnd_proxy): Function by Owen Taylor to set up a DnD proxy
3641 (drag_data_received): Function to handle drops on the root window.
3642 (desktop_destroy): Destroy the DnD setup.
3643 (reload_desktop_icons): New function to reload the desktop.
3645 * gscreen.c (drag_types, drop_types): Removed url-list; only
3646 uri-list should be there.
3648 * gdesktop.h: Removed TARGET_URL_LIST from the DnD enumerations.
3650 * gtkdtree.c (gtk_dtree_do_select_dir): Made static, as it is for
3652 Fixed a little bunch of compiler warnings.
3654 * gscreen.c (x_fill_panel): Use gtk_dtree_select_dir(), not
3655 gtk_ctree_do_select_dir().
3657 * gpopup.c (gpopup_do_popup): Fixed incorrect assertion and
3658 actually create the menu (doh).
3659 (gpopup_do_popup): Do the same magic as in gnome-popup-menu to
3660 fetch the item that was activated in the menu. Keep this code out
3661 of reach of children.
3662 (fill_menu): New function to fill the menu using the
3663 gnome-popup-menu magic for fetching the activated menu item.
3664 Removed ifdef'ed code.
3666 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
3668 * gscreen.c (tree_drag_open_directory, panel_tree_drag_motion,
3669 panel_tree_drag_leave): Drag and Drop support routines for the
3670 tree to auto-expand the tree when the user stays still on top of a
3673 * gtkdtree.c (gtk_dtree_load_path): Further speed increase.
3675 1998-12-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
3677 * glayout.c (file_menu): Use view_cmd and view_simple_cmd in the
3678 menu instead of panel_action_view and
3679 panel_action_view_unfiltered, respectively.
3681 * gpopup.c (create_regexp_actions): Create the menu items using
3682 gnome-app-helper, for visual consistency.
3683 (create_actions): Likewise. Also, fixed S_ISLNK() confusion.
3684 (get_label_text): Extract the label from the GnomeUIInfo item in
3687 1998-12-01 Jonathan Blandford <jrb@redhat.com>
3689 * Makefile.in: now handles gdialogs*
3692 * gdialogs.c:Added new files -- takes the place of ../src/filegui.*
3694 1998-12-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
3696 * gscreen.c (panel_switch_new_display_mode): Destroy the old
3697 widget. Add the list view to the proper table.
3699 * glayout.c: Remove the exit menu option.
3701 * gtree.c (gtk_dtree_contains): New routine used to avoid
3702 duplicate entries in the tree display.
3704 1998-11-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
3706 * gscreen.c (panel_icon_list_select_icon): Use gpopup_do_popup().
3707 (panel_file_list_select_row): Use gpopup_do_popup().
3708 Moved the popup menu code to gpopup.c.
3710 1998-11-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
3712 * gscreen.c (display_mini_info): Use g_strdup_printf() to make it
3714 (panel_create_filter): Use _(), not N_().
3715 (x_create_panel): Likewise.
3717 1998-11-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
3719 * gscreen.c (x_create_panel): Add panel view. Put the views
3720 inside a new table. Add tree view to the left.
3721 (panel_create_icon_display): IconList no longer starts in frozen state.
3725 1998-11-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
3727 * gwidget.c (x_update_input): Use gtk_editable_changed on the entry.
3728 (x_create_listbox): Fix more CList api change.
3729 * gscreen.c (CLIST_FROM_SW): Adapt to new GtkScrolledWindow
3732 1998-11-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
3734 * Makefile.in (OOBJS): Add filegui.o back until the GTK-specific
3737 * gdesktop.c (check_window_in_one_panel): Provide better error
3738 messages here for debugging purposes.
3740 Disable stubs for filegui.c until they are actually implemented.
3741 I need to debug stuff.
3743 * gdnd.c (find_panel_owning_window): Use the new
3744 gtk_drag_get_source_widget function to find out reliably if the
3745 drag source happens to be in this application.
3747 * gscreen.c (x_create_panel): Set the usize for the ministatus
3748 label to be (0, -1), this means: do not request any horizontal
3749 space, use any vertical space given.
3751 Put the ministatus inside an hbox, and use
3752 gtk_container_set_resize_mode in this hbox to stop any queue
3753 events from being propagated up in the hierachy of widgets
3755 This kills all of the CList/GnomeIconList/Scrollbar/Toolbar
3758 1998-11-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
3760 * gtree.c: More work on gtree. It is basically ready to stick
3761 into gmc-window.c/mc I just need to know when you are ready
3764 1998-11-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
3766 * gpopup.c (gpopup_do_popup): Hide the edit/view separator if
3767 those items were disabled, too.
3769 * gdesktop-icon.c (desktop_icon_realize): Added
3770 WIN_STATE_FIXED_POSITION and WIN_STATE_ARRANGE_IGNORE to the
3771 window hints for the desktop icons.
3773 1998-11-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
3775 * gdesktop.c (desktop_icon_info_event): Run the popup menu for the
3776 icons in the desktop.
3778 * gpopup.[ch]: New files that take care of the popup menus for
3779 files in the desktop and in the panels.
3781 * Makefile.in: Added gpopup.[ch] to the list of sources.
3783 1998-11-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
3785 * gdesktop.c (desktop_icon_info_place): Save the icon position
3787 (desktop_destroy): Removed the save_icons_pos() function and do
3788 not invoke it from desktop_destroy().
3790 1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
3792 * gwidget.c (x_list_insert): Make it work with the new CList
3795 1998-11-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
3797 * gdesktop.c: Put in a bunch of stubs for the functions in
3798 filegui.h. These will be removed as the dialogs get
3799 custom-written for Gnome.
3801 * gmetadata.[ch]: Changed the function names to "gmeta_*".
3803 * gscreen.c (CLIST_FROM_SW): Use scrolled_window->child, as
3804 viewport is obsolete.
3806 1998-11-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
3808 * Makefile.in (OOBJS): Do not link ../src/filegui.o. GMC does not
3809 link right now, but I guess I'll add stubs until we finish with
3812 * gdnd.c: #include <sys/types.h>
3814 * Makefile.in (checklinks): Fix sourcelinks -> maksourcelinks typo.
3816 1998-11-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
3818 * gmain.c (session_save_state): Use gnome_geometry_string.
3820 1998-11-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
3822 * gscreen.c (panel_file_list_compute_lines): Quick hack to get mc
3823 to compile with the new CList.
3825 1998-11-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
3827 * Makefile.in: Removed gtrans.c from the list of sources.
3829 * gdesktop-icon.c: #ifdef cleanups.
3831 * gscreen.c (panel_create_file_list): Doh. Return the scrolled
3832 window, not the clist.
3834 * gdnd.c (get_action): Implement the DnD actions menu.
3836 1998-11-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
3838 * gdnd.c: New file that handles all the DnD stuff. Mainly used to
3839 clean up gdesktop.c.
3841 * gscreen.c (panel_icon_list_drag_data_received): Use
3842 gdnd_drop_on_directory().
3843 (CLIST_FROM_SW): Added this macro to fetch the clist from the
3844 scrolled window in panel->list.
3845 (panel_create_file_list): Create a scrolled window and put the
3846 clist inside it. This is required per the new clist API.
3847 (panel_configure_file_list): Use the scrolled window's adjustment.
3848 (panel_file_list_size_allocate_hook): Use the scrolled window
3849 instead of the clist.
3850 (panel_file_list_compute_lines): Use the scrolled window instead
3852 (panel_file_list_configure_contents): Use the scrolled window
3853 instead of the clist.
3854 (panel_create_file_list): Do the DnD setup here, not in the
3855 realization callback.
3856 (x_create_panel): Do not realize the panel explicitly.
3857 (panel_create_pixmaps): Create the pixmaps using imlib instead of
3860 1998-11-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
3862 * gdesktop.c (text_changed): Doh. Set the new filename of the
3863 desktop icon info structure.
3865 1998-11-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
3867 * gdesktop.c (text_changed): We rename the files when the text
3869 (save_icons_pos): New function to save the icon position metadata
3870 for all the icons in the desktop.
3871 (desktop_destroy): Save the icon positions when we exit.
3873 1998-11-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
3875 * gdesktop.c (editing_started):
3876 (editing_stopped): New functions to install and remove
3877 pointer/keyboard grabs while icons are being edited,
3880 1998-11-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
3882 * gdesktop.c (select_icon): Raise the icon when it is selected.
3884 1998-11-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
3886 * gdesktop.c (select_range): Doh. Fix dii -> ldii typo. Also,
3887 use Windows semantics -- ranges are considered rectangular instead
3890 * gdesktop.c: Now desktop icons are stored in the layout_slots
3891 array. We need to know which icons are in which slots.
3892 (unselect_all): Use the layout_slots array.
3893 (desktop_icon_info_place): Append the icon to the list in the
3895 (desktop_icon_info_new): Initialize the position and slot fields
3896 in the desktop icon info structure.
3897 (desktop_icon_info_free): Remove the icon from its slot.
3898 (desktop_destroy): Destroy the layout slots and the icons
3900 (remove_from_slot): New convenience function to remove an icon
3901 from the slot it is in.
3902 (get_icon_snap_pos): Do a bit nicer snapping by really using the
3904 Added a last_selected_icon variable to keep track of the icon that
3905 was last selected, for shift+click selections.
3906 (select_icon): Finish selection semantics and clean up. Now it is
3907 nice and simple and complete.
3908 (select_range): New function that handles range selections.
3910 1998-11-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
3912 * gdesktop-icon.h (DesktopIcon): Added a child item for stippling
3913 the icon when it is selected.
3915 * gdesktop-icon.c (desktop_icon_select): Show/hide the stippling
3918 * gdesktop.c (desktop_icon_info_event): Handler for events on
3920 (select_icon): New function that handles icon selection based on
3921 mouse clicks and modifier keys.
3923 * gdesktop.c (struct desktop_icon_info): Added a type field to the
3924 structure. It specifies the type of icon (file, directory), and
3925 is used to determine the DnD and menu behavior.
3927 1998-10-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
3929 * gdesktop.c: We are now using the new desktop icon code. It is
3930 not yet complete, but what is there does work. We have icon
3931 creation, auto-layout and snapping. Next step is drag and drop
3934 * glayout.c: #ifdef out the stuff that uses the old desktop code.
3935 I will replace it gradually.
3936 * gmain.c: Likewise.
3937 * gscreen.c: Likewise.
3939 1998-10-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
3941 * gscreen.c (panel_icon_list_button_release): Remove unused
3944 Provide hand written CList-start drag code
3946 1998-10-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
3948 * gmetadata.c (meta_get_icon_pos): Renamed from
3949 meta_get_desktop_icon_pos().
3950 (meta_set_icon_pos): New public function to save the icon position
3953 * gdesktop-icon.c (canvas_size_allocated): New function. We reset
3954 the canvas scrolling region here, when the canvas gets size
3955 allocated, to ensure that the canvas has always the correct
3956 scrolling region. We do it here instead of in the reshape()
3957 function to avoid flicker.
3959 1998-10-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
3961 * gmetadata.[ch]: New files with functions to handle all metadata
3962 issues -- fetching icons, icon positions, etc.
3964 * Makefile.in: Added gmetadata.[ch] to the list of sources.
3966 1998-10-28 Federico Mena Quintero <federico@nuclecu.unam.mx>
3968 * gdesktop-icon.c (create_window_shape): Use shaped icons only
3969 when the user has selected them.
3970 (desktop_icon_reshape): New public function to recompute the shape
3971 of the icon. This should be used when the global
3972 desktop_use_shaped_icons flag changes.
3973 Added documentation comments to the public functions.
3975 * Makefile.in: Fixed for gdesktop-icon.
3977 * gdesktop-icon.[ch]: Renamed from desktop-icon.[ch], per Miguel's
3980 * desktop-icon.c (reshape): Position the icon text item correctly.
3982 1998-10-27 Federico Mena Quintero <federico@nuclecu.unam.mx>
3984 * desktop-icon.c (desktop_icon_new): Do now reshape more than
3985 needed by splitting the set_icon and set_text functions apart.
3987 1998-10-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
3989 * gdesktop.c (desktop_icon_set_position): Do not lower the
3990 window. The gnome-compliant wm will know what to do with windows
3991 on the Desktop layer.
3992 (post_setup_desktop_icon): Likewise.
3994 * desktop-icon.c (create_window_shape): Fetch the mask of the
3995 image "by hand", as we cannot rely on the canvas item having
3998 * desktop-icon.c (desktop_icon_realize): Doh. We need to
3999 initialize the gnome_win_hints before we set any of the hints.
4001 1998-10-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
4003 * gdesktop.c (create_desktop_icon): Renamed from
4004 my_create_transparent_text_window. Now uses the DesktopIcon
4005 widget for its work.
4006 (get_desktop_icon_for_dentry): Renamed from
4007 get_transparent_window_for_dentry. Uses the DesktopIcon widget.
4008 (get_desktop_icon_for_di): Renamed from
4009 get_transparent_window_for_di.
4010 (desktop_icon_properties): Do not size_request the icon, since now
4011 we can get its dimensions directly from the DesktopIcon structure.
4013 * desktop-icon.[ch]: New file that takes care of desktop icons.
4014 It provides the spiffy widget that is used for them.
4016 * Makefile.in: Added desktop-icon.[ch] to the list of sources.
4017 MC should use Automake, I think.
4019 1998-10-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
4021 * gscreen.c (panel_create_icon_display): Small size adjustment.
4023 * glayout.c (create_container): Small size adjustment.
4025 * gmain.c (xtoolkit_create_dialog): Center windows.
4027 1998-10-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
4029 * gscreen.c (x_select_item): Force a canvas update when an icon
4032 1998-10-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
4034 * gscreen.c (panel_drag_data_get): New routine to provide data
4035 with the new DnD protocol.
4037 * gmain.c (dialog_key_pressed): If an icon has the focus, then do
4038 not process any of our events.
4039 Only stop the signal if we actually handled the event.
4040 (dialog_key_pressed):
4042 1998-10-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
4044 * gscreen.c (panel_icon_renamed): Add support for renaming files.
4046 1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
4048 * gscreen.c: Use the new icon list.
4050 1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
4052 * gscreen.c: Hook to invoke the editor from the context menu.
4054 Fri Sep 18 13:51:16 1998 Pavel Roskin <pavel_roskin@geocities.com>
4056 * Makefile.in: Consequent "make" should not rebuild gmc every time
4058 Mon Aug 31 10:46:32 1998 Owen Taylor <otaylor@redhat.com>
4060 * gscreen.c (display_mini_info): Removed calls to
4061 gtk_clip_label_set() hack, since its cut-n-paste code didn't work
4062 with new GTK's. If excessive resizes are a problem, they can be
4063 solved by adding an adjustment around the label, and calling
4064 gtk_container_set_resize_mode().
4066 1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
4068 * gdesktop.c: Include "mad.h", for xmalloc.
4070 * gscreen.c: Likewise.
4071 (panel_create_file_list): Use `g_free', not `free'.
4073 Wed Aug 19 19:45:16 EDT 1998 The Rasterman <raster@redhat.com>
4075 * gdesktop.c - changed dnd setting routine for desktop icon to set
4076 events on child window...
4077 * gtrans.c - chnaged routines to make window with child rawing area
4078 and set shape on parent window
4080 1998-08-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
4082 * gscreen.c (panel_make_local_copies_and_transfer): Fix.
4084 1998-07-04 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
4086 * gmain.c (session_management_setup): Replaced
4087 'gnome_client_new_default' with 'gnome_master_client'.
4089 1998-06-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
4091 * gwidget.c (x_update_input): The previous hack was not
4092 required, the right fix was to change Gtk.
4094 1998-06-22 Manish Vachharajani <mvachhar@vger.rutgers.edu>
4096 * gwidget.c: Don't call gtk_entry_scroll_adjust, it is a private member
4098 1998-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
4100 * gdesktop.c (drop_cb): Mhm. Negotiation of the drop type was not
4101 quite like I expected. Anyways, fixed a bug: we need to take
4102 text/plain drops on the launch icons on the desktop.
4104 1998-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
4106 * gdesktop.c (desktop_setup_icon): Assign the dentry->geometry
4107 from the drop position. New .desktop files are now placed on the
4108 site they were dropped.
4109 (drop_cb): Use proper prototype.
4111 Sun May 31 13:19:59 1998 Norbert Warmuth <k3190@fh-sw.de>
4113 * Makefile.in: use @LIBVFS@ when referring to libvfs-mc.a (one
4114 reference wasn't converted, yet).
4116 1998-05-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
4118 * gwidget.c (x_create_input): Set the entry's visibility if it is
4121 1998-05-26 Marc Ewing <marc@redhat.com>
4123 * Makefile.in: use @LIBVFS@ when referring to libvfs-mc.a
4125 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
4127 * gmain.c (session_save_state): Perform shutdown if `shutdown'
4130 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
4132 * gwidget.c (entry_release): Enhanced our marked handler for input
4135 * gdesktop.c (desktop_create_directory_entry): Fix, make a
4136 g_strdup copy of the name. Fixes bug report #78.
4137 (desktop_icon_context_popup): Simplified this routine as we are
4138 using file_popup now anyways.
4140 1998-05-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
4142 * glayout.c: Move the New window menu entry from ``Window'' to
4145 * gwidget.c (x_unfocus_widget): Fix wartning.
4147 * glayout.c (set_hintbar): Call flush events after setting the
4150 1998-05-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
4152 * gwidget.c (x_create_input): Disable the use of the GNOME entries
4153 for now, as they are very slow. We need to figure out what is
4156 With this change, dialog boxes close quickly instead of taking
4159 * gscreen.c, gdesktop.c (file_popup_add_context, file_popup):
4160 Share the context menu code in gdesktop.c and gscreen.c. The
4161 desktop pop up menus now include all of the stuff that would have
4162 appeared in the Panel.
4164 * gdesktop.c (desktop_icon_remove): Remove the file associated
4165 with this desktop entry if it is on the ~/desktop directory.
4167 1998-05-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
4169 * gscreen.c (load_dnd_icons): Remove the code and the icons that
4170 we had here privately. Use new gnome-stock functionality
4173 1998-05-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
4175 * gscreen.c (panel_drag_request): All of the drag_request code is
4176 now shared by both the Icon View and the Listing view;
4177 New drag request type: file:ALL. If the user is looking at a
4178 remote site, and the target application does not have VFS support
4179 it should not list url:ALL but file:ALL as the accepted drop
4182 This will make copies of the remote files and pass the files to
4185 1998-05-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
4187 * gtrans.c (set_window_text): Pass new justification parameter to
4188 gnome_icon_paint_text().
4190 * gpageprop.c (item_properties): Restore the arrow cursor for the
4191 desktop icon windows.
4193 * gdesktop.h (desktop_icon_t): Removed unused title field.
4195 * gtrans.c (set_window_text): Made it use the new
4196 GnomeIconTextInfo functions.
4198 1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
4200 * gscreen.c (panel_create_icon_display): Set some good separator
4201 characters for the file icon list.
4203 1998-05-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
4205 * gprop.c (perm_owner_new): Forget about history for now.
4207 * gpageprop.c (item_properties), gprop.c: Add executable editing
4208 (command, and terminal). Save the dentry after modification
4210 1998-05-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
4212 * gprop.c (change_icon): Test for gp, as the combobox emits the
4213 "changed" signal when shutting down. Great.
4215 * gdesktop.c (desktop_reload): Missing mc_closedir
4216 (desktop_setup_icon): Fix memory leak.
4217 (get_desktop_icon): Fix memory leak.
4218 (desktop_create_directory_entry): Set the size of the exec
4220 (desktop_create_launch_entry): Same.
4222 We now create launch entries instead of trying to support
4223 regular dropped stuff on the desktop, this makes things easier and
4226 1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
4228 * gscreen.c (x_select_item): Test for full icon visibility instead
4229 of partial visibility only.
4231 1998-05-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
4233 * gscreen.c (create_popup_submenu): Use continue, not break on
4236 Sat May 16 02:29:51 1998 Tom Tromey <tromey@cygnus.com>
4238 * gdesktop.c (url_dropped): `exec' field of desktop entry now a
4240 (dentry_execute): Likewise.
4241 (desktop_icon_remove): Likewise.
4242 (get_transparent_window_for_dentry): Likewise.
4243 (desktop_create_directory_entry): Likewise; also initialize
4246 1998-05-16 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
4248 * gscreen.c (create_popup_submenu): fixed bug which caused it to require
4249 0 instead of 1 marked files for F_SINGLE file_actions.
4250 * gscreen.c (file_popup): first item in the menu displays "..." when
4251 multiple files are selected.
4253 Thu May 14 23:31:15 1998 Tom Tromey <tromey@cygnus.com>
4255 * gmain.c (session_save_state): Use "+" instead of "%s" in format
4256 specification. Free `argv'.
4258 1998-05-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
4260 * gtrans.c (create_transparent_text_window): Removed the hack to
4261 lower the window on exposes. Guess what happens when you have two
4262 icons on the same spot.
4264 Thu May 14 02:02:56 1998 Norbert Warmuth <k3190@fh-sw.de>
4266 * Makefile.in (EXTRALIBS): add @LINTL@
4268 1998-05-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
4270 * gtrans.c (set_window_text): draw pixmaps without transparency
4273 1998-05-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
4275 * gscreen.c (panel_icon_list_realized): Add drag and drop support
4276 to the icon list view;
4278 1998-05-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
4280 * gscreen.c (panel_fill_panel_icons): New function: Fill up the
4282 (x_create_panel): Change in the approach: we create both of the
4283 widget views at creation time and we now carefully show every
4284 component. I attach everything to the table, but not necesarly
4287 * gblist.c (blist_select_row): New widget derived from GtkClist.
4288 replace select_row and unselect_row with null functions, as the
4289 gmc code takes care of the rest.
4291 1998-05-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
4293 * gdesktop.c (desktop_icon_drag_start): Do not attempt to use
4294 icons if we could not load the images for the icon.
4296 * gwidget.c (x_update_input): Keep the cursor always visible.
4298 * gview.c (view): Use a buttonbar widget.
4300 * gwidget.c (buttonbar_clicked): Provide a trivial implementation
4301 of the buttonbar that only responds to key sequences.
4303 * gmain.c (dialog_panel_callback): Call midnight_callback to get
4304 the main bindings working.
4306 * gdesktop.c (perform_drop_manually): Use p to walk the dropped
4307 data. This is an important bug fix.
4309 * gmain.c (idle_destroy_window), main.c: Session management now
4310 supports not showing a toplevel window (in case all of the windows
4313 1998-04-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
4315 * gtrans.c (make_transparent_window): Put hack back.
4317 * gcache.c (image_cache_load_image): Federico spooted the problem:
4318 I have to duplicate my keys for the hash.
4320 * gmain.c (create_panels): Create one panel per directory
4321 specified. For some strange reason the code hangs if you start up
4322 more than one panel at once. This is not a gmc bug, it appears to
4323 be an Imlib/gtk/gdk interaction. I am for now creating one panel
4324 in the main program execution thread and the rest during the idle
4327 (session_save_state): Added session management support.
4329 1998-04-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
4331 * gprop.c (gprop_general_new): Added an simple icon preview to the
4334 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
4336 * gdesktop.c: Finish desktop_icon_remove implementation.
4338 * glayout.c (update_panels): GNOME specific Implementation of the
4339 update_panels routine.
4341 Tue Apr 28 06:52:24 1998 Norbert Warmuth <k3190@fh-sw.de>
4343 * gcmd.c (gnome_open_terminal): Changed my_system(1,...) to
4344 my_system(EXECUTE_AS_SHELL,...)
4346 1998-04-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
4348 * glayout.c (layout_panel_gone): Removed debugging information.
4349 Renamed "Panel" to "Window" to make it less confusing to users.
4350 Moved the "New window" from the "File" menu to the "Window" menu.
4352 * gmain.c (dialog_panel_callback): Walk the list of panels to
4353 determine to which panel the activated widget belongs.
4355 1998-04-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
4357 * gwidget.c (x_create_radio): Fix the WRadio widgets.
4359 1998-04-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
4361 * glayout.c (create_container): Add wmclass.
4363 1998-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
4365 * gdesktop.c (desktop_reload): Show all of the widgets on a reload
4368 * gscreen.c (x_panel_update_marks): Do only set the marks if the
4369 widget has been created
4371 * glayout.c (assign_other): Keep track of all of the opened
4372 panels. We were never removing them from the containers list.
4373 This fixes a number of problems.
4375 * gwidget.c (x_dialog_stop): Only call gtk_main_quit if this
4376 dialog did not inlcude the DLG_GNOME_APP flag, as those windows
4377 did not launch a gtk_main event loop.
4379 * gcmd.c: Try various terminal programs in the PATH before giving
4382 * glayout.c: Unselect command is unselect_cmd, not select_cmd
4384 * gcmd.c (gnome_quit_cmd): Add quit confirmation.
4386 * gdesktop.c (perform_drop_manually): Check the type for the
4387 source file (directory/file) and perform the proper operation.
4388 Before this we always did a *_file_file operation.
4389 (perform_drop_manually): Use copy_dir_dir correctly
4390 (desktop_setup_default): Use copy_dir_dir correctly
4392 * gwidget.c (x_create_label): Remove debugging labels.
4394 * gscreen.c: Do not show the view/view unfiltered if the
4395 selectioned item is a directory.
4397 * gwidget.c (x_radio_toggle): Never commit non-compilable code.
4399 1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
4401 * gwidget.c (remove_hotkey, x_create_radio): Radio buttons should
4402 not display the special Hotkey specificator.
4404 * gcmd.c (gnome_close_panel): Implement the close-the-panel
4407 * gscreen.c (x_panel_destroy): Implement the gnome mode way of
4408 destroying the panel.
4410 * gview.c (view_status): Add cacheing of the information status,
4411 to avoid excessive flicker. It would be better if GtkLabel did
4413 (scrollbar_moved): Scroll correctly. We now use
4414 view_move_backward and view_move_forward to adjust the scrollbar
4415 contents. This displays the scrollbar correctly.
4417 * gwidget.c (x_listbox_select_nth): This may be invoked before the
4418 widget has been created, work around this problem.
4420 * gscreen.c (show_dir): Set the title bar for the window to the
4421 current directoy. Reported by both Mike and Elliot.
4423 * layout: Updated to the new hotlist dialog box.
4425 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
4427 * gtrans.c (create_transparent_text_window): Destroy the cursor
4430 1998-04-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
4432 * gview.c (x_init_view): Initialize view->sadj.
4434 * gdesktop.c (start_desktop): use destkop_load instead of
4436 (desktop_load): This reloads + shows every widget on the
4439 1998-04-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
4441 * gdesktop.h: Added extern declarations for the
4442 want_transparent_icons and want_transparent_text variables.
4444 * gtrans.c (set_window_text): Now we use the new global variables
4445 want_transparent_icons and want_transparent_text to decide how to
4446 paint the pixmap and mask. The want_transparent_* variables can
4447 thus be configured for the smartness/speed of your X server when
4448 using shaped windows.
4450 Fri Apr 12 02:40:41 1998 Norbert Warmuth <k3190@fh-sw.de>
4452 * gwidget.c (x_create_input): return 1 if the widget has been
4453 initialized manually (there was no return value)
4455 (x_create_buttonbar): to few arguments to sprintf (button number
4456 was missing); return a value.
4458 1998-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
4460 * gscreen.c (x_create_panel): Added back and forward buttons. I
4461 need a "Home" icon too.
4463 * gwidget.c (x_create_input): Make the selection if the input has
4464 not yet been touched.
4466 * gscreen.c (panel_action_open): If opening an item fails, try
4467 panel_action_open_with.
4469 * gview.c: Implement the viewer scrollbar.
4471 1998-04-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
4473 * gscreen.c (panel_drop_data_available): Reload the panel contents
4476 * gmain.c (gnome_dlg_send_destroy): Hide the widgets just before
4477 they are going to get destroyed, to avoid the shutdown
4479 (x_destroy_dlg_start): New routine/hook invoked when the destroy
4481 (x_set_idle): Cancel the idle handlers properly.
4483 * gwidget.c (x_create_check): Finish the checkbox implementation.
4485 * gdesktop.c (get_desktop_icon): Fix this routine: it was
4486 cretating a file name when the filename was not set properly.
4488 1998-04-01 Marc Ewing <marc@redhat.com>
4490 * gscreen.c: Added #include <gdk/gdkprivate.h>
4492 1998-03-31 Miguel de Icaza <miguel@nuclecu.unam.mx>
4494 * gcache.c: Added an Image cache for all of the imlib-loaded
4495 images to avoid destroying/reloading the images.
4497 * gdesktop.c, gtrans.c: Use the image cache.
4499 1998-03-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
4501 * gscreen.c (x_create_panel): Show the GnomeApp when we are done
4502 packing all of our information.
4504 * gmain.c (create_panels): do not show any of the windows yet.
4506 1998-03-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
4508 * gscreen.c (x_fill_panel): Colors are properly displayed now.
4510 Use the clipped labels.
4512 * gcliplabel.c, gcliplabel.h: Derived label that does label
4513 clipping (it does not request the allocation for the whole string,
4514 but settles with whatever is provided in the size_allocation).
4516 1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
4518 * gtrans.c (create_transparent_text_window): Set the window's
4519 cursor to the normal top-left arrow.
4521 Mon Mar 23 01:40:35 1998 Norbert Warmuth <k3190@fh-sw.de>
4523 * gtools.c (translate_gdk_keysym_to_curses): renamed KEY_BACKTAB
4524 to KEY_BTAB (the name ncurses uses)
4526 * Makefile.in: Install the icon-files and the layout-file from $srcdir.
4528 1998-03-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
4530 * gdesktop.c (icon_properties):
4531 * gpageprop.c (item_properties): Modified to accept dentry title
4533 (item_properties): Fixed base and fname confusion in call to
4534 concat_dir_and_file().
4536 * gprop.c (gprop_general_new):
4537 (gprop_general_get_data): Renamed to general from icon. The
4538 general Gprop now lets you enter the title and icon filename for a
4541 1998-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
4543 * gdesktop.c (icon_properties): Whoops, actually save the dentry.
4544 (post_setup_desktop_icon): Moved the icon positioning call outside
4545 of this function so that property-changed icons will not move on
4548 * gdesktop.c (desktop_icon_context_popup): It is not necessary to
4549 set the menu position.
4550 (desktop_icon_context_popup): gtk_signal_connect_object_after to the menu
4551 items with gtk_widget_destroy as a callback so that we can destroy
4552 the menu widget appropriately.
4554 1998-03-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
4556 * gscreen.c (display_mini_info): Implement mini status.
4558 1998-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
4560 * gdesktop.c (get_transparent_window_for_dentry): New function,
4561 creates the proper transparent icon window for a dentry.
4562 (post_setup_desktop_icon): New function, does post-setup stuff for
4563 a desktop icon (setting it as a drop target, positioning it, etc.).
4565 * gpageprop.c (item_properties): Now the dentry parameter is a
4566 desktop_icon_t instead.
4567 We now return a bitmask that indicates what stuff changed. The
4568 caller can use this information to decide what to update, repaint, etc.
4570 * gdesktop.h: Moved the icon_t and desktop_icon_t structures here.
4572 * gpageprop.c (item_properties): Insert icon control if appropriate.
4574 * gprop.c (gprop_icon_new):
4575 (gprop_icon_get_data): Renamed from gprop_dir_*().
4577 * gscreen.c (panel_action_properties): Re-reads panel only if necessary.
4579 *gpageprop.c (item_properties): now returns TRUE if something got
4580 changed, FALSE otherwise. This should be used to decide whether
4581 to re-read the panel or not.
4583 * gpageprop.c: #include "../vfs/vfs.h".
4584 #include "dialog.h".
4586 * gprop.c (gprop_dir_new):
4588 (gprop_general_new): Connect to the destroy signal of the toplevel
4589 widget and destroy the Gprop structure on the callback.
4591 Wed Mar 18 23:09:35 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4593 * gscreen.c (panel_file_list_select_row): Use control/shift click
4594 to add files to the selection.
4596 Wed Mar 18 22:32:53 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4598 * gscreen.c (panel_action_properties): Make Federico's
4599 page-properties code functional.
4601 * gpageprop.c: New file, implements most of the page properties on
4602 top of the gprop.c code.
4604 Wed Mar 18 20:35:45 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4606 * gdesktop.c (desktop_create_launch_entry): Support for the "Drop"
4607 target in mc.ext now.
4609 * Add support for dragging the icons on the desktop.
4611 (desktop_icon_make_draggable): new function.
4612 (drop_from_event): simplify.
4613 (my_create_transparent_text_window): Get the motion notify event.
4614 (drops_from_event): create a vector based on thge drop event.
4615 (drop_cb): splitted, call url_drop for regular drops, otherwise it
4617 (artificial_drag_start): new routine, used now by gscreen.c and
4619 (drop_on_directory): Check result value of operation.
4620 (desktop_icon_set_position): sane interface.
4621 (stop_desktop): Flush all of our state to disk.
4623 1998-03-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
4625 * gscreen.c: Removed tests for the gprop stuff.
4626 (file_popup): It is not necessary to show the popup menu.
4628 * gprop.c (perm_group_new):
4629 (perm_owner_new): Fill the combo lists with users and groups,
4632 * gprop.h: New files gprop.[ch]. These create the property pages
4633 for desktop entries.
4635 * Makefile.in: Added gprop.[ch] to the rules.
4637 * glayout.c: Put gnome_about_cmd as a callback for the About menu item.
4639 Tue Mar 17 22:40:36 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4641 * gdesktop.c (desktop_setup_icon): Lots of changes to accomodate
4642 dropping icons on the root window.
4644 (do_symlinks): Implement symlink action.
4646 (icon_delete, desktop_icon_context_popup): Implement icon context
4647 menus. only deleting an icon is working right now.
4649 * gscreen.c: Load the drag and drop icons from the installation
4652 * Makefile.in (install_gmc): Install our icons.
4654 Tue Mar 17 02:38:37 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4656 * gdesktop.c (desktop_setup_default): Create a default desktop
4657 entry on the root window for the Home directory if not mc.desktop
4660 Get drops on the root window to work. Joy and hapiness!
4662 Tue Mar 17 00:43:50 1998 Tom Tromey <tromey@cygnus.com>
4664 * glayout.c (gnome_panel_about_menu): "About" item now a stock
4667 1998-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
4669 * gscreen.c (filter_item_activate): Make it convert the glob
4670 pattern to a regexp if appropriate.
4672 Sat Mar 14 17:13:26 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4674 * gmain.c (gnome_dlg_send_destroy): New signal handler for
4675 "delete_event". I return TRUE (ie, do not kill this window), and
4676 manually queue que destruction of this window.
4678 * gtools.c (query_dialog): Do not allow resizing; do not destroy
4679 the dialog ourselves, this is properly handled by dlg.c now
4680 (pack_button): Do not use the defaults: we do not want growing
4683 Fri Mar 13 16:01:28 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4685 * gwidget.c (buttonbar_clicked, x_create_buttonbar): Button bar
4688 * gtools.c: Implement the non-modal version of the message
4691 * gview.c: Create a GnomeApp widget to contain the viewer.
4693 * gmain.c (xtoolkit_create_dialog): Add a new mode where the
4694 container window is a GNOME_APP window.
4696 1998-03-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
4698 * gscreen.c (x_select_item): Make it use GTK_VISIBILITY_FULL
4699 instead of a plain boolean value.
4700 * gwidget.c (x_listbox_select_nth): Likewise.
4702 * gscreen.c (filter_items): New global variable full of filters.
4703 Please, someone fill in the regexp parts, as I was too lazy to do
4705 (panel_create_filter): Now the filter has a very nice button that
4706 pops up a menu for selecting the filter.
4708 Thu Mar 12 22:11:23 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4710 * gwidget.c (x_update_input): Use GnomeEntry widgets instead of
4713 * gwidget.c (listbox_select): Fix for the listbox selection with
4715 (x_create_button): Use stock pixmaps.
4717 * gcmd.c: Moved all of the _cmd routines from glayout to this
4719 (save_panel_types): Provide GNOME implementation.
4721 * glayout.c: New and improved menu layout. Use stock pixmaps.
4723 1998-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
4725 * gmc-chargrid.c (gmc_char_grid_draw): Someone teach me how to
4726 subtract. Fixed a stupid offsetting bug.
4727 (update_region): Added clipping of region bounds.
4729 * gmc-chargrid.c: Changed the struct attr with pointers mess with
4731 Added an in_resize flag to avoid calling our internal signal
4732 handlers recursively.
4733 (gmc_char_grid_draw): Added proper draw handler for our case; the
4734 widget's window does not fill its allocation.
4735 (paint): New wrapper for update_region(); it converts window
4736 coordinates to row/column character coordinates.
4737 (gmc_char_grid_expose): Use paint().
4739 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
4741 * gmc-chargrid.c (update_strip): Doh. Fixed painting of
4742 background rectangles.
4743 (gmc_char_grid_expose): Fixed off-by-one errors in area
4744 calculation. Ripped off the code from gtkterm to do this :-)
4745 (free_attrs): New internal convenience function.
4747 Thu Mar 12 00:08:06 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4749 * gview.c (view_percent): Added status display.
4751 Wed Mar 11 22:35:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4753 * gwidget.c (entry_release): Now the WEntrys track the current
4755 (x_update_input): Repaint the widget after changing the position.
4757 * gscreen.c (x_fill_panel): Remember the selected item on the
4758 panel before filling it up, as gtk_clist emits a select_item
4759 signal when filling it up, which changes the current selection
4760 (and thus some routines that invoke the reload panel option
4763 (create_popup_submenu): Implement context sensitive menus (regular
4764 files, and symlinks).
4766 (panel_realized): Use a different icon when we are dragging a
4769 (panel_artificial_drag_start): Add Elliot's Artificial drag start
4772 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
4774 * gmc-chargrid.c (gmc_char_grid_get_size): New public function.
4775 (gmc_char_grid_put_text): New public function. It is the same as
4776 gmc_char_grid_put_str, but can take any arbitrary string plus its
4778 (gmc_char_grid_put_char, gmc_char_grid_put_str,
4779 gmc_char_grid_put_text): These functions now take a background
4780 pixel parameter --- the GmcCharGrid widget now supports fg/bg attributes.
4782 * gmc-chargrid.h: Changed colors field to attrs.
4784 * gmc-chargrid.c: New Character Grid widget for the file viewer.
4785 This is a very lean and fast widget for displaying a grid of
4786 monospaced characters. Just like a crippled-down terminal.
4788 Tue Mar 10 23:46:29 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4790 * gscreen.c (x_adjust_top_file): We no longer adjust the top
4793 (panel_build_selected_file_list): Fix for the transfered data.
4795 (panel_drop_data_available): Now drop support uses the new
4796 coords.x and coords.y fields from the DropDataAvailableEvent to
4797 find out which directory receives the drop.
4799 * glayout.c: added: configure_box, configure_vfs
4800 (get_other_type): Return the correct value.
4802 1998-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
4804 * gscreen.c (panel_file_list_size_allocate_hook): Now we
4805 connect_after to the size_allocate signal and block the handler.
4806 Things are still not perfect, though.
4808 * gtools.c (message): Added return NULL. This needs to be fixed.
4809 (translate_gdk_keysym_to_curses): FIXME: Replace KEY_BACKTAB by '\t'
4810 while KEY_BACKTAB is added somewhere else.
4811 (translate_gdk_keysym_to_curses): return -1 as last resort.
4813 * glayout.c (get_current_index): Add g_assert_not_reached() for
4816 * gmenu.c (menubar_new): Cast g_menubar to unsigned long.
4818 * gwidget.c (x_create_input): Cast entry to GTK_OBJECT.
4820 * gkey.c (find_select_closure_callback): Fix = -> == typo.
4822 Tue Mar 10 00:10:32 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4824 * gscreen.c (panel_drop_data_available): Now drop support uses the
4825 new coords.x and coords.y fields from the DropDataAvailableEvent
4826 to find out which directory receives the drop.
4828 * gwidget.c (x_radio_focus_item): Add support for focusing radio
4831 Mon Mar 9 15:12:00 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4833 * gtools.c (translate_gdk_keysym_to_curses), dlg.c
4834 (dlg_key_event): Support for backtab.
4836 * gwidget.c: highlight properly the focused radio entry.
4838 * gmain.c (x_init_dlg): After setting up the X widget, set the
4839 Gtk focus to h->current;
4841 1998-03-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
4843 * gscreen.c (x_panel_select_item): Set the colors of the row.
4845 * gmain.c (xtoolkit_init): Changed gnome_init() to new version.
4846 (xtoolkit_init): Call gnome_init() properly. Also, return 0.
4848 Sat Mar 7 15:24:49 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4850 * gwidget.c (entry_click): Focus the entry on clicks.
4852 Fri Mar 6 20:50:19 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4854 * gmain.c (create_panels): New per-port variable, used to flush
4855 all of the pending X events.
4857 (x_set_idle): Implement idle functions, now the find command works
4860 * gwidget.c (x_create_radio): Connect to the "toggled" signal to
4861 keep track of the radio button.
4863 (listbox_select): callback for the select and double click
4865 (x_update_input): This can be invoked before the
4866 widget X resources have been allocated. Take care of this.
4868 (x_create_input): update the cursor position as well.
4870 (x_list_insert, x_create_listbox, x_list_delete_nth,
4871 x_listbox_select_nth): implement the Listbox widget.
4873 * gconf.h: New configuration options:
4874 PORT_HAS_PANEL_ADJUST_TOP_FILE and
4875 PORT_HAS_PANEL_RESET_SORT_LABELS
4877 1998-03-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
4879 * gmain.c (get_color): Make it use GdkColorContext correctly.
4881 * gscreen.c (panel_create_filter): The filter control is now a
4882 nice GnomeEntry. It does not work due to gmc trapping key events;
4883 I'll look into it tomorrow.
4884 (internal_select_item): Fixed broken behavior. Now uses GtkCList properly.
4885 default_filters: new structure with pre-defined glob patterns.
4886 This is actually broken, because it will only work when
4887 easy_patterns is enabled. I have to figure a way to make it work
4888 with regexp mode as well.
4890 Thu Mar 5 23:54:58 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4892 * gdesktop.c (drop_on_panel): New function; Used by the directory
4893 icons and by regular panels to support drag targets;
4895 * gscreen.c (panel_drop_data_available): Performs the drop action
4896 on a panel. It needs fixing, as the DropDataAvailabelEvent does
4897 not provide any information as to where the drop actually
4900 (fixed_gtk_widget_dnd_drag_set, fixed_gtk_widget_dnd_drop_set):
4901 Only set the main window of the clist to be the source/target of
4902 the drag and drop code. The little square at the end did not make
4903 much sense as a drop/drag spot.
4905 1998-03-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
4907 * gmain.h: Added prototype for x_filter_changed().
4908 Added #include "panel.h".
4910 * gconf.h (PORT_HAS_FILTER_CHANGED): New flag for conditional compilation.
4912 Wed Mar 4 22:43:00 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4914 * gtools.c (query_dialog): Rewritten to use the MC dialog/widget code.
4916 * gutil.c (my_system), acconfig.h: By default gnome will not have
4917 a subshell (at least for now) and will now exec everything
4918 asyncronously by default.
4920 * gscreen.c: Exactly what was I thinking when I used the
4921 g_panel_contents structure will remain a mistery for future
4922 programming psycologists. It was a huge mistake.
4924 * gdesktop.c: Use the new icon/text display routine from
4927 Tue Mar 3 21:03:52 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4929 * gmain.c (x_destroy_dlg): Call gtk_grab_remove when destroying
4932 * gmain.c (x_focus_widget): Handle special case of toplevels.
4934 1998-03-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
4936 * gscreen.c: Some hackish changes to work around idempotence bugs
4937 in gtk_clist_select_row().