ChangeLog 47 KB

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