12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781 |
- Thu Dec 24 18:38:45 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
- * layout: Adapted for the new option Compute Totals in the
- Configuration dialog.
- 1998-12-22 Jonathan Blandford <jrb@redhat.com>
- * gdialogs.c (file_progress_query_replace_policy): new function.
- Currently called every time multiple files are called -- should
- only be called if needed.
- (file_progress_real_query_replace): Cleaned up some. Still has a
- bit of work to do, but in general, much better.
- Mon Dec 21 22:33:07 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
- * layout: Deleted obsolete widgets from the Virtual FS configuration
- dialog.
- 1998-12-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_icon_list_select_icon): Show the popup menu on
- button release here. This is what makes most sense.
- (panel_widget_motion): Drags with button 3 now produce a popup
- dialog box that asks
- 1998-12-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gdialogs.c (create_op_win): Remove second spurious packing.
- (create_op_win): OP_MOVE uses the same stuff OP_COPY does. Fix
- this.
- (file_progress_show_target): More compliant to the original
- functions.
- (file_progress_show_source): More compliant to the original
- functions.
- * gdesktop.c (create_desktop_dir): Fix mem leak.
- Tue Dec 15 10:51:12 1998 Gregory McLean <gregm@comstar.net>
- * gdesktop-icon.c : Attach a desktop_icon wmclass to the desktop
- icons to allow even more wizardry with the desktop icons, mainly
- to exclude them from window lists, don
- desktops and other boring stuff.
- 1998-12-14 Sven Neumann <sven@gimp.org>
- * lightened up the dir-pixmaps a little to please your eyes and
- tigert ;-)
- 1998-12-14 Owen Taylor <otaylor@redhat.com>
- * gnome.TODO: Added a number of tree and icon
- view todos.
- 1998-12-14 Owen Taylor <otaylor@redhat.com>
- * gscreen.c (x_create_panel): Keep up with changes
- to GtkDockItem.
- 1998-12-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (x_update_input): Use gtk_entry_get_text here.
- 1998-12-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_create_icon_display): Set white background.
- 1998-12-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdnd.c (perform_action): Fixed a pair of incorrect braces.
- Files were not being operated on because of this.
- 1998-12-12 Owen Taylor <otaylor@gtk.org>
- * gscreen.c (panel_tree_drag_motion): Doubled timeout
- for autoexpand - reducing opening unwanted directories.
- * gscreen.c (tree_drag_open_directory): Use
- gtk_ctree_expand() not gtk_ctree_expand_recursive,
- which increases confusion and could be
- _vvveeerrrryyyy_ expensive. (/afs ?)
- * gscreen.c (panel_tree_drag_leave): Fixed up
- signature - "drag_leave" has no x,y.
- * gscreen.[ch] (panel_tree_check_auto_expand): When
- we
- again when the drag leaves that row.
- 1998-12-12 Owen Taylor <otaylor@gtk.org>
- * gtkdtree.c (gtk_dtree_destroy): Remove timer upon
- destruction to be safe. (Should this, and
- dtree->timer_id itself be in gscreen.c instead?)
- * gscreen.c (panel_tree_drag_leave): Change == to !=
- so that timeouts are properly removed.
- 1998-12-11 Matt Wilson <msw@redhat.com>
- * gscreen.c: The solid lines in the tree are kinda harsh. Replace
- them with soothing dotted lines.
- 1998-12-11 Matt Wilson <msw@redhat.com>
- * dir-open.xpm, dir-close.xpm: Away with the tacky yellow folders -
- I like these brown ones from tigert better.
- 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gpopup.c (create_actions): The tests for F_PANEL and F_DICON
- were wrong. Fixed them. This does not mean that the popup menus
- are right, though.
- 1998-12-11 Owen Taylor <otaylor@redhat.com>
- * gscreen.c gdesktop.c gdnd.h: enable dragging locale files
- into Netscape.
- 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gicon.c (gicon_get_icon_for_file): First try to fetch the inline
- icon data (i.e. thumbnails), second try the generic icon filename.
- 1998-12-11 Owen Taylor <otaylor@redhat.com>
- * gdesktop.c (window_button_press): Ehen cancelling editing
- account for clicks on other GMC windows.
- 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (click_proxy_filter): Doh. We may get DestroyNotify
- for other windows than the proxy, so deal with it.
- 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (click_proxy_button_press): Use a nice arrow cursor
- for rubberbanding.
- (click_proxy_filter): Keep a firm jaw when the window manager dies
- and thus the proxy window is destroyed.
- (setup_desktop_click_proxy_window): Moved the proxy window
- creation code to this function.
- (click_proxy_property_notify): Handle PropertyNotify events from
- the root window for when the proxy window changes. Now the window
- manager can restart itself as it pleases and GMC will handle it
- correctly.
- 1998-12-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
- Wheeeee! Desktop icons can be selected by rubberbanding. You
- need Englightenment to do this, as so far it seems to be the only
- WM with support for the _WIN_DESKTOP_BUTTON_PROXY property.
- * gdesktop.c (click_proxy_filter): New event filter for button
- presses and releases on the root window.
- (click_proxy_button_press): New function to handle button presses
- on the desktop.
- (click_proxy_button_release): New function to handle button
- releases on the desktop.
- (click_proxy_motion): New function to handle rubberbanding motion
- on the desktop.
- (setup_xdnd_proxy): Flush the server after ungrabbing it.
- (find_click_proxy_window): Flush the server after ungrabbing it.
- (store_temp_selection): Stores the temporary selection to the
- master selection, or viceversa. This is needed for dynamic
- updating while the user rubberbands.
- (update_drag_selection): New function to update the selection
- while the user is rubberbanding on the desktop.
- (icon_is_in_area): New function to see if an icon is inside the
- rubberbanding area.
- * gdesktop-icon.h: Added fields for querying the icon and text
- position and size.
- * gdesktop-icon.c (desktop_icon_reshape): Set the position and
- size fields as computed for layout.
- 1998-12-11 Owen Taylor <otaylor@redhat.com>
- * gdesktop.c (editing_started): Grab on the window for the
- icon, not on the canvas, so we can properly detect
- clicks elsewhere.
- (icon_button_release_after): When the user stops selecting,
- regrab the pointer.
- 1998-12-11 Jonathan Blandford <jrb@redhat.com>
- * gtkdtree.c (gtk_dtree_do_select_dir): fixed a little bug --
- caused a segfault.
- * gscreen.c (x_create_panel): More changes. The toolbar is moved
- to a gtk_toolbar, and is movable. The entry will be put in it
- own toolbar, too.
- (panel_create_cwd): For now, hardcode the usize of the entry
- widget. Later on, have it expand (when toolbar supports it)
- 1998-12-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gcmd.c: #include "../vfs/vfs.h"
- * gdesktop.c (setup_icon_dnd_actions): Moved the code that calls
- gtk_drag_source_set() for an icon here.
- (editing_started): Temporarily disable drags while the icon
- is being edited.
- (editing_stopped): Re-enable DnD from the icon once editing has
- stopped.
- 1998-12-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gcmd.c (gnome_close_panel): When a panel is destroyed, chdir to
- root directory, as the process will be holding the inode for the
- directory that was selected until an operation is performed in
- another panel.
- * gicon.c (gicon_get_icon_for_file): Invert the way the testing
- for icons is done to handle directories properly.
- 1998-12-10 Jonathan Blandford <jrb@redhat.com>
- * gscreen.c (x_create_panel): made some small stylistic changes.
- Also, removed the hint bar and consolidated the status bar.
- Thu Dec 10 21:38:55 1998 Owen Taylor <otaylor@redhat.com>
- * gkey.c (delete_select_channel): Fixed list handling
- with g_list_remove().
- 1998-12-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (dnd_select_icon_pending): Added this flag that
- specifies whether a selection is pending for an icon if the user
- was holding the Control key down while clicking. We have to delay
- selection in this case so that DnD will work correctly, just like
- Windows.
- (icon_button_press): New function that handles button presses on
- icons; it obsoletes the old desktop_icon_info_event().
- (icon_button_release): New function that handles button releases
- on desktop icons; it will do what is appropriate if there was a
- pending icon selection.
- (drag_begin): Handle pending selections as appropriate.
- (unselect_all): Added an paremeter that specifies which icon to
- exclude from unselection.
- (editing_started): Unselect all icons but the one for which
- editing has started.
- (dnd_icon_sources): Changed the MIME-types for internal drops to
- "application/x-mc-desktop-icon".
- (click_proxy_window): New variable that stores the proxy window
- for clicks on the desktop.
- (setup_desktop_clicks): New function that sets up clicks on the
- root window.
- (find_click_proxy_window): New function to find and set up the
- window for proxying clicks from the root window.
- * image.metadata.in: Added case for `jpg
- case for `jpeg
- 1998-12-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gicon.c (gnome_file_entry_color): If we do not have permissions
- for this directory, indicate this with a special icon.
- * gscreen.c (panel_icon_list_select_icon): Middle button opens a
- new panel on a directory.
- 1998-12-08 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c: Moved the old DnD cruft to olddnd.c to keep it there
- for reference purposes.
- * gmetadata.c: Removed the gmeta_get_icon_for_file() function, as
- it is obsoleted by gicon_get_icon_for_file().
- * gdesktop.c (desktop_icon_info_new): Made it use
- gicon_get_icon_for_file().
- * gdesktop-icon.c (set_icon): Now we handle things internally
- using an imlib image, not a filename.
- (desktop_icon_new): Now takes an imlib image for the icon instead
- of a filename.
- (desktop_icon_set_icon): Likewise.
- 1998-12-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gtkdtree.c (gtk_dtree_new): Use imlib
- * gscreen.c (panel_create_tree_view): Use the colormap and visual
- from imlib when creating the DTree,
- 1998-12-08 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (icon_drag_data_received): Doh. Use the correct
- pathname when calling gdnd_drop_on_directory().
- 1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (desktop_icon_info_new): Do not stat the file, as we
- do not need that information anymore.
- (setup_icon_dnd_source): Moved the DnD-as-source code to here.
- (setup_icon_dnd_dest): New function to set up an icon as a DnD
- destination.
- * gdesktop.c (desktop_icon_info_place): Doh, do not place icons
- past the edge of the *whole* screen :-)
- (dnd_press_x dnd_press_y): New variables to store the cursor
- hotspot for DnD icons. Moved these over from the
- desktop_icon_info structure, as it does not make sense to have
- this inside every icon.
- (button_press): Use dnd_press_x and dnd_press_y.
- (drag_begin): Likewise.
- (drop_desktop_icons): Use dnd_press_x and dnd_press_y to fix the offsets.
- (drag_data_received): Fix the proxy window offsets for all types
- of targets.
- (drop_desktop_icons): Snap the coordinates as appropriate.
- 1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (drop_desktop_icons): New function to perform a drop
- from desktop icons to the desktop. It effectively moves the icons
- around.
- (desktop_icon_info_place): Do not place the icons past the edge of
- the screen.
- 1998-12-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (file_entry_from_file): Finished implementing
- file_entry_from_file().
- (struct desktop_icon_info): Removed the `type
- the file when needed to figure out the file type.
- (desktop_icon_info_event): Test whether the file is a directory by
- ourselves, and if it is, open a new panel for it.
- (drag_data_get): Generate the uri-list for internal desktop icon
- drags as well.
- * gdesktop.c (drag_data_received): We do not need to call
- gtk_drag_finish(), since we are using the GTK_DEST_DEFAULT_DROP
- flag for drops on the desktop.
- (desktop_icon_info_event): Reload the desktop icons after
- executing a command from the popup menu. This kind of sucks, but
- will do for now.
- (desktop_icon_info_event): Upon receiving a button-1 press, if the
- icon was already selected in the first place, delay the
- re-selection phase until we get a mouse release event. This lets
- us start a multiple-selection drag without having the initial
- click clear the selection first.
- (desktop_icon_info_event): Open the file or directory when the
- desktop icon receives a double click.
- * gmain.c (beep): Made it void, since it does not (need to) return
- anything.
- (xtoolkit_end): Likewise.
- 1998-12-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_build_selected_file_list): Provide space for
- the terminating NULL.
- * gmain.c (beep): Return a value.
- * gdnd.c (get_action): Typo fix.
- 1998-12-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (load_imlib_icons): Make it use the new gicon files.
- * gicon.c, gicon.h: New files: they keep an image cache and
- provide the right icon to use based on the filename. They use the
- GNOME metadata to fecth the "icon-filename" and "icon-inline-png"
- keys for per-image icons.
- * gdialogs.c (file_mask_dialog): Commented the help messages until
- the warnings are figured out.
- 1998-12-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (desktop_icon_info_new): Connect the signals for DnD
- so that we can drag icons from the desktop.
- (drag_begin): New function to set the drag cursor for icons on the desktop.
- (button_press): New function that stores the hot spot position for
- DnD cursors.
- (drag_data_get): New function to fetch the URI-list of selected icons.
- * gdialogs.c: Fixed some includes.
- * gdesktop.h: Removed the DnD target enum from here, since it is
- specific to each submodule.
- * gdnd.h: Moved the DnD target enums to here. Added a new
- TARGET_MC_DESKTOP_ICON.
- * gdesktop.c (get_icon_snap_pos): Fixed icon snapping; the
- coordinates not being updated correctly.
- * gscreen.c (panel_drag_data_get): Free the uri list; it was being leaked.
- 1998-12-04 Jonathan Blandford <jrb@redhat.com>
- * gdialogs.c (file_progress_show_count): finished the copy dialog.
- 1998-12-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gblist.c (blist_select_row): Warning fixes.
- * olddnd.c: Moved the old DND code here for reference purposes.
- * gscreen.c: Made the tree a drag source.
- 1998-12-04 Jonathan Blandford <jrb@redhat.com>
- * gdialogs.c (trim_file_name): better update dialog
- 1998-12-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (load_desktop_icons): Added arguments that specify
- where to place the newly-created icons. This needs some tweaking still.
- (reload_desktop_icons): Now takes arguments for the position of
- the new icons.
- (drag_data_received): Pass in the drop position to reload_desktop_icons().
- * gscreen.c (panel_tree_drag_motion): Added missing variable declaration.
- * gdesktop.c (load_desktop_icons): Added an incremental flag that
- specifies whether icon creation is unconditional regardless of
- whether there is an icon for a file or not.
- (reload_desktop_icons): Use the incremental flag in load_desktop_icons().
- (drag_data_received): Reload the desktop incrementally, to avoid flicker.
- (desktop_icon_info_new): Use mc_lstat(), not mc_stat(). We do
- want to read symlinks, even dangling ones, if they exist.
- (load_desktop_icons): While we are reading the desktop directory,
- first place all the icons that have their metadata icon-position
- set, and build a list of the ones that don
- those. This fixes overlapping icons on weird situations.
- * directory.xpm: Removed bogus garbage. There was a stale pixmap here.
- * gdesktop.c (setup_desktop_dnd): Allow for GDK_ACTION_ASK as well.
- * gscreen.c (panel_widget_motion): The action argument to
- gtk_drag_begin() is a mask of possible actions, not a single action.
- * gdesktop.c (drag_data_received): Only reload the icons if the
- drop was successful.
- 1998-12-03 Jonathan Blandford <jrb@redhat.com>
- * gdialogs.c (create_op_win): starting the op_win dialog stuff
- 1998-12-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_create_icon_display, panel_create_file_list):
- Hook up to drag_begin and drag_end events.
- * gscreen.c (panel_tree_drag_motion): Improve interactivity
- (x_create_panel): Add a little decorating frame.
- (panel_create_icon_display, panel_create_file_list):
- Hook up to drag_begin and drag_end events.
- (panel_tree_drag_motion): Either queue a scroll on the tree, or
- queue an open-directory event.
- (panel_tree_scroll): Scroll the tree when the drag pointer is in
- one of the boundaries of the tree.
- (panel_tree_scrolling_is_desirable): new function to figure out if
- it is a good plan to scroll the tree view instead of opening it.
- (panel_chdir): Do not sync with the tree when we are in the middle
- of a drag and drop operation.
- (panel_drag_begin, panel_drag_end): New functions to keep track
- of the dragging operations.
- 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_tree_drag_data_received): Perform drag and drop
- operations on the Tree.
- 1998-12-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (setup_desktop_dnd): New function to set up drops
- to the root window.
- (setup_xdnd_proxy): Function by Owen Taylor to set up a DnD proxy
- window.
- (drag_data_received): Function to handle drops on the root window.
- (desktop_destroy): Destroy the DnD setup.
- (reload_desktop_icons): New function to reload the desktop.
- * gscreen.c (drag_types, drop_types): Removed url-list; only
- uri-list should be there.
- * gdesktop.h: Removed TARGET_URL_LIST from the DnD enumerations.
- * gtkdtree.c (gtk_dtree_do_select_dir): Made static, as it is for
- internal use only.
- Fixed a little bunch of compiler warnings.
- * gscreen.c (x_fill_panel): Use gtk_dtree_select_dir(), not
- gtk_ctree_do_select_dir().
- * gpopup.c (gpopup_do_popup): Fixed incorrect assertion and
- actually create the menu (doh).
- (gpopup_do_popup): Do the same magic as in gnome-popup-menu to
- fetch the item that was activated in the menu. Keep this code out
- of reach of children.
- (fill_menu): New function to fill the menu using the
- gnome-popup-menu magic for fetching the activated menu item.
- Removed ifdef
- 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (tree_drag_open_directory, panel_tree_drag_motion,
- panel_tree_drag_leave): Drag and Drop support routines for the
- tree to auto-expand the tree when the user stays still on top of a
- directory.
- * gtkdtree.c (gtk_dtree_load_path): Further speed increase.
- 1998-12-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * glayout.c (file_menu): Use view_cmd and view_simple_cmd in the
- menu instead of panel_action_view and
- panel_action_view_unfiltered, respectively.
- * gpopup.c (create_regexp_actions): Create the menu items using
- gnome-app-helper, for visual consistency.
- (create_actions): Likewise. Also, fixed S_ISLNK() confusion.
- (get_label_text): Extract the label from the GnomeUIInfo item in
- an ugly way.
- 1998-12-01 Jonathan Blandford <jrb@redhat.com>
- * Makefile.in: now handles gdialogs*
- * gdialogs.h:
- * gdialogs.c:Added new files -- takes the place of ../src/filegui.*
- 1998-12-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_switch_new_display_mode): Destroy the old
- widget. Add the list view to the proper table.
- * glayout.c: Remove the exit menu option.
- * gtree.c (gtk_dtree_contains): New routine used to avoid
- duplicate entries in the tree display.
- 1998-11-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gscreen.c (panel_icon_list_select_icon): Use gpopup_do_popup().
- (panel_file_list_select_row): Use gpopup_do_popup().
- Moved the popup menu code to gpopup.c.
- 1998-11-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gscreen.c (display_mini_info): Use g_strdup_printf() to make it
- i18n-ize nicely.
- (panel_create_filter): Use _(), not N_().
- (x_create_panel): Likewise.
- 1998-11-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (x_create_panel): Add panel view. Put the views
- inside a new table. Add tree view to the left.
- (panel_create_icon_display): IconList no longer starts in frozen state.
- Update Makefile.
- 1998-11-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (x_update_input): Use gtk_editable_changed on the entry.
- (x_create_listbox): Fix more CList api change.
- * gscreen.c (CLIST_FROM_SW): Adapt to new GtkScrolledWindow
- inheritance.
- 1998-11-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * Makefile.in (OOBJS): Add filegui.o back until the GTK-specific
- filegui is written.
- * gdesktop.c (check_window_in_one_panel): Provide better error
- messages here for debugging purposes.
- Disable stubs for filegui.c until they are actually implemented.
- I need to debug stuff.
- * gdnd.c (find_panel_owning_window): Use the new
- gtk_drag_get_source_widget function to find out reliably if the
- drag source happens to be in this application.
- * gscreen.c (x_create_panel): Set the usize for the ministatus
- label to be (0, -1), this means: do not request any horizontal
- space, use any vertical space given.
- Put the ministatus inside an hbox, and use
- gtk_container_set_resize_mode in this hbox to stop any queue
- events from being propagated up in the hierachy of widgets
- This kills all of the CList/GnomeIconList/Scrollbar/Toolbar
- flickering now.
- 1998-11-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gtree.c: More work on gtree. It is basically ready to stick
- into gmc-window.c/mc I just need to know when you are ready
- Federico.
- 1998-11-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gpopup.c (gpopup_do_popup): Hide the edit/view separator if
- those items were disabled, too.
- * gdesktop-icon.c (desktop_icon_realize): Added
- WIN_STATE_FIXED_POSITION and WIN_STATE_ARRANGE_IGNORE to the
- window hints for the desktop icons.
- 1998-11-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (desktop_icon_info_event): Run the popup menu for the
- icons in the desktop.
- * gpopup.[ch]: New files that take care of the popup menus for
- files in the desktop and in the panels.
- * Makefile.in: Added gpopup.[ch] to the list of sources.
- 1998-11-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (desktop_icon_info_place): Save the icon position
- when it is moved.
- (desktop_destroy): Removed the save_icons_pos() function and do
- not invoke it from desktop_destroy().
- 1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (x_list_insert): Make it work with the new CList
- policies.
- 1998-11-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c: Put in a bunch of stubs for the functions in
- filegui.h. These will be removed as the dialogs get
- custom-written for Gnome.
- * gmetadata.[ch]: Changed the function names to "gmeta_*".
- * gscreen.c (CLIST_FROM_SW): Use scrolled_window->child, as
- viewport is obsolete.
- 1998-11-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * Makefile.in (OOBJS): Do not link ../src/filegui.o. GMC does not
- link right now, but I guess I
- the dialog boxes.
- * gdnd.c: #include <sys/types.h>
- * Makefile.in (checklinks): Fix sourcelinks -> maksourcelinks typo.
- 1998-11-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gmain.c (session_save_state): Use gnome_geometry_string.
- 1998-11-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_file_list_compute_lines): Quick hack to get mc
- to compile with the new CList.
- 1998-11-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * Makefile.in: Removed gtrans.c from the list of sources.
- * gdesktop-icon.c: #ifdef cleanups.
- * gscreen.c (panel_create_file_list): Doh. Return the scrolled
- window, not the clist.
- * gdnd.c (get_action): Implement the DnD actions menu.
- 1998-11-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdnd.c: New file that handles all the DnD stuff. Mainly used to
- clean up gdesktop.c.
- * gscreen.c (panel_icon_list_drag_data_received): Use
- gdnd_drop_on_directory().
- (CLIST_FROM_SW): Added this macro to fetch the clist from the
- scrolled window in panel->list.
- (panel_create_file_list): Create a scrolled window and put the
- clist inside it. This is required per the new clist API.
- (panel_configure_file_list): Use the scrolled window
- (panel_file_list_size_allocate_hook): Use the scrolled window
- instead of the clist.
- (panel_file_list_compute_lines): Use the scrolled window instead
- of the clist.
- (panel_file_list_configure_contents): Use the scrolled window
- instead of the clist.
- (panel_create_file_list): Do the DnD setup here, not in the
- realization callback.
- (x_create_panel): Do not realize the panel explicitly.
- (panel_create_pixmaps): Create the pixmaps using imlib instead of
- Gdk.
- 1998-11-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (text_changed): Doh. Set the new filename of the
- desktop icon info structure.
- 1998-11-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (text_changed): We rename the files when the text
- changes.
- (save_icons_pos): New function to save the icon position metadata
- for all the icons in the desktop.
- (desktop_destroy): Save the icon positions when we exit.
- 1998-11-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (editing_started):
- (editing_stopped): New functions to install and remove
- pointer/keyboard grabs while icons are being edited,
- respectively.
- 1998-11-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (select_icon): Raise the icon when it is selected.
- 1998-11-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (select_range): Doh. Fix dii -> ldii typo. Also,
- use Windows semantics -- ranges are considered rectangular instead
- of linear.
- * gdesktop.c: Now desktop icons are stored in the layout_slots
- array. We need to know which icons are in which slots.
- (unselect_all): Use the layout_slots array.
- (desktop_icon_info_place): Append the icon to the list in the
- proper slot.
- (desktop_icon_info_new): Initialize the position and slot fields
- in the desktop icon info structure.
- (desktop_icon_info_free): Remove the icon from its slot.
- (desktop_destroy): Destroy the layout slots and the icons
- properly.
- (remove_from_slot): New convenience function to remove an icon
- from the slot it is in.
- (get_icon_snap_pos): Do a bit nicer snapping by really using the
- closest slot.
- Added a last_selected_icon variable to keep track of the icon that
- was last selected, for shift+click selections.
- (select_icon): Finish selection semantics and clean up. Now it is
- nice and simple and complete.
- (select_range): New function that handles range selections.
- 1998-11-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop-icon.h (DesktopIcon): Added a child item for stippling
- the icon when it is selected.
- * gdesktop-icon.c (desktop_icon_select): Show/hide the stippling
- as appropriate.
- * gdesktop.c (desktop_icon_info_event): Handler for events on
- desktop icons.
- (select_icon): New function that handles icon selection based on
- mouse clicks and modifier keys.
- * gdesktop.c (struct desktop_icon_info): Added a type field to the
- structure. It specifies the type of icon (file, directory), and
- is used to determine the DnD and menu behavior.
- 1998-10-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c: We are now using the new desktop icon code. It is
- not yet complete, but what is there does work. We have icon
- creation, auto-layout and snapping. Next step is drag and drop
- and popup menus.
- * glayout.c: #ifdef out the stuff that uses the old desktop code.
- I will replace it gradually.
- * gmain.c: Likewise.
- * gscreen.c: Likewise.
- 1998-10-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_icon_list_button_release): Remove unused
- variable.
- Provide hand written CList-start drag code
- 1998-10-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gmetadata.c (meta_get_icon_pos): Renamed from
- meta_get_desktop_icon_pos().
- (meta_set_icon_pos): New public function to save the icon position
- information.
- * gdesktop-icon.c (canvas_size_allocated): New function. We reset
- the canvas scrolling region here, when the canvas gets size
- allocated, to ensure that the canvas has always the correct
- scrolling region. We do it here instead of in the reshape()
- function to avoid flicker.
- 1998-10-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gmetadata.[ch]: New files with functions to handle all metadata
- issues -- fetching icons, icon positions, etc.
- * Makefile.in: Added gmetadata.[ch] to the list of sources.
- 1998-10-28 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop-icon.c (create_window_shape): Use shaped icons only
- when the user has selected them.
- (desktop_icon_reshape): New public function to recompute the shape
- of the icon. This should be used when the global
- desktop_use_shaped_icons flag changes.
- Added documentation comments to the public functions.
- * Makefile.in: Fixed for gdesktop-icon.
- * gdesktop-icon.[ch]: Renamed from desktop-icon.[ch], per Miguel
- request.
- * desktop-icon.c (reshape): Position the icon text item correctly.
- 1998-10-27 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * desktop-icon.c (desktop_icon_new): Do now reshape more than
- needed by splitting the set_icon and set_text functions apart.
- 1998-10-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (desktop_icon_set_position): Do not lower the
- window. The gnome-compliant wm will know what to do with windows
- on the Desktop layer.
- (post_setup_desktop_icon): Likewise.
- * desktop-icon.c (create_window_shape): Fetch the mask of the
- image "by hand", as we cannot rely on the canvas item having
- created it yet.
- * desktop-icon.c (desktop_icon_realize): Doh. We need to
- initialize the gnome_win_hints before we set any of the hints.
- 1998-10-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (create_desktop_icon): Renamed from
- my_create_transparent_text_window. Now uses the DesktopIcon
- widget for its work.
- (get_desktop_icon_for_dentry): Renamed from
- get_transparent_window_for_dentry. Uses the DesktopIcon widget.
- (get_desktop_icon_for_di): Renamed from
- get_transparent_window_for_di.
- (desktop_icon_properties): Do not size_request the icon, since now
- we can get its dimensions directly from the DesktopIcon structure.
- * desktop-icon.[ch]: New file that takes care of desktop icons.
- It provides the spiffy widget that is used for them.
- * Makefile.in: Added desktop-icon.[ch] to the list of sources.
- MC should use Automake, I think.
- 1998-10-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_create_icon_display): Small size adjustment.
- * glayout.c (create_container): Small size adjustment.
- * gmain.c (xtoolkit_create_dialog): Center windows.
- 1998-10-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (x_select_item): Force a canvas update when an icon
- has been selected.
- 1998-10-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_drag_data_get): New routine to provide data
- with the new DnD protocol.
- * gmain.c (dialog_key_pressed): If an icon has the focus, then do
- not process any of our events.
- Only stop the signal if we actually handled the event.
- (dialog_key_pressed):
- 1998-10-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_icon_renamed): Add support for renaming files.
- 1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c: Use the new icon list.
- 1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c: Hook to invoke the editor from the context menu.
- Fri Sep 18 13:51:16 1998 Pavel Roskin <pavel_roskin@geocities.com>
- * Makefile.in: Consequent "make" should not rebuild gmc every time
- Mon Aug 31 10:46:32 1998 Owen Taylor <otaylor@redhat.com>
- * gscreen.c (display_mini_info): Removed calls to
- gtk_clip_label_set() hack, since its cut-n-paste code didn
- with new GTK
- solved by adding an adjustment around the label, and calling
- gtk_container_set_resize_mode().
- 1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
- * gdesktop.c: Include "mad.h", for xmalloc.
- * gkey.c: Likewise.
- * gscreen.c: Likewise.
- (panel_create_file_list): Use `g_free
- Wed Aug 19 19:45:16 EDT 1998 The Rasterman <raster@redhat.com>
- * gdesktop.c - changed dnd setting routine for desktop icon to set
- events on child window...
- * gtrans.c - chnaged routines to make window with child rawing area
- and set shape on parent window
- 1998-08-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_make_local_copies_and_transfer): Fix.
- 1998-07-04 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
- * gmain.c (session_management_setup): Replaced
-
- 1998-06-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (x_update_input): The previous hack was not
- required, the right fix was to change Gtk.
- 1998-06-22 Manish Vachharajani <mvachhar@vger.rutgers.edu>
- * gwidget.c: Don
- 1998-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gdesktop.c (drop_cb): Mhm. Negotiation of the drop type was not
- quite like I expected. Anyways, fixed a bug: we need to take
- text/plain drops on the launch icons on the desktop.
- 1998-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gdesktop.c (desktop_setup_icon): Assign the dentry->geometry
- from the drop position. New .desktop files are now placed on the
- site they were dropped.
- (drop_cb): Use proper prototype.
- Sun May 31 13:19:59 1998 Norbert Warmuth <k3190@fh-sw.de>
- * Makefile.in: use @LIBVFS@ when referring to libvfs-mc.a (one
- reference wasn
- 1998-05-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gwidget.c (x_create_input): Set the entry
- a password field.
- 1998-05-26 Marc Ewing <marc@redhat.com>
- * Makefile.in: use @LIBVFS@ when referring to libvfs-mc.a
- 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gmain.c (session_save_state): Perform shutdown if `shutdown
- flag is set.
- 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (entry_release): Enhanced our marked handler for input
- lines.
- * gdesktop.c (desktop_create_directory_entry): Fix, make a
- g_strdup copy of the name. Fixes bug report #78.
- (desktop_icon_context_popup): Simplified this routine as we are
- using file_popup now anyways.
- 1998-05-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * glayout.c: Move the New window menu entry from ``Window
- ``File
- * gwidget.c (x_unfocus_widget): Fix wartning.
- * glayout.c (set_hintbar): Call flush events after setting the
- hintbar.
- 1998-05-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (x_create_input): Disable the use of the GNOME entries
- for now, as they are very slow. We need to figure out what is
- wrong with this.
- With this change, dialog boxes close quickly instead of taking
- ages to close.
- * gscreen.c, gdesktop.c (file_popup_add_context, file_popup):
- Share the context menu code in gdesktop.c and gscreen.c. The
- desktop pop up menus now include all of the stuff that would have
- appeared in the Panel.
- * gdesktop.c (desktop_icon_remove): Remove the file associated
- with this desktop entry if it is on the ~/desktop directory.
- 1998-05-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (load_dnd_icons): Remove the code and the icons that
- we had here privately. Use new gnome-stock functionality
- instead.
- 1998-05-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_drag_request): All of the drag_request code is
- now shared by both the Icon View and the Listing view;
- New drag request type: file:ALL. If the user is looking at a
- remote site, and the target application does not have VFS support
- it should not list url:ALL but file:ALL as the accepted drop
- type.
- This will make copies of the remote files and pass the files to
- the application.
- 1998-05-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gtrans.c (set_window_text): Pass new justification parameter to
- gnome_icon_paint_text().
- * gpageprop.c (item_properties): Restore the arrow cursor for the
- desktop icon windows.
- * gdesktop.h (desktop_icon_t): Removed unused title field.
- * gtrans.c (set_window_text): Made it use the new
- GnomeIconTextInfo functions.
- 1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gscreen.c (panel_create_icon_display): Set some good separator
- characters for the file icon list.
- 1998-05-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gprop.c (perm_owner_new): Forget about history for now.
- * gpageprop.c (item_properties), gprop.c: Add executable editing
- (command, and terminal). Save the dentry after modification
- 1998-05-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gprop.c (change_icon): Test for gp, as the combobox emits the
- "changed" signal when shutting down. Great.
- * gdesktop.c (desktop_reload): Missing mc_closedir
- (desktop_setup_icon): Fix memory leak.
- (get_desktop_icon): Fix memory leak.
- (desktop_create_directory_entry): Set the size of the exec
- vector.
- (desktop_create_launch_entry): Same.
- We now create launch entries instead of trying to support
- regular dropped stuff on the desktop, this makes things easier and
- more consistent.
- 1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gscreen.c (x_select_item): Test for full icon visibility instead
- of partial visibility only.
- 1998-05-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (create_popup_submenu): Use continue, not break on
- this loop.
- Sat May 16 02:29:51 1998 Tom Tromey <tromey@cygnus.com>
- * gdesktop.c (url_dropped): `exec
- vector.
- (dentry_execute): Likewise.
- (desktop_icon_remove): Likewise.
- (get_transparent_window_for_dentry): Likewise.
- (desktop_create_directory_entry): Likewise; also initialize
- exec_length.
- 1998-05-16 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
- * gscreen.c (create_popup_submenu): fixed bug which caused it to require
- 0 instead of 1 marked files for F_SINGLE file_actions.
- * gscreen.c (file_popup): first item in the menu displays "..." when
- multiple files are selected.
- Thu May 14 23:31:15 1998 Tom Tromey <tromey@cygnus.com>
- * gmain.c (session_save_state): Use "+" instead of "%s" in format
- specification. Free `argv
- 1998-05-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gtrans.c (create_transparent_text_window): Removed the hack to
- lower the window on exposes. Guess what happens when you have two
- icons on the same spot.
- Thu May 14 02:02:56 1998 Norbert Warmuth <k3190@fh-sw.de>
- * Makefile.in (EXTRALIBS): add @LINTL@
- 1998-05-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gtrans.c (set_window_text): draw pixmaps without transparency
- correctly.
- 1998-05-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_icon_list_realized): Add drag and drop support
- to the icon list view;
- 1998-05-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_fill_panel_icons): New function: Fill up the
- icon list.
- (x_create_panel): Change in the approach: we create both of the
- widget views at creation time and we now carefully show every
- component. I attach everything to the table, but not necesarly
- show it.
- * gblist.c (blist_select_row): New widget derived from GtkClist.
- replace select_row and unselect_row with null functions, as the
- gmc code takes care of the rest.
- 1998-05-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gdesktop.c (desktop_icon_drag_start): Do not attempt to use
- icons if we could not load the images for the icon.
- * gwidget.c (x_update_input): Keep the cursor always visible.
- * gview.c (view): Use a buttonbar widget.
- * gwidget.c (buttonbar_clicked): Provide a trivial implementation
- of the buttonbar that only responds to key sequences.
- * gmain.c (dialog_panel_callback): Call midnight_callback to get
- the main bindings working.
- * gdesktop.c (perform_drop_manually): Use p to walk the dropped
- data. This is an important bug fix.
- * gmain.c (idle_destroy_window), main.c: Session management now
- supports not showing a toplevel window (in case all of the windows
- were closed).
- 1998-04-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gtrans.c (make_transparent_window): Put hack back.
- * gcache.c (image_cache_load_image): Federico spooted the problem:
- I have to duplicate my keys for the hash.
- * gmain.c (create_panels): Create one panel per directory
- specified. For some strange reason the code hangs if you start up
- more than one panel at once. This is not a gmc bug, it appears to
- be an Imlib/gtk/gdk interaction. I am for now creating one panel
- in the main program execution thread and the rest during the idle
- handler.
- (session_save_state): Added session management support.
- 1998-04-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gprop.c (gprop_general_new): Added an simple icon preview to the
- icon selector.
- 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gdesktop.c: Finish desktop_icon_remove implementation.
- * glayout.c (update_panels): GNOME specific Implementation of the
- update_panels routine.
- Tue Apr 28 06:52:24 1998 Norbert Warmuth <k3190@fh-sw.de>
- * gcmd.c (gnome_open_terminal): Changed my_system(1,...) to
- my_system(EXECUTE_AS_SHELL,...)
- 1998-04-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * glayout.c (layout_panel_gone): Removed debugging information.
- Renamed "Panel" to "Window" to make it less confusing to users.
- Moved the "New window" from the "File" menu to the "Window" menu.
- * gmain.c (dialog_panel_callback): Walk the list of panels to
- determine to which panel the activated widget belongs.
- 1998-04-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (x_create_radio): Fix the WRadio widgets.
- 1998-04-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * glayout.c (create_container): Add wmclass.
- 1998-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gdesktop.c (desktop_reload): Show all of the widgets on a reload
- operation.
- * gscreen.c (x_panel_update_marks): Do only set the marks if the
- widget has been created
- * glayout.c (assign_other): Keep track of all of the opened
- panels. We were never removing them from the containers list.
- This fixes a number of problems.
- * gwidget.c (x_dialog_stop): Only call gtk_main_quit if this
- dialog did not inlcude the DLG_GNOME_APP flag, as those windows
- did not launch a gtk_main event loop.
- * gcmd.c: Try various terminal programs in the PATH before giving
- up
- * glayout.c: Unselect command is unselect_cmd, not select_cmd
- * gcmd.c (gnome_quit_cmd): Add quit confirmation.
- * gdesktop.c (perform_drop_manually): Check the type for the
- source file (directory/file) and perform the proper operation.
- Before this we always did a *_file_file operation.
- (perform_drop_manually): Use copy_dir_dir correctly
- (desktop_setup_default): Use copy_dir_dir correctly
- * gwidget.c (x_create_label): Remove debugging labels.
- * gscreen.c: Do not show the view/view unfiltered if the
- selectioned item is a directory.
- * gwidget.c (x_radio_toggle): Never commit non-compilable code.
- 1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (remove_hotkey, x_create_radio): Radio buttons should
- not display the special Hotkey specificator.
- * gcmd.c (gnome_close_panel): Implement the close-the-panel
- functionality.
- * gscreen.c (x_panel_destroy): Implement the gnome mode way of
- destroying the panel.
- * gview.c (view_status): Add cacheing of the information status,
- to avoid excessive flicker. It would be better if GtkLabel did
- not flicker though.
- (scrollbar_moved): Scroll correctly. We now use
- view_move_backward and view_move_forward to adjust the scrollbar
- contents. This displays the scrollbar correctly.
- * gwidget.c (x_listbox_select_nth): This may be invoked before the
- widget has been created, work around this problem.
- * gscreen.c (show_dir): Set the title bar for the window to the
- current directoy. Reported by both Mike and Elliot.
- * layout: Updated to the new hotlist dialog box.
- 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gtrans.c (create_transparent_text_window): Destroy the cursor
- properly.
- 1998-04-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gview.c (x_init_view): Initialize view->sadj.
- * gdesktop.c (start_desktop): use destkop_load instead of
- desktop_reload.
- (desktop_load): This reloads + shows every widget on the
- desktop_icons list.
- 1998-04-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.h: Added extern declarations for the
- want_transparent_icons and want_transparent_text variables.
- * gtrans.c (set_window_text): Now we use the new global variables
- want_transparent_icons and want_transparent_text to decide how to
- paint the pixmap and mask. The want_transparent_* variables can
- thus be configured for the smartness/speed of your X server when
- using shaped windows.
- Fri Apr 12 02:40:41 1998 Norbert Warmuth <k3190@fh-sw.de>
- * gwidget.c (x_create_input): return 1 if the widget has been
- initialized manually (there was no return value)
- (x_create_buttonbar): to few arguments to sprintf (button number
- was missing); return a value.
- 1998-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (x_create_panel): Added back and forward buttons. I
- need a "Home" icon too.
- * gwidget.c (x_create_input): Make the selection if the input has
- not yet been touched.
- * gscreen.c (panel_action_open): If opening an item fails, try
- panel_action_open_with.
- * gview.c: Implement the viewer scrollbar.
- 1998-04-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_drop_data_available): Reload the panel contents
- upon a drop.
- * gmain.c (gnome_dlg_send_destroy): Hide the widgets just before
- they are going to get destroyed, to avoid the shutdown
- flickering.
- (x_destroy_dlg_start): New routine/hook invoked when the destroy
- has just started
- (x_set_idle): Cancel the idle handlers properly.
- * gwidget.c (x_create_check): Finish the checkbox implementation.
- * gdesktop.c (get_desktop_icon): Fix this routine: it was
- cretating a file name when the filename was not set properly.
- 1998-04-01 Marc Ewing <marc@redhat.com>
- * gscreen.c: Added #include <gdk/gdkprivate.h>
- 1998-03-31 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gcache.c: Added an Image cache for all of the imlib-loaded
- images to avoid destroying/reloading the images.
- * gdesktop.c, gtrans.c: Use the image cache.
- 1998-03-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (x_create_panel): Show the GnomeApp when we are done
- packing all of our information.
- * gmain.c (create_panels): do not show any of the windows yet.
- 1998-03-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (x_fill_panel): Colors are properly displayed now.
- Use the clipped labels.
- * gcliplabel.c, gcliplabel.h: Derived label that does label
- clipping (it does not request the allocation for the whole string,
- but settles with whatever is provided in the size_allocation).
- 1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gtrans.c (create_transparent_text_window): Set the window
- cursor to the normal top-left arrow.
- Mon Mar 23 01:40:35 1998 Norbert Warmuth <k3190@fh-sw.de>
- * gtools.c (translate_gdk_keysym_to_curses): renamed KEY_BACKTAB
- to KEY_BTAB (the name ncurses uses)
- * Makefile.in: Install the icon-files and the layout-file from $srcdir.
- 1998-03-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (icon_properties):
- * gpageprop.c (item_properties): Modified to accept dentry title
- changes as well.
- (item_properties): Fixed base and fname confusion in call to
- concat_dir_and_file().
- * gprop.c (gprop_general_new):
- (gprop_general_get_data): Renamed to general from icon. The
- general Gprop now lets you enter the title and icon filename for a
- dentry.
- 1998-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (icon_properties): Whoops, actually save the dentry.
- (post_setup_desktop_icon): Moved the icon positioning call outside
- of this function so that property-changed icons will not move on
- the desktop.
- * gdesktop.c (desktop_icon_context_popup): It is not necessary to
- set the menu position.
- (desktop_icon_context_popup): gtk_signal_connect_object_after to the menu
- items with gtk_widget_destroy as a callback so that we can destroy
- the menu widget appropriately.
- 1998-03-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (display_mini_info): Implement mini status.
- 1998-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gdesktop.c (get_transparent_window_for_dentry): New function,
- creates the proper transparent icon window for a dentry.
- (post_setup_desktop_icon): New function, does post-setup stuff for
- a desktop icon (setting it as a drop target, positioning it, etc.).
- * gpageprop.c (item_properties): Now the dentry parameter is a
- desktop_icon_t instead.
- We now return a bitmask that indicates what stuff changed. The
- caller can use this information to decide what to update, repaint, etc.
- * gdesktop.h: Moved the icon_t and desktop_icon_t structures here.
- * gpageprop.c (item_properties): Insert icon control if appropriate.
- * gprop.c (gprop_icon_new):
- (gprop_icon_get_data): Renamed from gprop_dir_*().
- * gscreen.c (panel_action_properties): Re-reads panel only if necessary.
- *gpageprop.c (item_properties): now returns TRUE if something got
- changed, FALSE otherwise. This should be used to decide whether
- to re-read the panel or not.
- * gpageprop.c: #include "../vfs/vfs.h".
- #include "dialog.h".
- * gprop.c (gprop_dir_new):
- (gprop_perm_new):
- (gprop_general_new): Connect to the destroy signal of the toplevel
- widget and destroy the Gprop structure on the callback.
- Wed Mar 18 23:09:35 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_file_list_select_row): Use control/shift click
- to add files to the selection.
- Wed Mar 18 22:32:53 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_action_properties): Make Federico
- page-properties code functional.
- * gpageprop.c: New file, implements most of the page properties on
- top of the gprop.c code.
- Wed Mar 18 20:35:45 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gdesktop.c (desktop_create_launch_entry): Support for the "Drop"
- target in mc.ext now.
- * Add support for dragging the icons on the desktop.
- (desktop_icon_make_draggable): new function.
- (drop_from_event): simplify.
- (my_create_transparent_text_window): Get the motion notify event.
- (drops_from_event): create a vector based on thge drop event.
- (drop_cb): splitted, call url_drop for regular drops, otherwise it
- is a icon drop.
- (artificial_drag_start): new routine, used now by gscreen.c and
- gdesktop.c
- (drop_on_directory): Check result value of operation.
- (desktop_icon_set_position): sane interface.
- (stop_desktop): Flush all of our state to disk.
- 1998-03-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gscreen.c: Removed tests for the gprop stuff.
- (file_popup): It is not necessary to show the popup menu.
- * gprop.c (perm_group_new):
- (perm_owner_new): Fill the combo lists with users and groups,
- respectively.
- * gprop.h: New files gprop.[ch]. These create the property pages
- for desktop entries.
- * Makefile.in: Added gprop.[ch] to the rules.
- * glayout.c: Put gnome_about_cmd as a callback for the About menu item.
- Tue Mar 17 22:40:36 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gdesktop.c (desktop_setup_icon): Lots of changes to accomodate
- dropping icons on the root window.
- (do_symlinks): Implement symlink action.
- (icon_delete, desktop_icon_context_popup): Implement icon context
- menus. only deleting an icon is working right now.
- * gscreen.c: Load the drag and drop icons from the installation
- directory.
- * Makefile.in (install_gmc): Install our icons.
- Tue Mar 17 02:38:37 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gdesktop.c (desktop_setup_default): Create a default desktop
- entry on the root window for the Home directory if not mc.desktop
- exists -yet-
- Get drops on the root window to work. Joy and hapiness!
- Tue Mar 17 00:43:50 1998 Tom Tromey <tromey@cygnus.com>
- * glayout.c (gnome_panel_about_menu): "About" item now a stock
- menu item.
- 1998-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gscreen.c (filter_item_activate): Make it convert the glob
- pattern to a regexp if appropriate.
- Sat Mar 14 17:13:26 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gmain.c (gnome_dlg_send_destroy): New signal handler for
- "delete_event". I return TRUE (ie, do not kill this window), and
- manually queue que destruction of this window.
- * gtools.c (query_dialog): Do not allow resizing; do not destroy
- the dialog ourselves, this is properly handled by dlg.c now
- (pack_button): Do not use the defaults: we do not want growing
- buttons;
- Fri Mar 13 16:01:28 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (buttonbar_clicked, x_create_buttonbar): Button bar
- widget implemented.
- * gtools.c: Implement the non-modal version of the message
- routine.
- * gview.c: Create a GnomeApp widget to contain the viewer.
- * gmain.c (xtoolkit_create_dialog): Add a new mode where the
- container window is a GNOME_APP window.
- 1998-03-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gscreen.c (x_select_item): Make it use GTK_VISIBILITY_FULL
- instead of a plain boolean value.
- * gwidget.c (x_listbox_select_nth): Likewise.
- * gscreen.c (filter_items): New global variable full of filters.
- Please, someone fill in the regexp parts, as I was too lazy to do
- them :-)
- (panel_create_filter): Now the filter has a very nice button that
- pops up a menu for selecting the filter.
- Thu Mar 12 22:11:23 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (x_update_input): Use GnomeEntry widgets instead of
- the GtkEntry.
- * gwidget.c (listbox_select): Fix for the listbox selection with
- the mouse.
- (x_create_button): Use stock pixmaps.
- * gcmd.c: Moved all of the _cmd routines from glayout to this
- place.
- (save_panel_types): Provide GNOME implementation.
- * glayout.c: New and improved menu layout. Use stock pixmaps.
- 1998-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gmc-chargrid.c (gmc_char_grid_draw): Someone teach me how to
- subtract. Fixed a stupid offsetting bug.
- (update_region): Added clipping of region bounds.
- * gmc-chargrid.c: Changed the struct attr with pointers mess with
- something saner.
- Added an in_resize flag to avoid calling our internal signal
- handlers recursively.
- (gmc_char_grid_draw): Added proper draw handler for our case; the
- widget
- (paint): New wrapper for update_region(); it converts window
- coordinates to row/column character coordinates.
- (gmc_char_grid_expose): Use paint().
- 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gmc-chargrid.c (update_strip): Doh. Fixed painting of
- background rectangles.
- (gmc_char_grid_expose): Fixed off-by-one errors in area
- calculation. Ripped off the code from gtkterm to do this :-)
- (free_attrs): New internal convenience function.
- Thu Mar 12 00:08:06 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gview.c (view_percent): Added status display.
- Wed Mar 11 22:35:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (entry_release): Now the WEntrys track the current
- selection.p
- (x_update_input): Repaint the widget after changing the position.
- * gscreen.c (x_fill_panel): Remember the selected item on the
- panel before filling it up, as gtk_clist emits a select_item
- signal when filling it up, which changes the current selection
- (and thus some routines that invoke the reload panel option
- fail).
- (create_popup_submenu): Implement context sensitive menus (regular
- files, and symlinks).
- (panel_realized): Use a different icon when we are dragging a
- group of files.
- (panel_artificial_drag_start): Add Elliot
- support.
- 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gmc-chargrid.c (gmc_char_grid_get_size): New public function.
- (gmc_char_grid_put_text): New public function. It is the same as
- gmc_char_grid_put_str, but can take any arbitrary string plus its
- length.
- (gmc_char_grid_put_char, gmc_char_grid_put_str,
- gmc_char_grid_put_text): These functions now take a background
- pixel parameter --- the GmcCharGrid widget now supports fg/bg attributes.
- * gmc-chargrid.h: Changed colors field to attrs.
- * gmc-chargrid.c: New Character Grid widget for the file viewer.
- This is a very lean and fast widget for displaying a grid of
- monospaced characters. Just like a crippled-down terminal.
- Tue Mar 10 23:46:29 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (x_adjust_top_file): We no longer adjust the top
- displayed filename.
- (panel_build_selected_file_list): Fix for the transfered data.
- (panel_drop_data_available): Now drop support uses the new
- coords.x and coords.y fields from the DropDataAvailableEvent to
- find out which directory receives the drop.
- * glayout.c: added: configure_box, configure_vfs
- (get_other_type): Return the correct value.
- 1998-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gscreen.c (panel_file_list_size_allocate_hook): Now we
- connect_after to the size_allocate signal and block the handler.
- Things are still not perfect, though.
- * gtools.c (message): Added return NULL. This needs to be fixed.
- (translate_gdk_keysym_to_curses): FIXME: Replace KEY_BACKTAB by
- while KEY_BACKTAB is added somewhere else.
- (translate_gdk_keysym_to_curses): return -1 as last resort.
- * glayout.c (get_current_index): Add g_assert_not_reached() for
- fatal case.
- * gmenu.c (menubar_new): Cast g_menubar to unsigned long.
- * gwidget.c (x_create_input): Cast entry to GTK_OBJECT.
- * gkey.c (find_select_closure_callback): Fix = -> == typo.
- Tue Mar 10 00:10:32 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gscreen.c (panel_drop_data_available): Now drop support uses the
- new coords.x and coords.y fields from the DropDataAvailableEvent
- to find out which directory receives the drop.
- * gwidget.c (x_radio_focus_item): Add support for focusing radio
- buttons.
- Mon Mar 9 15:12:00 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gtools.c (translate_gdk_keysym_to_curses), dlg.c
- (dlg_key_event): Support for backtab.
- * gwidget.c: highlight properly the focused radio entry.
- * gmain.c (x_init_dlg): After setting up the X widget, set the
- Gtk focus to h->current;
- 1998-03-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gscreen.c (x_panel_select_item): Set the colors of the row.
- * gmain.c (xtoolkit_init): Changed gnome_init() to new version.
- (xtoolkit_init): Call gnome_init() properly. Also, return 0.
- Sat Mar 7 15:24:49 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gwidget.c (entry_click): Focus the entry on clicks.
- Fri Mar 6 20:50:19 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gmain.c (create_panels): New per-port variable, used to flush
- all of the pending X events.
- (x_set_idle): Implement idle functions, now the find command works
- properly.
- * gwidget.c (x_create_radio): Connect to the "toggled" signal to
- keep track of the radio button.
- (listbox_select): callback for the select and double click
- actions.
- (x_update_input): This can be invoked before the
- widget X resources have been allocated. Take care of this.
- (x_create_input): update the cursor position as well.
- (x_list_insert, x_create_listbox, x_list_delete_nth,
- x_listbox_select_nth): implement the Listbox widget.
- * gconf.h: New configuration options:
- PORT_HAS_PANEL_ADJUST_TOP_FILE and
- PORT_HAS_PANEL_RESET_SORT_LABELS
- 1998-03-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gmain.c (get_color): Make it use GdkColorContext correctly.
- * gscreen.c (panel_create_filter): The filter control is now a
- nice GnomeEntry. It does not work due to gmc trapping key events;
- I
- (internal_select_item): Fixed broken behavior. Now uses GtkCList properly.
- default_filters: new structure with pre-defined glob patterns.
- This is actually broken, because it will only work when
- easy_patterns is enabled. I have to figure a way to make it work
- with regexp mode as well.
- Thu Mar 5 23:54:58 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gdesktop.c (drop_on_panel): New function; Used by the directory
- icons and by regular panels to support drag targets;
- * gscreen.c (panel_drop_data_available): Performs the drop action
- on a panel. It needs fixing, as the DropDataAvailabelEvent does
- not provide any information as to where the drop actually
- happened.
- (fixed_gtk_widget_dnd_drag_set, fixed_gtk_widget_dnd_drop_set):
- Only set the main window of the clist to be the source/target of
- the drag and drop code. The little square at the end did not make
- much sense as a drop/drag spot.
- 1998-03-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gmain.h: Added prototype for x_filter_changed().
- Added #include "panel.h".
- * gconf.h (PORT_HAS_FILTER_CHANGED): New flag for conditional compilation.
- Wed Mar 4 22:43:00 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gtools.c (query_dialog): Rewritten to use the MC dialog/widget code.
- * gutil.c (my_system), acconfig.h: By default gnome will not have
- a subshell (at least for now) and will now exec everything
- asyncronously by default.
- * gscreen.c: Exactly what was I thinking when I used the
- g_panel_contents structure will remain a mistery for future
- programming psycologists. It was a huge mistake.
- * gdesktop.c: Use the new icon/text display routine from
- Federico.
- Tue Mar 3 21:03:52 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
- * gmain.c (x_destroy_dlg): Call gtk_grab_remove when destroying
- the dialog.
- * gmain.c (x_focus_widget): Handle special case of toplevels.
- 1998-03-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gscreen.c: Some hackish changes to work around idempotence bugs
- in gtk_clist_select_row().
|