ChangeLog 50 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459
  1. 1998-12-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
  2. * gdesktop.c (file_entry_from_file): Finished implementing
  3. file_entry_from_file().
  4. (struct desktop_icon_info): Removed the `type' field. We now stat
  5. the file when needed to figure out the file type.
  6. (desktop_icon_info_event): Test whether the file is a directory by
  7. ourselves, and if it is, open a new panel for it.
  8. (drag_data_get): Generate the uri-list for internal desktop icon
  9. drags as well.
  10. * gdesktop.c (drag_data_received): We do not need to call
  11. gtk_drag_finish(), since we are using the GTK_DEST_DEFAULT_DROP
  12. flag for drops on the desktop.
  13. (desktop_icon_info_event): Reload the desktop icons after
  14. executing a command from the popup menu. This kind of sucks, but
  15. will do for now.
  16. (desktop_icon_info_event): Upon receiving a button-1 press, if the
  17. icon was already selected in the first place, delay the
  18. re-selection phase until we get a mouse release event. This lets
  19. us start a multiple-selection drag without having the initial
  20. click clear the selection first.
  21. (desktop_icon_info_event): Open the file or directory when the
  22. desktop icon receives a double click.
  23. * gmain.c (beep): Made it void, since it does not (need to) return
  24. anything.
  25. (xtoolkit_end): Likewise.
  26. 1998-12-05 Miguel de Icaza <miguel@nuclecu.unam.mx>
  27. * gscreen.c (panel_build_selected_file_list): Provide space for
  28. the terminating NULL.
  29. * gmain.c (beep): Return a value.
  30. * gdnd.c (get_action): Typo fix.
  31. 1998-12-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
  32. * gscreen.c (load_imlib_icons): Make it use the new gicon files.
  33. * gicon.c, gicon.h: New files: they keep an image cache and
  34. provide the right icon to use based on the filename. They use the
  35. GNOME metadata to fecth the "icon-filename" and "icon-inline-png"
  36. keys for per-image icons.
  37. * gdialogs.c (file_mask_dialog): Commented the help messages until
  38. the warnings are figured out.
  39. 1998-12-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
  40. * gdesktop.c (desktop_icon_info_new): Connect the signals for DnD
  41. so that we can drag icons from the desktop.
  42. (drag_begin): New function to set the drag cursor for icons on the desktop.
  43. (button_press): New function that stores the hot spot position for
  44. DnD cursors.
  45. (drag_data_get): New function to fetch the URI-list of selected icons.
  46. * gdialogs.c: Fixed some includes.
  47. * gdesktop.h: Removed the DnD target enum from here, since it is
  48. specific to each submodule.
  49. * gdnd.h: Moved the DnD target enums to here. Added a new
  50. TARGET_MC_DESKTOP_ICON.
  51. * gdesktop.c (get_icon_snap_pos): Fixed icon snapping; the
  52. coordinates not being updated correctly.
  53. * gscreen.c (panel_drag_data_get): Free the uri list; it was being leaked.
  54. 1998-12-04 Jonathan Blandford <jrb@redhat.com>
  55. * gdialogs.c (file_progress_show_count): finished the copy dialog.
  56. 1998-12-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
  57. * gblist.c (blist_select_row): Warning fixes.
  58. * olddnd.c: Moved the old DND code here for reference purposes.
  59. * gscreen.c: Made the tree a drag source.
  60. 1998-12-04 Jonathan Blandford <jrb@redhat.com>
  61. * gdialogs.c (trim_file_name): better update dialog
  62. 1998-12-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
  63. * gdesktop.c (load_desktop_icons): Added arguments that specify
  64. where to place the newly-created icons. This needs some tweaking still.
  65. (reload_desktop_icons): Now takes arguments for the position of
  66. the new icons.
  67. (drag_data_received): Pass in the drop position to reload_desktop_icons().
  68. * gscreen.c (panel_tree_drag_motion): Added missing variable declaration.
  69. * gdesktop.c (load_desktop_icons): Added an incremental flag that
  70. specifies whether icon creation is unconditional regardless of
  71. whether there is an icon for a file or not.
  72. (reload_desktop_icons): Use the incremental flag in load_desktop_icons().
  73. (drag_data_received): Reload the desktop incrementally, to avoid flicker.
  74. (desktop_icon_info_new): Use mc_lstat(), not mc_stat(). We do
  75. want to read symlinks, even dangling ones, if they exist.
  76. (load_desktop_icons): While we are reading the desktop directory,
  77. first place all the icons that have their metadata icon-position
  78. set, and build a list of the ones that don't. *Then* place
  79. those. This fixes overlapping icons on weird situations.
  80. * directory.xpm: Removed bogus garbage. There was a stale pixmap here.
  81. * gdesktop.c (setup_desktop_dnd): Allow for GDK_ACTION_ASK as well.
  82. * gscreen.c (panel_widget_motion): The action argument to
  83. gtk_drag_begin() is a mask of possible actions, not a single action.
  84. * gdesktop.c (drag_data_received): Only reload the icons if the
  85. drop was successful.
  86. 1998-12-03 Jonathan Blandford <jrb@redhat.com>
  87. * gdialogs.c (create_op_win): starting the op_win dialog stuff
  88. 1998-12-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
  89. * gscreen.c (panel_create_icon_display, panel_create_file_list):
  90. Hook up to drag_begin and drag_end events.
  91. * gscreen.c (panel_tree_drag_motion): Improve interactivity
  92. (x_create_panel): Add a little decorating frame.
  93. (panel_create_icon_display, panel_create_file_list):
  94. Hook up to drag_begin and drag_end events.
  95. (panel_tree_drag_motion): Either queue a scroll on the tree, or
  96. queue an open-directory event.
  97. (panel_tree_scroll): Scroll the tree when the drag pointer is in
  98. one of the boundaries of the tree.
  99. (panel_tree_scrolling_is_desirable): new function to figure out if
  100. it is a good plan to scroll the tree view instead of opening it.
  101. (panel_chdir): Do not sync with the tree when we are in the middle
  102. of a drag and drop operation.
  103. (panel_drag_begin, panel_drag_end): New functions to keep track
  104. of the dragging operations.
  105. 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
  106. * gscreen.c (panel_tree_drag_data_received): Perform drag and drop
  107. operations on the Tree.
  108. 1998-12-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
  109. * gdesktop.c (setup_desktop_dnd): New function to set up drops
  110. to the root window.
  111. (setup_xdnd_proxy): Function by Owen Taylor to set up a DnD proxy
  112. window.
  113. (drag_data_received): Function to handle drops on the root window.
  114. (desktop_destroy): Destroy the DnD setup.
  115. (reload_desktop_icons): New function to reload the desktop.
  116. * gscreen.c (drag_types, drop_types): Removed url-list; only
  117. uri-list should be there.
  118. * gdesktop.h: Removed TARGET_URL_LIST from the DnD enumerations.
  119. * gtkdtree.c (gtk_dtree_do_select_dir): Made static, as it is for
  120. internal use only.
  121. Fixed a little bunch of compiler warnings.
  122. * gscreen.c (x_fill_panel): Use gtk_dtree_select_dir(), not
  123. gtk_ctree_do_select_dir().
  124. * gpopup.c (gpopup_do_popup): Fixed incorrect assertion and
  125. actually create the menu (doh).
  126. (gpopup_do_popup): Do the same magic as in gnome-popup-menu to
  127. fetch the item that was activated in the menu. Keep this code out
  128. of reach of children.
  129. (fill_menu): New function to fill the menu using the
  130. gnome-popup-menu magic for fetching the activated menu item.
  131. Removed ifdef'ed code.
  132. 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
  133. * gscreen.c (tree_drag_open_directory, panel_tree_drag_motion,
  134. panel_tree_drag_leave): Drag and Drop support routines for the
  135. tree to auto-expand the tree when the user stays still on top of a
  136. directory.
  137. * gtkdtree.c (gtk_dtree_load_path): Further speed increase.
  138. 1998-12-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
  139. * glayout.c (file_menu): Use view_cmd and view_simple_cmd in the
  140. menu instead of panel_action_view and
  141. panel_action_view_unfiltered, respectively.
  142. * gpopup.c (create_regexp_actions): Create the menu items using
  143. gnome-app-helper, for visual consistency.
  144. (create_actions): Likewise. Also, fixed S_ISLNK() confusion.
  145. (get_label_text): Extract the label from the GnomeUIInfo item in
  146. an ugly way.
  147. 1998-12-01 Jonathan Blandford <jrb@redhat.com>
  148. * Makefile.in: now handles gdialogs*
  149. * gdialogs.h:
  150. * gdialogs.c:Added new files -- takes the place of ../src/filegui.*
  151. 1998-12-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
  152. * gscreen.c (panel_switch_new_display_mode): Destroy the old
  153. widget. Add the list view to the proper table.
  154. * glayout.c: Remove the exit menu option.
  155. * gtree.c (gtk_dtree_contains): New routine used to avoid
  156. duplicate entries in the tree display.
  157. 1998-11-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
  158. * gscreen.c (panel_icon_list_select_icon): Use gpopup_do_popup().
  159. (panel_file_list_select_row): Use gpopup_do_popup().
  160. Moved the popup menu code to gpopup.c.
  161. 1998-11-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
  162. * gscreen.c (display_mini_info): Use g_strdup_printf() to make it
  163. i18n-ize nicely.
  164. (panel_create_filter): Use _(), not N_().
  165. (x_create_panel): Likewise.
  166. 1998-11-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
  167. * gscreen.c (x_create_panel): Add panel view. Put the views
  168. inside a new table. Add tree view to the left.
  169. (panel_create_icon_display): IconList no longer starts in frozen state.
  170. Update Makefile.
  171. 1998-11-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
  172. * gwidget.c (x_update_input): Use gtk_editable_changed on the entry.
  173. (x_create_listbox): Fix more CList api change.
  174. * gscreen.c (CLIST_FROM_SW): Adapt to new GtkScrolledWindow
  175. inheritance.
  176. 1998-11-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
  177. * Makefile.in (OOBJS): Add filegui.o back until the GTK-specific
  178. filegui is written.
  179. * gdesktop.c (check_window_in_one_panel): Provide better error
  180. messages here for debugging purposes.
  181. Disable stubs for filegui.c until they are actually implemented.
  182. I need to debug stuff.
  183. * gdnd.c (find_panel_owning_window): Use the new
  184. gtk_drag_get_source_widget function to find out reliably if the
  185. drag source happens to be in this application.
  186. * gscreen.c (x_create_panel): Set the usize for the ministatus
  187. label to be (0, -1), this means: do not request any horizontal
  188. space, use any vertical space given.
  189. Put the ministatus inside an hbox, and use
  190. gtk_container_set_resize_mode in this hbox to stop any queue
  191. events from being propagated up in the hierachy of widgets
  192. This kills all of the CList/GnomeIconList/Scrollbar/Toolbar
  193. flickering now.
  194. 1998-11-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
  195. * gtree.c: More work on gtree. It is basically ready to stick
  196. into gmc-window.c/mc I just need to know when you are ready
  197. Federico.
  198. 1998-11-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
  199. * gpopup.c (gpopup_do_popup): Hide the edit/view separator if
  200. those items were disabled, too.
  201. * gdesktop-icon.c (desktop_icon_realize): Added
  202. WIN_STATE_FIXED_POSITION and WIN_STATE_ARRANGE_IGNORE to the
  203. window hints for the desktop icons.
  204. 1998-11-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
  205. * gdesktop.c (desktop_icon_info_event): Run the popup menu for the
  206. icons in the desktop.
  207. * gpopup.[ch]: New files that take care of the popup menus for
  208. files in the desktop and in the panels.
  209. * Makefile.in: Added gpopup.[ch] to the list of sources.
  210. 1998-11-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
  211. * gdesktop.c (desktop_icon_info_place): Save the icon position
  212. when it is moved.
  213. (desktop_destroy): Removed the save_icons_pos() function and do
  214. not invoke it from desktop_destroy().
  215. 1998-11-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
  216. * gwidget.c (x_list_insert): Make it work with the new CList
  217. policies.
  218. 1998-11-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
  219. * gdesktop.c: Put in a bunch of stubs for the functions in
  220. filegui.h. These will be removed as the dialogs get
  221. custom-written for Gnome.
  222. * gmetadata.[ch]: Changed the function names to "gmeta_*".
  223. * gscreen.c (CLIST_FROM_SW): Use scrolled_window->child, as
  224. viewport is obsolete.
  225. 1998-11-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
  226. * Makefile.in (OOBJS): Do not link ../src/filegui.o. GMC does not
  227. link right now, but I guess I'll add stubs until we finish with
  228. the dialog boxes.
  229. * gdnd.c: #include <sys/types.h>
  230. * Makefile.in (checklinks): Fix sourcelinks -> maksourcelinks typo.
  231. 1998-11-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
  232. * gmain.c (session_save_state): Use gnome_geometry_string.
  233. 1998-11-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
  234. * gscreen.c (panel_file_list_compute_lines): Quick hack to get mc
  235. to compile with the new CList.
  236. 1998-11-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
  237. * Makefile.in: Removed gtrans.c from the list of sources.
  238. * gdesktop-icon.c: #ifdef cleanups.
  239. * gscreen.c (panel_create_file_list): Doh. Return the scrolled
  240. window, not the clist.
  241. * gdnd.c (get_action): Implement the DnD actions menu.
  242. 1998-11-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
  243. * gdnd.c: New file that handles all the DnD stuff. Mainly used to
  244. clean up gdesktop.c.
  245. * gscreen.c (panel_icon_list_drag_data_received): Use
  246. gdnd_drop_on_directory().
  247. (CLIST_FROM_SW): Added this macro to fetch the clist from the
  248. scrolled window in panel->list.
  249. (panel_create_file_list): Create a scrolled window and put the
  250. clist inside it. This is required per the new clist API.
  251. (panel_configure_file_list): Use the scrolled window's adjustment.
  252. (panel_file_list_size_allocate_hook): Use the scrolled window
  253. instead of the clist.
  254. (panel_file_list_compute_lines): Use the scrolled window instead
  255. of the clist.
  256. (panel_file_list_configure_contents): Use the scrolled window
  257. instead of the clist.
  258. (panel_create_file_list): Do the DnD setup here, not in the
  259. realization callback.
  260. (x_create_panel): Do not realize the panel explicitly.
  261. (panel_create_pixmaps): Create the pixmaps using imlib instead of
  262. Gdk.
  263. 1998-11-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
  264. * gdesktop.c (text_changed): Doh. Set the new filename of the
  265. desktop icon info structure.
  266. 1998-11-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
  267. * gdesktop.c (text_changed): We rename the files when the text
  268. changes.
  269. (save_icons_pos): New function to save the icon position metadata
  270. for all the icons in the desktop.
  271. (desktop_destroy): Save the icon positions when we exit.
  272. 1998-11-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
  273. * gdesktop.c (editing_started):
  274. (editing_stopped): New functions to install and remove
  275. pointer/keyboard grabs while icons are being edited,
  276. respectively.
  277. 1998-11-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
  278. * gdesktop.c (select_icon): Raise the icon when it is selected.
  279. 1998-11-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
  280. * gdesktop.c (select_range): Doh. Fix dii -> ldii typo. Also,
  281. use Windows semantics -- ranges are considered rectangular instead
  282. of linear.
  283. * gdesktop.c: Now desktop icons are stored in the layout_slots
  284. array. We need to know which icons are in which slots.
  285. (unselect_all): Use the layout_slots array.
  286. (desktop_icon_info_place): Append the icon to the list in the
  287. proper slot.
  288. (desktop_icon_info_new): Initialize the position and slot fields
  289. in the desktop icon info structure.
  290. (desktop_icon_info_free): Remove the icon from its slot.
  291. (desktop_destroy): Destroy the layout slots and the icons
  292. properly.
  293. (remove_from_slot): New convenience function to remove an icon
  294. from the slot it is in.
  295. (get_icon_snap_pos): Do a bit nicer snapping by really using the
  296. closest slot.
  297. Added a last_selected_icon variable to keep track of the icon that
  298. was last selected, for shift+click selections.
  299. (select_icon): Finish selection semantics and clean up. Now it is
  300. nice and simple and complete.
  301. (select_range): New function that handles range selections.
  302. 1998-11-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
  303. * gdesktop-icon.h (DesktopIcon): Added a child item for stippling
  304. the icon when it is selected.
  305. * gdesktop-icon.c (desktop_icon_select): Show/hide the stippling
  306. as appropriate.
  307. * gdesktop.c (desktop_icon_info_event): Handler for events on
  308. desktop icons.
  309. (select_icon): New function that handles icon selection based on
  310. mouse clicks and modifier keys.
  311. * gdesktop.c (struct desktop_icon_info): Added a type field to the
  312. structure. It specifies the type of icon (file, directory), and
  313. is used to determine the DnD and menu behavior.
  314. 1998-10-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
  315. * gdesktop.c: We are now using the new desktop icon code. It is
  316. not yet complete, but what is there does work. We have icon
  317. creation, auto-layout and snapping. Next step is drag and drop
  318. and popup menus.
  319. * glayout.c: #ifdef out the stuff that uses the old desktop code.
  320. I will replace it gradually.
  321. * gmain.c: Likewise.
  322. * gscreen.c: Likewise.
  323. 1998-10-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
  324. * gscreen.c (panel_icon_list_button_release): Remove unused
  325. variable.
  326. Provide hand written CList-start drag code
  327. 1998-10-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
  328. * gmetadata.c (meta_get_icon_pos): Renamed from
  329. meta_get_desktop_icon_pos().
  330. (meta_set_icon_pos): New public function to save the icon position
  331. information.
  332. * gdesktop-icon.c (canvas_size_allocated): New function. We reset
  333. the canvas scrolling region here, when the canvas gets size
  334. allocated, to ensure that the canvas has always the correct
  335. scrolling region. We do it here instead of in the reshape()
  336. function to avoid flicker.
  337. 1998-10-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
  338. * gmetadata.[ch]: New files with functions to handle all metadata
  339. issues -- fetching icons, icon positions, etc.
  340. * Makefile.in: Added gmetadata.[ch] to the list of sources.
  341. 1998-10-28 Federico Mena Quintero <federico@nuclecu.unam.mx>
  342. * gdesktop-icon.c (create_window_shape): Use shaped icons only
  343. when the user has selected them.
  344. (desktop_icon_reshape): New public function to recompute the shape
  345. of the icon. This should be used when the global
  346. desktop_use_shaped_icons flag changes.
  347. Added documentation comments to the public functions.
  348. * Makefile.in: Fixed for gdesktop-icon.
  349. * gdesktop-icon.[ch]: Renamed from desktop-icon.[ch], per Miguel's
  350. request.
  351. * desktop-icon.c (reshape): Position the icon text item correctly.
  352. 1998-10-27 Federico Mena Quintero <federico@nuclecu.unam.mx>
  353. * desktop-icon.c (desktop_icon_new): Do now reshape more than
  354. needed by splitting the set_icon and set_text functions apart.
  355. 1998-10-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
  356. * gdesktop.c (desktop_icon_set_position): Do not lower the
  357. window. The gnome-compliant wm will know what to do with windows
  358. on the Desktop layer.
  359. (post_setup_desktop_icon): Likewise.
  360. * desktop-icon.c (create_window_shape): Fetch the mask of the
  361. image "by hand", as we cannot rely on the canvas item having
  362. created it yet.
  363. * desktop-icon.c (desktop_icon_realize): Doh. We need to
  364. initialize the gnome_win_hints before we set any of the hints.
  365. 1998-10-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
  366. * gdesktop.c (create_desktop_icon): Renamed from
  367. my_create_transparent_text_window. Now uses the DesktopIcon
  368. widget for its work.
  369. (get_desktop_icon_for_dentry): Renamed from
  370. get_transparent_window_for_dentry. Uses the DesktopIcon widget.
  371. (get_desktop_icon_for_di): Renamed from
  372. get_transparent_window_for_di.
  373. (desktop_icon_properties): Do not size_request the icon, since now
  374. we can get its dimensions directly from the DesktopIcon structure.
  375. * desktop-icon.[ch]: New file that takes care of desktop icons.
  376. It provides the spiffy widget that is used for them.
  377. * Makefile.in: Added desktop-icon.[ch] to the list of sources.
  378. MC should use Automake, I think.
  379. 1998-10-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
  380. * gscreen.c (panel_create_icon_display): Small size adjustment.
  381. * glayout.c (create_container): Small size adjustment.
  382. * gmain.c (xtoolkit_create_dialog): Center windows.
  383. 1998-10-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
  384. * gscreen.c (x_select_item): Force a canvas update when an icon
  385. has been selected.
  386. 1998-10-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
  387. * gscreen.c (panel_drag_data_get): New routine to provide data
  388. with the new DnD protocol.
  389. * gmain.c (dialog_key_pressed): If an icon has the focus, then do
  390. not process any of our events.
  391. Only stop the signal if we actually handled the event.
  392. (dialog_key_pressed):
  393. 1998-10-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
  394. * gscreen.c (panel_icon_renamed): Add support for renaming files.
  395. 1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
  396. * gscreen.c: Use the new icon list.
  397. 1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  398. * gscreen.c: Hook to invoke the editor from the context menu.
  399. Fri Sep 18 13:51:16 1998 Pavel Roskin <pavel_roskin@geocities.com>
  400. * Makefile.in: Consequent "make" should not rebuild gmc every time
  401. Mon Aug 31 10:46:32 1998 Owen Taylor <otaylor@redhat.com>
  402. * gscreen.c (display_mini_info): Removed calls to
  403. gtk_clip_label_set() hack, since its cut-n-paste code didn't work
  404. with new GTK's. If excessive resizes are a problem, they can be
  405. solved by adding an adjustment around the label, and calling
  406. gtk_container_set_resize_mode().
  407. 1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
  408. * gdesktop.c: Include "mad.h", for xmalloc.
  409. * gkey.c: Likewise.
  410. * gscreen.c: Likewise.
  411. (panel_create_file_list): Use `g_free', not `free'.
  412. Wed Aug 19 19:45:16 EDT 1998 The Rasterman <raster@redhat.com>
  413. * gdesktop.c - changed dnd setting routine for desktop icon to set
  414. events on child window...
  415. * gtrans.c - chnaged routines to make window with child rawing area
  416. and set shape on parent window
  417. 1998-08-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
  418. * gscreen.c (panel_make_local_copies_and_transfer): Fix.
  419. 1998-07-04 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
  420. * gmain.c (session_management_setup): Replaced
  421. 'gnome_client_new_default' with 'gnome_master_client'.
  422. 1998-06-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
  423. * gwidget.c (x_update_input): The previous hack was not
  424. required, the right fix was to change Gtk.
  425. 1998-06-22 Manish Vachharajani <mvachhar@vger.rutgers.edu>
  426. * gwidget.c: Don't call gtk_entry_scroll_adjust, it is a private member
  427. 1998-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
  428. * gdesktop.c (drop_cb): Mhm. Negotiation of the drop type was not
  429. quite like I expected. Anyways, fixed a bug: we need to take
  430. text/plain drops on the launch icons on the desktop.
  431. 1998-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
  432. * gdesktop.c (desktop_setup_icon): Assign the dentry->geometry
  433. from the drop position. New .desktop files are now placed on the
  434. site they were dropped.
  435. (drop_cb): Use proper prototype.
  436. Sun May 31 13:19:59 1998 Norbert Warmuth <k3190@fh-sw.de>
  437. * Makefile.in: use @LIBVFS@ when referring to libvfs-mc.a (one
  438. reference wasn't converted, yet).
  439. 1998-05-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
  440. * gwidget.c (x_create_input): Set the entry's visibility if it is
  441. a password field.
  442. 1998-05-26 Marc Ewing <marc@redhat.com>
  443. * Makefile.in: use @LIBVFS@ when referring to libvfs-mc.a
  444. 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
  445. * gmain.c (session_save_state): Perform shutdown if `shutdown'
  446. flag is set.
  447. 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  448. * gwidget.c (entry_release): Enhanced our marked handler for input
  449. lines.
  450. * gdesktop.c (desktop_create_directory_entry): Fix, make a
  451. g_strdup copy of the name. Fixes bug report #78.
  452. (desktop_icon_context_popup): Simplified this routine as we are
  453. using file_popup now anyways.
  454. 1998-05-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
  455. * glayout.c: Move the New window menu entry from ``Window'' to
  456. ``File''.
  457. * gwidget.c (x_unfocus_widget): Fix wartning.
  458. * glayout.c (set_hintbar): Call flush events after setting the
  459. hintbar.
  460. 1998-05-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
  461. * gwidget.c (x_create_input): Disable the use of the GNOME entries
  462. for now, as they are very slow. We need to figure out what is
  463. wrong with this.
  464. With this change, dialog boxes close quickly instead of taking
  465. ages to close.
  466. * gscreen.c, gdesktop.c (file_popup_add_context, file_popup):
  467. Share the context menu code in gdesktop.c and gscreen.c. The
  468. desktop pop up menus now include all of the stuff that would have
  469. appeared in the Panel.
  470. * gdesktop.c (desktop_icon_remove): Remove the file associated
  471. with this desktop entry if it is on the ~/desktop directory.
  472. 1998-05-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
  473. * gscreen.c (load_dnd_icons): Remove the code and the icons that
  474. we had here privately. Use new gnome-stock functionality
  475. instead.
  476. 1998-05-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
  477. * gscreen.c (panel_drag_request): All of the drag_request code is
  478. now shared by both the Icon View and the Listing view;
  479. New drag request type: file:ALL. If the user is looking at a
  480. remote site, and the target application does not have VFS support
  481. it should not list url:ALL but file:ALL as the accepted drop
  482. type.
  483. This will make copies of the remote files and pass the files to
  484. the application.
  485. 1998-05-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
  486. * gtrans.c (set_window_text): Pass new justification parameter to
  487. gnome_icon_paint_text().
  488. * gpageprop.c (item_properties): Restore the arrow cursor for the
  489. desktop icon windows.
  490. * gdesktop.h (desktop_icon_t): Removed unused title field.
  491. * gtrans.c (set_window_text): Made it use the new
  492. GnomeIconTextInfo functions.
  493. 1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
  494. * gscreen.c (panel_create_icon_display): Set some good separator
  495. characters for the file icon list.
  496. 1998-05-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
  497. * gprop.c (perm_owner_new): Forget about history for now.
  498. * gpageprop.c (item_properties), gprop.c: Add executable editing
  499. (command, and terminal). Save the dentry after modification
  500. 1998-05-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
  501. * gprop.c (change_icon): Test for gp, as the combobox emits the
  502. "changed" signal when shutting down. Great.
  503. * gdesktop.c (desktop_reload): Missing mc_closedir
  504. (desktop_setup_icon): Fix memory leak.
  505. (get_desktop_icon): Fix memory leak.
  506. (desktop_create_directory_entry): Set the size of the exec
  507. vector.
  508. (desktop_create_launch_entry): Same.
  509. We now create launch entries instead of trying to support
  510. regular dropped stuff on the desktop, this makes things easier and
  511. more consistent.
  512. 1998-05-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
  513. * gscreen.c (x_select_item): Test for full icon visibility instead
  514. of partial visibility only.
  515. 1998-05-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
  516. * gscreen.c (create_popup_submenu): Use continue, not break on
  517. this loop.
  518. Sat May 16 02:29:51 1998 Tom Tromey <tromey@cygnus.com>
  519. * gdesktop.c (url_dropped): `exec' field of desktop entry now a
  520. vector.
  521. (dentry_execute): Likewise.
  522. (desktop_icon_remove): Likewise.
  523. (get_transparent_window_for_dentry): Likewise.
  524. (desktop_create_directory_entry): Likewise; also initialize
  525. exec_length.
  526. 1998-05-16 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
  527. * gscreen.c (create_popup_submenu): fixed bug which caused it to require
  528. 0 instead of 1 marked files for F_SINGLE file_actions.
  529. * gscreen.c (file_popup): first item in the menu displays "..." when
  530. multiple files are selected.
  531. Thu May 14 23:31:15 1998 Tom Tromey <tromey@cygnus.com>
  532. * gmain.c (session_save_state): Use "+" instead of "%s" in format
  533. specification. Free `argv'.
  534. 1998-05-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
  535. * gtrans.c (create_transparent_text_window): Removed the hack to
  536. lower the window on exposes. Guess what happens when you have two
  537. icons on the same spot.
  538. Thu May 14 02:02:56 1998 Norbert Warmuth <k3190@fh-sw.de>
  539. * Makefile.in (EXTRALIBS): add @LINTL@
  540. 1998-05-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
  541. * gtrans.c (set_window_text): draw pixmaps without transparency
  542. correctly.
  543. 1998-05-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
  544. * gscreen.c (panel_icon_list_realized): Add drag and drop support
  545. to the icon list view;
  546. 1998-05-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
  547. * gscreen.c (panel_fill_panel_icons): New function: Fill up the
  548. icon list.
  549. (x_create_panel): Change in the approach: we create both of the
  550. widget views at creation time and we now carefully show every
  551. component. I attach everything to the table, but not necesarly
  552. show it.
  553. * gblist.c (blist_select_row): New widget derived from GtkClist.
  554. replace select_row and unselect_row with null functions, as the
  555. gmc code takes care of the rest.
  556. 1998-05-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
  557. * gdesktop.c (desktop_icon_drag_start): Do not attempt to use
  558. icons if we could not load the images for the icon.
  559. * gwidget.c (x_update_input): Keep the cursor always visible.
  560. * gview.c (view): Use a buttonbar widget.
  561. * gwidget.c (buttonbar_clicked): Provide a trivial implementation
  562. of the buttonbar that only responds to key sequences.
  563. * gmain.c (dialog_panel_callback): Call midnight_callback to get
  564. the main bindings working.
  565. * gdesktop.c (perform_drop_manually): Use p to walk the dropped
  566. data. This is an important bug fix.
  567. * gmain.c (idle_destroy_window), main.c: Session management now
  568. supports not showing a toplevel window (in case all of the windows
  569. were closed).
  570. 1998-04-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
  571. * gtrans.c (make_transparent_window): Put hack back.
  572. * gcache.c (image_cache_load_image): Federico spooted the problem:
  573. I have to duplicate my keys for the hash.
  574. * gmain.c (create_panels): Create one panel per directory
  575. specified. For some strange reason the code hangs if you start up
  576. more than one panel at once. This is not a gmc bug, it appears to
  577. be an Imlib/gtk/gdk interaction. I am for now creating one panel
  578. in the main program execution thread and the rest during the idle
  579. handler.
  580. (session_save_state): Added session management support.
  581. 1998-04-29 Federico Mena Quintero <federico@nuclecu.unam.mx>
  582. * gprop.c (gprop_general_new): Added an simple icon preview to the
  583. icon selector.
  584. 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
  585. * gdesktop.c: Finish desktop_icon_remove implementation.
  586. * glayout.c (update_panels): GNOME specific Implementation of the
  587. update_panels routine.
  588. Tue Apr 28 06:52:24 1998 Norbert Warmuth <k3190@fh-sw.de>
  589. * gcmd.c (gnome_open_terminal): Changed my_system(1,...) to
  590. my_system(EXECUTE_AS_SHELL,...)
  591. 1998-04-27 Miguel de Icaza <miguel@nuclecu.unam.mx>
  592. * glayout.c (layout_panel_gone): Removed debugging information.
  593. Renamed "Panel" to "Window" to make it less confusing to users.
  594. Moved the "New window" from the "File" menu to the "Window" menu.
  595. * gmain.c (dialog_panel_callback): Walk the list of panels to
  596. determine to which panel the activated widget belongs.
  597. 1998-04-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
  598. * gwidget.c (x_create_radio): Fix the WRadio widgets.
  599. 1998-04-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
  600. * glayout.c (create_container): Add wmclass.
  601. 1998-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
  602. * gdesktop.c (desktop_reload): Show all of the widgets on a reload
  603. operation.
  604. * gscreen.c (x_panel_update_marks): Do only set the marks if the
  605. widget has been created
  606. * glayout.c (assign_other): Keep track of all of the opened
  607. panels. We were never removing them from the containers list.
  608. This fixes a number of problems.
  609. * gwidget.c (x_dialog_stop): Only call gtk_main_quit if this
  610. dialog did not inlcude the DLG_GNOME_APP flag, as those windows
  611. did not launch a gtk_main event loop.
  612. * gcmd.c: Try various terminal programs in the PATH before giving
  613. up
  614. * glayout.c: Unselect command is unselect_cmd, not select_cmd
  615. * gcmd.c (gnome_quit_cmd): Add quit confirmation.
  616. * gdesktop.c (perform_drop_manually): Check the type for the
  617. source file (directory/file) and perform the proper operation.
  618. Before this we always did a *_file_file operation.
  619. (perform_drop_manually): Use copy_dir_dir correctly
  620. (desktop_setup_default): Use copy_dir_dir correctly
  621. * gwidget.c (x_create_label): Remove debugging labels.
  622. * gscreen.c: Do not show the view/view unfiltered if the
  623. selectioned item is a directory.
  624. * gwidget.c (x_radio_toggle): Never commit non-compilable code.
  625. 1998-04-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
  626. * gwidget.c (remove_hotkey, x_create_radio): Radio buttons should
  627. not display the special Hotkey specificator.
  628. * gcmd.c (gnome_close_panel): Implement the close-the-panel
  629. functionality.
  630. * gscreen.c (x_panel_destroy): Implement the gnome mode way of
  631. destroying the panel.
  632. * gview.c (view_status): Add cacheing of the information status,
  633. to avoid excessive flicker. It would be better if GtkLabel did
  634. not flicker though.
  635. (scrollbar_moved): Scroll correctly. We now use
  636. view_move_backward and view_move_forward to adjust the scrollbar
  637. contents. This displays the scrollbar correctly.
  638. * gwidget.c (x_listbox_select_nth): This may be invoked before the
  639. widget has been created, work around this problem.
  640. * gscreen.c (show_dir): Set the title bar for the window to the
  641. current directoy. Reported by both Mike and Elliot.
  642. * layout: Updated to the new hotlist dialog box.
  643. 1998-04-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
  644. * gtrans.c (create_transparent_text_window): Destroy the cursor
  645. properly.
  646. 1998-04-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
  647. * gview.c (x_init_view): Initialize view->sadj.
  648. * gdesktop.c (start_desktop): use destkop_load instead of
  649. desktop_reload.
  650. (desktop_load): This reloads + shows every widget on the
  651. desktop_icons list.
  652. 1998-04-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
  653. * gdesktop.h: Added extern declarations for the
  654. want_transparent_icons and want_transparent_text variables.
  655. * gtrans.c (set_window_text): Now we use the new global variables
  656. want_transparent_icons and want_transparent_text to decide how to
  657. paint the pixmap and mask. The want_transparent_* variables can
  658. thus be configured for the smartness/speed of your X server when
  659. using shaped windows.
  660. Fri Apr 12 02:40:41 1998 Norbert Warmuth <k3190@fh-sw.de>
  661. * gwidget.c (x_create_input): return 1 if the widget has been
  662. initialized manually (there was no return value)
  663. (x_create_buttonbar): to few arguments to sprintf (button number
  664. was missing); return a value.
  665. 1998-04-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
  666. * gscreen.c (x_create_panel): Added back and forward buttons. I
  667. need a "Home" icon too.
  668. * gwidget.c (x_create_input): Make the selection if the input has
  669. not yet been touched.
  670. * gscreen.c (panel_action_open): If opening an item fails, try
  671. panel_action_open_with.
  672. * gview.c: Implement the viewer scrollbar.
  673. 1998-04-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
  674. * gscreen.c (panel_drop_data_available): Reload the panel contents
  675. upon a drop.
  676. * gmain.c (gnome_dlg_send_destroy): Hide the widgets just before
  677. they are going to get destroyed, to avoid the shutdown
  678. flickering.
  679. (x_destroy_dlg_start): New routine/hook invoked when the destroy
  680. has just started
  681. (x_set_idle): Cancel the idle handlers properly.
  682. * gwidget.c (x_create_check): Finish the checkbox implementation.
  683. * gdesktop.c (get_desktop_icon): Fix this routine: it was
  684. cretating a file name when the filename was not set properly.
  685. 1998-04-01 Marc Ewing <marc@redhat.com>
  686. * gscreen.c: Added #include <gdk/gdkprivate.h>
  687. 1998-03-31 Miguel de Icaza <miguel@nuclecu.unam.mx>
  688. * gcache.c: Added an Image cache for all of the imlib-loaded
  689. images to avoid destroying/reloading the images.
  690. * gdesktop.c, gtrans.c: Use the image cache.
  691. 1998-03-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
  692. * gscreen.c (x_create_panel): Show the GnomeApp when we are done
  693. packing all of our information.
  694. * gmain.c (create_panels): do not show any of the windows yet.
  695. 1998-03-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
  696. * gscreen.c (x_fill_panel): Colors are properly displayed now.
  697. Use the clipped labels.
  698. * gcliplabel.c, gcliplabel.h: Derived label that does label
  699. clipping (it does not request the allocation for the whole string,
  700. but settles with whatever is provided in the size_allocation).
  701. 1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
  702. * gtrans.c (create_transparent_text_window): Set the window's
  703. cursor to the normal top-left arrow.
  704. Mon Mar 23 01:40:35 1998 Norbert Warmuth <k3190@fh-sw.de>
  705. * gtools.c (translate_gdk_keysym_to_curses): renamed KEY_BACKTAB
  706. to KEY_BTAB (the name ncurses uses)
  707. * Makefile.in: Install the icon-files and the layout-file from $srcdir.
  708. 1998-03-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
  709. * gdesktop.c (icon_properties):
  710. * gpageprop.c (item_properties): Modified to accept dentry title
  711. changes as well.
  712. (item_properties): Fixed base and fname confusion in call to
  713. concat_dir_and_file().
  714. * gprop.c (gprop_general_new):
  715. (gprop_general_get_data): Renamed to general from icon. The
  716. general Gprop now lets you enter the title and icon filename for a
  717. dentry.
  718. 1998-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
  719. * gdesktop.c (icon_properties): Whoops, actually save the dentry.
  720. (post_setup_desktop_icon): Moved the icon positioning call outside
  721. of this function so that property-changed icons will not move on
  722. the desktop.
  723. * gdesktop.c (desktop_icon_context_popup): It is not necessary to
  724. set the menu position.
  725. (desktop_icon_context_popup): gtk_signal_connect_object_after to the menu
  726. items with gtk_widget_destroy as a callback so that we can destroy
  727. the menu widget appropriately.
  728. 1998-03-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
  729. * gscreen.c (display_mini_info): Implement mini status.
  730. 1998-03-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
  731. * gdesktop.c (get_transparent_window_for_dentry): New function,
  732. creates the proper transparent icon window for a dentry.
  733. (post_setup_desktop_icon): New function, does post-setup stuff for
  734. a desktop icon (setting it as a drop target, positioning it, etc.).
  735. * gpageprop.c (item_properties): Now the dentry parameter is a
  736. desktop_icon_t instead.
  737. We now return a bitmask that indicates what stuff changed. The
  738. caller can use this information to decide what to update, repaint, etc.
  739. * gdesktop.h: Moved the icon_t and desktop_icon_t structures here.
  740. * gpageprop.c (item_properties): Insert icon control if appropriate.
  741. * gprop.c (gprop_icon_new):
  742. (gprop_icon_get_data): Renamed from gprop_dir_*().
  743. * gscreen.c (panel_action_properties): Re-reads panel only if necessary.
  744. *gpageprop.c (item_properties): now returns TRUE if something got
  745. changed, FALSE otherwise. This should be used to decide whether
  746. to re-read the panel or not.
  747. * gpageprop.c: #include "../vfs/vfs.h".
  748. #include "dialog.h".
  749. * gprop.c (gprop_dir_new):
  750. (gprop_perm_new):
  751. (gprop_general_new): Connect to the destroy signal of the toplevel
  752. widget and destroy the Gprop structure on the callback.
  753. Wed Mar 18 23:09:35 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  754. * gscreen.c (panel_file_list_select_row): Use control/shift click
  755. to add files to the selection.
  756. Wed Mar 18 22:32:53 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  757. * gscreen.c (panel_action_properties): Make Federico's
  758. page-properties code functional.
  759. * gpageprop.c: New file, implements most of the page properties on
  760. top of the gprop.c code.
  761. Wed Mar 18 20:35:45 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  762. * gdesktop.c (desktop_create_launch_entry): Support for the "Drop"
  763. target in mc.ext now.
  764. * Add support for dragging the icons on the desktop.
  765. (desktop_icon_make_draggable): new function.
  766. (drop_from_event): simplify.
  767. (my_create_transparent_text_window): Get the motion notify event.
  768. (drops_from_event): create a vector based on thge drop event.
  769. (drop_cb): splitted, call url_drop for regular drops, otherwise it
  770. is a icon drop.
  771. (artificial_drag_start): new routine, used now by gscreen.c and
  772. gdesktop.c
  773. (drop_on_directory): Check result value of operation.
  774. (desktop_icon_set_position): sane interface.
  775. (stop_desktop): Flush all of our state to disk.
  776. 1998-03-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
  777. * gscreen.c: Removed tests for the gprop stuff.
  778. (file_popup): It is not necessary to show the popup menu.
  779. * gprop.c (perm_group_new):
  780. (perm_owner_new): Fill the combo lists with users and groups,
  781. respectively.
  782. * gprop.h: New files gprop.[ch]. These create the property pages
  783. for desktop entries.
  784. * Makefile.in: Added gprop.[ch] to the rules.
  785. * glayout.c: Put gnome_about_cmd as a callback for the About menu item.
  786. Tue Mar 17 22:40:36 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  787. * gdesktop.c (desktop_setup_icon): Lots of changes to accomodate
  788. dropping icons on the root window.
  789. (do_symlinks): Implement symlink action.
  790. (icon_delete, desktop_icon_context_popup): Implement icon context
  791. menus. only deleting an icon is working right now.
  792. * gscreen.c: Load the drag and drop icons from the installation
  793. directory.
  794. * Makefile.in (install_gmc): Install our icons.
  795. Tue Mar 17 02:38:37 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  796. * gdesktop.c (desktop_setup_default): Create a default desktop
  797. entry on the root window for the Home directory if not mc.desktop
  798. exists -yet-
  799. Get drops on the root window to work. Joy and hapiness!
  800. Tue Mar 17 00:43:50 1998 Tom Tromey <tromey@cygnus.com>
  801. * glayout.c (gnome_panel_about_menu): "About" item now a stock
  802. menu item.
  803. 1998-03-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
  804. * gscreen.c (filter_item_activate): Make it convert the glob
  805. pattern to a regexp if appropriate.
  806. Sat Mar 14 17:13:26 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  807. * gmain.c (gnome_dlg_send_destroy): New signal handler for
  808. "delete_event". I return TRUE (ie, do not kill this window), and
  809. manually queue que destruction of this window.
  810. * gtools.c (query_dialog): Do not allow resizing; do not destroy
  811. the dialog ourselves, this is properly handled by dlg.c now
  812. (pack_button): Do not use the defaults: we do not want growing
  813. buttons;
  814. Fri Mar 13 16:01:28 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  815. * gwidget.c (buttonbar_clicked, x_create_buttonbar): Button bar
  816. widget implemented.
  817. * gtools.c: Implement the non-modal version of the message
  818. routine.
  819. * gview.c: Create a GnomeApp widget to contain the viewer.
  820. * gmain.c (xtoolkit_create_dialog): Add a new mode where the
  821. container window is a GNOME_APP window.
  822. 1998-03-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
  823. * gscreen.c (x_select_item): Make it use GTK_VISIBILITY_FULL
  824. instead of a plain boolean value.
  825. * gwidget.c (x_listbox_select_nth): Likewise.
  826. * gscreen.c (filter_items): New global variable full of filters.
  827. Please, someone fill in the regexp parts, as I was too lazy to do
  828. them :-)
  829. (panel_create_filter): Now the filter has a very nice button that
  830. pops up a menu for selecting the filter.
  831. Thu Mar 12 22:11:23 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  832. * gwidget.c (x_update_input): Use GnomeEntry widgets instead of
  833. the GtkEntry.
  834. * gwidget.c (listbox_select): Fix for the listbox selection with
  835. the mouse.
  836. (x_create_button): Use stock pixmaps.
  837. * gcmd.c: Moved all of the _cmd routines from glayout to this
  838. place.
  839. (save_panel_types): Provide GNOME implementation.
  840. * glayout.c: New and improved menu layout. Use stock pixmaps.
  841. 1998-03-12 Federico Mena Quintero <federico@nuclecu.unam.mx>
  842. * gmc-chargrid.c (gmc_char_grid_draw): Someone teach me how to
  843. subtract. Fixed a stupid offsetting bug.
  844. (update_region): Added clipping of region bounds.
  845. * gmc-chargrid.c: Changed the struct attr with pointers mess with
  846. something saner.
  847. Added an in_resize flag to avoid calling our internal signal
  848. handlers recursively.
  849. (gmc_char_grid_draw): Added proper draw handler for our case; the
  850. widget's window does not fill its allocation.
  851. (paint): New wrapper for update_region(); it converts window
  852. coordinates to row/column character coordinates.
  853. (gmc_char_grid_expose): Use paint().
  854. 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
  855. * gmc-chargrid.c (update_strip): Doh. Fixed painting of
  856. background rectangles.
  857. (gmc_char_grid_expose): Fixed off-by-one errors in area
  858. calculation. Ripped off the code from gtkterm to do this :-)
  859. (free_attrs): New internal convenience function.
  860. Thu Mar 12 00:08:06 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  861. * gview.c (view_percent): Added status display.
  862. Wed Mar 11 22:35:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  863. * gwidget.c (entry_release): Now the WEntrys track the current
  864. selection.p
  865. (x_update_input): Repaint the widget after changing the position.
  866. * gscreen.c (x_fill_panel): Remember the selected item on the
  867. panel before filling it up, as gtk_clist emits a select_item
  868. signal when filling it up, which changes the current selection
  869. (and thus some routines that invoke the reload panel option
  870. fail).
  871. (create_popup_submenu): Implement context sensitive menus (regular
  872. files, and symlinks).
  873. (panel_realized): Use a different icon when we are dragging a
  874. group of files.
  875. (panel_artificial_drag_start): Add Elliot's Artificial drag start
  876. support.
  877. 1998-03-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
  878. * gmc-chargrid.c (gmc_char_grid_get_size): New public function.
  879. (gmc_char_grid_put_text): New public function. It is the same as
  880. gmc_char_grid_put_str, but can take any arbitrary string plus its
  881. length.
  882. (gmc_char_grid_put_char, gmc_char_grid_put_str,
  883. gmc_char_grid_put_text): These functions now take a background
  884. pixel parameter --- the GmcCharGrid widget now supports fg/bg attributes.
  885. * gmc-chargrid.h: Changed colors field to attrs.
  886. * gmc-chargrid.c: New Character Grid widget for the file viewer.
  887. This is a very lean and fast widget for displaying a grid of
  888. monospaced characters. Just like a crippled-down terminal.
  889. Tue Mar 10 23:46:29 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  890. * gscreen.c (x_adjust_top_file): We no longer adjust the top
  891. displayed filename.
  892. (panel_build_selected_file_list): Fix for the transfered data.
  893. (panel_drop_data_available): Now drop support uses the new
  894. coords.x and coords.y fields from the DropDataAvailableEvent to
  895. find out which directory receives the drop.
  896. * glayout.c: added: configure_box, configure_vfs
  897. (get_other_type): Return the correct value.
  898. 1998-03-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
  899. * gscreen.c (panel_file_list_size_allocate_hook): Now we
  900. connect_after to the size_allocate signal and block the handler.
  901. Things are still not perfect, though.
  902. * gtools.c (message): Added return NULL. This needs to be fixed.
  903. (translate_gdk_keysym_to_curses): FIXME: Replace KEY_BACKTAB by '\t'
  904. while KEY_BACKTAB is added somewhere else.
  905. (translate_gdk_keysym_to_curses): return -1 as last resort.
  906. * glayout.c (get_current_index): Add g_assert_not_reached() for
  907. fatal case.
  908. * gmenu.c (menubar_new): Cast g_menubar to unsigned long.
  909. * gwidget.c (x_create_input): Cast entry to GTK_OBJECT.
  910. * gkey.c (find_select_closure_callback): Fix = -> == typo.
  911. Tue Mar 10 00:10:32 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  912. * gscreen.c (panel_drop_data_available): Now drop support uses the
  913. new coords.x and coords.y fields from the DropDataAvailableEvent
  914. to find out which directory receives the drop.
  915. * gwidget.c (x_radio_focus_item): Add support for focusing radio
  916. buttons.
  917. Mon Mar 9 15:12:00 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  918. * gtools.c (translate_gdk_keysym_to_curses), dlg.c
  919. (dlg_key_event): Support for backtab.
  920. * gwidget.c: highlight properly the focused radio entry.
  921. * gmain.c (x_init_dlg): After setting up the X widget, set the
  922. Gtk focus to h->current;
  923. 1998-03-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
  924. * gscreen.c (x_panel_select_item): Set the colors of the row.
  925. * gmain.c (xtoolkit_init): Changed gnome_init() to new version.
  926. (xtoolkit_init): Call gnome_init() properly. Also, return 0.
  927. Sat Mar 7 15:24:49 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  928. * gwidget.c (entry_click): Focus the entry on clicks.
  929. Fri Mar 6 20:50:19 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  930. * gmain.c (create_panels): New per-port variable, used to flush
  931. all of the pending X events.
  932. (x_set_idle): Implement idle functions, now the find command works
  933. properly.
  934. * gwidget.c (x_create_radio): Connect to the "toggled" signal to
  935. keep track of the radio button.
  936. (listbox_select): callback for the select and double click
  937. actions.
  938. (x_update_input): This can be invoked before the
  939. widget X resources have been allocated. Take care of this.
  940. (x_create_input): update the cursor position as well.
  941. (x_list_insert, x_create_listbox, x_list_delete_nth,
  942. x_listbox_select_nth): implement the Listbox widget.
  943. * gconf.h: New configuration options:
  944. PORT_HAS_PANEL_ADJUST_TOP_FILE and
  945. PORT_HAS_PANEL_RESET_SORT_LABELS
  946. 1998-03-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
  947. * gmain.c (get_color): Make it use GdkColorContext correctly.
  948. * gscreen.c (panel_create_filter): The filter control is now a
  949. nice GnomeEntry. It does not work due to gmc trapping key events;
  950. I'll look into it tomorrow.
  951. (internal_select_item): Fixed broken behavior. Now uses GtkCList properly.
  952. default_filters: new structure with pre-defined glob patterns.
  953. This is actually broken, because it will only work when
  954. easy_patterns is enabled. I have to figure a way to make it work
  955. with regexp mode as well.
  956. Thu Mar 5 23:54:58 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  957. * gdesktop.c (drop_on_panel): New function; Used by the directory
  958. icons and by regular panels to support drag targets;
  959. * gscreen.c (panel_drop_data_available): Performs the drop action
  960. on a panel. It needs fixing, as the DropDataAvailabelEvent does
  961. not provide any information as to where the drop actually
  962. happened.
  963. (fixed_gtk_widget_dnd_drag_set, fixed_gtk_widget_dnd_drop_set):
  964. Only set the main window of the clist to be the source/target of
  965. the drag and drop code. The little square at the end did not make
  966. much sense as a drop/drag spot.
  967. 1998-03-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
  968. * gmain.h: Added prototype for x_filter_changed().
  969. Added #include "panel.h".
  970. * gconf.h (PORT_HAS_FILTER_CHANGED): New flag for conditional compilation.
  971. Wed Mar 4 22:43:00 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  972. * gtools.c (query_dialog): Rewritten to use the MC dialog/widget code.
  973. * gutil.c (my_system), acconfig.h: By default gnome will not have
  974. a subshell (at least for now) and will now exec everything
  975. asyncronously by default.
  976. * gscreen.c: Exactly what was I thinking when I used the
  977. g_panel_contents structure will remain a mistery for future
  978. programming psycologists. It was a huge mistake.
  979. * gdesktop.c: Use the new icon/text display routine from
  980. Federico.
  981. Tue Mar 3 21:03:52 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
  982. * gmain.c (x_destroy_dlg): Call gtk_grab_remove when destroying
  983. the dialog.
  984. * gmain.c (x_focus_widget): Handle special case of toplevels.
  985. 1998-03-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
  986. * gscreen.c: Some hackish changes to work around idempotence bugs
  987. in gtk_clist_select_row().