1 1999-10-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
3 * gdesktop-init.c (desktop_init_at): Put an equal sign between the
6 1999-10-20 Federico Mena Quintero <federico@redhat.com>
8 * gdesktop.c (text_changed): Do not try to rename the file if the
9 name did not change. BUGFIX: GNOME bug tracker #2851.
11 1999-10-06 Jonathan Blandford <jrb@redhat.com>
13 * gpopup2.c (create_actions): Now the Mount/Unmount/Eject device
14 code will be lumped together with the other MIME_ACTIONS, even
15 thought they're not controlled there.
17 1999-10-06 Norbert Warmuth <nwarmuth@privat.circular.de>
19 * gmain.c, gmain.h: removed disable_root_warning. This variable
20 wasn't defined anywhere.
22 1999-09-30 Vincent Renardias <vincent@ldsol.com>
24 * gmain.c, gmain.h: add a '--disablerootwarning' flag which
25 disable the iritating "You're running gmc as root." dialog box.
26 (idealy, that box should also contain a "don't show this
27 message again" checkbox; any objection?).
29 1999-09-29 Federico Mena Quintero <federico@redhat.com>
31 * gcorba.c (corba_activate_server): New function. Activate the
32 POA manager here, when we are actually ready to process requests,
33 instead of at the beginning of initialization.
35 * gmain.c (create_panels): Call corba_activate_server().
37 1999-09-22 Federico Mena Quintero <federico@redhat.com>
39 * gscreen.c (panel_chdir): Clear the lists if the chdir operation
42 * gtkflist.c (gtk_flist_button_press): Only emit the open_row
43 signal if we are not on the empty area.
45 * gnome-open-dialog.c (gnome_open_dialog_new): Expand the tree
46 when we are done generating it.
48 1999-09-21 Federico Mena Quintero <federico@redhat.com>
50 * gdesktop.c (desktop_reload_icons): Do not call x_flush_events()
53 * gsession.c (create_panel_from_info): The widgets are not created
54 yet, so just set the panel->list_type field.
56 * gscreen.c (x_create_panel): Do not change the dialog head's
59 * gmain.c (x_init_dlg): Only call x_focus_widget() if there is a
61 (non_corba_create_panels): Removed the nasty hack that created a
62 dummy panel and destroyed it in the idle loop. Wheeeeeee!
64 1999-09-20 Federico Mena Quintero <federico@redhat.com>
66 * gsession.c (save_panel_info): Save the panel's list type.
67 (idle_create_panels): Set the panel's list type.
69 * gdesktop.c (handle_recreate_default_icons): New option to
70 re-create the default set of icons.
72 * gdesktop-init.c (gdesktop_links_init): Create the link to the
73 user's home directory here.
75 * gcorba.c (WindowFactory_get_windows_by_directory): Fill in the
78 * gsession.c (load_panel_info): Doh. Fix test for presence of the
80 (load_session_info): If we could not load the panel info, do not
81 insert bogus data in the list.
83 The following is a patch from Volker Braun
84 <volker.braun@physik.hu-berlin.de> to fix column resizing in the
87 * gcustom-layout.c (custom_layout_apply): Set the
88 default_user_format to the new format.
90 * gscreen.c (panel_fill_panel_list): Set the column widths
91 according to the previously stored values.
92 Nuked the old and hideous panel_file_list_configure_contents().
93 (panel_file_list_configure): Connect to resize_column in the clist.
94 (panel_create_file_list): Do not connect to size_allocate.
95 (x_create_panel): Set the column width array for this panel. Set
96 the user format from the default one if it exists.
98 * gsession.c (PanelInfo): Added information about column widths
100 (save_panel_info): Save the complete information.
101 (load_panel_info): Load the complete information.
102 (free_panel_info): Free the user format.
103 (idle_create_panels): Set the user format and column widths.
105 1999-09-20 Federico Mena Quintero <federico@redhat.com>
107 * gdesktop.c (desktop_rescan_devices): Call gmount_setup_devices().
109 * gdesktop-init.c (gdesktop_links_init): Renamed from
110 gdesktop_init(). Only set up customizable links here.
112 * gdesktop.c (create_desktop_dir): Do the default setup of desktop
115 * gmount.c (option_has_owner): New function to see if a mount
116 entry has the "owner" flag and its uid matches our euid.
117 (is_block_device_mountable): Use option_has_owner().
118 (get_mountable_devices): Likewise.
120 1999-09-17 Federico Mena Quintero <federico@redhat.com>
122 * gmain.c (x_init_dlg): Display a warning if the GtkTed code path
124 (xtoolkit_create_dialog): Likewise.
125 (x_add_widget): Likewise.
127 1999-09-16 Owen Taylor <otaylor@redhat.com>
129 * gmount.c: Remove the HAVE_MAGICDEV conditional.
131 * Makefile.in magicdev.idl: Add the magicdev.idl file
132 here to avoid creating dependency loops.
134 1999-09-14 Norbert Warmuth <nwarmuth@privat.circular.de>
136 * layout: Added the new samba password dialog.
138 1999-09-13 Owen Taylor <otaylor@redhat.com>
140 * Makefile.in (MAGICDEV_OBJS): Built common/stubs
141 for magicdev if we found it.
143 * gmount.c (automounter_is_running): If we detected
144 magicdev support at compile time, use a CORBA query
145 to detect if it is running.
147 * gcorba.c (WindowFactory_get_windows_by_directory): Set the
148 length of the sequence we are returning.
150 * gmount.c (setup_devices): is_block_device_mounted expects
151 mount point, not device.
153 1999-09-13 Miguel de Icaza <miguel@gnu.org>
155 * glayout.c: Add C-w for sopwith.
157 1999-09-13 Federico Mena Quintero <federico@redhat.com>
159 * gtkdtree.c (scan_subtree): Do not set the current path here,
160 just load the subtree.
161 (gtk_dtree_get_row_path): Removed the column argument, since it
163 (scan_subtree): Added a path argument that can be calculated
165 (gtk_dtree_expand): Compute the path for scan_subtree().
166 (gtk_dtree_select_row): Compute the path for scan_subtree(), and
167 set the tree's current path here. This is the right thing;
168 setting the current path is completely orthogonal from scanning a
171 * gtkdtree.c (gtk_dtree_class_init): Sigh. Create a new signal,
172 called "possibly_ungrab", used to request the client to ungrab the
173 mouse at the proper time. This is required because the stupid
174 clist button press handler grabs the mouse, and we don't want that.
175 (gtk_dtree_select_row): Emit the possibly_ungrab signal here.
177 * gscreen.c (panel_tree_drag_motion): Set the
178 panel->drag_tree_dragging_over flag.
179 (panel_tree_drag_leave): Unset said flag.
180 (panel_tree_possibly_ungrab): Ungrab the mouse here.
182 1999-09-11 Owen Taylor <otaylor@redhat.com>
184 * gcorba.c (Window_close): Fixed typo in cast.
186 1999-09-10 Federico Mena Quintero <federico@redhat.com>
188 * gmount.c (setup_devices): See if our supported automounter,
189 magicdev, is running and only create links for mounted CD-ROMs if
191 (automounter_is_running): For now just return TRUE; we have to
192 wait for magicdev to export a CORBA server.
194 * gcorba.c (corba_init_server): Initialize the POA here instead of
195 in register_servers().
197 1999-09-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
199 * gnome-file-property-dialog.c (apply_uid_group_change): Fix more
202 1999-09-09 Federico Mena Quintero <federico@redhat.com>
204 * gcorba.c (WindowFactory_close_invalid_windows): Doh. Walk the
205 list properly, since it may change as we delete windows.
207 1999-09-09 Federico Mena Quintero <federico@redhat.com>
209 * gmc-client.c: New file. This is a small program to which you
210 can pass arguments to call the GMC CORBA interface for you. You
211 can do stuff like create a directory window, rescan the desktop,
214 * gcorba.c (register_servers): Create the window factory and
217 1999-09-08 Federico Mena Quintero <federico@redhat.com>
219 * gcorba.c: Major re-arrangement and beautifying. Use nicer and
220 shorter identifier names.
221 (WindowFactory_rescan_directory): New method to rescan all the
222 panels that pertain to the specified directory.
223 (WindowFactory_close_invalid_windows): New method to close all the
224 panels that have unreachable directories.
225 (WindowFactory_get_windows_by_directory): New method to get a
226 sequence of all the panels that are showing the specified directory.
227 (Desktop_rescan): New method to rescan the desktop.
228 (Desktop_rescan_devices): New method to rescan the mountable devices.
230 * gmc.gnorba: Fixed the GOAD IDs to be something non-ad-hoc.
231 Added the Desktop interface.
233 1999-09-06 Federico Mena Quintero <federico@redhat.com>
235 * gtkdtree.c (gtk_dtree_size_allocate): Do the "visibility" test
238 1999-09-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
240 * gtkdtree.c (gtk_dtree_size_allocate): Small change to improve
241 the non-tree loading feature of gmc.
243 1999-09-05 <jrb@redhat.com>
245 * mc.keys.in.in: changed image/x-xcf to be image/x-gimp. Also,
246 associated gimp with the various actions. This prolly should be
247 done distributed with gimp, but it's more useful here.
249 1999-09-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
251 * gscreen.c: Added it here too.
253 * glayout.c: Add File-new option here
255 * gcmd.c (gnome_newfile_cmd): Added new routine. Invoke when you
256 want to create a new file.
258 1999-09-01 Federico Mena Quintero <federico@redhat.com>
260 * gscreen.c (panel_icon_renamed): Do nothing if the name did not
263 1999-08-30 Federico Mena Quintero <federico@redhat.com>
265 * gdnd.c (file_has_drop_action): New function to test whether a
266 file has the drop-action metadata or MIME action property.
267 (gdnd_validate_action): Take the drop-action metadata/MIME
268 property into account.
269 (gdnd_can_drop_on_file): New function to see whether a
270 non-directory file can take drops.
272 * gscreen.c (drop_on_panel): New helper function to drop stuff on
273 a panel. This uses gdnd_can_drop_on_file so that we have the
274 correct behavior. This enables dropping on executables and files
275 with the drop-action metadata/MIME property again.
276 (panel_icon_list_drag_data_received): Use drop_on_panel().
277 (panel_clist_drag_data_received): Use drop_on_panel(). Normalize
278 the Y coordinate to the clist_window.
280 1999-08-26 Federico Mena Quintero <federico@redhat.com>
282 * gscreen.c (panel_clist_drag_motion): Pass the full name to
283 gdnd_validate_action().
284 (panel_icon_list_drag_motion): Likewise.
285 (panel_tree_drag_motion): Likewise.
287 * gdnd.c (gdnd_perform_drop): Renamed the "directory" argument to
288 "dest_full_name" for clarity.
289 (gdnd_validate_action): Likewise. Pass in the full name to
291 (drop_on_file): Do not compute the full name, since we are already
292 get it from the caller.
293 (drop_on_file): Pass in the full name to if_link_is_exe().
295 * gscreen.c (panel_tree_drag_data_received): Free the pathname.
297 * gdesktop.c (icon_drag_data_received): Pass the full name of the
298 file to gdnd_perform_drop(), not just the desktop directory.
300 1999-08-23 Federico Mena Quintero <federico@redhat.com>
302 * gdesktop-prefs.[ch]: New files that handle the desktop
303 preferences page. Now we have a nice way to configure the
304 position of desktop icons.
306 * gprefs.c (create_prop_box): Use desktop_prefs_new() to create
307 the desktop preferences page.
308 (apply_page_changes): Do not update the desktop here.
309 (apply_callback): Take the desktop page into account.
311 * gdesktop.c (desktop_use_shaped_text): Renamed from
312 desktop_use_transparent_text.
314 * Makefile.in: Added gdesktop-prefs.[ch] to the list of sources.
316 1999-08-19 Richard Hestilow <hestgray@ionet.net>
318 * gicon.h: define ICON_IMAGE_WIDTH and ICON_IMAGE_HEIGHT
319 for default icon size. Currently set at 48 by 48.
321 * gicon.c (gicon_get_icon_for_file): Scale down images that are too
322 large. Scales down to a size <= DESKTOP_ICON_WIDTH by
323 DESKTOP_ICON_HEIGHT. Correctly composites arrows on user-selected
324 icons. Shows gnome-warning for unreachable symlinks with no user
327 * gdesktop-icon.c (desktop_icon_reshape): dicon->height is now a
328 MAX of total height (icon height + spacing + text height) and
329 DESKTOP_SNAP_X, so that all icons are of a uniform height and small
330 icons center nicely. Rest of function modified to take this into
331 account. create_window_shape is now called last of all,
332 so dicon's various x/y/width/height fields are up to date.
333 (create_window_shape): Determine drawing coordinates based on
334 dicon->icon & dicon->text coordinates, instead of calculating them
335 by hand (Needed for size changes).
336 (set_text): Modified to take the size changes into acount.
338 PATCH FROM volker.braun@physik.hu-berlin.de:
340 * gprefs.c, setup.c, gdesktop.[ch]: Added option
341 desktop_use_transparent_text (Default is FALSE)
343 * gdesktop-icon.c (create_window_shape:
344 * gdesktop.c (click_button_proxy_press): Modified to take into
345 account transparent text.
347 1999-08-16 Federico Mena Quintero <federico@redhat.com>
349 * gmain.c (default_edition_colors): "brightred" is not a standard
350 X color; use "red" instead.
351 (get_color): Take into account the result of gdk_color_parse().
353 1999-08-13 Federico Mena Quintero <federico@redhat.com>
355 * gscreen.c (rename_file_with_context): Moved the try_rename()
356 function from gdesktop.c over to here, and renamed it for general
358 (panel_icon_renamed): Use rename_file_with_context(). BUGFIX:
359 GNOME bug tracker #1582.
361 * gscreen.c (panel_fill_panel_list): Select or unselect the rows
362 as appropriate, not just select them. This is needed because the
363 clist changes the selection under us when appending rows.
364 Finally, do not call select_item() at the end; just reset the
365 panel->selected value.
366 (panel_fill_panel_icons): Likewise.
367 (tree_drag_open_directory): Disabled the auto-collapse
368 functionality yet again, since it has numerous problems. BUGFIX:
369 GNOME bug tracker #1656.
371 * gcmd.c (gnome_reverse_selection_cmd_panel): Re-enabled this
372 function. The reverse selection bug was somewhere else after all.
374 * glayout.c (gnome_panel_edit_menu): Re-inserted the item for
375 reverse selection. It was pointing to the wrong callback, that is
378 1999-08-12 Federico Mena Quintero <federico@redhat.com>
380 * gtkdtree.c (scan_subtree): Scan the subtree unconditionally, as
381 it is completely orthogonal from the selection status.
382 (gtk_dtree_select_row): Maintain the dtree->last_node field here.
383 This fixes the expand/select the same row sequence. BUGFIX: GNOME
386 1999-08-12 Jonathan Blandford <jrb@redhat.com>
388 * gpopup2.c (handle_unmount): We refresh when we unmount/mount a cdrom.
390 * gscreen.c (queue_reread_cmd): We refresh when we make a change.
392 1999-08-12 Federico Mena Quintero <federico@redhat.com>
394 The two following entries are BUGFIX: GNOME bug tracker #1789.
396 * gscreen.c (panel_fill_panel_list): Do not allow selection of "..".
397 (panel_icon_list_select_icon): Likewise.
399 * glayout.c (gnome_panel_edit_menu): Removed the Invert Selection
400 command. It is completely broken for the expected GNOME
403 * gnome-file-property-dialog.c (perm_group_new): If the file
404 belongs to an unknown user/group, use the group's number as a
405 string for the entry box. BUGFIX: GNOME bug tracker #1414.
406 (perm_owner_new): Do the same thing for the user.
408 * gdialogs.c (file_mask_dialog): Destroy the dialog if it was
409 closed by the window manager, as well.
410 (file_op_context_create_ui): Make the operation window modal so
411 that the user cannot fiddle with other windows while files are
412 being operated on. BUGFIX: GNOME bug tracker #1035.
414 1999-08-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
416 * gdialogs.c (file_mask_dialog): Sigh, disabled background
417 operations, since they are completely hosed. Re-aligned the
418 widgets in the dialog. BUGFIX: GNOME bug tracker #1412, #1416.
420 1999-08-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
422 * gscreen.c (editing_icon_list): New function to figure out
423 whether an icon in the icon list is being edited. This is a
424 FANTASTICALLY UGLY HACK, but we cannot add new functions to the
425 icon list at this point as it would break forwards compatibility.
426 Sigh. BUGFIX: GNOME bug tracker #382, #1065.
428 * glayout.c (gnome_panel_desktop_menu): Added some underline
431 * gdesktop.c (desktop_arrange_icons_items): Renamed to the desktop
432 namespace. Added underline accelerators.
433 (handle_arrange_icons_name): Made static.
434 (handle_arrange_icons_type): Likewise.
435 (handle_arrange_icons_size): Likewise.
436 (handle_arrange_icons_access): Likewise.
437 (handle_arrange_icons_mod): Likewise.
438 (handle_arrange_icons_change): Likewise.
439 (desktop_arrange_icons): Made static.
440 (strip_tearoff_menu_item): Made it return the number of items in
441 the menu, not the list of children.
442 (desktop_icon_info_destroy): Remove the icon from the icon hash
444 (text_changed): Update the icon hash table information.
446 * gdesktop.h: Cleaned up some unused prototypes.
448 * gview.c (view_status): Use the correct g_snprintf() format
451 * gcmd.c (sort_get_func_from_type): Indented according to the MC
452 conventions. People, *PLEASE* follow the Gnome Programming
453 Guidelines, especially when modifying existing code.
455 * gdesktop.c (swap): Likewise.
456 (auto_pos): Likewise.
457 (get_icon_auto_pos): Likewise.
459 1999-08-08 Richard Hestilow <hestgray@ionet.net>
464 * gdesktop.[ch] (mostly auto_pos and desktop_arrange_icons):
465 Reworking of the desktop's Arrange Icon code -- in addition to
466 being able to sort by various criteria now (name, file size, etc),
467 there are now 3 options (Right to Left, Bottom to Top, Rows instead
468 of Columns) controlling layout positioning. (Located in the "Desktop"
471 1999-08-08 David Martin <dmartina@usa.net>
473 * gaction.c (mainly gmc_unable_to_execute_dlg): Moved g_strconcat
474 to g_strdup_printf, to get compact strings and make coherent
475 translations. Translate atomic actions (open, edit, view) when
476 calling this function.
478 1999-08-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
480 * gdesktop.c (try_rename): New function to rename a desktop icon's
481 file by using a file operation context.
482 (text_changed): Use try_rename() instead of fiddling with the VFS
483 directly. BUGFIX: GNOME bug tracker #707. Also, destroy the old
484 icon before updating the desktop.
486 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de>
488 * gconf.h (PORT_STATIC_IN_STRING_FILE_XTIME): new port specific
489 feature. The Gnome edition first calls all string_file functions
490 and then uses the return values of these functions. This needs
491 some static buffers in string_file_[acm]time. Therefore additional
492 static buffers in string_file_[acm]time are needed.
494 1999-08-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
496 * gnome-file-property-dialog.c (perm_group_new): Set the correct
497 group name in the group entry box. BUGFIX: Red Hat bugzilla #3244.
499 * gmount.c (get_mountable_devices): Return the list in getmntent()
500 order. BUGFIX: Red Hat bugzilla #3621.
502 * gprefs.c (help_callback): New help callback for the preferences
503 dialog. It loads the "gmcprefs.html" section from the GMC user's
504 guide. We need a better framework for this; we need to be able to
505 map DocBook identifiers (<foo id="bar">) to HTML files or
506 whatever. BUGFIX: Red Hat bugzilla #3194.
508 1999-08-01 David Martin <dmartina@usa.net>
510 * gcmd.c (gnome_about_cmd): Change strings in gmc "about" to
511 static as they only translated once.
513 1999-08-01 <jrb@redhat.com>
515 * glayout.c: moved Preferences to a settings menu.
517 1999-07-17 Karsten Weiss <karsten@addx.au.s.shuttle.de>
519 * mc.keys.in.in: changed "x11amp" references to "xmms" (xmms is
520 the new name of x11amp).
522 1999-07-13 Miguel de Icaza <miguel@gnu.org>
524 * gnome-file-property-dialog.c (perm_group_new): the return values
525 from the group functions in libc return pointers to static buffers
526 in the library. Duplicate all return values and free them at the
529 1999-07-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
531 * gdesktop.c (icon_drag_data_received): Use desktop directory here
532 not the fullname when invoking gdnd_perform_drop as this is what
535 * gnome-file-property-dialog.c (perm_group_new): Patch from
536 Germano Leichsenring <germano@jedi.cs.kobe-u.ac.jp> that fixes the
537 display of groups for non-root users.
539 1999-07-07 <jrb@redhat.com>
541 * mc.keys.in.in: updated a few values.
543 1999-07-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
545 * gcorba.c (corba_create_window): Ensure that the directory we
546 pass to the CORBA server is not NULL.
548 * gscreen.c: Removed a bunch of unused functions for filters.
550 1999-06-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
552 * gscreen.c (x_select_item): Removed icon list hacks.
554 1999-06-24 Norbert Warmuth <nwarmuth@privat.circular.de>
556 * gmc-chargrid.c (update_strip): Paint every character with the
557 assigned fore and background color instead of using the colors of
558 the first character for the whole line.
560 1999-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
562 * gsession.c (create_default_panel): Use directory specified in
565 * gcorba.c (corba_create_window): Pass the directory we receive or
566 cwd if this value is NULL.
568 * gmain.c (non_corba_create_panels): Use parameter for startup
569 directory (use the this_dir external directory for this).
570 (create_panels): Pass this_dsir to non_corba_create_panels and
573 1999-06-22 David Martin <dmartina@usa.net>
575 * gnome-file-property-dialog.c (switch_metadata_box): Tag some
576 strings for localization.
578 * gnome-open-dialog.c (gnome_open_dialog_new): Don't assemble
579 label_string from seperate strings (makes it easier to translate).
581 1999-06-22 Norbert Warmuth <nwarmuth@privat.circular.de>
583 * gview.c (viewer_size_changed): Update internal viewer state used
586 1999-06-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
588 * gdesktop.c (set_icon_wmclass): New function to set the wmclass
589 and wmname for desktop icons. This lets them be managed correctly
590 by WMs who try to manage X11R5 clients decently.
591 (text_changed): Call set_icon_wmclass().
592 (desktop_icon_info_new): Call set_icon_wmclass().
594 * gdesktop-icon.c (desktop_icon_realize): Do not clear the
595 WM_CLIENT_LEADER property.
597 1999-06-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
599 * gdesktop.c (icon_is_in_area): Fixed off-by-one error in
600 intersection computation.
602 * gdesktop-icon.c (desktop_icon_reshape): Set the correct values
603 for dicon->text_x and dicon->text_y.
605 1999-06-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
607 * gwidget.c (x_update_input): Unblock the changed signal *after*
608 we call gtk_editable_changed().
610 1999-06-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
612 * gdesktop-icon.[ch]: Removed the background hack for desktop
613 icons. Now the GnomeIconTextItem does the right thing.
615 * gdesktop-icon.c (desktop_icon_reshape): Use the correct size for
618 1999-06-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
620 * gdesktop.c (new_terminal): New function to open a terminal from
621 the popup menu. If the user opens a terminal from the desktop,
622 then its cwd should be the user's home directory, not the desktop
623 directory. Fixes bug #2868 in the Red Hat bugzilla.
625 1999-06-04 Robert Brady <rwb197@ecs.soton.ac.uk>
627 * gscreen.c (panel_list_configure_contents): Prevent
628 divide by zero error. (Fixes bug #1360)
630 1999-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
632 * gmain.c (xtoolkit_init): Ignore SIGTTIN and SIGTTOU.
634 1999-06-01 Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>
636 * gnome/gdesktop-icon.h:
637 * gnome/gmc-chargrid.c: Replace gdk_font_load() with
638 gdk_fontset_load(), and change the default font names.
640 1999-05-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
642 * gscreen.c: Include util.h after x.h; Undefine __G_LIB_H__.
644 1999-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
646 * gdesktop-icon.c (desktop_icon_select): Show the
648 (desktop_icon_init): Initialize backgorund as a rectangle that
649 fills all of the space used by the icon.
651 1999-05-31 Kjartan Maraas <kmaraas@online.no>
653 * glayout.c (gnome_panel_about_menu): Hooked up the new help
656 1999-05-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
658 * gprefs.c (create_prop_int): Translate this label too.
660 * gnome-open-dialog.c: Add config.h here. Otherwise there is no
661 way to translate this dialog. Thanks to David Martina for
664 1999-05-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
666 * gscreen.c (panel_tree_button_press): Beginning of context menu
669 * gtkdtree.c (gtk_dtree_load_path): Comment out the phantom code.
670 Need to review this code. Lets fix the problem Federico needs
673 1999-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
675 * gpopup.c (panel_action_properties): Hanlde properly
676 gnome_dialog_run here.
678 * gpopup2.c (handle_properties): ditto
680 * gmain.c (gnome_check_super_user): Use dialog_run_and_close here.
682 * gpopup.c (dicon_properties): Handle propery gnome_dialog_run
684 * gdialogs.c (file_mask_dialog): Fix usage of gnome_dialog_run
685 here. Handle case == -1.
687 * gcmd.c (gnome_select): Fix usage of gnome_dialog_run here
690 * gscreen.c (panel_fill_panel_icons): Add a hack to work around
691 gnome-libs/gnome-icon-list bug that did not reset the proper
692 values. A fix will be available in gnome-libs-1.0.10.
696 * gcmd.c (gnome_close_panel): Remove filter_w
698 * gscreen.c (x_filter_changed): Update nothing.
700 1999-05-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
702 * gnome-open-dialog.c (gnome_open_dialog_generate_tree_helper):
703 Invoke closedir here as well.
705 * gdesktop-init.c (desktop_init_at): Invoke closedir here.
707 1999-04-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
709 * gdialogs.c (file_progress_show_count): Use correct formats for
712 1999-05-03 Tuomas Kuosmanen <tigert@gimp.org>
715 * i-directory.png: Added new icons for normal and locked folder..
716 I hope you like them - imho they look way better than the old ones.
718 1999-05-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
720 * gcmd.c (gnome_new_link): Allow users to create url shortcuts on
723 1999-04-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
725 * gdesktop.c (click_proxy_motion): Terminate rubberbanding if the
726 event mask does not contain GDK_BUTTON1_MASK. There is a race
727 condition where we will not get the button release event if we
728 manage to grab the server in the button_press handler before the
729 window manager proxies the button release to us.
730 (perform_release): New function to terminate rubberbanding; this
731 used to be in click_proxy_button_release(). Also, update the drag
732 selection based on the last known mouse position, not on the
733 current one (which is not meaningful if the race condition
734 mentioned above kicks in).
735 (click_proxy_button_release): Use perform_release().
737 1999-04-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
739 * gdialogs.c (file_op_context_create_ui): Handle the "close"
740 signal from the progress dialog; do not let GnomeDialog close it
741 for us. This fixes bug #2203 in Red Hat's Bugzilla.
743 1999-04-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
745 * gnome-file-property-dialog.c (perm_group_new): Small typo fix
746 that fixes crash (#958)
748 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
750 * mc.keys.in.in: Merge the application/tex values.
752 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
754 * gnome-file-property-dialog.c (create_general_properties): Mark
755 some more strings for translations. Thanks to David Martina for
758 * mc.keys.in.in: New icons from Tim Davis <davist@cs.man.ac.uk>
760 1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
762 * gscreen.c: Include the glib.h header file here.
764 1999-04-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
766 * gtkdtree.c (gtk_dtree_save_tree): Use tree_store_save().
768 * gscreen.c (panel_tree_check_auto_expand): Enabled auto-collapse
769 functionality again. Made the code a simpler by using
770 gtk_dtree_is_ancestor().
772 * gtkdtree.c (gtk_dtree_is_ancestor): New function to test whether
773 a node is an ancestor of a child. This does the same as
774 gtk_ctree_is_ancestor(), but much more efficiently. GtkCTree
775 seems to use the pessimal algorithm for this.
776 (gtk_dtree_collapse): Slight optimization: do not re-select if the
777 node is already selected.
778 (gtk_dtree_collapse): Do not freeze/thaw the tree while
779 collapsing/selecting.
781 * gmain.c: Removed crufty old SM code.
783 1999-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
785 * gscreen.c (panel_setup_drag_scroll): Made it not return
786 anything, since scrolling is independent from any other
788 (panel_tree_drag_begin): Do not print debugging message.
789 (panel_drag_data_get): Assert that we were requested a valid data
791 (panel_create_tree_view): Only specify GTK_DEST_DEFAULT_DROP for
792 the tree, since we want to present the correct feedback when the
793 user is hovering over the blank area in the tree.
794 (panel_build_selected_file_list): Made it return char *.
795 (panel_tree_drag_end): Free dtree->drag_dir, not dtree->current_path.
796 (tree_drag_open_directory): Use panel->drag_tree_node instead of
797 the coordinates hack.
799 1999-04-15 Jonathan Blandford <jrb@redhat.com>
801 * gaction.c (gmc_unable_to_execute_dlg): really ugly hack to set label.
802 (gmc_unable_to_execute_dlg): oops. forgot this.
804 1999-04-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
806 * gtkdtree.c (gtk_dtree_destroy): Memory leak fix: destroy
807 current_path and requested_path
809 1999-04-13 Jonathan Blandford <jrb@redhat.com>
811 * mc.keys.in.in: updated the key files to add more types.
813 1999-04-12 Andrew T. Veliath <andrewtv@usa.net>
815 * gdesktop.c (create_panel_from_desktop): Assign selected_index
816 when we find the last selected icon.
817 (desktop_icon_info_open): Desktop directory open case moved to
818 main.c to handle both general and action cd commands.
820 1999-04-12 Tuomas Kuosmanen <tigert@gimp.org>
822 * glayout.c: Changed the stock icon for File->Delete to
823 GNOME_STOCK_PIXMAP_TRASH (the trashcan)
825 1999-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
827 * gscreen.c (panel_icon_list_button_press): Ignore double clicks.
828 (panel_widget_motion): Don't do anything if the button state does
829 not match the button we are expecting.
831 * gtkflist.c (gtk_flist_button_press): Remove pending selections
832 when we receive a double click.
834 * gaction.c: #include "view.h"
836 1999-04-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
838 * gmount.c (is_block_device_mountable): Allow root to mount
841 1999-04-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
843 * gtkflist.[ch]: New files. This is a "file list" widget derived
844 from GtkCList that does several things:
846 - Overrides all mouse and keyboard event handlers.
848 - Implements its own, *sane* selection behavior, unlike
849 GtkCList's, which is broken.
851 - Implements the same selection behavior as the desktop,
852 which is a) correct, and b) consistent.
854 * gscreen.c (panel_create_file_list): Use the GtkFList widget.
855 (panel_widget_motion): Changed the drag thresholds to be the same
857 (start_drag): New convenience function to begin a drag operation.
858 (panel_widget_motion): Use start_drag().
859 (panel_clist_scrolling_is_desirable): Offsets must be with respect
860 to the clist_window, not to the allocation.
861 (panel_clist_drag_motion): Normalize the y coordinate of the
862 motion event to the clist_window.
864 * gdesktop.c (desktop_icon_info_destroy): Reset the
865 last_selected_icon to NULL if it is destroyed.
867 * Makefile.in: Added gtkflist to the list of files.
869 1999-04-09 Rosanna Yuen <rwsy@mit.edu>
871 * gaction.c (gmc_view): We now have consistant actions everywhere;
872 every time you invoke a file.
874 1999-04-08 Rosanna Yuen <rwsy@mit.edu>
876 * gcmd.c (set_cursor_normal): new function to set the watch cursor
879 1999-04-08 Jonathan Blandford <jrb@redhat.com>
881 * gaction.c (gmc_unable_to_execute_dlg):
882 now actions do the right thing (TM).
884 1999-04-07 Owen Taylor <otaylor@redhat.com>
886 * gsession.c (session_save): Set a discard command
887 to get rid of the per-session information.
889 1999-04-06 Jonathan Blandford <jrb@redhat.com>
891 * gscreen.c: make sure that we bring up an open_with if
894 * gcmd.c (gnome_select): new selection dialog.
896 * gdesktop-init.c (desktop_init_at): do not use access for it is
897 poor when you are root.
899 1999-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
901 * glayout.c (create_container): Use gtk_window_set_default_size(),
902 not gtk_widget_set_usize().
904 * gdesktop.c (get_slot_from_pos): Clamp the slot positions to be
907 * gmain.c (gnome_check_super_user): Improved the message a bit.
909 1999-04-06 David Martin <dmartina@usa.net>
911 * gcmd.c: marked message for translation.
913 1999-04-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
915 * gmetadata.c (gmeta_del_icon_pos): New function to delete the
916 icon position metadata from a file.
918 * gcmd.c: Removed unused function gnome_quit_cmd().
920 1999-04-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
922 * gprefs.c: Add new page for desktop properties.
924 1999-04-05 Ronald de Man <deman@win.tue.nl>
926 * gnome-file-property-dialog.c (create_general_properties): Use
929 1999-04-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
931 * gcorba.c: #include "../vfs/vfs.h"
933 * gdesktop.c (click_proxy_button_release): Call gdk_flush() after
934 doing XUngrabServer().
936 1999-04-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
938 * gscreen.c (file_list_popup_items): Use "New Directory", not "New
939 Folder", to be consistent with the desktop and File menus. Thanks
940 to Kevin Fox for pointing this out.
941 (panel_icon_list_drag_data_received): Update the panels properly.
942 (panel_clist_drag_data_received): Likewise.
943 (panel_tree_drag_data_received): Likewise.
945 * gcmd.c (gnome_close_panel): Doh. Do not access g_free()d
948 * glayout.c (copy_uiinfo_widgets): Return the copied array as a
949 return value, not in an argument.
951 * gcmd.c (set_view_type): Added a sanity check.
953 1999-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
955 * gtkdtree.c (scan_subtree): Moved the functionality to scan a
956 subtree to this function. Also, do not emit the DIRECTORY_CHANGED
958 (gtk_dtree_select_row): Call scan_subtree() and emit the
959 DIRECTORY_CHANGED signal here.
960 (gtk_dtree_expand): Do not select the just-expanded node. Call
962 (gtk_dtree_collapse): Only select the node if it is an ancestor of
963 the currently-selected node. This should really go in the
965 (gtk_dtree_init): Bad hack: unset the GTK_CAN_FOCUS flag to avoid
966 the broken focusing behavior of GtkCTree.
968 1999-04-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
970 * gcmd.c (gnome_about_cmd): Internationalize about box. And put
971 the right address for bug reports.
973 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
975 * gdesktop-icon.c (desktop_icon_realize): Remove the
976 WM_CLIENT_LEADER property from icon windows so that window
977 managers will not store SM information for them.
979 * gnome-open-dialog.c: Added missing #includes.
981 * gdesktop-init.c (desktop_init_at): Removed an unused variable.
983 * gdesktop.h: Added some missing prototypes.
985 * gmain.h: Added some missing prototypes.
987 * Makefile.in: Added gsession.[ch] to the list of sources.
989 * gmain.c (create_panels): Consider whether we have a CORBA server
990 and session management.
992 * gdesktop.c: #include "gdesktop-init.h"
993 * gdesktop.c: Added a missing cast to GNOME_DIALOG.
995 * gmain.c (create_panels): Removed the run_desktop global
998 * glayout.c (create_container): Set the wmclass of the panel to
999 include its unique ID.
1001 * gsession.[ch]: New file with the functions that deal with
1004 * glayout.c (gnome_exit): Use session_set_restart().
1006 * gcorba.c (corba_init): Now returns an int with an error value.
1007 (corba_init_server): Initialize the server properly.
1008 Fixed all the object implementation code.
1009 (corba_create_window): New function used to create a window with
1012 * gmain.c (gnome_check_super_user): Now the check for running as
1013 root is done here. There should be no GUI code in src/.
1015 1999-03-29 Jonathan Blandford <jrb@redhat.com>
1017 * gdesktop.c (create_desktop_dir): improved wording.
1018 (create_desktop_dir): improved wording.
1020 1999-03-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
1022 * mc.keys.in: Now that the menu code uses the full filename, we do
1023 not need "%d/%f" for html files.
1025 1999-03-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
1027 * gdialogs.c (file_progress_show_bytes): Total may be zero (for
1028 instance, if you are copying zero-byte files). Take this into
1029 account instead of issuing a warning.
1031 1999-03-25 Jonathan Blandford <jrb@redhat.com>
1033 * gdesktop.c (set_background_image): now we can set the background
1036 1999-03-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
1038 * glayout.c (create_new_menu_from): closedir after running.
1040 1999-03-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
1042 * gnome-file-property-dialog.c (apply_metadata_change): Fix the
1043 test for setting the icon. It was being done incorrectly and thus
1044 it was never possible to change the icon.
1046 * glayout.c (gnome_launch_mime_editor): Add mime-type-edit command
1047 to the menu: this launches mime-type-capplet
1049 1999-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
1051 * gnome-file-property-dialog.c (apply_metadata_change): Fixed
1052 incorrect logic when testing whether the icon changed or not.
1053 This makes icons change correctly again.
1055 * Makefile.in (GNOMEHDRS): Added gdesktop-init.h.
1057 1999-03-23 Jonathan Blandford <jrb@redhat.com>
1059 * gscreen.c (panel_tree_drag_motion): lets try to cut down on the flickers.
1061 1999-03-22 Jonathan Blandford <jrb@redhat.com>
1063 * gdesktop-init.c (gdesktop_init): Do what the documentation says.
1065 1999-03-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
1067 * gdesktop-init.c (desktop_load_init_from): New file that loads
1068 new configuration files from the installation directory.
1070 * gdesktop.c: Drop all the reload code from there, put it above.
1072 * gpopup2.c (create_mime_actions): Attach to the menu, not the uiinfo.
1074 1999-03-19 Jonathan Blandford <jrb@redhat.com>
1076 * gscreen.c (panel_tree_drag_motion): Dragging now automatically
1077 highlights the tree. God does it flicker... )-:
1079 * gtkdtree.h (gtk_dtree_construct): removed unused prototype.
1081 * gscreen.c (panel_tree_check_auto_expand): removed the
1082 auto-collapse of trees, as it is confusing to the user.
1084 * gcustom-layout.c (custom_layout_set): We don't want to let the
1085 user remove all of the settings.
1087 * gdialogs.c (file_progress_show_bytes): bug fix proposed by Max
1088 Weninger <max@takefive.co.at>
1090 * gcmd.c (dentry_apply_callback): new function.
1091 (gnome_new_launcher): We can now create new
1093 1999-03-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
1095 * gpopup2.c (create_mime_actions): Free full_name, just once, not
1098 1999-03-19 Paul Raines <raines@slac.stanford.edu>
1100 * gtkdtree.c (gtk_dtree_load_path): Uses a phantom node to get
1101 directories with the expandable flag. Avoids loading directories
1104 1999-03-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
1106 * gdesktop.c (desktop_icon_info_open): Fix condition. Should not
1107 open a new panel if it fails to mount the device.
1109 Thu Mar 18 14:59:12 1999 Timur Bakeyev <mc@bat.ru>
1111 * gnome-open-dialog.c (read_directory): s/basename/x_basename/g
1113 1999-03-17 Jonathan Blandford <jrb@redhat.com>
1115 * gnome-file-property-dialog.c (generate_icon_sel): I don't know
1116 who broke this, but it was a mess. It now does the right thing,
1119 1999-03-16 Jonathan Blandford <jrb@redhat.com>
1121 * gnome-open-dialog.c (read_directory): We now honor .order files.
1123 1999-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
1125 * gicon.c (get_icon_set): Use iset->filename (which is a
1126 strdup()ed string) instead of filename as a key in the hash table,
1127 since the user will very likely free filename.
1129 * gdialogs.c (symlink_dialog): Finished implementing the new
1132 * gdesktop.c (icon_event): I'm an idiot. Someone teach me boolean
1133 logic again. Fixed edit-on-release for icons.
1135 1999-03-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
1137 * gdialogs.c (real_input_dialog_help): Now we use a
1138 gnome_request_dialog() for generic input dialogs. They look
1139 prettier and consistent now.
1140 (file_progress_show): Update the progress bars. Thanks to Greg
1143 * Makefile.in: Removed references to gpopup.[co].
1145 Mon Mar 15 17:09:37 1999 Gregory McLean <gregm@comstar.net>
1147 * gdialogs.c (file_progress_show_bytes): Fixed a GTK Warning when
1149 * file.c : Actually update the progress bar when copying files around.
1151 1999-03-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
1153 * gscreen.c (x_select_item): It is not necessary to call
1154 gnome_canvas_update_now() here.
1156 * gdesktop-icon.c (set_icon): Do not destroy the icon image.
1158 * gnome-file-property-dialog.c
1159 (gnome_file_property_dialog_finalize): Do not destroy the icon
1160 image, since it is a shared resource.
1162 1999-03-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
1164 * gdesktop.c (text_changed): If the file has the "icon-caption"
1165 metadata set, then change that instead of renaming the file. This
1166 can be used by URLs and is also needed by the mountable device
1168 (text_changed_url): Removed this function now that text_changed()
1169 can handle all cases.
1171 * gdnd.c (drop_url_on_directory): Set the "icon-caption" metadata
1174 * gdesktop.c (icon_event): Handle button-2 clicks and drags
1177 1999-03-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
1179 * gmount.c (get_mountable_devices): Show error message if the
1180 /etc/fstab is not readable by the user.
1182 1999-03-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
1184 * gview.c (scrollbar_moved): Better, but still shaggy when you
1185 drag with the scrollbar.
1187 1999-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
1189 * gdesktop.c (create_panel_from_desktop): Do not assert that
1190 panel->count > 0, because we may actually not have any icons in
1192 (desktop_popup): Reload the desktop once the popup menu is done.
1193 (create_panel_from_desktop): Be consistent with the way totals are
1194 computed in screen.c:do_file_mark().
1196 * gnome-file-property-dialog.c (gnome_file_property_dialog_init):
1197 Set the dialog to not destroy-on-close.
1199 * gpopup2.c (gpopup_do_popup2): Fixed Miguel's code.
1201 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
1203 * gpopup2.c (gpopup_do_popup2): Until Federico look over this, I
1204 am fixing this crash.
1206 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
1208 * gpopup2.c: Sigh. It happened again. More features killed by
1211 If a file does not have any metadata/mime way of viewing it, the
1212 viewer will always work.
1214 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
1216 * gdesktop.c (text_changed): Rename the metadata and refresh the
1217 desktop. This also fixes bug #573.
1219 1999-03-11 Jonathan Blandford <jrb@redhat.com>
1221 * gnome-file-property-dialog.c (create_settings_pane): change the
1222 wording to be a tad clearer.
1223 (apply_metadata_change): only set the icon if it has changed.
1225 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
1227 * gpopup2.c (create_mime_actions): Do not free the file name here,
1228 since it is passed on to the callback. It will be freed on the
1229 destroy handler instead.
1231 * gpopup2.c (escape_underlines): New function to escape the
1232 underlines in a string so that GtkLabel will include them in the
1234 (create_mime_actions): Escape the underlines from the MIME action
1237 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
1239 Fix bug #261: inconsistent labels in view menu and toolbar,
1240 unsynchronized items.
1242 * glayout.c (panel_view_menu_uiinfo panel_view_toolbar_uiinfo):
1243 Made the view names consistent with the toolbar names. Also,
1244 added underscore accelerators to the menu items.
1245 (copy_uiinfo_widgets): New function to copy the widgets from an
1246 uiinfo array into a widget array.
1247 (create_container): Copy the uiinfo widgets to the panel
1250 * gcmd.c (set_view_type): New function to set the list view type
1251 and synchronize the menu and toolbar items.
1252 (gnome_close_panel): Free the view menu/toolbar item arrays.
1254 1999-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
1256 * gpopup2.c (perform_mount_unmount): Set the icon's cursor while it is
1258 (handle_mount): Use perform_mount_unmount().
1259 (handle_unmount): Likewise.
1260 (handle_eject): Set the icon's cursor while it is being ejected.
1262 * gdesktop.c (desktop_icon_set_busy): New function to set a watch
1263 or normal cursor for a desktop icon.
1265 * gdesktop.c (desktop_icon_info_open): Set the cursor to a watch
1266 while the icon is being opened. Also, fixed memory leaks.
1267 (do_eject): Added a missing return value.
1269 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
1271 * gmount.c (setup_devices): Use new tigert icon.
1273 * gdesktop.c (do_mount_umount): Use g_readlink here.
1275 * gpopup2.c (handle_eject): Small tuning. And use g_readlink :-).
1277 * gmount.c (mount_point_to_device): New function. Mapes a mount
1278 point to its device. Required since we are now using the mount
1279 point (as this is not ambiguous) as the key for the devices and
1280 the eject command needs the device name, not the mount point.
1282 * gdesktop.c (desktop_icon_info_open): First try to see if
1283 filename is mountable. Then do the directory tests and the file
1284 launching tests. Fixes mount-by-double click.
1286 1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
1288 * glayout.c (save_panel_types): Do not save the setup of a desktop
1291 * gpopup2.c (handle_mount): Use get_full_filename().
1292 (handle_unmount): Likewise.
1293 (handle_eject): Likewise.
1294 (handle_open): Likewise.
1296 * gdesktop.c (update_url): Made static.
1297 (desktop_reload_icons): Call update_url() when updating an
1300 * gpopup2.c (handle_properties): Do not update the icon url here.
1302 1999-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
1304 This is a semi-big slew of changes to integrate the DESKTOP_BRANCH
1305 into the main trunk. Now the gdesktop code creates a temprary
1306 WPanel structure and passes it on to the core file management
1307 functions. Also, the menu code is improved (we now use gpopup2;
1308 gpopup should go away shortly and gpopup2 should replace it).
1309 This makes the desktop act consistently with the file panels.
1310 Thanks to Jonathan for his help with this branch.
1312 * gdnd.c (perform_action): Use mc_lstat(), not mc_stat().
1314 * glayout.c (update_panels): Do not update the panels that are
1317 * gdesktop.c (icon_is_in_area): An icon is not considered to be in
1320 * gpopup2.c (handle_open): Fetch the desktop icon from the
1321 filename and call desktop_icon_info_open().
1323 * gdesktop.c (desktop_icon_info_get_by_filename): New function to
1324 look up a desktop icon by its filename.
1326 * glayout.c (create_new_menu_from): Test for the ".desktop" suffix
1329 * gpopup2.c (handle_properties): If the file comes from a desktop
1330 panel, always allow edition of the icon image.
1332 1999-03-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
1334 * gdialogs.c: Support ui->ctx to be NULL, as file.c will set this
1335 to NULL for background operations.
1337 1999-03-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
1339 * gdesktop.c (icon_drag_data_received): Pass the full directory
1340 name to gdnd_perform_drop.
1342 * gpopup.c (create_regexp_actions): This routine no longer creates
1343 the default copy/move/delete context menu entries.
1345 (file_actions): Include the copy/move/delete options here. This
1346 also enabled me to reorder things to put "Delete" closer to the
1347 top, as it is a pretty common operation.
1349 1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
1351 * gmain.c (session_save_state): Add call to gnome_config_sync().
1353 * gutil.c (my_system_get_child_pid): reset SIGPIPE to a sensible
1355 (my_system_get_child_pid): Close also stdin/stdout/stderr
1357 * gdesktop.c (is_mountable): Allow user-nfs devices to be mounted
1359 1999-03-08 Federico Mena Quintero <federico@nuclecu.unam.mx>
1361 * gscreen.c (can_drop_on_clist): New function to figure out if the
1362 user is trying to drop on a valid region of a GtkCList. It sucks
1363 to have to poke into its internal geometry, though.
1365 1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
1367 * gnome-file-property-dialog.c (apply_metadata_change): only set
1368 the needs-terminal property if we actually created such entry.
1370 1999-03-08 Sergey Panov <sipan@mit.edu>
1372 * gcustom-layout.c, gprefs.c: Make the preferences dialog
1373 translatable. (include files in gcustom-layout.c and use of
1374 the _() macro in gprefs.c)
1376 1999-02-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
1378 * gnome-file-property-dialog.c (create_settings_pane): Simplify
1379 the test and fix it.
1381 * gdnd.c (drop_on_file): Fix these so that they can use the
1382 metadata drop-action.
1384 * gdesktop.c (desktop_icon_info_open): Ugly. Needs to share more
1385 code here. Use the metadata first, and the is_exe to find out how
1386 to launch an application.
1388 * gnome-file-property-dialog.c (perm_group_new): Check the return
1390 (perm_group_new): Do not use a grp if it does not exist.
1392 1999-02-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
1394 * glayout.c (my_app_create_menus): New function, used to create
1395 our menus and set the realy properly, to make cpanel (ie,
1396 current_panel) always consistent with what the user users.
1398 So, no need to kill the tearoff menus in gmc now.
1400 * gmount.c (is_block_device_mountable): compare the device name
1403 (get_mountable_devices): Do not stop scanning devices.
1405 * gview.c (scrollbar_moved): Call view update here, with
1408 * gdesktop.c (desktop_icon_info_open): Add needs terminal support.
1410 * gnome-file-property-dialog.c (create_settings_pane): Add Needs
1413 1999-02-25 Jonathan Blandford <jrb@redhat.com>
1415 * gpopup2.c: even more bug-fixes. Plenty more left to do, but now
1416 all the menu code seems to work other then the
1417 select-and-popup-menu problem.
1419 * gaction.c (gmc_can_view_file): new function. Can we view the file?
1421 1999-02-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
1423 * gaction.c (gmc_open_filename): Add support for needsterminal.
1425 * gscreen.c: Add New Folder option to the panel popup.
1427 1999-02-25 Owen Taylor <otaylor@redhat.com>
1429 * gdialogs.c (file_delete_query_recursive): GNOME
1430 replacement for recursive delete query dialog.
1432 * gprefs.c gcustom-layout.[ch]: Add a new page to
1433 the preferences dialog to allow the user to change
1434 the columns in the custom view.
1436 1999-02-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
1438 * gmount.c (desktop_cleanup_devices): Export this routine now and
1439 call it from gdeskop instead of overloading gmount_setup_devices.
1441 * gprint.c: Sample file, it uses an externally provided program
1442 (not in 1.0 so far) to setup printer devices.
1444 * gmount.c (gmount_setup_devices): No longer cleans up here.
1446 * gicon.c (gicon_get_filename_for_icon): Return const char *, this
1447 tells the user of this routine "you better not touch or free this
1450 * gnome-file-property-dialog.c (apply_metadata_change): Always set
1451 the name of the icon to the new value, as the entry will always
1452 match the imlib image anyways (due to the fixes I did to const
1454 (generate_icon_sel): Do not free the value. We do not own this
1457 * gdesktop.c (is_mountable): NULL terminate string returned from
1458 readlink. Yes guys, readlink does not NULL terminate things.
1459 (do_mount_umount): ditto.
1461 * gnome-file-property-dialog.c (init_metadata): ditto
1463 Tue Feb 23 17:41:45 1999 George Lebl <jirka@5z.com>
1465 * gmain.c: set the restart property of the gnome client to
1466 RESTART_IMMEDIATELY or RESTART_NEVER if we're gonna quit
1468 1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
1470 * gnome-file-property-dialog.c (gnome_file_property_dialog_new):
1471 When dealing with a symbolic link, check the stat info from the
1472 real file, not the link.
1474 * gscreen.c (panel_tree_drag_data_received): Use path here (which
1475 is what is selected on the tree, not panel->cwd).
1477 * gdesktop.c (desktop_drag_data_received): Simplify.
1479 * gscreen.c (panel_icon_list_drag_data_received): Pass the full
1480 path to gdnd_perform_drop.
1481 (panel_clist_drag_data_received): same.
1483 * gdnd.c (drop_on_directory): We no longer take a file_entry
1484 here. The directory we get passed is already a fully qualified
1485 name of the target location.
1487 * gwidget.c (x_create_input): Hook to the changed signal and sync
1488 the input with our view of the entry. This fixes the paste bug
1491 Tue Feb 23 01:57:22 1999 George Lebl <jirka@5z.com>
1493 * gmount.c: fix obvious typos, use str in option_has_user, fix
1494 mt_opts typo and is_block_device_mountable can't return TRUE nor
1495 FALSE, so it returns NULL
1497 1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
1499 * gnome-file-property-dialog.c (apply_metadata_change): Fix memory leak.
1501 1999-02-23 Jonathan Blandford <jrb@redhat.com>
1503 * gpopup2.c (handle_open_with): use the new dialog. Doesn't quite
1504 work -- I'll make sure it does tonight.
1506 * gnome-open-dialog.c: new widget -- an "Open with..." dialog.
1508 1999-02-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
1510 * gdesktop.c (desktop_reload_icons): Fix memory leak.
1512 * glayout.c (create_new_menu_from): Fix memory leak.
1514 * gdesktop.c (desktop_icon_info_open): Launch a panel at the
1515 location of the mount point.
1517 * gmount.c (setup_devices): Use g_list_free, not g_free. Fed,
1518 test your fixes to my code ;-)
1520 * glayout.c (create_container): Add a Desktop menu if the WM is
1521 not GNOME compliant.
1523 * gdesktop.c (setup_motif_dnd_proxy): Use Window instead of
1524 gint32, fix from George Lebl.
1525 (setup_xdnd_proxy): ditto.
1527 1999-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
1529 * gdesktop.c (file_entry_fill): Initialize fe->f.dir_size_computed.
1531 1999-02-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
1533 * gmain.h: Removed set_current_panel() since it was never used.
1535 * glayout.c (set_current_panel): Made static and renamed from
1536 set_new_current_panel().
1537 Removed old toolbar cruft.
1539 * gmount.c (get_mountable_devices): Made static.
1541 * Makefile.in (ICONS): Added i-floppy.png, i-cdrom.png,
1542 i-printer.png. Thanks, Tigert!
1544 1999-02-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
1546 * gmount.c (gmount_setup_devices): New function to set up the
1547 mountable devices on the desktop directory. Moved over from
1548 gdesktop.c. Added an argument that specifies whether it should
1549 clean up the device list first.
1550 (cleanup_devices): Delete the metadata for the devices.
1551 (setup_devices): Free the list of device names. Use the proper
1552 icon for each device.
1553 (create_device_link): Better error checking.
1555 * gdesktop.c (create_desktop_dir): Use gmount_setup_devices().
1556 (desktop_icon_info_destroy): Made static.
1557 (desktop_popup_items): The command for rescanning mountable
1558 devices should go here.
1559 (handle_rescan_devices): Call gmount and refresh the desktop.
1561 * gdesktop.h: Removed the declaration of tree_panel_visible, since
1562 it has nothing to do with the desktop.
1564 * glayout.c (gnome_panel_commands_menu): Removed the recreate
1567 * gdesktop.c (desktop_popup_items): Added a new command to create
1570 1999-02-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
1572 * gdesktop.c (do_mount_umount): Removed unused variable.
1573 (do_eject): Return FALSE if there is no eject command.
1574 (setup_devices): Removed unused variable.
1576 * gdnd.c (drop_on_file): Pass the directory to if_link_is_exe().
1577 (gdnd_validate_action): Likewise.
1578 (gdnd_perform_drop): Made consistent with the rest of the code by
1579 taking the directory name along with the file entry.
1580 (gdnd_validate_action): Likewise.
1582 * gdesktop.c (icon_drag_motion): Pass the directory to the gdnd
1584 (icon_drag_data_received): Likewise.
1585 (desktop_drag_motion): Likewise.
1586 (desktop_drag_data_received): Likewise.
1587 (desktop_icon_info_open): Pass the directory to if_link_is_exe().
1589 * gscreen.c (panel_icon_list_drag_data_received): Pass the
1590 directory to gdnd functions.
1591 (panel_clist_drag_data_received): Likewise.
1592 (panel_tree_drag_data_received): Likewise.
1593 (panel_clist_drag_motion): Likewise.
1594 (panel_icon_list_drag_motion): Likewise.
1596 1999-02-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
1598 * gdesktop.c (reload_desktop_icons): Load the information provided
1599 on the .desktop file for the desktop icon information: icon
1600 filename and text to be displayed.pwd
1603 * gpopup.c (create_actions): Add ejectable
1605 * gdesktop.c (do_eject): Add eject command.
1607 1999-02-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
1609 * gpopup.c (create_actions): Add support for mountable icons.
1611 * gdesktop.c (try_to_mount): Add an option to automatically mount
1612 links on the desktop that point to devices.
1613 (is_mountable): Returns true if a pathname is mountable.
1615 * glayout.c: Add the dirsizes command here.
1617 * gmount.c: New file. Implements support routines for
1620 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
1622 * i-symlink.png: Flipped the image around, since we are putting
1623 the little icons on the lower-right corner.
1624 * i-stalled.png: Likewise.
1626 * gicon.c (gicon_get_filename_for_icon): Doh, use image_hash here.
1628 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
1630 * gicon.c: Lots of changes to support the little symlink/stalled
1631 icons that get overlaid on the normal file icons. We now have the
1632 concept of an icon set, which is a cache of normal icons plus
1633 their overlaid versions.
1635 * gnome-file-property-dialog.c (apply_metadata_change): Use
1636 gicon_get_filename_for_icon().
1637 (generate_icon_sel): Likewise.
1639 * gnome-file-property-dialog.c (create_general_properties): Use
1640 buffers of size MC_MAXPATHLEN.
1641 (init_metadata): Likewise.
1643 1999-02-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
1645 * gmetadata.c: Removed the gmeta_del_icon_pos() function, since it
1646 is no longer used anywhere.
1648 * gdesktop.c (reload_desktop_icons): Use gnome_metadata_delete()
1649 instead of gmeta_del_icon_pos().
1650 (desktop_icon_info_delete): Likewise.
1651 (desktop_icon_info_destroy): Do not call gnome_metadata_delete().
1653 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
1655 * gdesktop.c (arrange_desktop_icons): I am such a doofus, I did
1656 not initialize two variables here.
1658 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
1660 * gdesktop.c (reload_desktop_icons): Take auto-positioning and
1661 snap-positioning into account. This is the right thing to do.
1662 (get_icon_auto_pos): Do auto-positioning in two steps, first from
1663 the requested position to the end of the slot array, then from
1664 slot zero forwards if required.
1666 1999-02-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
1668 * gcmd.c (gnome_open_terminal_with_cmd): New routine, based on the
1669 gnome_open_terminal routine, that will allow the user to specify a
1670 command to execute (used internally).
1672 * gaction.c (gmc_edit_filename): Support for the GNOME editor
1673 environment properties.
1675 * gdesktop.c (create_desktop_dir): Support GNOME_DESKTOP_DIR
1676 variable to configure the desktop directory.
1678 1999-02-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
1680 * mc.keys.in.in: Use "gnome-moz-remote file:%d/%f" for the html
1683 * gscreen.c (toolbar): Added a "rescan" button.
1685 * gprefs.c (create_prop_box): Make the preferences dialog modal.
1686 Also, set the window title and set the window's parent.
1687 Removed some unused functions.
1689 1999-02-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
1691 * gdesktop.c (desktop_popup): Handle popup menus for the desktop.
1692 (arrange_desktop_icons): New function to auto-arrange the desktop
1694 (reload_desktop_icons): Take care of positioning the new icons by
1695 ourselves; do not rely on desktop_icon_info_new() to do it.
1696 (remove_from_slot): Reset the icon's slot to -1.
1697 (reload_desktop_icons): Show all the icons after they have been
1698 loaded, instead doing it one by one.
1700 * gscreen.c (file_list_popup): Handle popup menus for the blank
1701 areas of the file panels.
1702 (panel_icon_list_button_press): Call file_list_popup().
1703 (panel_file_list_press_row): Likewise.
1705 1999-02-14 Sergey Panov <sipan@mit.edu>
1707 * glayout.c: Fixed my own stupid typo( stock ID instead of NULL)
1708 it was not critical. A few minor, rather cosmetic changes in
1709 GnomeUIInfo structures.
1711 1999-02-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
1713 * mc.keys.in.in: Use Tigert's new icon for man pages.
1715 1999-02-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
1717 * gdialogs.c (file_mask_dialog): Renaming files was not working
1718 due to having the "file-must-exist" bit turned on.
1720 * gnome-file-property-dialog.c (apply_metadata_change): Metadata
1723 Change fpd->file_name to point to the new name so that any
1724 metadat changes take effect on the new name, not the old name.
1726 Test return value from move_file_file.
1728 (init_metadata): Fixed typo.
1730 1999-02-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
1732 * mc.metadata.in: Added a regexp for EPS files.
1734 * mc.keys.in.in: Use Tigert's new icon for Postscript files.
1735 Possible FIXME: are there different MIME types for PS and EPS
1738 1999-02-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
1740 * gdesktop-icon.c (set_icon): Do not destroy the image if it is
1741 the same as the old one. Sigh, imlib really needs proper
1744 * gscreen.c: Use gpopup_do_popup() until the new version is
1747 * gpopup2.c (create_actions): Made the action selection logic
1749 (gpopup_do_popup2): Now can only operate on panels.
1750 (file_actions): Sanitized the actions a bit.
1752 * gutil.c (my_system_get_child_pid): sa_handler must be
1753 gnome_sigchld_handler, not gnome_sigchld_installed.
1755 * gpopup.c (dicon_properties): Do not call reread_cmd(). This is
1756 a hack until the menus for panels/desktop are finished.
1758 * gscreen.c (panel_file_list_press_row): Use gpopup_do_popup2().
1760 1999-02-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
1762 * gutil.c (my_system_get_child_pid): Implement a erase-temp-file
1763 when child dies instead of waiting for child that was launched
1764 from shell/temp-file to finish.
1766 1999-02-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
1768 * gdesktop.c (desktop_icon_info_place): Better icon placement by
1769 rounding to the proper slot number.
1770 (select_range): Simpler range selection for exact Windows behavior.
1772 * gdnd.c (drop_on_directory): Do not ask for the action twice.
1773 This was a leftover from a bit of code reorganization.
1775 * gscreen.c (panel_icon_list_button_press): Fixed "=" -> "!="
1778 1999-02-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
1780 * gaction.c (gmc_open_filename): Add support for running .desktop
1783 (gmc_view): Made const correct.
1785 1999-02-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
1787 * Makefile.in (ICONS): Added i-fifo.png to the list of icons.
1789 * gicon.c (gicon_init): Load the proper FIFO and socket icons.
1790 (gnome_file_entry_color): Return the proper icon for FIFOs.
1792 * i-fifo.png: Added this file, and made i-sock.png be the right
1793 image (thanks, Tigert!).
1795 * gscreen.c (ILIST_FROM_SW): New macro to extract the icon list
1796 from the scrolled window.
1797 (panel_create_icon_display): Create a scrolled window and put the
1798 icon list inside it. Changed the rest of the code to know about
1801 * gcorba.c (do_window_close): It turns out that we *do* need to
1802 call CORBA_free(). It was a bug in ORBit which was causing this
1805 1999-02-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
1807 * gdesktop.c (drag_end): Reload the desktop when a drag from the
1808 desktop terminates (the user may have moved something away).
1810 1999-02-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
1812 * gcorba.c (do_window_close): Removed call to CORBA_free, as
1813 PortableServer_POA_deactivate_object already calls CORBA_free on
1816 1999-02-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
1818 * glayout.c (gnome_close_panel_event): This function should return
1821 * gcorba.c (corba_init): Cast poa to PortableServer_POA.
1822 (impl_GNOME_FileManagerWindow_close): Call gnome_close_panel(); do
1823 not destroy the widget by hand.
1825 * gcmd.c (gnome_close_panel): This function should be void.
1827 * gpopup2.c (popup_handle_rescan): Call reread_cmd().
1829 * gscreen.c (panel_icon_list_button_press): Return TRUE if we
1830 handled a popup menu.
1832 1999-02-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
1834 (impl_GNOME_FileManagerFactory_create_window): Fix bug
1835 spooted by federico. I was connecting to the wrong signal.
1837 1999-02-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
1839 * gtkdtree.c (gtk_dtree_class_init): Added two new signals,
1840 scan_begin and scan_end.
1841 (gtk_dtree_expand): Call scan_begin() and scan_end().
1842 (gtk_dtree_select_row): Call scan_begin() and scan_end().
1843 (gtk_dtree_expand): Use gtk_ctree_select(), not gtk_dtree_select_row().
1844 (gtk_dtree_collapse): Select the node when it is collapsed.
1846 * gscreen.c (panel_create_tree_view): Added handlers for the
1847 scan_begin and scan_end signals of the tree -- these will set the
1848 cursor to a watch while the tree is being scanned.
1850 1999-02-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
1852 * gdesktop.c (desktop_icon_info_destroy): Delete the metadata
1853 associated with this icon.
1855 1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
1857 * gwidget.c (entry_click): On mouse clicks, mark the input as
1858 changed-without destroy.
1860 1999-02-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
1862 * gscreen.c (x_create_panel): Removed a couple unused variables.
1864 1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
1866 * gtkdtree.c (gtk_dtree_select_row): Disable row selection when
1867 were are removing entries from the tree.
1869 * gutil.c (my_system_get_child_pid): Fix. We always wait for the
1872 * gtkdtree.c (gtk_dtree_lookup_dir): Scan the whole tree.
1873 Appanrently now the nodes expose are not ordered, but can contain
1876 1999-02-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
1878 * gtkdtree.c (gtk_dtree_insert_node): This function was never
1879 returning the newly-created sibling.
1881 Sun Feb 7 05:29:17 1999 Timur Bakeyev <mc@bat.ru>
1883 * Makefile.in: Remove references and dependences to/from libslang -
1884 we don't need this in GNOME. Changed the order of linking - libgtkedit
1885 require libgnomeui.a, so swap $(LDFLAGS) and $(EXTRALIBS). The same for
1888 gdnd.c, gmetadata.c, gpopup2.c, gtools.c: Adde #include "global.h" or
1889 move it before #include <gnome.h> to avoid warnings about redefining
1890 MIN, MAX nad RE_DUP_MAX. More clean compiling.
1892 * gpopup2.h: New file - to avoid errors during "make distcheck". What
1895 1999-02-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
1897 * gnome-file-property-dialog.c (apply_metadata_change): #include
1898 string.h and replace references to rindex to strrchr.
1900 1999-02-07 Tomas Ogren <stric@ing.umu.se>
1902 * glayout.c, gnome-file-property-dialog.c: s/rindex/strrchr/
1903 To get rid of BSDism and make it compile on solaris 2.6
1905 1999-02-06 Ettore Perazzoli <ettore@comm2000.it>
1907 * gscreen.c (x_create_panel): The location bar is now a simple
1908 GtkHBox instead of a GtkToolbar, and as a consequence the location
1909 entry widget is expanded to fill all of the window horizontally.
1911 1999-02-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
1913 * gdesktop.c (drag_data_get): Set the Netscape URL from the icon
1914 if it is available. Wheee! We can now drop icons onto Netscape.
1916 * gmain.h: Added prototype for gmc_open_filename().
1918 * gdesktop.c (desktop_icon_info_open): Fixed call to
1919 gmc_open_filename(). See why it is good to have prototypes? :-)
1921 * gdnd.c (perform_action): Oops. Removed a leftover "break" that
1922 was causing the loop to exit, so you could not operate on more
1925 1999-02-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
1927 * gpopup2.c (popup_handle_properties): Update the URL information
1930 * gnome-file-property-dialog.c (generate_actions_box): Fix memory leak.
1931 (create_general_properties): Fix memory leak.
1933 * gdesktop.c (desktop_icon_update_url): New function. Updates any
1934 changes done to the url/caption on the file-property-dialog.
1936 * gnome-file-property-dialog.c
1937 (gnome_file_property_dialog_finalize): Release all of the
1938 resources allocated (metadata routines alwayre return an allocated
1941 Add support for changing the url an icon points to and the caption.
1943 * gdnd.c (drop_url_on_directory): Better set the icon-filename
1944 metadata entry instead of hard coding it.
1946 1999-02-05 Jonathan Blandford <jrb@redhat.com>
1948 * gcmd.c (gnome_reverse_selection_cmd_panel): new function -- does
1951 * gscreen.c (panel_icon_list_select_icon): uses new popup menu
1952 (panel_icon_list_button_press): ditto
1954 * gpopup2.c (gpopup_do_popup2): new implementation of popup
1955 menu. Many changes -- almost all internal. Much cleaner now...
1958 1999-02-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
1960 * gicon.c (gicon_get_url_image): Return an image for url types.
1961 (gicon_init): Load the url image.
1963 * gdesktop.c (desktop_icon_info_new): Use an URL image for
1964 desktop-urls. Use the url as the caption for those icons.
1966 1999-02-04 Jonathan Blandford <jrb@redhat.com>
1968 * gprefs.c (caching_and_optimization_props): wording changes
1970 1999-02-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
1972 * gdesktop.c (desktop_icon_info_open): Run "execute" if the file
1973 is an executable. I forgot that gmc_open does not test for
1976 1999-02-04 Jonathan Blandford <jrb@redhat.com>
1978 * gnome-file-property-dialog.c (apply_uid_group_change): Bug fix.
1979 (apply_metadata_change): Another bug fix.
1981 1999-02-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
1983 * gdnd.c (gdnd_validate_action): Show the correct feedback when
1986 1999-02-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
1988 * gdesktop.c (desktop_icon_info_open): Use gmc_open_filename
1989 instead of the stuff that goes trough a file_entry as we loose the
1992 * gnome-file-property-dialog.c (generate_actions_box): Tag "open"
1994 (apply_metadata_change): Use fm-open instead of fm_open for the
1997 * gscreen.c (panel_file_list_configure_contents): Make the icon on
1998 the type column be displayed.
1999 (panel_file_list_select_row): Removed dead code.
2000 (panel_file_list_press_row): Select the row before calling
2003 1999-02-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
2005 * gscreen.c (drop_types): Allow dropping URLs on file panels.
2007 * gdnd.c (gdnd_validate_action): Added an "on_desktop" argument;
2008 this specifies that the user is dragging over the desktop. Added
2009 cases for drags of desktop icons and URLs.
2010 (gdnd_perform_drop): New public function to handle drops. This is
2011 now the master function to handle drops -- use this to make all of
2013 (drop_on_directory): Made static and renamed from
2014 gdnd_drop_on_directory(). Made it fit for use by
2015 gdnd_perform_drop().
2016 (drop_url_on_directory): New function to drop an url on a
2017 directory, moved over from gdesktop.c.
2018 (drop_uri_list_on_directory): New function to handle drops of URI
2019 lists on a directory.
2020 (drop_on_file): New function to handle drops on a non-directory
2021 file entry. This is moved over from gdesktop.c,
2022 desktop_icon_drop_uri_list(). This is yet to be finished.
2024 * gdesktop.c (desktop_icon_drop_uri_list): Fix memory leak.
2025 (desktop_drag_motion): Use gdnd_validate_action().
2026 (dnd_icon_targets): Allow dropping URLs on icons.
2027 (icon_drag_motion): Use gdnd_validate_action().
2028 (desktop_drag_data_received): Use gdnd_perform_drop().
2029 (icon_drag_data_received): Use gdnd_perform_drop().
2031 * gscreen.c (panel_icon_list_drag_data_received): Use
2032 gdnd_perform_drop().
2033 (panel_clist_drag_data_received): Use gdnd_perform_drop().
2034 (panel_tree_drag_data_received): Use gdnd_perform_drop().
2036 * gcmd.c (gnome_about_cmd): Fixed Foundation typo, and updated the
2039 1999-02-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
2041 * gnome-file-property-dialog.c (create_general_properties): Use
2042 strrchr instead of rindex
2044 1999-02-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
2046 * gdesktop.c: Init gicon here to avoid crashing when we have the
2047 metadata database locked. Not really important, but makes the
2048 code cleaner (in terms of fixes).
2050 1999-01-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
2052 * gnome-file-property-dialog.c (icon_sel_callback): Fix the
2055 1999-02-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
2057 * gdesktop.c (desktop_drag_motion): If the user is dragging a
2058 Netscape url, allow ACTION_LINK.
2059 (setup_desktop_dnd): Now we use a single GtkInvisible widget to
2060 proxy both DnD and clicks on the desktop.
2061 (setup_motif_dnd_proxy): New function to set up a widow as a Motif
2062 DnD proxy (to allow drops from Netscape, for example).
2063 (setup_desktop_click_proxy_window): Use the proxy_invisible widget.
2064 (drop_url): Reload desktop icons after creating the url entry.
2065 (desktop_icon_info_place): Allow a drop from something other than
2066 a desktop icon to be placed where the user wants.
2067 (desktop_drag_motion): Unconditionally specify ACTION_MOVE if we
2068 are dragging a desktop icon.
2069 (desktop_icon_info_place): Remove the icon from its slot before
2070 calling the smart-positioning routines.
2072 1999-01-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
2074 * gdesktop.c (reload_desktop_icons): Reload the icon image for a
2075 file that already exists in the desktop, because it may have
2078 * gdesktop-icon.c (desktop_icon_reshape): Center the text
2079 correctly if the user is using huge icons.
2081 Mon Feb 1 00:49:18 1999 Timur Bakeyev <mc@bat.ru>
2083 * gscreen.c (panel_configure_file_list): Add central justification,
2084 as we got it (useless, imho :)
2086 Sun Jan 31 19:42:47 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
2088 * Makefile.in (install_mx): make it work with srcdir != builddir
2089 (gmc.gnorba is located in $srcdir)
2091 1999-01-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
2093 * gdesktop.c (reload_desktop_icons): Move metadata_unlock after
2094 the positioning loop (as we use the metadata there too).
2095 (desktop_icon_info_new): Accept a new parameter: url.
2096 (drop_url): New function. Creates the files that represent urls
2098 (text_changed_url): New routine to handle url-renames
2100 Use the metadata "desktop-url" property to figure out if an icon
2103 1999-01-28 Jonathan Blandford <jrb@redhat.com>
2105 * gnome-file-property-dialog.c (create_settings_pane): We only let
2106 you set info if we are a regular file, or a link to a regular file.
2108 * gdesktop-icon.c (desktop_icon_reshape): Cut-n-paste error fixed
2111 1999-01-27 Jonathan Blandford <jrb@redhat.com>
2113 * gnome-file-property-dialog.h (struct _GnomeFilePropertyDialog):
2114 Now make open field mandatory and icon selection optional.
2115 * gnome-file-property-dialog.c: as above
2117 * gpopup.c (panel_action_properties): only allow setting images if
2118 we_can_afford_the_speed.
2120 * gicon.c: make we_can_afford_the_speed non-static
2122 1999-01-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
2124 * gcorba.c: Provide new code to activate an existing
2125 FileManagerFactory factory.
2127 installed gmc is now corba-gmc. plain-gmc is still available if
2130 Thu Jan 28 02:15:48 1999 Timur Bakeyev <mc@bat.ru>
2132 * gdialogs.c: fixed "regexp.h" -> "eregexp.h" conversion.
2134 * oldnd.c: Replaced copy_strings() with g_strconcat().
2136 1999-01-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
2138 * gscreen.c (panel_clist_motion): Stop the emission of the
2139 motion_notify_event signal so that it does not reach the clist.
2140 We do not want it to select rows while dragging.
2141 Replaced copy_strings() with g_strconcat().
2143 * gdnd.c (gdnd_validate_action): Do not override GDK_ACTION_ASK.
2145 * gdesktop.c: Updated the TODO list at the top of the file.
2147 Wed Jan 27 03:14:46 1999 Timur Bakeyev <mc@bat.ru>
2149 * Converted memory managment to Glib - where it wasn't done. Now we
2150 use g_new()/g_malloc()/g_strdup()/g_free() routings. copy_strings() re-
2151 placed by g_strconcat(), and sprintf() by g_snprintf(). Some other,
2154 1999-01-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
2156 * gscreen.c (panel_setup_drag_scroll): Renamed from
2157 panel_setup_drag_motion().
2158 (panel_clist_drag_motion): Use gdnd_validate_action().
2159 (panel_clist_motion): Return immediately if the event window is
2160 not the clist_window. Otherwise, forward the event to
2161 panel_widget_motion().
2163 * gdnd.c (gdnd_find_panel_by_drag_context): New public function to
2164 find a panel based on a drag context. This is basically the old
2165 find_panel_owning_window() made public.
2166 (gdnd_drop_on_directory): Test for the source widget being a tree,
2167 and if so, do not use the default behavior for panels.
2168 (gdnd_validate_action): New function to compute the final drag
2169 action given some conditions. This is now used to make dragging
2170 behavior consistent across the desktop and the file panels.
2172 1999-01-26 Jonathan Blandford <jrb@redhat.com>
2174 * gnome-file-property-dialog.c: Many Many Many changes. Now it's
2175 pretty cool. You can set all meta-data but the icon now. Need to
2176 make gmc do the right thing with it, though.
2178 1999-01-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
2180 * gtkdtree.c (gtk_dtree_select_row): This should be also protected
2181 against async notifications.
2183 1999-01-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
2185 * gscreen.c (panel_create_icon_display): Only use
2186 GTK_DEST_DEFAULT_DROP since we want to do exotic stuff in the
2187 drag_motion handler to validate drops.
2188 (panel_icon_list_drag_motion): Use gdnd_validate_action().
2190 * gdnd.c (gdnd_drop_on_directory): Removed hack that prevented the
2191 user from dropping files on the same panel as the source one.
2192 This should not be done here.
2194 * gdnd.c (get_action): Sensitize the menu items based on the
2195 allowed actions in the drag context.
2196 (actions): Add some underlined accelerators for the action menu.
2198 * gdesktop.c (icon_drag_motion): Use S_ISDIR() in addition to
2201 * gscreen.c (panel_file_list_scrolled): Removed this function, as
2202 it was not used for anything useful.
2204 * gdnd.c (gdnd_drop_on_directory): Duh. Use context->action, not
2205 context->suggested_action.
2207 1999-01-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
2209 * gtkdtree.c (gtk_dtree_load_path): Keep track of when we are
2210 loading the tree (and thus we do not care about async
2211 notifications to the tree state changes) and when we are done (and
2212 thus, we care about the async treestore structure notifications).
2214 1999-01-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
2216 * gcmd.c (ep_add_callback): Set Window's position to
2218 (gnome_external_panelize): ditto.
2219 (gnome_filter_cmd): ditto.
2221 * gdialogs.c (file_progress_query_replace_policy): Set Window's
2222 position to GTK_WIN_POS_MOUSE.
2223 (file_progress_real_query_replace): ditto.
2224 (file_mask_dialog): ditto.
2226 * gdialogs.c: Tag the strings for localization. Remove debugging
2229 * gmain.c (gmc_window_setup_from_panel): Helper routine used to
2230 set the GTK_WIN_POS_MOUSE on a window and set the parent with
2231 gnome_dialog_set_parent (iff you have the WPanel * pointer to the
2234 * gtools.c (query_dialog): Set the window position to GTK_WIN_POS_MOUSE.
2236 * gtkdtree.c (gtk_dtree_destroy): Kill the add_entry notification hook.
2237 (gtk_dtree_init): Install a notification function for treentry.
2239 (entry_added_callback, entry_removed_callback): Implemented. Now
2240 the tree is in sync with the panels and reload will update the
2243 1999-01-22 Federico Mena Quintero <federico@nuclecu.unam.mx>
2245 * gdesktop-icon.c (set_text): Update the call to
2246 gnome_icon_text_item_configure() for the new API.
2248 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
2250 * gdesktop.c (desktop_drag_data_received): Do not force links on
2253 * gscreen.c (panel_create_file_list): Do not use
2254 GTK_DEST_DEFAULT_ALL for the drop site. Only use
2255 GTK_DEST_DEFAULT_DROP, since we need to check motion ourselves.
2256 (panel_clist_drag_motion): Do not allow dropping on the clist buttons.
2257 (panel_clist_button_press): Do not assign the
2258 panel->maybe_drag_start flag if the user clicked outside the clist_window.
2260 * gdesktop.h: Removed old crud (desktop_icon_t, icon_t).
2262 * gscreen.c (drag_types, drop_types): Use the constants from gdnd.h.
2264 1999-01-21 Jonathan Blandford <jrb@redhat.com>
2266 * gnome-file-property-dialog.c (apply_uid_group_change): uh, lets
2267 do this in Octal. (:
2269 * glayout.c: comment out compare panels.
2271 * gnome-file-property-dialog.h: new file. This is a new widget
2272 for the file-properties dialog. It doesn't handle mode changes
2273 quite right yet, but does everything else beautifully...
2275 * gnome-file-property-dialog.c: new file
2277 * gpopup.c (panel_action_properties): use new dialog
2278 (dicon_properties): as above.
2280 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
2282 * gscreen.c (panel_create_file_list): Added GDK_ACTION_ASK to the
2283 destination actions.
2284 (panel_create_icon_display): Likewise.
2285 (panel_create_tree_view): Likewise.
2287 * gdesktop.c (desktop_drag_motion): If the user explicitly
2288 requested action ASK, then do not make feedback show MOVE.
2290 * gscreen.c (panel_widget_motion): Pass in all drag actions now
2291 that Gtk handles button 2 by itself.
2293 * gdesktop.c (icon_event): Also delay the call to select_icon()
2294 until button release if the icon is selected and there are no
2295 modifier keys pressed. This lets us perform drags on
2296 multi-selections easily.
2298 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
2300 * gdesktop.c (setup_icon_dnd_dest): Always specify ACTION_MOVE,
2301 since we want to be able to move the icons around. Connect to the
2303 (dnd_icon_targets): List desktop icons as a target to be able to
2304 move them just a notch in the desktop.
2305 (icon_drag_motion): Decide which action we can use for dropping
2306 stuff on a desktop icon.
2307 (setup_icon_dnd_dest): Always specify all the actions.
2308 (icon_drag_data_received): Allow for icons to be moved just a
2309 notch by accepting drops from icons.
2311 * gdnd.h: Added #defines for the DnD target type names.
2313 * gdnd.c (gdnd_init): New public function to intern the target
2315 (gdnd_drag_context_has_target): New public function to see if a
2316 drag context has a certain target type.
2318 * gdesktop.c (setup_desktop_dnd): Do not use
2319 GTK_DEST_DEFAULT_MOVE, and connect to drag_motion.
2320 (desktop_drag_motion): If we are dragging from a desktop icon,
2321 indicate the action as MOVE. Otherwise, force the action to be
2322 LINK unless the user explicitly requested ASK.
2323 (setup_desktop_dnd): Intern the atoms for the drop targets.
2325 1999-01-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
2327 * gscreen.c: Selection code now is simpler and should be easier to
2328 use in the listing modes.
2330 1999-01-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
2332 * gicon.h (gicon_image_to_name): Added prototype for
2333 gicon_image_to_name().
2335 * gicon.c (gicon_get_icon_for_file):
2336 (gicon_get_icon_for_file_speed): Added a "directory" argument.
2337 It is needed because the file_entry structure only contains the
2338 pruned filename, and we need the complete name for the metadata
2341 * gdesktop.c (desktop_icon_info_new): Pass the directory to
2342 gicon_get_icon_for_file_speed().
2344 * gpageprop.c (item_properties): Build the directory name and pass
2345 it to gicon_get_icon_for_file_speed().
2347 * gscreen.c: Do not #include "directory.xpm". Do #include "setup.h".
2348 Removed unused function button_switch_to().
2350 * gscreen.c (panel_fill_panel_icons): Pass the directory to
2351 gicon_get_icon_for_file().
2353 * gscreen.c (panel_create_tree_view): Allow button 2 to start the
2355 (panel_clist_scrolling_is_desirable): Make both scrolling
2356 thresholds consistent. Also, do not allow scrolling past the
2358 (panel_icon_list_scrolling_is_desirable): Likewise.
2359 (panel_tree_scrolling_is_desirable): Likewise.
2360 (panel_clist_scroll): Do not allow scrolling past the correct limits.
2361 (panel_icon_list_scroll): Likewise.
2362 (panel_tree_scroll): Likewise.
2364 1999-01-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
2366 * gscreen.c (panel_create_icon_display): Do not set the style of
2369 1999-01-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
2371 * gprefs.c (apply_callback): Update the directory contents after
2372 the settings have changed.
2374 1999-01-19 Jonathan Blandford <jrb@redhat.com>
2376 * gdialogs.c (file_op_context_create_ui): OP_DELETE now has it's
2377 very own dialog. whee.
2379 * gscreen.c (panel_create_pixmaps): now we use dir-open.xpm
2380 instead of the (apparently) ugly yellow one.
2382 1999-01-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
2384 * gtkdtree.c (gtk_dtree_select_row): Wonder why the code was
2385 returning for the clicks on the root node.
2387 1999-01-19 Jonathan Blandford <jrb@redhat.com>
2389 * gprefs.c: applied a heavily modified patch by Dave Camp
2390 <campd@oit.edu> The preference box now works.
2392 1999-01-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
2394 * gtkdtree.c (gtk_dtree_construct): And the GTK+ people broke the
2397 1999-01-18 Jonathan Blandford <jrb@redhat.com>
2399 * gscreen.c (x_create_panel): chnaged padding on the Filter label
2400 (do_ui_signal_connect): new view switching code. Toolbar now works
2401 (go_home): new function -- takes one home
2403 * gtkdtree.c (gtk_dtree_construct): change ctree_set_reorderable.
2405 1999-01-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
2407 * gdesktop.c (icon_event): Rewrote event handling for icons on the
2408 desktop. This function handles button presses and releases and
2409 does some anal-retentive checking to avoid stuck pointer grabs.
2410 (icon_event_after): New fallback function for button presses.
2411 This is only called when an icon is being edited and the user
2412 clicks outside the icon's text item, indicating that editing
2413 should be accepted and terminated.
2414 (selection_stopped): New callback used to re-install the mouse
2415 grab once the icon text item stops selecting text.
2417 * gdesktop.h (DesktopIconInfo): Removed the finishing_selection
2418 flag now that the event handling code is cleaned up.
2420 1999-01-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
2422 * gpageprop.c (item_properties): Use the metadata information for this.
2423 (item_properties): Set the icon-filename metadata bit
2425 1999-01-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
2427 * glayout.c (create_new_menu_from): Handle both the system dir and
2428 the locally installed directory.
2430 1999-01-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
2432 * gtkdtree.c (gtk_dtree_do_select_dir): Select the node, and test
2433 against full visibility of a node.
2435 * gscreen.c (panel_fill_panel_icons): While loading the icon list,
2436 mark those items that are selected as, well, ahem, selected.
2437 (x_fill_panel): Use the system getwd routine to find out the real
2438 location in the file system
2440 1999-01-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
2442 * gpageprop.c (item_properties): Use file contexts appropriately.
2444 * gdnd.c (perform_action): Use file contexts appropriately.
2446 1999-01-13 Jonathan Blandford <jrb@redhat.com>
2448 * glayout.c (create_container): finished the New->menu. Looks
2450 (create_container): Moved the statusbar creaton. Now you can get
2453 * gcmd.c (gnome_run_new): new function.
2455 * glayout.c (create_container): beginnings of the New-> menu. It
2456 doesn't have much yet, hopefully we'll have a good way to let apps
2457 register themselves with it.
2459 1999-01-13 bertrand <Bertrand.Guiheneuf@inria.fr>
2464 s/gtk_toggle_button_state/gtk_toggle_button_active
2466 1999-01-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
2468 * gdesktop.c (desktop_icon_info_delete): Pass the file operation
2469 context to erase_dir() and erase_file().
2471 * gcmd.c (gnome_sort_cmd): Cast the sort functions to avoid
2474 * gdialogs.c: Converted to use FileOpContext.
2476 * gmain.h: Added some prototypes needed in the Gnome version.
2478 1999-01-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
2480 * gdesktop.c (desktop_drag_data_received): Drops on the desktop by
2481 default will always be Link commands. If the user wants to
2482 copy/move he needs to use the button-2 to do this.
2483 (desktop_icon_info_delete): Treat links as files, not directories.
2485 I have got enough complaints about this.
2486 1999-01-12 Jonathan Blandford <jrb@redhat.com>
2488 * gcmd.c (gnome_open_files): now you can open multiple files.
2489 * glayout.c: layout changed some. moved run command.
2490 commented out ftplink/mkdir command for now. gonna do mkdir
2491 next. Why is the ftplink command needed?
2493 1999-01-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
2495 * glayout.c (run_cmd): Add run command. Add back FTP link
2496 command. Add Mkdir command. Use standard key definitions.
2498 * gview.c: Use new standard keybindings
2500 * gtkdtree.c: Now it uses the treestore code.
2502 * treestore.c: New file format which includes the scan status of
2505 * treestore.c: Provide _opendir, _readdir, _closedir operations
2508 Next step: load/save the tree_entry->scanned flag (without this,
2509 you wont notice a big speedup).
2511 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
2513 * gutil.c (my_system_get_child_pid): Acknowledge new EXECUTE_WAIT
2514 flag. This is required by the vfs code.
2516 1999-01-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
2518 * gscreen.c (panel_create_file_list, panel_create_icon_display):
2519 I got excited adding the gtk_drag_source_set. I generate those
2520 events myself, no need to put them here.
2522 1999-01-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
2524 * gwidget.c (stock_from_text): Return this value.
2526 1999-01-08 Jonathan Blandford <jrb@redhat.com>
2528 * glayout.c: now open the new (non-functional) dialog box. If you
2529 want functionality, I suppose you could put the old one back in.
2530 I'll work on it more this weekend, though, so hopefully it can get
2531 back to the old state relatively quickly.
2532 * gprefs.c (gnome_configure_box): New function, new file, first
2533 start at unified properties box.
2535 1999-01-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
2537 * gscreen.c (panel_icon_list_select_icon): Remove debugging message.
2539 * glayout.c: Add a create directory option.
2541 1999-01-07 Jonathan Blandford <jrb@redhat.com>
2543 * gcmd.c (gnome_filter_cmd): now it works! It's even sorta
2544 useful. I'm so psyched... (:
2547 1999-01-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
2549 * gscreen.c (panel_icon_list_drag_data_received): Do not update
2550 contents if nothing was done (ie, the drop was cancelled).
2551 (panel_create_file_list): Duh. Restore this, as, ahem, we dont
2552 have banding selection on CList.
2553 (panel_icon_list_select_icon): Open the new panel only on button
2555 (panel_file_list_select_row): New panel started on clist when you
2556 press middle button.
2558 (panel_create_file_list): Ahaha! I found that CList now has a
2559 gtk_clist_set_buttion_actions. Go figure why we need this and why
2560 it was implemented, but now buttons work as they should on clist.
2562 * gdnd.c (gdnd_drop_on_directory): Do nothing if the files dragged
2563 are on the same directory we are.
2565 1999-01-07 Jonathan Blandford <jrb@redhat.com>
2567 * gcmd.c (gnome_filter_cmd): Function filled in now. Actually
2568 works (amazing!.) Next: put a history on it, and maybe an event
2571 * glayout.c: use the function below.
2573 * gcmd.c (gnome_filter_cmd): New function (or a sorry excuse for
2576 * gscreen.c (x_create_panel): now uses gnome-appbar instead of the
2577 old, psuedo status bar.
2579 1999-01-06 Jonathan Blandford <jrb@redhat.com>
2581 * gcmd.c (gnome_external_panelize): Now it works. Just need to save
2582 results so the next time works. Will do this tomorrow.
2583 (gnome_external_panelize): think I finished this now.
2585 1999-01-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
2587 * gdesktop-icon.c (desktop_icon_realize): Make icons sticky as
2590 * gpageprop.c (item_properties): Use a file operation context.
2591 * gdnd.c (perform_action): Likewise.
2592 * gdesktop.c (desktop_icon_info_delete): Likewise.
2594 * Makefile.in: Added fileopctx.o.
2596 1999-01-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
2598 * gdesktop.c (desktop_icon_drop_uri_list): Implement
2599 drops-on-executable.
2601 * gmetadata.c, gaction.c, gdesktop.c, gicon.c: Use g_free instead
2602 of free to follow the convention in gnome-metadata.c
2604 * gtools.c (query_dialog): Fix the new version of this. It was
2605 overwriting memory all over.
2607 * gdialogs.c (): Use GNOME stock; Fill in some FIXME strings.
2608 (file_progress_real_query_replace): Use the formatted
2611 Change the inlined N_( for _( in various places.
2612 (cancel_cb): Cancel button now cancels a copy or move operation.
2614 * gtools.c (query_dialog): Remove the hotkey indicator in the
2615 gnome version specific query_dialog box.
2617 1999-01-05 Jonathan Blandford <jrb@redhat.com>
2619 * gcmd.c (gnome_external_panelize): mostly hooked up now.
2620 will finish tomorrow (shouldn't take very long...)
2622 1999-01-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
2624 * Makefile.in (GNOMESRCS): Removed temp-hack.c from the list of
2626 (GNOMEHDRS): Ditto for gdialogs.h.
2628 * gscreen.c (x_create_panel): Removed periods from the toolbar
2631 1999-01-04 Jonathan Blandford <jrb@redhat.com>
2633 * glayout.c: menu changes.
2635 * gcmd.c (gnome_external_panelize): new function. Does absolutely
2636 nothing yet but look pretty (and it doesn't do that all that well,
2637 yet...) I'll hook it up to it's actual functions, tomorrow.
2639 1999-01-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
2641 * gscreen.c (x_reset_sort_labels): Various fixes to fix some of my
2642 recent changes. I bet Jonathan found that things were not quite
2643 working. Sorry for the previous untested changes.
2645 This also fixes the bugs reported on gnome-list regarding the
2646 CList problems. This is the correct fix (basically, we were using
2647 a CList that was configured in one way, even if the display format
2648 had changed. Now, the CList is kept in sync with the format by
2649 calling a routine that somehow got dropped during some recent
2652 * gtools.c (query_dialog): Simplified.
2654 1999-01-02 Jonathan Blandford <jrb@redhat.com>
2656 * gcmd.c (gnome_sort_cmd): pretified
2657 (gnome_select_all_cmd): New command -- selects all files (in
2660 * glayout.c: rearrange the edit menu some.
2662 * gscreen.c (x_create_panel): new icon view icons -- brief and
2665 1999-01-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
2667 * gdesktop.c (select_range): Fixed selection of ranges where the
2668 starting and ending icons are in the same vertical or horizontal
2670 (reload_desktop_icons): Fixed incorrect usage of
2671 g_list_remove_link(). Also, moved the functionality from the old
2672 load_desktop_icons() here. Now all icons are always loaded
2673 efficiently, and there is no need for the "incremental" flag.
2674 (desktop_icon_info_delete): Delete the icon position information.
2676 * gmetadata.c (gmeta_del_icon_pos): New public function to delete
2677 the icon position information from a file.
2679 1999-01-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
2681 * gwidget.c (x_create_listbox): Temporary hack
2683 * gmetadata.c (gmeta_get_icon_pos): Fixed the memory leak here.
2685 * gicon.c (gicon_get_icon_for_file): Actually return a value
2688 1999-01-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
2690 * gscreen.c (panel_fill_panel_list): Assertion that will pin point
2691 if a CList gets out of sync with the panel->format.
2693 1999-01-01 Momchil 'Velco' Velikov <velco@fadata.bg>
2695 * gscreen.c (panel_fill_panel_list): NULL terminate the column
2696 array. This is strange, as it should not need the ending NULL.
2698 1999-01-01 Jonathan Blandford <jrb@redhat.com>
2700 * gcmd.c ((GtkWidget *widget, WPanel *panel): Now hooked up
2701 correctly. Still needs to set the option menu correctly. Oh
2704 1998-12-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
2706 * gpopup.c (dicon_properties): Made static, and renamed from
2707 desktop_icon_properties().
2708 (dicon_execute): Likewise.
2709 (dicon_actions): Renamed from desktop_icon_actions.
2711 * gdesktop.c (desktop_icon_info_destroy): Renamed from
2712 desktop_icon_destroy(), for consistency with the rest of the
2713 functions that handle DesktopIconInfo structures.
2714 (desktop_icon_info_open): Likewise.
2715 (desktop_icon_info_delete): Likewise.
2717 1998-12-31 Miguel de Icaza <miguel@nuclecu.unam.mx>
2719 * gscreen.c (panel_create_icon_display): Provide auto-scroll
2720 handlers for the drag stuff.
2722 1998-12-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
2724 * gmain.c (create_panels): Register corba server here.
2726 * gcorba.c: Fix a servant declaration to point to the correct
2729 1998-12-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
2731 * gdesktop.c (find_icon_by_drag_context): Made static.
2733 * gdesktop.h (DesktopIconInfo): Now that this type is public,
2734 renamed it from struct desktop_icon_info, for consistency.
2736 1998-12-30 Jeff Garzik <jgarzik@pobox.com>
2738 * gprop.c, gpopup.c: s/g_copy_strings/g_strconcat/
2740 1998-12-30 Jonathan Blandford <jrb@redhat.com>
2742 * gaction.c (gmc_execute): now takes an filename instead of a file
2743 entry for an argument
2744 (gmc_open_filename): handles the new gmc_execute code.
2746 * gdesktop.c (desktop_icon_drop_uri_list): commented out
2747 action_drop. Needs defining.
2749 1998-12-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
2751 * gdesktop.c (desktop_icon_delete): New function, used for
2753 (load_desktop_icons): Implemented the incremental reloading of
2754 desktop icons. This should make the code much nicer.
2755 (reload_desktop_icons): Call x_flush_events to force a display at
2758 * gpopup.c (dicon_delete): Implement this operation.
2759 (desktop_icon_execute): Use the existing implementation for
2760 launching desktop icons instead of a new hacked up version
2762 (desktop_icon_actions): Until copy/move is implemented, do not
2763 even list them to the user.
2765 * gdesktop.c (create_desktop_dir): No trashcan setup until it
2768 * gscren.c (panel_widget_motion): Use button 2 for dragging and
2772 * gscreen.c (panel_create_file_list): Use a notebook instead of
2773 the hack I was using before for switching the panel contents.
2775 * gtkdtree.c (gtk_dtree_new): We now rely on the whole code to be
2776 running in the proper visual. The more I look at this, the more
2777 desires I have to do a proper imlib.
2779 * gdesktop-icon.c (desktop_icon_init): ditto.
2781 Tue Dec 29 16:55:24 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2783 * gmain.c: According to the man page the color keyword for executable
2784 files is `executable' and not `execute' -- changed.
2786 1998-12-28 Jonathan Blandford <jrb@redhat.com>
2788 * glayout.c: Initial rehash of the menu code.
2790 1998-12-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
2792 * gprop.c (perm_mode_new), gcliplabel.c: Uset gtk_label_set_text.
2794 Thu Dec 24 18:38:45 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2796 * layout: Adapted for the new option Compute Totals in the
2797 Configuration dialog.
2799 1998-12-22 Jonathan Blandford <jrb@redhat.com>
2801 * gdialogs.c (file_progress_real_query_replace): Cleaned up some. Still has a
2802 bit of work to do, but in general, much better.
2804 Mon Dec 21 22:33:07 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
2806 * layout: Deleted obsolete widgets from the Virtual FS configuration
2809 1998-12-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
2811 * gscreen.c (panel_icon_list_select_icon): Show the popup menu on
2812 button release here. This is what makes most sense.
2813 (panel_widget_motion): Drags with button 3 now produce a popup
2814 dialog box that asks
2816 1998-12-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
2818 * gdialogs.c (create_op_win): Remove second spurious packing.
2819 (create_op_win): OP_MOVE uses the same stuff OP_COPY does. Fix
2821 (file_progress_show_target): More compliant to the original
2823 (file_progress_show_source): More compliant to the original
2826 * gdesktop.c (create_desktop_dir): Fix mem leak.
2828 Tue Dec 15 10:51:12 1998 Gregory McLean <gregm@comstar.net>
2830 * gdesktop-icon.c : Attach a desktop_icon wmclass to the desktop
2831 icons to allow even more wizardry with the desktop icons, mainly
2832 to exclude them from window lists, don't decorate them, skip
2833 desktops and other boring stuff.
2835 1998-12-14 Sven Neumann <sven@gimp.org>
2837 * lightened up the dir-pixmaps a little to please your eyes and
2840 1998-12-14 Owen Taylor <otaylor@redhat.com>
2842 * gnome.TODO: Added a number of tree and icon
2845 1998-12-14 Owen Taylor <otaylor@redhat.com>
2847 * gscreen.c (x_create_panel): Keep up with changes
2850 1998-12-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
2852 * gwidget.c (x_update_input): Use gtk_entry_get_text here.
2854 1998-12-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
2856 * gscreen.c (panel_create_icon_display): Set white background.
2858 1998-12-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
2860 * gdnd.c (perform_action): Fixed a pair of incorrect braces.
2861 Files were not being operated on because of this.
2863 1998-12-12 Owen Taylor <otaylor@gtk.org>
2865 * gscreen.c (panel_tree_drag_motion): Doubled timeout
2866 for autoexpand - reducing opening unwanted directories.
2868 * gscreen.c (tree_drag_open_directory): Use
2869 gtk_ctree_expand() not gtk_ctree_expand_recursive,
2870 which increases confusion and could be
2871 _vvveeerrrryyyy_ expensive. (/afs ?)
2873 * gscreen.c (panel_tree_drag_leave): Fixed up
2874 signature - "drag_leave" has no x,y.
2876 * gscreen.[ch] (panel_tree_check_auto_expand): When
2877 we've expanded rows during a drag, collapse them
2878 again when the drag leaves that row.
2880 1998-12-12 Owen Taylor <otaylor@gtk.org>
2882 * gtkdtree.c (gtk_dtree_destroy): Remove timer upon
2883 destruction to be safe. (Should this, and
2884 dtree->timer_id itself be in gscreen.c instead?)
2886 * gscreen.c (panel_tree_drag_leave): Change == to !=
2887 so that timeouts are properly removed.
2889 1998-12-11 Matt Wilson <msw@redhat.com>
2891 * gscreen.c: The solid lines in the tree are kinda harsh. Replace
2892 them with soothing dotted lines.
2894 1998-12-11 Matt Wilson <msw@redhat.com>
2896 * dir-open.xpm, dir-close.xpm: Away with the tacky yellow folders -
2897 I like these brown ones from tigert better.
2899 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
2901 * gpopup.c (create_actions): The tests for F_PANEL and F_DICON
2902 were wrong. Fixed them. This does not mean that the popup menus
2905 1998-12-11 Owen Taylor <otaylor@redhat.com>
2907 * gscreen.c gdesktop.c gdnd.h: enable dragging locale files
2910 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
2912 * gicon.c (gicon_get_icon_for_file): First try to fetch the inline
2913 icon data (i.e. thumbnails), second try the generic icon filename.
2915 1998-12-11 Owen Taylor <otaylor@redhat.com>
2917 * gdesktop.c (window_button_press): Ehen cancelling editing
2918 account for clicks on other GMC windows.
2920 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
2922 * gdesktop.c (click_proxy_filter): Doh. We may get DestroyNotify
2923 for other windows than the proxy, so deal with it.
2925 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
2927 * gdesktop.c (click_proxy_button_press): Use a nice arrow cursor
2929 (click_proxy_filter): Keep a firm jaw when the window manager dies
2930 and thus the proxy window is destroyed.
2931 (setup_desktop_click_proxy_window): Moved the proxy window
2932 creation code to this function.
2933 (click_proxy_property_notify): Handle PropertyNotify events from
2934 the root window for when the proxy window changes. Now the window
2935 manager can restart itself as it pleases and GMC will handle it
2938 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
2940 Wheeeee! Desktop icons can be selected by rubberbanding. You
2941 need Englightenment to do this, as so far it seems to be the only
2942 WM with support for the _WIN_DESKTOP_BUTTON_PROXY property.
2944 * gdesktop.c (click_proxy_filter): New event filter for button
2945 presses and releases on the root window.
2946 (click_proxy_button_press): New function to handle button presses
2948 (click_proxy_button_release): New function to handle button
2949 releases on the desktop.
2950 (click_proxy_motion): New function to handle rubberbanding motion
2952 (setup_xdnd_proxy): Flush the server after ungrabbing it.
2953 (find_click_proxy_window): Flush the server after ungrabbing it.
2954 (store_temp_selection): Stores the temporary selection to the
2955 master selection, or viceversa. This is needed for dynamic
2956 updating while the user rubberbands.
2957 (update_drag_selection): New function to update the selection
2958 while the user is rubberbanding on the desktop.
2959 (icon_is_in_area): New function to see if an icon is inside the
2962 * gdesktop-icon.h: Added fields for querying the icon and text
2965 * gdesktop-icon.c (desktop_icon_reshape): Set the position and
2966 size fields as computed for layout.
2968 1998-12-11 Owen Taylor <otaylor@redhat.com>
2970 * gdesktop.c (editing_started): Grab on the window for the
2971 icon, not on the canvas, so we can properly detect
2974 (icon_button_release_after): When the user stops selecting,
2977 1998-12-11 Jonathan Blandford <jrb@redhat.com>
2979 * gtkdtree.c (gtk_dtree_do_select_dir): fixed a little bug --
2982 * gscreen.c (x_create_panel): More changes. The toolbar is moved
2983 to a gtk_toolbar, and is movable. The entry will be put in it's
2985 (panel_create_cwd): For now, hardcode the usize of the entry
2986 widget. Later on, have it expand (when toolbar supports it)
2988 1998-12-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
2990 * gcmd.c: #include "../vfs/vfs.h"
2992 * gdesktop.c (setup_icon_dnd_actions): Moved the code that calls
2993 gtk_drag_source_set() for an icon here.
2994 (editing_started): Temporarily disable drags while the icon's text
2996 (editing_stopped): Re-enable DnD from the icon once editing has
2999 1998-12-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
3001 * gcmd.c (gnome_close_panel): When a panel is destroyed, chdir to
3002 root directory, as the process will be holding the inode for the
3003 directory that was selected until an operation is performed in
3006 * gicon.c (gicon_get_icon_for_file): Invert the way the testing
3007 for icons is done to handle directories properly.
3009 1998-12-10 Jonathan Blandford <jrb@redhat.com>
3011 * gscreen.c (x_create_panel): made some small stylistic changes.
3012 Also, removed the hint bar and consolidated the status bar.
3014 Thu Dec 10 21:38:55 1998 Owen Taylor <otaylor@redhat.com>
3016 * gkey.c (delete_select_channel): Fixed list handling
3017 with g_list_remove().
3019 1998-12-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
3021 * gdesktop.c (dnd_select_icon_pending): Added this flag that
3022 specifies whether a selection is pending for an icon if the user
3023 was holding the Control key down while clicking. We have to delay
3024 selection in this case so that DnD will work correctly, just like
3026 (icon_button_press): New function that handles button presses on
3027 icons; it obsoletes the old desktop_icon_info_event().
3028 (icon_button_release): New function that handles button releases
3029 on desktop icons; it will do what is appropriate if there was a
3030 pending icon selection.
3031 (drag_begin): Handle pending selections as appropriate.
3032 (unselect_all): Added an paremeter that specifies which icon to
3033 exclude from unselection.
3034 (editing_started): Unselect all icons but the one for which
3035 editing has started.
3036 (dnd_icon_sources): Changed the MIME-types for internal drops to
3037 "application/x-mc-desktop-icon".
3038 (click_proxy_window): New variable that stores the proxy window
3039 for clicks on the desktop.
3040 (setup_desktop_clicks): New function that sets up clicks on the
3042 (find_click_proxy_window): New function to find and set up the
3043 window for proxying clicks from the root window.
3045 * image.metadata.in: Added case for `jpg', as there was only a
3048 1998-12-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
3050 * gicon.c (gnome_file_entry_color): If we do not have permissions
3051 for this directory, indicate this with a special icon.
3053 * gscreen.c (panel_icon_list_select_icon): Middle button opens a
3054 new panel on a directory.
3056 1998-12-08 Federico Mena Quintero <federico@nuclecu.unam.mx>
3058 * gdesktop.c: Moved the old DnD cruft to olddnd.c to keep it there
3059 for reference purposes.
3061 * gmetadata.c: Removed the gmeta_get_icon_for_file() function, as
3062 it is obsoleted by gicon_get_icon_for_file().
3064 * gdesktop.c (desktop_icon_info_new): Made it use
3065 gicon_get_icon_for_file().
3067 * gdesktop-icon.c (set_icon): Now we handle things internally
3068 using an imlib image, not a filename.
3069 (desktop_icon_new): Now takes an imlib image for the icon instead
3071 (desktop_icon_set_icon): Likewise.
3073 1998-12-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
3075 * gtkdtree.c (gtk_dtree_new): Use imlib's visual and colormap.
3077 * gscreen.c (panel_create_tree_view): Use the colormap and visual
3078 from imlib when creating the DTree,
3080 1998-12-08 Federico Mena Quintero <federico@nuclecu.unam.mx>
3082 * gdesktop.c (icon_drag_data_received): Doh. Use the correct
3083 pathname when calling gdnd_drop_on_directory().
3085 1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
3087 * gdesktop.c (desktop_icon_info_new): Do not stat the file, as we
3088 do not need that information anymore.
3089 (setup_icon_dnd_source): Moved the DnD-as-source code to here.
3090 (setup_icon_dnd_dest): New function to set up an icon as a DnD
3093 * gdesktop.c (desktop_icon_info_place): Doh, do not place icons
3094 past the edge of the *whole* screen :-)
3095 (dnd_press_x dnd_press_y): New variables to store the cursor
3096 hotspot for DnD icons. Moved these over from the
3097 desktop_icon_info structure, as it does not make sense to have
3098 this inside every icon.
3099 (button_press): Use dnd_press_x and dnd_press_y.
3100 (drag_begin): Likewise.
3101 (drop_desktop_icons): Use dnd_press_x and dnd_press_y to fix the offsets.
3102 (drag_data_received): Fix the proxy window offsets for all types
3104 (drop_desktop_icons): Snap the coordinates as appropriate.
3106 1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
3108 * gdesktop.c (drop_desktop_icons): New function to perform a drop
3109 from desktop icons to the desktop. It effectively moves the icons
3111 (desktop_icon_info_place): Do not place the icons past the edge of
3114 1998-12-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
3116 * gdesktop.c (file_entry_from_file): Finished implementing
3117 file_entry_from_file().
3118 (struct desktop_icon_info): Removed the `type' field. We now stat
3119 the file when needed to figure out the file type.
3120 (desktop_icon_info_event): Test whether the file is a directory by
3121 ourselves, and if it is, open a new panel for it.
3122 (drag_data_get): Generate the uri-list for internal desktop icon
3125 * gdesktop.c (drag_data_received): We do not need to call
3126 gtk_drag_finish(), since we are using the GTK_DEST_DEFAULT_DROP
3127 flag for drops on the desktop.
3128 (desktop_icon_info_event): Reload the desktop icons after
3129 executing a command from the popup menu. This kind of sucks, but
3131 (desktop_icon_info_event): Upon receiving a button-1 press, if the
3132 icon was already selected in the first place, delay the
3133 re-selection phase until we get a mouse release event. This lets
3134 us start a multiple-selection drag without having the initial
3135 click clear the selection first.
3136 (desktop_icon_info_event): Open the file or directory when the
3137 desktop icon receives a double click.
3139 * gmain.c (beep): Made it void, since it does not (need to) return
3141 (xtoolkit_end): Likewise.
3143 1998-12-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
3145 * gscreen.c (panel_build_selected_file_list): Provide space for
3146 the terminating NULL.
3148 * gmain.c (beep): Return a value.
3150 * gdnd.c (get_action): Typo fix.
3152 1998-12-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
3154 * gscreen.c (load_imlib_icons): Make it use the new gicon files.
3156 * gicon.c, gicon.h: New files: they keep an image cache and
3157 provide the right icon to use based on the filename. They use the
3158 GNOME metadata to fecth the "icon-filename" and "icon-inline-png"
3159 keys for per-image icons.
3161 * gdialogs.c (file_mask_dialog): Commented the help messages until
3162 the warnings are figured out.
3164 1998-12-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
3166 * gdesktop.c (desktop_icon_info_new): Connect the signals for DnD
3167 so that we can drag icons from the desktop.
3168 (drag_begin): New function to set the drag cursor for icons on the desktop.
3169 (button_press): New function that stores the hot spot position for
3171 (drag_data_get): New function to fetch the URI-list of selected icons.
3173 * gdialogs.c: Fixed some includes.
3175 * gdesktop.h: Removed the DnD target enum from here, since it is
3176 specific to each submodule.
3178 * gdnd.h: Moved the DnD target enums to here. Added a new
3179 TARGET_MC_DESKTOP_ICON.
3181 * gdesktop.c (get_icon_snap_pos): Fixed icon snapping; the
3182 coordinates not being updated correctly.
3184 * gscreen.c (panel_drag_data_get): Free the uri list; it was being leaked.
3186 1998-12-04 Jonathan Blandford <jrb@redhat.com>
3188 * gdialogs.c (file_progress_show_count): finished the copy dialog.
3190 1998-12-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
3192 * gblist.c (blist_select_row): Warning fixes.
3194 * olddnd.c: Moved the old DND code here for reference purposes.
3196 * gscreen.c: Made the tree a drag source.
3198 1998-12-04 Jonathan Blandford <jrb@redhat.com>
3200 * gdialogs.c (trim_file_name): better update dialog
3202 1998-12-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
3204 * gdesktop.c (load_desktop_icons): Added arguments that specify
3205 where to place the newly-created icons. This needs some tweaking still.
3206 (reload_desktop_icons): Now takes arguments for the position of
3208 (drag_data_received): Pass in the drop position to reload_desktop_icons().
3210 * gscreen.c (panel_tree_drag_motion): Added missing variable declaration.
3212 * gdesktop.c (load_desktop_icons): Added an incremental flag that
3213 specifies whether icon creation is unconditional regardless of
3214 whether there is an icon for a file or not.
3215 (reload_desktop_icons): Use the incremental flag in load_desktop_icons().
3216 (drag_data_received): Reload the desktop incrementally, to avoid flicker.
3217 (desktop_icon_info_new): Use mc_lstat(), not mc_stat(). We do
3218 want to read symlinks, even dangling ones, if they exist.
3219 (load_desktop_icons): While we are reading the desktop directory,
3220 first place all the icons that have their metadata icon-position
3221 set, and build a list of the ones that don't. *Then* place
3222 those. This fixes overlapping icons on weird situations.
3224 * directory.xpm: Removed bogus garbage. There was a stale pixmap here.
3226 * gdesktop.c (setup_desktop_dnd): Allow for GDK_ACTION_ASK as well.
3228 * gscreen.c (panel_widget_motion): The action argument to
3229 gtk_drag_begin() is a mask of possible actions, not a single action.
3231 * gdesktop.c (drag_data_received): Only reload the icons if the
3232 drop was successful.
3234 1998-12-03 Jonathan Blandford <jrb@redhat.com>
3236 * gdialogs.c (create_op_win): starting the op_win dialog stuff
3238 1998-12-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
3240 * gscreen.c (panel_create_icon_display, panel_create_file_list):
3241 Hook up to drag_begin and drag_end events.
3243 * gscreen.c (panel_tree_drag_motion): Improve interactivity
3244 (x_create_panel): Add a little decorating frame.
3246 (panel_create_icon_display, panel_create_file_list):
3247 Hook up to drag_begin and drag_end events.
3249 (panel_tree_drag_motion): Either queue a scroll on the tree, or
3250 queue an open-directory event.
3252 (panel_tree_scroll): Scroll the tree when the drag pointer is in
3253 one of the boundaries of the tree.
3255 (panel_tree_scrolling_is_desirable): new function to figure out if
3256 it is a good plan to scroll the tree view instead of opening it.
3258 (panel_chdir): Do not sync with the tree when we are in the middle
3259 of a drag and drop operation.
3261 (panel_drag_begin, panel_drag_end): New functions to keep track
3262 of the dragging operations.
3264 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
3266 * gscreen.c (panel_tree_drag_data_received): Perform drag and drop
3267 operations on the Tree.
3269 1998-12-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
3271 * gdesktop.c (setup_desktop_dnd): New function to set up drops
3273 (setup_xdnd_proxy): Function by Owen Taylor to set up a DnD proxy
3275 (drag_data_received): Function to handle drops on the root window.
3276 (desktop_destroy): Destroy the DnD setup.
3277 (reload_desktop_icons): New function to reload the desktop.
3279 * gscreen.c (drag_types, drop_types): Removed url-list; only
3280 uri-list should be there.
3282 * gdesktop.h: Removed TARGET_URL_LIST from the DnD enumerations.
3284 * gtkdtree.c (gtk_dtree_do_select_dir): Made static, as it is for
3286 Fixed a little bunch of compiler warnings.
3288 * gscreen.c (x_fill_panel): Use gtk_dtree_select_dir(), not
3289 gtk_ctree_do_select_dir().
3291 * gpopup.c (gpopup_do_popup): Fixed incorrect assertion and
3292 actually create the menu (doh).
3293 (gpopup_do_popup): Do the same magic as in gnome-popup-menu to
3294 fetch the item that was activated in the menu. Keep this code out
3295 of reach of children.
3296 (fill_menu): New function to fill the menu using the
3297 gnome-popup-menu magic for fetching the activated menu item.
3298 Removed ifdef'ed code.
3300 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
3302 * gscreen.c (tree_drag_open_directory, panel_tree_drag_motion,
3303 panel_tree_drag_leave): Drag and Drop support routines for the
3304 tree to auto-expand the tree when the user stays still on top of a
3307 * gtkdtree.c (gtk_dtree_load_path): Further speed increase.
3309 1998-12-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
3311 * glayout.c (file_menu): Use view_cmd and view_simple_cmd in the
3312 menu instead of panel_action_view and
3313 panel_action_view_unfiltered, respectively.
3315 * gpopup.c (create_regexp_actions): Create the menu items using
3316 gnome-app-helper, for visual consistency.
3317 (create_actions): Likewise. Also, fixed S_ISLNK() confusion.
3318 (get_label_text): Extract the label from the GnomeUIInfo item in
3321 1998-12-01 Jonathan Blandford <jrb@redhat.com>
3323 * Makefile.in: now handles gdialogs*
3326 * gdialogs.c:Added new files -- takes the place of ../src/filegui.*
3328 1998-12-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
3330 * gscreen.c (panel_switch_new_display_mode): Destroy the old
3331 widget. Add the list view to the proper table.
3333 * glayout.c: Remove the exit menu option.
3335 * gtree.c (gtk_dtree_contains): New routine used to avoid
3336 duplicate entries in the tree display.
3338 1998-11-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
3340 * gscreen.c (panel_icon_list_select_icon): Use gpopup_do_popup().
3341 (panel_file_list_select_row): Use gpopup_do_popup().
3342 Moved the popup menu code to gpopup.c.
3344 1998-11-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
3346 * gscreen.c (display_mini_info): Use g_strdup_printf() to make it
3348 (panel_create_filter): Use _(), not N_().
3349 (x_create_panel): Likewise.
3351 1998-11-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
3353 * gscreen.c (x_create_panel): Add panel view. Put the views
3354 inside a new table. Add tree view to the left.
3355 (panel_create_icon_display): IconList no longer starts in frozen state.
3359 1998-11-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
3361 * gwidget.c (x_update_input): Use gtk_editable_changed on the entry.
3362 (x_create_listbox): Fix more CList api change.
3363 * gscreen.c (CLIST_FROM_SW): Adapt to new GtkScrolledWindow
3366 1998-11-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
3368 * Makefile.in (OOBJS): Add filegui.o back until the GTK-specific
3371 * gdesktop.c (check_window_in_one_panel): Provide better error
3372 messages here for debugging purposes.
3374 Disable stubs for filegui.c until they are actually implemented.
3375 I need to debug stuff.
3377 * gdnd.c (find_panel_owning_window): Use the new
3378 gtk_drag_get_source_widget function to find out reliably if the
3379 drag source happens to be in this application.
3381 * gscreen.c (x_create_panel): Set the usize for the ministatus
3382 label to be (0, -1), this means: do not request any horizontal
3383 space, use any vertical space given.
3385 Put the ministatus inside an hbox, and use
3386 gtk_container_set_resize_mode in this hbox to stop any queue
3387 events from being propagated up in the hierachy of widgets
3389 This kills all of the CList/GnomeIconList/Scrollbar/Toolbar
3392 1998-11-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
3394 * gtree.c: More work on gtree. It is basically ready to stick
3395 into gmc-window.c/mc I just need to know when you are ready
3398 1998-11-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
3400 * gpopup.c (gpopup_do_popup): Hide the edit/view separator if
3401 those items were disabled, too.
3403 * gdesktop-icon.c (desktop_icon_realize): Added
3404 WIN_STATE_FIXED_POSITION and WIN_STATE_ARRANGE_IGNORE to the
3405 window hints for the desktop icons.
3407 1998-11-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
3409 * gdesktop.c (desktop_icon_info_event): Run the popup menu for the
3410 icons in the desktop.
3412 * gpopup.[ch]: New files that take care of the popup menus for
3413 files in the desktop and in the panels.
3415 * Makefile.in: Added gpopup.[ch] to the list of sources.
3417 1998-11-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
3419 * gdesktop.c (desktop_icon_info_place): Save the icon position
3421 (desktop_destroy): Removed the save_icons_pos() function and do
3422 not invoke it from desktop_destroy().
3424 1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
3426 * gwidget.c (x_list_insert): Make it work with the new CList
3429 1998-11-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
3431 * gdesktop.c: Put in a bunch of stubs for the functions in
3432 filegui.h. These will be removed as the dialogs get
3433 custom-written for Gnome.
3435 * gmetadata.[ch]: Changed the function names to "gmeta_*".
3437 * gscreen.c (CLIST_FROM_SW): Use scrolled_window->child, as
3438 viewport is obsolete.
3440 1998-11-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
3442 * Makefile.in (OOBJS): Do not link ../src/filegui.o. GMC does not
3443 link right now, but I guess I'll add stubs until we finish with
3446 * gdnd.c: #include <sys/types.h>
3448 * Makefile.in (checklinks): Fix sourcelinks -> maksourcelinks typo.
3450 1998-11-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
3452 * gmain.c (session_save_state): Use gnome_geometry_string.
3454 1998-11-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
3456 * gscreen.c (panel_file_list_compute_lines): Quick hack to get mc
3457 to compile with the new CList.
3459 1998-11-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
3461 * Makefile.in: Removed gtrans.c from the list of sources.
3463 * gdesktop-icon.c: #ifdef cleanups.
3465 * gscreen.c (panel_create_file_list): Doh. Return the scrolled
3466 window, not the clist.
3468 * gdnd.c (get_action): Implement the DnD actions menu.
3470 1998-11-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
3472 * gdnd.c: New file that handles all the DnD stuff. Mainly used to
3473 clean up gdesktop.c.
3475 * gscreen.c (panel_icon_list_drag_data_received): Use
3476 gdnd_drop_on_directory().
3477 (CLIST_FROM_SW): Added this macro to fetch the clist from the
3478 scrolled window in panel->list.
3479 (panel_create_file_list): Create a scrolled window and put the
3480 clist inside it. This is required per the new clist API.
3481 (panel_configure_file_list): Use the scrolled window's adjustment.
3482 (panel_file_list_size_allocate_hook): Use the scrolled window
3483 instead of the clist.
3484 (panel_file_list_compute_lines): Use the scrolled window instead
3486 (panel_file_list_configure_contents): Use the scrolled window
3487 instead of the clist.
3488 (panel_create_file_list): Do the DnD setup here, not in the
3489 realization callback.
3490 (x_create_panel): Do not realize the panel explicitly.
3491 (panel_create_pixmaps): Create the pixmaps using imlib instead of
3494 1998-11-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
3496 * gdesktop.c (text_changed): Doh. Set the new filename of the
3497 desktop icon info structure.
3499 1998-11-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
3501 * gdesktop.c (text_changed): We rename the files when the text
3503 (save_icons_pos): New function to save the icon position metadata
3504 for all the icons in the desktop.
3505 (desktop_destroy): Save the icon positions when we exit.
3507 1998-11-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
3509 * gdesktop.c (editing_started):
3510 (editing_stopped): New functions to install and remove
3511 pointer/keyboard grabs while icons are being edited,
3514 1998-11-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
3516 * gdesktop.c (select_icon): Raise the icon when it is selected.
3518 1998-11-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
3520 * gdesktop.c (select_range): Doh. Fix dii -> ldii typo. Also,
3521 use Windows semantics -- ranges are considered rectangular instead
3524 * gdesktop.c: Now desktop icons are stored in the layout_slots
3525 array. We need to know which icons are in which slots.
3526 (unselect_all): Use the layout_slots array.
3527 (desktop_icon_info_place): Append the icon to the list in the
3529 (desktop_icon_info_new): Initialize the position and slot fields
3530 in the desktop icon info structure.
3531 (desktop_icon_info_free): Remove the icon from its slot.
3532 (desktop_destroy): Destroy the layout slots and the icons
3534 (remove_from_slot): New convenience function to remove an icon
3535 from the slot it is in.
3536 (get_icon_snap_pos): Do a bit nicer snapping by really using the
3538 Added a last_selected_icon variable to keep track of the icon that
3539 was last selected, for shift+click selections.
3540 (select_icon): Finish selection semantics and clean up. Now it is
3541 nice and simple and complete.
3542 (select_range): New function that handles range selections.
3544 1998-11-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
3546 * gdesktop-icon.h (DesktopIcon): Added a child item for stippling
3547 the icon when it is selected.
3549 * gdesktop-icon.c (desktop_icon_select): Show/hide the stippling
3552 * gdesktop.c (desktop_icon_info_event): Handler for events on
3554 (select_icon): New function that handles icon selection based on
3555 mouse clicks and modifier keys.
3557 * gdesktop.c (struct desktop_icon_info): Added a type field to the
3558 structure. It specifies the type of icon (file, directory), and
3559 is used to determine the DnD and menu behavior.
3561 1998-10-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
3563 * gdesktop.c: We are now using the new desktop icon code. It is
3564 not yet complete, but what is there does work. We have icon
3565 creation, auto-layout and snapping. Next step is drag and drop
3568 * glayout.c: #ifdef out the stuff that uses the old desktop code.
3569 I will replace it gradually.
3570 * gmain.c: Likewise.
3571 * gscreen.c: Likewise.
3573 1998-10-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
3575 * gscreen.c (panel_icon_list_button_release): Remove unused
3578 Provide hand written CList-start drag code
3580 1998-10-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
3582 * gmetadata.c (meta_get_icon_pos): Renamed from
3583 meta_get_desktop_icon_pos().
3584 (meta_set_icon_pos): New public function to save the icon position
3587 * gdesktop-icon.c (canvas_size_allocated): New function. We reset
3588 the canvas scrolling region here, when the canvas gets size
3589 allocated, to ensure that the canvas has always the correct
3590 scrolling region. We do it here instead of in the reshape()
3591 function to avoid flicker.
3593 1998-10-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
3595 * gmetadata.[ch]: New files with functions to handle all metadata
3596 issues -- fetching icons, icon positions, etc.
3598 * Makefile.in: Added gmetadata.[ch] to the list of sources.
3600 1998-10-28 Federico Mena Quintero <federico@nuclecu.unam.mx>
3602 * gdesktop-icon.c (create_window_shape): Use shaped icons only
3603 when the user has selected them.
3604 (desktop_icon_reshape): New public function to recompute the shape
3605 of the icon. This should be used when the global
3606 desktop_use_shaped_icons flag changes.
3607 Added documentation comments to the public functions.
3609 * Makefile.in: Fixed for gdesktop-icon.
3611 * gdesktop-icon.[ch]: Renamed from desktop-icon.[ch], per Miguel's
3614 * desktop-icon.c (reshape): Position the icon text item correctly.
3616 1998-10-27 Federico Mena Quintero <federico@nuclecu.unam.mx>
3618 * desktop-icon.c (desktop_icon_new): Do now reshape more than
3619 needed by splitting the set_icon and set_text functions apart.
3621 1998-10-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
3623 * gdesktop.c (desktop_icon_set_position): Do not lower the
3624 window. The gnome-compliant wm will know what to do with windows
3625 on the Desktop layer.
3626 (post_setup_desktop_icon): Likewise.
3628 * desktop-icon.c (create_window_shape): Fetch the mask of the
3629 image "by hand", as we cannot rely on the canvas item having
3632 * desktop-icon.c (desktop_icon_realize): Doh. We need to
3633 initialize the gnome_win_hints before we set any of the hints.
3635 1998-10-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
3637 * gdesktop.c (create_desktop_icon): Renamed from
3638 my_create_transparent_text_window. Now uses the DesktopIcon
3639 widget for its work.
3640 (get_desktop_icon_for_dentry): Renamed from
3641 get_transparent_window_for_dentry. Uses the DesktopIcon widget.
3642 (get_desktop_icon_for_di): Renamed from
3643 get_transparent_window_for_di.
3644 (desktop_icon_properties): Do not size_request the icon, since now
3645 we can get its dimensions directly from the DesktopIcon structure.
3647 * desktop-icon.[ch]: New file that takes care of desktop icons.
3648 It provides the spiffy widget that is used for them.
3650 * Makefile.in: Added desktop-icon.[ch] to the list of sources.
3651 MC should use Automake, I think.
3653 1998-10-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
3655 * gscreen.c (panel_create_icon_display): Small size adjustment.
3657 * glayout.c (create_container): Small size adjustment.
3659 * gmain.c (xtoolkit_create_dialog): Center windows.
3661 1998-10-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
3663 * gscreen.c (x_select_item): Force a canvas update when an icon
3666 1998-10-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
3668 * gscreen.c (panel_drag_data_get): New routine to provide data
3669 with the new DnD protocol.
3671 * gmain.c (dialog_key_pressed): If an icon has the focus, then do
3672 not process any of our events.
3673 Only stop the signal if we actually handled the event.
3674 (dialog_key_pressed):
3676 1998-10-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
3678 * gscreen.c (panel_icon_renamed): Add support for renaming files.
3680 1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
3682 * gscreen.c: Use the new icon list.
3684 1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
3686 * gscreen.c: Hook to invoke the editor from the context menu.
3688 Fri Sep 18 13:51:16 1998 Pavel Roskin <pavel_roskin@geocities.com>
3690 * Makefile.in: Consequent "make" should not rebuild gmc every time
3692 Mon Aug 31 10:46:32 1998 Owen Taylor <otaylor@redhat.com>
3694 * gscreen.c (display_mini_info): Removed calls to
3695 gtk_clip_label_set() hack, since its cut-n-paste code didn't work
3696 with new GTK's. If excessive resizes are a problem, they can be
3697 solved by adding an adjustment around the label, and calling
3698 gtk_container_set_resize_mode().
3700 1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
3702 * gdesktop.c: Include "mad.h", for xmalloc.
3704 * gscreen.c: Likewise.
3705 (panel_create_file_list): Use `g_free', not `free'.
3707 Wed Aug 19 19:45:16 EDT 1998 The Rasterman <raster@redhat.com>
3709 * gdesktop.c - changed dnd setting routine for desktop icon to set
3710 events on child window...
3711 * gtrans.c - chnaged routines to make window with child rawing area
3712 and set shape on parent window
3714 1998-08-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
3716 * gscreen.c (panel_make_local_copies_and_transfer): Fix.
3718 1998-07-04 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
3720 * gmain.c (session_management_setup): Replaced
3721 'gnome_client_new_default' with 'gnome_master_client'.
3723 1998-06-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
3725 * gwidget.c (x_update_input): The previous hack was not
3726 required, the right fix was to change Gtk.
3728 1998-06-22 Manish Vachharajani <mvachhar@vger.rutgers.edu>
3730 * gwidget.c: Don't call gtk_entry_scroll_adjust, it is a private member
3732 1998-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
3734 * gdesktop.c (drop_cb): Mhm. Negotiation of the drop type was not
3735 quite like I expected. Anyways, fixed a bug: we need to take
3736 text/plain drops on the launch icons on the desktop.
3738 1998-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
3740 * gdesktop.c (desktop_setup_icon): Assign the dentry->geometry
3741 from the drop position. New .desktop files are now placed on the
3742 site they were dropped.
3743 (drop_cb): Use proper prototype.
3745 Sun May 31 13:19:59 1998 Norbert Warmuth <k3190@fh-sw.de>
3747 * Makefile.in: use @LIBVFS@ when referring to libvfs-mc.a (one
3748 reference wasn't converted, yet).
3750 1998-05-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
3752 * gwidget.c (x_create_input): Set the entry's visibility if it is
3755 1998-05-26 Marc Ewing <marc@redhat.com>
3757 * Makefile.in: use @LIBVFS@ when referring to libvfs-mc.a
3759 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
3761 * gmain.c (session_save_state): Perform shutdown if `shutdown'
3764 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
3766 * gwidget.c (entry_release): Enhanced our marked handler for input
3769 * gdesktop.c (desktop_create_directory_entry): Fix, make a
3770 g_strdup copy of the name. Fixes bug report #78.
3771 (desktop_icon_context_popup): Simplified this routine as we are
3772 using file_popup now anyways.
3774 1998-05-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
3776 * glayout.c: Move the New window menu entry from ``Window'' to
3779 * gwidget.c (x_unfocus_widget): Fix wartning.
3781 * glayout.c (set_hintbar): Call flush events after setting the
3784 1998-05-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
3786 * gwidget.c (x_create_input): Disable the use of the GNOME entries
3787 for now, as they are very slow. We need to figure out what is
3790 With this change, dialog boxes close quickly instead of taking
3793 * gscreen.c, gdesktop.c (file_popup_add_context, file_popup):
3794 Share the context menu code in gdesktop.c and gscreen.c. The
3795 desktop pop up menus now include all of the stuff that would have
3796 appeared in the Panel.
3798 * gdesktop.c (desktop_icon_remove): Remove the file associated
3799 with this desktop entry if it is on the ~/desktop directory.
3801 1998-05-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
3803 * gscreen.c (load_dnd_icons): Remove the code and the icons that
3804 we had here privately. Use new gnome-stock functionality
3807 1998-05-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
3809 * gscreen.c (panel_drag_request): All of the drag_request code is
3810 now shared by both the Icon View and the Listing view;
3811 New drag request type: file:ALL. If the user is looking at a
3812 remote site, and the target application does not have VFS support
3813 it should not list url:ALL but file:ALL as the accepted drop
3816 This will make copies of the remote files and pass the files to
3819 1998-05-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
3821 * gtrans.c (set_window_text): Pass new justification parameter to
3822 gnome_icon_paint_text().
3824 * gpageprop.c (item_properties): Restore the arrow cursor for the
3825 desktop icon windows.
3827 * gdesktop.h (desktop_icon_t): Removed unused title field.
3829 * gtrans.c (set_window_text): Made it use the new
3830 GnomeIconTextInfo functions.
3832 1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
3834 * gscreen.c (panel_create_icon_display): Set some good separator
3835 characters for the file icon list.
3837 1998-05-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
3839 * gprop.c (perm_owner_new): Forget about history for now.
3841 * gpageprop.c (item_properties), gprop.c: Add executable editing
3842 (command, and terminal). Save the dentry after modification
3844 1998-05-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
3846 * gprop.c (change_icon): Test for gp, as the combobox emits the
3847 "changed" signal when shutting down. Great.
3849 * gdesktop.c (desktop_reload): Missing mc_closedir
3850 (desktop_setup_icon): Fix memory leak.
3851 (get_desktop_icon): Fix memory leak.
3852 (desktop_create_directory_entry): Set the size of the exec
3854 (desktop_create_launch_entry): Same.
3856 We now create launch entries instead of trying to support
3857 regular dropped stuff on the desktop, this makes things easier and
3860 1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
3862 * gscreen.c (x_select_item): Test for full icon visibility instead
3863 of partial visibility only.
3865 1998-05-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
3867 * gscreen.c (create_popup_submenu): Use continue, not break on
3870 Sat May 16 02:29:51 1998 Tom Tromey <tromey@cygnus.com>
3872 * gdesktop.c (url_dropped): `exec' field of desktop entry now a
3874 (dentry_execute): Likewise.
3875 (desktop_icon_remove): Likewise.
3876 (get_transparent_window_for_dentry): Likewise.
3877 (desktop_create_directory_entry): Likewise; also initialize
3880 1998-05-16 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
3882 * gscreen.c (create_popup_submenu): fixed bug which caused it to require
3883 0 instead of 1 marked files for F_SINGLE file_actions.
3884 * gscreen.c (file_popup): first item in the menu displays "..." when
3885 multiple files are selected.
3887 Thu May 14 23:31:15 1998 Tom Tromey <tromey@cygnus.com>
3889 * gmain.c (session_save_state): Use "+" instead of "%s" in format
3890 specification. Free `argv'.
3892 1998-05-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
3894 * gtrans.c (create_transparent_text_window): Removed the hack to
3895 lower the window on exposes. Guess what happens when you have two
3896 icons on the same spot.
3898 Thu May 14 02:02:56 1998 Norbert Warmuth <k3190@fh-sw.de>
3900 * Makefile.in (EXTRALIBS): add @LINTL@
3902 1998-05-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
3904 * gtrans.c (set_window_text): draw pixmaps without transparency
3907 1998-05-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
3909 * gscreen.c (panel_icon_list_realized): Add drag and drop support
3910 to the icon list view;
3912 1998-05-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
3914 * gscreen.c (panel_fill_panel_icons): New function: Fill up the
3916 (x_create_panel): Change in the approach: we create both of the
3917 widget views at creation time and we now carefully show every
3918 component. I attach everything to the table, but not necesarly
3921 * gblist.c (blist_select_row): New widget derived from GtkClist.
3922 replace select_row and unselect_row with null functions, as the
3923 gmc code takes care of the rest.
3925 1998-05-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
3927 * gdesktop.c (desktop_icon_drag_start): Do not attempt to use
3928 icons if we could not load the images for the icon.
3930 * gwidget.c (x_update_input): Keep the cursor always visible.
3932 * gview.c (view): Use a buttonbar widget.
3934 * gwidget.c (buttonbar_clicked): Provide a trivial implementation
3935 of the buttonbar that only responds to key sequences.
3937 * gmain.c (dialog_panel_callback): Call midnight_callback to get
3938 the main bindings working.
3940 * gdesktop.c (perform_drop_manually): Use p to walk the dropped
3941 data. This is an important bug fix.
3943 * gmain.c (idle_destroy_window), main.c: Session management now
3944 supports not showing a toplevel window (in case all of the windows
3947 1998-04-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
3949 * gtrans.c (make_transparent_window): Put hack back.
3951 * gcache.c (image_cache_load_image): Federico spooted the problem:
3952 I have to duplicate my keys for the hash.
3954 * gmain.c (create_panels): Create one panel per directory
3955 specified. For some strange reason the code hangs if you start up
3956 more than one panel at once. This is not a gmc bug, it appears to
3957 be an Imlib/gtk/gdk interaction. I am for now creating one panel
3958 in the main program execution thread and the rest during the idle
3961 (session_save_state): Added session management support.
3963 1998-04-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
3965 * gprop.c (gprop_general_new): Added an simple icon preview to the
3968 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
3970 * gdesktop.c: Finish desktop_icon_remove implementation.
3972 * glayout.c (update_panels): GNOME specific Implementation of the
3973 update_panels routine.
3975 Tue Apr 28 06:52:24 1998 Norbert Warmuth <k3190@fh-sw.de>
3977 * gcmd.c (gnome_open_terminal): Changed my_system(1,...) to
3978 my_system(EXECUTE_AS_SHELL,...)
3980 1998-04-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
3982 * glayout.c (layout_panel_gone): Removed debugging information.
3983 Renamed "Panel" to "Window" to make it less confusing to users.
3984 Moved the "New window" from the "File" menu to the "Window" menu.
3986 * gmain.c (dialog_panel_callback): Walk the list of panels to
3987 determine to which panel the activated widget belongs.
3989 1998-04-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
3991 * gwidget.c (x_create_radio): Fix the WRadio widgets.
3993 1998-04-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
3995 * glayout.c (create_container): Add wmclass.
3997 1998-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
3999 * gdesktop.c (desktop_reload): Show all of the widgets on a reload
4002 * gscreen.c (x_panel_update_marks): Do only set the marks if the
4003 widget has been created
4005 * glayout.c (assign_other): Keep track of all of the opened
4006 panels. We were never removing them from the containers list.
4007 This fixes a number of problems.
4009 * gwidget.c (x_dialog_stop): Only call gtk_main_quit if this
4010 dialog did not inlcude the DLG_GNOME_APP flag, as those windows
4011 did not launch a gtk_main event loop.
4013 * gcmd.c: Try various terminal programs in the PATH before giving
4016 * glayout.c: Unselect command is unselect_cmd, not select_cmd
4018 * gcmd.c (gnome_quit_cmd): Add quit confirmation.
4020 * gdesktop.c (perform_drop_manually): Check the type for the
4021 source file (directory/file) and perform the proper operation.
4022 Before this we always did a *_file_file operation.
4023 (perform_drop_manually): Use copy_dir_dir correctly
4024 (desktop_setup_default): Use copy_dir_dir correctly
4026 * gwidget.c (x_create_label): Remove debugging labels.
4028 * gscreen.c: Do not show the view/view unfiltered if the
4029 selectioned item is a directory.
4031 * gwidget.c (x_radio_toggle): Never commit non-compilable code.
4033 1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
4035 * gwidget.c (remove_hotkey, x_create_radio): Radio buttons should
4036 not display the special Hotkey specificator.
4038 * gcmd.c (gnome_close_panel): Implement the close-the-panel
4041 * gscreen.c (x_panel_destroy): Implement the gnome mode way of
4042 destroying the panel.
4044 * gview.c (view_status): Add cacheing of the information status,
4045 to avoid excessive flicker. It would be better if GtkLabel did
4047 (scrollbar_moved): Scroll correctly. We now use
4048 view_move_backward and view_move_forward to adjust the scrollbar
4049 contents. This displays the scrollbar correctly.
4051 * gwidget.c (x_listbox_select_nth): This may be invoked before the
4052 widget has been created, work around this problem.
4054 * gscreen.c (show_dir): Set the title bar for the window to the
4055 current directoy. Reported by both Mike and Elliot.
4057 * layout: Updated to the new hotlist dialog box.
4059 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
4061 * gtrans.c (create_transparent_text_window): Destroy the cursor
4064 1998-04-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
4066 * gview.c (x_init_view): Initialize view->sadj.
4068 * gdesktop.c (start_desktop): use destkop_load instead of
4070 (desktop_load): This reloads + shows every widget on the
4073 1998-04-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
4075 * gdesktop.h: Added extern declarations for the
4076 want_transparent_icons and want_transparent_text variables.
4078 * gtrans.c (set_window_text): Now we use the new global variables
4079 want_transparent_icons and want_transparent_text to decide how to
4080 paint the pixmap and mask. The want_transparent_* variables can
4081 thus be configured for the smartness/speed of your X server when
4082 using shaped windows.
4084 Fri Apr 12 02:40:41 1998 Norbert Warmuth <k3190@fh-sw.de>
4086 * gwidget.c (x_create_input): return 1 if the widget has been
4087 initialized manually (there was no return value)
4089 (x_create_buttonbar): to few arguments to sprintf (button number
4090 was missing); return a value.
4092 1998-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
4094 * gscreen.c (x_create_panel): Added back and forward buttons. I
4095 need a "Home" icon too.
4097 * gwidget.c (x_create_input): Make the selection if the input has
4098 not yet been touched.
4100 * gscreen.c (panel_action_open): If opening an item fails, try
4101 panel_action_open_with.
4103 * gview.c: Implement the viewer scrollbar.
4105 1998-04-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
4107 * gscreen.c (panel_drop_data_available): Reload the panel contents
4110 * gmain.c (gnome_dlg_send_destroy): Hide the widgets just before
4111 they are going to get destroyed, to avoid the shutdown
4113 (x_destroy_dlg_start): New routine/hook invoked when the destroy
4115 (x_set_idle): Cancel the idle handlers properly.
4117 * gwidget.c (x_create_check): Finish the checkbox implementation.
4119 * gdesktop.c (get_desktop_icon): Fix this routine: it was
4120 cretating a file name when the filename was not set properly.
4122 1998-04-01 Marc Ewing <marc@redhat.com>
4124 * gscreen.c: Added #include <gdk/gdkprivate.h>
4126 1998-03-31 Miguel de Icaza <miguel@nuclecu.unam.mx>
4128 * gcache.c: Added an Image cache for all of the imlib-loaded
4129 images to avoid destroying/reloading the images.
4131 * gdesktop.c, gtrans.c: Use the image cache.
4133 1998-03-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
4135 * gscreen.c (x_create_panel): Show the GnomeApp when we are done
4136 packing all of our information.
4138 * gmain.c (create_panels): do not show any of the windows yet.
4140 1998-03-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
4142 * gscreen.c (x_fill_panel): Colors are properly displayed now.
4144 Use the clipped labels.
4146 * gcliplabel.c, gcliplabel.h: Derived label that does label
4147 clipping (it does not request the allocation for the whole string,
4148 but settles with whatever is provided in the size_allocation).
4150 1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
4152 * gtrans.c (create_transparent_text_window): Set the window's
4153 cursor to the normal top-left arrow.
4155 Mon Mar 23 01:40:35 1998 Norbert Warmuth <k3190@fh-sw.de>
4157 * gtools.c (translate_gdk_keysym_to_curses): renamed KEY_BACKTAB
4158 to KEY_BTAB (the name ncurses uses)
4160 * Makefile.in: Install the icon-files and the layout-file from $srcdir.
4162 1998-03-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
4164 * gdesktop.c (icon_properties):
4165 * gpageprop.c (item_properties): Modified to accept dentry title
4167 (item_properties): Fixed base and fname confusion in call to
4168 concat_dir_and_file().
4170 * gprop.c (gprop_general_new):
4171 (gprop_general_get_data): Renamed to general from icon. The
4172 general Gprop now lets you enter the title and icon filename for a
4175 1998-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
4177 * gdesktop.c (icon_properties): Whoops, actually save the dentry.
4178 (post_setup_desktop_icon): Moved the icon positioning call outside
4179 of this function so that property-changed icons will not move on
4182 * gdesktop.c (desktop_icon_context_popup): It is not necessary to
4183 set the menu position.
4184 (desktop_icon_context_popup): gtk_signal_connect_object_after to the menu
4185 items with gtk_widget_destroy as a callback so that we can destroy
4186 the menu widget appropriately.
4188 1998-03-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
4190 * gscreen.c (display_mini_info): Implement mini status.
4192 1998-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
4194 * gdesktop.c (get_transparent_window_for_dentry): New function,
4195 creates the proper transparent icon window for a dentry.
4196 (post_setup_desktop_icon): New function, does post-setup stuff for
4197 a desktop icon (setting it as a drop target, positioning it, etc.).
4199 * gpageprop.c (item_properties): Now the dentry parameter is a
4200 desktop_icon_t instead.
4201 We now return a bitmask that indicates what stuff changed. The
4202 caller can use this information to decide what to update, repaint, etc.
4204 * gdesktop.h: Moved the icon_t and desktop_icon_t structures here.
4206 * gpageprop.c (item_properties): Insert icon control if appropriate.
4208 * gprop.c (gprop_icon_new):
4209 (gprop_icon_get_data): Renamed from gprop_dir_*().
4211 * gscreen.c (panel_action_properties): Re-reads panel only if necessary.
4213 *gpageprop.c (item_properties): now returns TRUE if something got
4214 changed, FALSE otherwise. This should be used to decide whether
4215 to re-read the panel or not.
4217 * gpageprop.c: #include "../vfs/vfs.h".
4218 #include "dialog.h".
4220 * gprop.c (gprop_dir_new):
4222 (gprop_general_new): Connect to the destroy signal of the toplevel
4223 widget and destroy the Gprop structure on the callback.
4225 Wed Mar 18 23:09:35 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4227 * gscreen.c (panel_file_list_select_row): Use control/shift click
4228 to add files to the selection.
4230 Wed Mar 18 22:32:53 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4232 * gscreen.c (panel_action_properties): Make Federico's
4233 page-properties code functional.
4235 * gpageprop.c: New file, implements most of the page properties on
4236 top of the gprop.c code.
4238 Wed Mar 18 20:35:45 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4240 * gdesktop.c (desktop_create_launch_entry): Support for the "Drop"
4241 target in mc.ext now.
4243 * Add support for dragging the icons on the desktop.
4245 (desktop_icon_make_draggable): new function.
4246 (drop_from_event): simplify.
4247 (my_create_transparent_text_window): Get the motion notify event.
4248 (drops_from_event): create a vector based on thge drop event.
4249 (drop_cb): splitted, call url_drop for regular drops, otherwise it
4251 (artificial_drag_start): new routine, used now by gscreen.c and
4253 (drop_on_directory): Check result value of operation.
4254 (desktop_icon_set_position): sane interface.
4255 (stop_desktop): Flush all of our state to disk.
4257 1998-03-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
4259 * gscreen.c: Removed tests for the gprop stuff.
4260 (file_popup): It is not necessary to show the popup menu.
4262 * gprop.c (perm_group_new):
4263 (perm_owner_new): Fill the combo lists with users and groups,
4266 * gprop.h: New files gprop.[ch]. These create the property pages
4267 for desktop entries.
4269 * Makefile.in: Added gprop.[ch] to the rules.
4271 * glayout.c: Put gnome_about_cmd as a callback for the About menu item.
4273 Tue Mar 17 22:40:36 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4275 * gdesktop.c (desktop_setup_icon): Lots of changes to accomodate
4276 dropping icons on the root window.
4278 (do_symlinks): Implement symlink action.
4280 (icon_delete, desktop_icon_context_popup): Implement icon context
4281 menus. only deleting an icon is working right now.
4283 * gscreen.c: Load the drag and drop icons from the installation
4286 * Makefile.in (install_gmc): Install our icons.
4288 Tue Mar 17 02:38:37 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4290 * gdesktop.c (desktop_setup_default): Create a default desktop
4291 entry on the root window for the Home directory if not mc.desktop
4294 Get drops on the root window to work. Joy and hapiness!
4296 Tue Mar 17 00:43:50 1998 Tom Tromey <tromey@cygnus.com>
4298 * glayout.c (gnome_panel_about_menu): "About" item now a stock
4301 1998-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
4303 * gscreen.c (filter_item_activate): Make it convert the glob
4304 pattern to a regexp if appropriate.
4306 Sat Mar 14 17:13:26 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4308 * gmain.c (gnome_dlg_send_destroy): New signal handler for
4309 "delete_event". I return TRUE (ie, do not kill this window), and
4310 manually queue que destruction of this window.
4312 * gtools.c (query_dialog): Do not allow resizing; do not destroy
4313 the dialog ourselves, this is properly handled by dlg.c now
4314 (pack_button): Do not use the defaults: we do not want growing
4317 Fri Mar 13 16:01:28 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4319 * gwidget.c (buttonbar_clicked, x_create_buttonbar): Button bar
4322 * gtools.c: Implement the non-modal version of the message
4325 * gview.c: Create a GnomeApp widget to contain the viewer.
4327 * gmain.c (xtoolkit_create_dialog): Add a new mode where the
4328 container window is a GNOME_APP window.
4330 1998-03-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
4332 * gscreen.c (x_select_item): Make it use GTK_VISIBILITY_FULL
4333 instead of a plain boolean value.
4334 * gwidget.c (x_listbox_select_nth): Likewise.
4336 * gscreen.c (filter_items): New global variable full of filters.
4337 Please, someone fill in the regexp parts, as I was too lazy to do
4339 (panel_create_filter): Now the filter has a very nice button that
4340 pops up a menu for selecting the filter.
4342 Thu Mar 12 22:11:23 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4344 * gwidget.c (x_update_input): Use GnomeEntry widgets instead of
4347 * gwidget.c (listbox_select): Fix for the listbox selection with
4349 (x_create_button): Use stock pixmaps.
4351 * gcmd.c: Moved all of the _cmd routines from glayout to this
4353 (save_panel_types): Provide GNOME implementation.
4355 * glayout.c: New and improved menu layout. Use stock pixmaps.
4357 1998-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
4359 * gmc-chargrid.c (gmc_char_grid_draw): Someone teach me how to
4360 subtract. Fixed a stupid offsetting bug.
4361 (update_region): Added clipping of region bounds.
4363 * gmc-chargrid.c: Changed the struct attr with pointers mess with
4365 Added an in_resize flag to avoid calling our internal signal
4366 handlers recursively.
4367 (gmc_char_grid_draw): Added proper draw handler for our case; the
4368 widget's window does not fill its allocation.
4369 (paint): New wrapper for update_region(); it converts window
4370 coordinates to row/column character coordinates.
4371 (gmc_char_grid_expose): Use paint().
4373 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
4375 * gmc-chargrid.c (update_strip): Doh. Fixed painting of
4376 background rectangles.
4377 (gmc_char_grid_expose): Fixed off-by-one errors in area
4378 calculation. Ripped off the code from gtkterm to do this :-)
4379 (free_attrs): New internal convenience function.
4381 Thu Mar 12 00:08:06 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4383 * gview.c (view_percent): Added status display.
4385 Wed Mar 11 22:35:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4387 * gwidget.c (entry_release): Now the WEntrys track the current
4389 (x_update_input): Repaint the widget after changing the position.
4391 * gscreen.c (x_fill_panel): Remember the selected item on the
4392 panel before filling it up, as gtk_clist emits a select_item
4393 signal when filling it up, which changes the current selection
4394 (and thus some routines that invoke the reload panel option
4397 (create_popup_submenu): Implement context sensitive menus (regular
4398 files, and symlinks).
4400 (panel_realized): Use a different icon when we are dragging a
4403 (panel_artificial_drag_start): Add Elliot's Artificial drag start
4406 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
4408 * gmc-chargrid.c (gmc_char_grid_get_size): New public function.
4409 (gmc_char_grid_put_text): New public function. It is the same as
4410 gmc_char_grid_put_str, but can take any arbitrary string plus its
4412 (gmc_char_grid_put_char, gmc_char_grid_put_str,
4413 gmc_char_grid_put_text): These functions now take a background
4414 pixel parameter --- the GmcCharGrid widget now supports fg/bg attributes.
4416 * gmc-chargrid.h: Changed colors field to attrs.
4418 * gmc-chargrid.c: New Character Grid widget for the file viewer.
4419 This is a very lean and fast widget for displaying a grid of
4420 monospaced characters. Just like a crippled-down terminal.
4422 Tue Mar 10 23:46:29 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4424 * gscreen.c (x_adjust_top_file): We no longer adjust the top
4427 (panel_build_selected_file_list): Fix for the transfered data.
4429 (panel_drop_data_available): Now drop support uses the new
4430 coords.x and coords.y fields from the DropDataAvailableEvent to
4431 find out which directory receives the drop.
4433 * glayout.c: added: configure_box, configure_vfs
4434 (get_other_type): Return the correct value.
4436 1998-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
4438 * gscreen.c (panel_file_list_size_allocate_hook): Now we
4439 connect_after to the size_allocate signal and block the handler.
4440 Things are still not perfect, though.
4442 * gtools.c (message): Added return NULL. This needs to be fixed.
4443 (translate_gdk_keysym_to_curses): FIXME: Replace KEY_BACKTAB by '\t'
4444 while KEY_BACKTAB is added somewhere else.
4445 (translate_gdk_keysym_to_curses): return -1 as last resort.
4447 * glayout.c (get_current_index): Add g_assert_not_reached() for
4450 * gmenu.c (menubar_new): Cast g_menubar to unsigned long.
4452 * gwidget.c (x_create_input): Cast entry to GTK_OBJECT.
4454 * gkey.c (find_select_closure_callback): Fix = -> == typo.
4456 Tue Mar 10 00:10:32 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4458 * gscreen.c (panel_drop_data_available): Now drop support uses the
4459 new coords.x and coords.y fields from the DropDataAvailableEvent
4460 to find out which directory receives the drop.
4462 * gwidget.c (x_radio_focus_item): Add support for focusing radio
4465 Mon Mar 9 15:12:00 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4467 * gtools.c (translate_gdk_keysym_to_curses), dlg.c
4468 (dlg_key_event): Support for backtab.
4470 * gwidget.c: highlight properly the focused radio entry.
4472 * gmain.c (x_init_dlg): After setting up the X widget, set the
4473 Gtk focus to h->current;
4475 1998-03-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
4477 * gscreen.c (x_panel_select_item): Set the colors of the row.
4479 * gmain.c (xtoolkit_init): Changed gnome_init() to new version.
4480 (xtoolkit_init): Call gnome_init() properly. Also, return 0.
4482 Sat Mar 7 15:24:49 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4484 * gwidget.c (entry_click): Focus the entry on clicks.
4486 Fri Mar 6 20:50:19 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4488 * gmain.c (create_panels): New per-port variable, used to flush
4489 all of the pending X events.
4491 (x_set_idle): Implement idle functions, now the find command works
4494 * gwidget.c (x_create_radio): Connect to the "toggled" signal to
4495 keep track of the radio button.
4497 (listbox_select): callback for the select and double click
4499 (x_update_input): This can be invoked before the
4500 widget X resources have been allocated. Take care of this.
4502 (x_create_input): update the cursor position as well.
4504 (x_list_insert, x_create_listbox, x_list_delete_nth,
4505 x_listbox_select_nth): implement the Listbox widget.
4507 * gconf.h: New configuration options:
4508 PORT_HAS_PANEL_ADJUST_TOP_FILE and
4509 PORT_HAS_PANEL_RESET_SORT_LABELS
4511 1998-03-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
4513 * gmain.c (get_color): Make it use GdkColorContext correctly.
4515 * gscreen.c (panel_create_filter): The filter control is now a
4516 nice GnomeEntry. It does not work due to gmc trapping key events;
4517 I'll look into it tomorrow.
4518 (internal_select_item): Fixed broken behavior. Now uses GtkCList properly.
4519 default_filters: new structure with pre-defined glob patterns.
4520 This is actually broken, because it will only work when
4521 easy_patterns is enabled. I have to figure a way to make it work
4522 with regexp mode as well.
4524 Thu Mar 5 23:54:58 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4526 * gdesktop.c (drop_on_panel): New function; Used by the directory
4527 icons and by regular panels to support drag targets;
4529 * gscreen.c (panel_drop_data_available): Performs the drop action
4530 on a panel. It needs fixing, as the DropDataAvailabelEvent does
4531 not provide any information as to where the drop actually
4534 (fixed_gtk_widget_dnd_drag_set, fixed_gtk_widget_dnd_drop_set):
4535 Only set the main window of the clist to be the source/target of
4536 the drag and drop code. The little square at the end did not make
4537 much sense as a drop/drag spot.
4539 1998-03-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
4541 * gmain.h: Added prototype for x_filter_changed().
4542 Added #include "panel.h".
4544 * gconf.h (PORT_HAS_FILTER_CHANGED): New flag for conditional compilation.
4546 Wed Mar 4 22:43:00 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4548 * gtools.c (query_dialog): Rewritten to use the MC dialog/widget code.
4550 * gutil.c (my_system), acconfig.h: By default gnome will not have
4551 a subshell (at least for now) and will now exec everything
4552 asyncronously by default.
4554 * gscreen.c: Exactly what was I thinking when I used the
4555 g_panel_contents structure will remain a mistery for future
4556 programming psycologists. It was a huge mistake.
4558 * gdesktop.c: Use the new icon/text display routine from
4561 Tue Mar 3 21:03:52 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
4563 * gmain.c (x_destroy_dlg): Call gtk_grab_remove when destroying
4566 * gmain.c (x_focus_widget): Handle special case of toplevels.
4568 1998-03-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
4570 * gscreen.c: Some hackish changes to work around idempotence bugs
4571 in gtk_clist_select_row().