]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-6
Move docs inline, fixing them on the way. (#143029, Steve Chaplin)
[~andy/gtk] / ChangeLog.pre-2-6
1 Tue May 25 21:54:00 2004  Matthias Clasen  <maclas@gmx.de>
2
3         * gtk/gtkframe.c: Move docs inline, fixing them on the
4         way.  (#143029, Steve Chaplin)
5
6 2004-05-11  Robert Ögren  <gtk@roboros.com>
7
8         * gdk/win32/gdkevents-win32.c (propagate): Don't propagate mouse
9         events to windows that want extended input events. (#142943)
10         (gdk_event_translate): Move check for extended input devices to
11         propagate, new parameter to propagate.
12         (gdk_pointer_grab, gdk_display_pointer_ungrab): Enable calls to
13         _gdk_input_(un)grab_pointer. (#142943)
14
15         * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Check for
16         input grab. [Fix missing update of impl in "dijkstra" event
17         propagation loop] Drop the parallel "impl" pointer, just use a
18         cast. Don't propagate beyond windows that want normal input
19         events. (#142943)
20         (gdk_input_grab_pointer, gdk_input_ungrab_pointer): Limited
21         implementation of input grab. (#142943)
22
23 2004-05-22  Tor Lillqvist  <tml@iki.fi>
24
25         * gdk/win32/gdkinput-win32.c (print_lc): Remove duplicated
26         line. (Spotted by Benoît Carpentier.)
27
28 2004-05-18  Matthias Clasen  <mclasen@redhat.com>
29
30         * configure.in: Check for XFIXES extension.
31
32         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add 
33         a gboolean have_xfixes member.
34
35         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Register
36         XFIXES events and set have_xfixes.
37
38         * gdk/gdkevents.h (GdkEventType): Add GDK_OWNER_CHANGE.
39         (GdkEventOwnerChange): New event struct for owner change events.
40         (GdkOwnerChange): New enum for the reason field of GdkEventOwnerChange.
41         
42         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Translate 
43         XFixesSelectionNotify events into GdkEventOwnerChange events.
44         
45         * gdk/gdkdisplay.h:
46         * gdk/x11/gdkdisplay-x11.c (gdk_display_supports_selection_notification):
47         (gdk_display_request_selection_notification): New api 
48         to support selection ownership notification.
49
50         * gtk/gtkclipboard.h:
51         * gtk/gtkclipboard.c (_gtk_clipboard_handle_event): New private
52         api to handle owner change events.
53         (clipboard_peek): Refactored out the body of 
54         gtk_clipboard_get_for_display() for use in _gtk_clipboard_handle_event().
55
56         * gtk/gtkmain.c (gtk_main_do_event): Handle GDK_OWNER_CHANGE events
57         by calling _gtk_clipboard_handle_event().
58
59 2004-05-18  Matthias Clasen  <mclasen@redhat.com>
60
61         * gtk/gtkintl.h: Include glib/gi18n-lib.h and only define
62         the P_() macros ourselves.
63
64         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
65         Restrict the width of the popup to be no larger than the
66         monitor.  (#142678, DmD Ljungmark)
67
68         * gtk/gtkbutton.c: Go back to the initial fix for the 
69         focus-overdrawing problem, which was actually correct 
70         according to docs/widget_geometry.txt.
71
72         * gtk/gtkarrow.c (gtk_arrow_class_init): Bump the initial
73         arrow size from 11 to 15 to compensate for that.
74
75         * gtk/gtktextview.c (gtk_text_view_class_init): Document the
76         arguments of the ::move-cursor signal.  (#142725)
77
78 2004-05-17  Matthias Clasen  <mclasen@redhat.com>
79
80         Merged from 2.4:
81         
82         * gtk/gtkbutton.c (gtk_button_size_request) 
83         (gtk_button_size_allocate, _gtk_button_paint): Allocate
84         space for the focus rectangle only if necessary.  (#142668,
85         Michael Natterer)
86
87 Sun May 16 23:11:47 2004  Matthias Clasen  <maclas@gmx.de>
88
89         Merged from 2.4:
90         
91         * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless 
92         lines.  (#142479, Morten Welinder)
93
94 Sun May 16 22:27:17 2004  Matthias Clasen  <maclas@gmx.de>
95
96         * gtk/gtkintl.h (Q_): Add a Q_() macro. 
97
98         * gtk/gtkcellrendererprogress.h: Remove GTK_PROGRESS_CELL_UNKNOWN
99         and GTK_PROGRESS_CELL_FAILED. With the ability the set the label,
100         they are not really needed.
101
102         * gtk/gtkcellrendererprogress.c: Use the xpad and ypad properties
103         instead of hardwired padding, use Q_() for the default label, 
104         compute a reasonable minimal size.  (#142571, #142572, #142573,
105         Tommi Komulainen, Christian Persch)
106         
107 2004-05-15  Tor Lillqvist  <tml@iki.fi>
108
109         * gdk/win32/gdkdnd-win32.c: Put back the ref_count field in the
110         GdkDragContextPrivateWin32 struct (but inside ifdef OLE2_DND this
111         time). It is used by the OLE2_DND code, which is unfinished and
112         presumably horribly broken, but still, let's not make it not
113         compile on purpose. Silence some gcc warnings in the OLE2_DND
114         code.
115
116 2004-05-14  Matthias Clasen  <mclasen@redhat.com>
117
118         * gtk/gtktreeview.c (gtk_tree_view_tree_window_to_tree_coords): 
119         New function to go from tree window to tree coordinates, kept
120         static for now until we figure out the multiple coordinate
121         system mess in GtkTreeView API-wise.
122         (gtk_tree_view_scroll_to_cell): Transform the coordinates 
123         from tree window to tree coordinates, using the new function.
124         Previously, the x coordinate was wrongly transformed. (#142494)
125
126         * gdk/gdktypes.h (GdkModifierType): Add a comment about unused
127         bits.
128
129         * gtk/gtkstock.c (real_add, gtk_stock_lookup): Use an unused
130         modifier bit to mark stock item which need to be freed 
131         eventually.  (#140654, Michal Pasternak, Scott Tsai)
132
133 2004-05-11  Robert Ögren  <gtk@roboros.com>
134
135         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Add missing
136         call to g_object_ref in Wintab code. (#138341)
137
138         * gdk/win32/gdkinput-win32.c: Fix numerous Wintab problems
139         including unallocated buffers for event->motion.axes and
140         event->button.axes, unsigned wraparound problem in the code for
141         detecting missing press/release events and assigning min instead
142         of max when setting up axes.
143
144 2004-05-12  Matthias Clasen  <mclasen@redhat.com>
145
146         * tests/testtreeedit.c: Add a progress column.
147
148         * gtk/Makefile.am: Add gtkcellrendererprogress.[hc] in the right
149         places.
150
151         * gtk/gtk.h: Include gtkcellrendererprogress.h.
152
153         * gtk/gtkcellrendererprogress.[hc]: A progress cell renderer,
154         based on the one found in Epiphany.
155
156 2004-05-11  Michael Natterer  <mitch@gimp.org>
157
158         * gtk/gtkcombobox.c (gtk_combo_box_popup)
159         (gtk_combo_box_menu_button_press): don't allocate the popup
160         smaller than the combobox. Fixes bug #59660.
161
162 2004-05-11  Matthias Clasen  <mclasen@redhat.com>
163
164         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Revert the
165         previous change to this function, clarify the docs instead.
166
167         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use
168         GTK_SELECTION_BROWSE.
169
170         * gtk/gtktreeview.c: Make hover selection work for 
171         GTK_SELECTION_BROWSE as well.
172
173 Tue May 11 00:38:25 2004  Matthias Clasen  <maclas@gmx.de>
174
175         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init): 
176         Document the ::toggled signal.
177
178 Mon May 10 23:04:25 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
179
180         * gtk/gtkwidget.h: Add prototype for _gtk_widget_grab_notify()
181
182 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
183
184         * gtk/gtkwindow.c (get_screen_icon_info): Make static.
185
186         * gdk/gdkdisplay.c (singlehead_...): 
187         * gdk/x11/gdkkeys-x11.c (get_effective_keymap): 
188         * gdk/x11/gdkgeometry-x11.c (expose_serial_predicate): 
189         * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Make static.
190
191         * gtk/gtktreeview.c (gtk_tree_view_set_fixed_height_mode): Add a 
192         note about COLUMN_FIXED restriction.
193
194         * gtk/gtkentrycompletion.c (gtk_entry_completion_list_button_press): 
195         Set the entry in the default handler of the ::match-selected signal.
196         (#137226)
197
198         * gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): If we don't
199         do the move-selected-item below pointer thingie, do the 
200         place-below-or-above one.
201
202         * tests/testentrycompletion.c: Make the second example use the 
203         ::match-selected signal to make it actually work.
204
205         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): 
206         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use hover selection
207         mode.  (#127648, Dave Bordoley)
208
209         * gtk/gtktreeview.h:
210         * gtk/gtktreeview.c: Add a new property "hover_selection", which 
211         when TRUE makes the selection follow the mouse. Also add setter
212         and getter for the fixed_height property.
213
214 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
215
216         * gtk/gtkcombobox.c (gtk_combo_box_popup) 
217         (gtk_combo_box_menu_button_press): Make sure the menu pops up
218         as wide as the combobox.  (#59660, Havoc Pennington)
219
220 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
221
222         * gtk/gtkcombobox.h: 
223         * gtk/gtkcombobox.c: Support tearoffable combo boxes (in menu 
224         mode). Add a new property, add-tearoffs, for this.  (#135956)
225
226         * gtk/gtkfontsel.c (list_row_activated): Make Return activate the
227         default button.  (#118921)
228
229 Mon May 10 15:03:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
230
231         * gtk/gtkwidget.c (_gtk_widget_grab_notify): New internal function
232         that emits the grab notify signal.
233         
234         * gtk/gtkmain.c (gtk_grab_notify_foreach): Use it here.
235
236 Mon May 10 00:48:08 2004  Matthias Clasen  <maclas@gmx.de>
237
238         * gtk/gtkmenu.c: Make destruction of a torn off menu work 
239         like un-tearing off.
240
241 Sun May  9 21:05:38 2004  Matthias Clasen  <maclas@gmx.de>
242
243         Merge from 2.4:
244
245         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
246         Allow to suppress the stock accelerator by using "".  (#142196,
247         David A Knight)
248         
249 Sun May  9 02:01:13 2004  Matthias Clasen  <maclas@gmx.de>
250
251         Merge from 2.4:
252         
253         * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): 
254         In list mode, accept the same mouse/wheel bindings on 
255         the cellview as on the button.  (#136967)
256
257 Sun May  9 01:25:37 2004  Matthias Clasen  <maclas@gmx.de>
258
259         * gtk/gtkiconfactory.c (add_to_cache): Actually count the
260         cached icons.  (#135888, Crispin Flowerday)
261
262 Sun May  9 00:03:03 2004  Matthias Clasen  <maclas@gmx.de>
263
264         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Make sure
265         that we actually return menus for nodes of type menu, not the
266         menuitems they're attached to.
267
268 Sat May  8 22:50:55 2004  Matthias Clasen  <maclas@gmx.de>
269
270         * gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain): 
271         Add a note regarding UTF-8 requirements, proposed by 
272         Mariano Suárez-Alvarez.
273
274 Sat May  8 22:43:11 2004  Matthias Clasen  <maclas@gmx.de>
275
276         * gtk/gtktearoffmenuitem.h: 
277         * gtk/gtktearoffmenuitem.c: Put the torn_off flag back
278         into the GtkTearoffMenuItem struct, since it is used
279         by the Gimp, and keep it synchronized with the 
280         tearoff_state property of the parent menu.
281
282 2004-05-08  Hans Breuer  <hans@breuer.org>
283
284         * gtk/gtkfilesystemwin32.c (extract_icon) : finally also
285         create the correct mask for 'pseudo mime' icons
286
287         * gdk/win32/gdkwindow-win32.c(show_window_internal) : also
288         take focus_on_map into account
289
290         * gtk/gtkselection.c : g_message() only with DEBUG_SELECTION
291
292         * gtk/gtkactiongroup.c gtk/gtkcombobox.c : 
293         ... must return a value
294
295         * gdk/gdk.def gtk/gtk.def demos/gtk-demo/makefile.msc.in : updated
296
297 2004-05-07  Matthias Clasen  <mclasen@redhat.com>
298
299         * gtk/gtkbutton.c (gtk_button_size_allocate): Don't let the child
300         draw over the focus rectangle.
301
302         * gtk/gtkhsv.c: Draw focus indication in the color wheel using
303         standard focus style.  (#63071, Bill Haneman, idea for new
304         style by Owen Taylor)
305
306         * gtk/gtkstyle.c (gtk_default_draw_focus): Support drawing on
307         focus on the colorwheel via details.
308
309 2004-05-06  Matthias Clasen  <mclasen@redhat.com>
310
311         Merge from 2.4:
312         
313         * gtk/gtkcombobox.c (gtk_combo_box_menu_state_changed): Remove
314         this no longer needed signal handler.  (#141817, Paul Pogonyshev)
315
316 Fri May  7 00:41:46 2004  Matthias Clasen  <maclas@gmx.de>
317
318         * gtk/gtktearoffmenuitem.h: 
319         * gtk/gtktearoffmenuitem.c: Make the tearoff 
320         functionality model/view, the tearoffmenuitem being
321         the view and the tearoff_state property of the menu
322         being the model.  (#101185, Owen Taylor)
323
324         * gtk/gtkmenu.c: Add a tearoff_state property.
325
326 Thu May  6 23:52:13 2004  Matthias Clasen  <maclas@gmx.de>
327
328         Merge from 2.4:
329
330         * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Also 
331         popup the submenu for items in torn off menus.  (#122051)
332
333 2004-05-06  Sven Neumann  <sven@gimp.org>
334
335         * gtk/gtkexpander.c (gtk_expander_size_allocate): in RTL mode,
336         position the title lable next to the arrow just as we do for LTR
337         rendering. Fixes bug #141825.
338
339 2004-05-06  Matthias Clasen  <mclasen@redhat.com>
340
341         * docs/RELEASE-HOWTO: Document the new policy of
342         bumping version numbers after release.
343
344         * configure.in: Bump version number to 2.5.0.
345
346 2004-05-06  Padraig O'Briain  <padraig.obriain@sun.com>
347
348         * gtk/gtkmenu.h:
349         * gtk/gtkmenu.c: Add new function gtk_menu_get_for_attach_widget.
350         (bug #113112).
351
352 Thu May  6 00:24:11 2004  Matthias Clasen  <maclas@gmx.de>
353
354         * gtk/gtkactiongroup.h: 
355         * gtk/gtkactiongroup.c (gtk_action_group_translate_string): 
356         New function to translate a string with translate_func.
357         (#135740)
358
359 Thu May  6 00:02:21 2004  Matthias Clasen  <maclas@gmx.de>
360
361         * gtk/gtkcombobox.c (gtk_combo_box_get_wrap_width): 
362         (gtk_combo_box_get_row_span_column): 
363         (gtk_combo_box_get_column_span_column): Add missing getters
364         for readwrite properies. (#135649)
365
366 Wed May  5 23:42:42 2004  Matthias Clasen  <maclas@gmx.de>
367
368         * gtk/gtkcombobox.h: 
369         * gtk/gtkcombobox.c (gtk_combo_box_get_active_text): 
370         Add gtk_combo_box_get_active_text() convenience 
371         function. (#136372, Christian Neumeir, patch by Olivier Andrieu) 
372
373 2004-05-05  Elijah Newren  <newren@math.utah.edu>
374
375         Changes to support do-not-focus-on-map hint in conjunction with
376         _NET_WM_USER_TIME (#115650):
377
378         * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
379         field focus_on_map
380         
381         * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
382         set it.
383
384         * gtk/gtkwindow.[hc]: Add a boolean property "focus_on_map"
385         and gtk_window_get_focus_on_map() and gtk_window_set_focus_on_map().
386
387         * gdk/win32/gdkwindow-win32.c (gdk_window_new): 
388         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): 
389         * gdk/x11/gdkwindow-x11.c (gdk_window_new):
390         Initialize the focus_on_map field to TRUE.
391
392         * gdk/win32/gdkwindow-win32.c (gdk_window_set_focus_on_map): 
393         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_focus_on_map): 
394         * gdk/x11/gdkwindow-x11.c (gdk_window_set_focus_on_map): 
395         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window):
396         Implementations for the various backends. The Win32 and linux-fb
397         implementations set the focus_on_map field, but don't use it yet
398         to actually implement noinput windows. The X implementation sets
399         _NET_WM_USER_TIME to 0 if focus_on_map is FALSE (see the EWMH).
400
401         * gdk/x11/gdkwindow-x11.h: 
402         * gdk/x11/gdkevents-x11.c (set_user_time): 
403         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
404         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): 
405         s/_gdk_x11_window_set_user_time/gdk_x11_window_set_user_time/,
406         since we want that function to be part of the public API.
407
408 Wed May  5 22:20:21 2004  Matthias Clasen  <maclas@gmx.de>
409
410         Merge from 2.4:
411         
412         * gtk/gtkiconfactory.c (icon_source_clear): Don't
413         call g_free() on a pixbuf.  (#141961, Crispin Flowerday) 
414
415 2004-05-05  Matthias Clasen  <mclasen@redhat.com>
416    
417         Merge from 2.4:
418         
419         * gtk/gtkuimanager.c (print_node): Make the output 
420         parseable.  (#141929, Sven Neumann)
421
422 2004-05-05  Tor Lillqvist  <tml@iki.fi>
423
424         * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window_for_screen): Add
425         multi-monitor offset. (#141842, John Ehresman)
426
427 2004-05-04  Federico Mena Quintero  <federico@ximian.com>
428
429         Fixes #139562, based on a patch by Christian Neumair.
430
431         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add
432         a filter_combo_hbox field to contain the filter combo.
433         (show_filters): Show/hide the filter_combo_hbox.
434         (create_filename_entry_and_filter_combo): Removed.
435         (file_pane_create): Create the filter_combo_hbox here.
436
437 2004-05-04  Matthias Clasen  <mclasen@redhat.com>
438
439         * modules/input/gtkimcontextxim.c: Fix the recent
440         string_conversion_callback change to work on 
441         Solaris.  (#141190, Padraig O'Briain)
442
443         * gtk/gtkselection.c: Disable debug logging again.
444
445 2004-05-03  Matthias Clasen  <mclasen@redhat.com>
446
447         * gtk/gtkselection.c: Make the chunk size for 
448         incremental transfers depend on the maximal request 
449         size, capped at 256k. This should allow most selections
450         to be transferred nonincrementally, avoiding many
451         roundtrips and protocol overhead.
452
453 2004-05-03  Federico Mena Quintero  <federico@ximian.com>
454
455         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Call
456         g_signal_new() correctly and initialize the signal fields.  Fixes
457         #141749; patch based on Michael Natterer's.
458
459 u2004-05-03  Matthias Clasen  <mclasen@redhat.com>
460
461         * gtk/gtkselection.c (_gtk_selection_request): Fix
462         a debug message to show correct information.
463         (_gtk_selection_incr_event): Make INCRemental transfer
464         of MULTIPLE targets work. This was broken since 1997!
465
466 2004-05-02  Hans Breuer  <hans@breuer.org>
467
468         * gdk/win32/gdkdrawable-win32.c (draw_segments) : don't
469         modify the passed in GdkSegment(s) in place, we may get
470         them again to draw at the same place. Fixes bug #129095, 
471         bug #137177, ...
472         (draw_segments) draw the end pixel again to get the 
473         pixmap mask right, fixes bug #126710, #130202
474
475         * gdk/win32/gdkwindow-win32.c : use SetForegroundWindow,
476         fixes bug #106013, John Ehresman
477
478         * gtk/makefile.msc.in : don't try to link gtk.res but
479         use gtk-win32.res (as supposed to be fixed below :)
480
481 2004-05-01  Hans Breuer  <hans@breuer.org>
482
483         * tests/Makefile.am : tests/makefile.msc is in CVS for
484         a long time, finally added to EXTRA_DIST : fixes bug 
485         #141334, John Ehresman
486
487 2004-04-30  Matthias Clasen  <mclasen@redhat.com>
488
489         * === Released 2.4.1 ===
490
491         * configure.in: Version 2.4.1, interface age 1. 
492
493         * NEWS: Updates
494
495 2004-04-29  Federico Mena Quintero  <federico@ximian.com>
496
497         Fixes #140412.
498
499         * gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): New
500         function; moved the code over from
501         remove_bookmark_button_clicked_cb().
502         (remove_selected_bookmarks): Now, getting a non-removable bookmark
503         is not an error, as we may be called as a result of hitting the
504         Delete key.
505         (shortcuts_key_press_event_cb): New handler; delete the bookmark
506         if the user presses Backspace, Delete, or KP_Delete.
507
508 2004-04-29  Matthias Clasen  <mclasen@redhat.com>
509
510         * gtk/gtkaction.c (closure_accel_activate): Use
511         _gtk_action_emit_activate() instead of directly
512         emitting the activate signal.  (#141429, Jody Goldberg)
513
514         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
515         Warn people when the accelerator can not be 
516         parsed.  (#141429, Jody Goldberg)
517
518 2004-04-29  Matthias Clasen  <mclasen@redhat.com>
519
520         * tests/testentrycompletion.c (main): Add a missing 
521         cat.  (#141070, Chris Sherlock)  
522
523         * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
524         variable.  (#141022, Chris Sherlock)
525         
526         * gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
527         cast.  (#141013, Chris Sherlock)
528
529         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
530         unused variable.  (#141011, Chris Sherlock)
531
532 2004-04-29  Tor Lillqvist  <tml@iki.fi>
533
534         * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory
535         leak. (#140775, John Ehresman)
536
537 Thu Apr 29 01:09:50 2004  Matthias Clasen  <maclas@gmx.de>
538
539         * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1
540         to index the cached gcs, not depth.  (#139494)
541
542 2004-04-28  Matthias Clasen  <mclasen@redhat.com>
543
544         * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix.
545
546 Sun Apr 25 15:36:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
547
548         * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
549         cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
550
551 2004-04-24  Theppitak Karoonboonyanan  <thep@linux.thai.net>
552
553         Patch to add support for string conversion callbacks to
554         GtkIMContextXIM (#101814)
555
556         * modules/input/gtkimcontextxim.c: Set the string conversion callback
557         if supported by the XIC.
558
559         (struct _GtkIMContextXIM): Add string_conversion_callback member.
560
561         (struct _GtkXIMInfo, setup_im): Check and keep flag inidicating
562         whether string conversion callback is supported.
563
564         (gtk_im_context_get_ic, +set_string_conversion_callback,
565         +string_conversion_callback): Also initialize string conversion
566         callback, if supported, along with the IC initialization.
567
568         * modules/input/imxim.c: Make "xim" module default for Thai as well.
569
570 2004-04-23  Matthias Clasen  <mclasen@redhat.com>
571
572         * gtk/gtkclipboard.c (gtk_clipboard_wait_for_targets): Correctly
573         initialize targets.  (#139883, John Finlay)
574
575         * gdk/gdkdraw.c (gdk_draw_drawable): Small doc improvement. 
576
577         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): 
578         Don't recommend gtk_tree_row_reference_new_proxy().  (#138309,
579         Tim-Philipp Müller)
580
581         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_cell_data): 
582         Remove an excessive g_return_if_fail().
583
584         * gdk/x11/gdkevents-x11.c (set_user_time): Make set_user_time()
585         static.
586         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
587         _-prefix calls of gdk_x11_window_set_user_time().
588
589 2004-04-22  Matthias Clasen  <mclasen@redhat.com>
590
591         * gtk/gtkuimanager.c (update_node): Make sure the separators 
592         used to demarkate placeholder ends don't show up on 
593         show_all().  (#140496, Murray Cumming)
594
595         * gtk/gtkspinbutton.c (spin_button_at_limit): Make spinbuttons
596         work with negative increments.  (#137975, Tim Gerla)
597
598 Wed Apr 21 21:38:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
599
600         * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget,
601         gtk_tool_button_set_icon_widget): Remove the old widget from the
602         tool button before overwriting it with the new widget.
603
604         (#140508, Todd Goyen)
605         
606 2004-04-22  Tor Lillqvist  <tml@iki.fi>
607
608         Fix the file chooser on Windows. I can't make it misbehave or
609         crash any more now. But presumably there are still corner cases
610         not handled. I haven't really checked behaviour of UNC paths, for
611         instance.
612
613         * gtk/gtkfilesystemwin32.c: Accept both backslash and slash in
614         several places. Use G_IS_DIR_SEPARATOR macro (which could be added
615         to GLib in 2.6).
616
617         (gtk_file_system_win32_get_parent): Like the Unix version, assert
618         filename is absolute, and avoid one unnecessary string allocation
619         and freeing.
620         
621         (canonicalize_filename,gtk_file_system_win32_parse): Handle drive
622         letters more correctly.
623
624         (gtk_file_system_win32_render_icon): Assure correct syntax is used
625         for root folder of a drive. (#137962, Morten Welinder)
626
627         (filename_is_some_root): New function that accepts also root
628         without any drive specified.
629
630         (filename_is_drive_root): Rename from filename_is_root.
631
632         * gtk/gtkfilechooserentry.c (completion_match_func): Casefold on
633         Windows.
634
635 2004-04-21  Matthias Clasen  <mclasen@redhat.com>
636
637         * gtk/gtkentry.c (gtk_entry_completion_timeout): Pop down the 
638         completion window if there are no completions anymore.
639
640         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
641         Don't call gtk_tree_view_scroll_to_cell() on an empty tree view. 
642         It doesn't like that.  (#140642, Christian Persch)
643
644         * demos/gtk-demo/expander.c (do_expander): A new demo.
645
646         * demos/gtk-demo/Makefile.am (demos): Add expander.c.
647
648 2004-04-20  Matthias Clasen  <mclasen@redhat.com>
649
650         * gtk/gtktextview.c (gtk_text_view_allocate_children): Make
651         sure anchored children get size allocated, even if the layout
652         is valid.  (#122323, Andrew E. Makeev)
653         (gtk_text_view_scroll_pages): 
654         (gtk_text_view_scroll_hpages): Don't scroll to cursor position
655         if we already have pending scrolls. Bandaid fix for #78513.
656
657 Mon Apr 19 17:59:17 2004  Owen Taylor  <otaylor@redhat.com>
658
659         * INSTALL.in: Update libpng and libjpeg URLs, remove
660         note about building without since that's not the normal
661         case.
662
663 Sun Apr 11 09:45:11 2004  Owen Taylor  <otaylor@redhat.com>
664
665         * gtk/gtkicontheme.c (load_themes): Fix a couple of typos in
666         handling of SVG/non-SVG unthemed icons.
667
668 2004-04-19  Morten Welinder  <terra@gnome.org>
669
670         * gtk/gtktoolbar.c (gtk_toolbar_focus): Don't leak list of
671         children.  (#140523)
672
673 2004-04-19  Matthias Clasen  <mclasen@redhat.com>
674
675         * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): 
676         Don't stop the iteration up to the tag_root too 
677         early.  (#109945, Dongho Shin)
678
679 Sun Apr 18 17:06:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
680
681         * gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make
682         gdk_keymap_translate_keyboard_state() handle NULL
683         keymaps. (#139715, Torsten Schoenfeld).
684
685 Sun Apr 18 16:59:21 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
686
687         * configure.in: Don't erase GDK_EXTRA_CFLAGS. Fixes bug 139586,
688         reported by Pedro RODRIGUEZ, about compilation problems when
689         Xcursor is installed in a non-standard location.
690
691 Sun Apr 18 16:15:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
692
693         Support for _NET_WM_USER_TIME (bug 115650). Patch by Elijah
694         Newren.
695         
696         * gdk/x11/gdkwindow-x11.[ch]: Add new internal function
697         _gdk_x11_set_user_time() to set the _NET_WM_USER_TIME property.
698
699         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add user_time field
700
701         * gdk/x11/gdkdisplay-x11.c: Add _NET_WM_USER_TIME to list of
702         precached atoms.
703         
704         * gdk/x11/gdkinput-x11.c, gdk/x11/gdkevents-x11.c: Set the
705         property on user interaction.
706
707 2004-04-15  Federico Mena Quintero  <federico@ximian.com>
708
709         * gtk/gtkfilesel.c (open_new_dir): Tell the user to use
710         G_FILENAME_ENCODING, not G_BROKEN_FILENAMES.  Fixes #114065.
711
712         * gtk/gtkfilechooserdefault.c (split_uris): Use a variant of the
713         code from gtkfilesel.c to parse a "text/uri-list" blob.  Fixes
714         #140126.
715
716 2004-04-15  Matthias Clasen  <mclasen@redhat.com>
717
718         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 
719         * gtk/gtkbutton.c (gtk_button_class_init): Doc fixes.
720
721 2004-04-14  Matthias Clasen  <mclasen@redhat.com>
722
723         * gtk/gtkcombobox.c: 
724         * gtk/gtkwidget.c: 
725         Make all style properties readonly.
726
727 2004-04-14  Matthias Clasen  <mclasen@redhat.com>
728
729         * gtk/gtkcolorsel.c: Add a11y relations between the color
730         wheel and the spin buttons.  (#132745, Padraig O'Briain)
731
732         * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document
733         the meaning of size == -1.
734
735         * gtk/gtkwidget.c (gtk_widget_render_icon): Explicitly accept  
736         a size of -1.  (#137436, Brian Cameron)
737
738         * gtk/gtkcombobox.c: Make the arrow and separator regular
739         children of an hbox inside the button, and propagate state
740         changes from the button to the cell view.  (part of the fix
741         for #138650, should also fix #137535)
742
743         * gtk/gtkcellview.c (gtk_cell_view_expose): Pass the PRELIT
744         state to gtk_cell_renderer_render() when prelighted. (part 
745         of the fix for #138650)
746
747         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
748         Use PRELIGHT state when appropriate.  (part of the fix for 
749         #138650)
750
751         * gtk/gtkcombobox.c (gtk_combo_box_relayout): Don't spit 
752         out warnings if called before the combo box is 
753         realized.  (#139742, Philip Langdale)
754
755 Wed Apr 14 03:45:39 2004  Jonathan Blandford  <jrb@gnome.org>
756
757         * gtk/gtktreeview.c (gtk_tree_view_expose): propagate expose
758         events to children.
759
760 Wed Apr 14 03:32:58 2004  Jonathan Blandford  <jrb@gnome.org>
761
762         * gtk/gtkpathbar.c (make_directory_button): remove spurious
763         gtk_box_pack_start.
764
765 Tue Apr 13 16:19:23 2004  Jonathan Blandford  <jrb@redhat.com>
766
767         * gtk/gtkpathbar.c (make_directory_button): patch from Owen to
768         make the buttons sized by a bold label.  This makes the text
769         'swim' a little, but stops the buttons from resizing, #137210
770
771 2004-04-13  Matthias Clasen  <mclasen@redhat.com>
772
773         * gtk/gtkuimanager.c (get_child_node): Don't crash if a node 
774         has no name.
775         (start_element_handler): Accept separators without unique 
776         names.  (#133302, Anders Carlsson)
777
778         * gtk/gtkactiongroup.c (gtk_action_group_add_action): Document
779         possible accelerator gotcha when using this function.  (#139641, 
780         Christian Persch)
781
782         * gtk/gtkuimanager.c (node_remove_ui_reference): Don't leak
783         list nodes.  (#138862, Morten Welinder)
784
785 Tue Apr 13 12:24:49 2004  Jonathan Blandford  <jrb@redhat.com>
786
787         * gtk/gtktreeview.c (gtk_tree_view_destroy): remove unused
788         variable.
789         (gtk_tree_view_button_press): If we activated the row we don't
790         want to grab focus back, as moving focus to another widget is
791         pretty common, #138458
792
793 2004-04-12  Federico Mena Quintero  <federico@ximian.com>
794
795         * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Added
796         documentation to all the signals.
797
798 2004-04-12  Matthias Clasen  <mclasen@dhcp64-228.boston.redhat.com>
799
800         * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Don't unref
801         model if it is NULL. (#139770)
802
803         * gtk/gtktreeview.c (gtk_tree_view_get_cell_area): Typo fix.
804
805         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Don't add
806         a shadow inside the scrolled window, add it around the vbox.
807
808         * gtk/gtkentryprivate.h: 
809         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
810         Return a boolean indicating whether the popup is positioned above 
811         or below. Scroll the completions to the beginning or the end, 
812         depending on the positioning.
813
814         * gtk/gtkentry.c (gtk_entry_completion_key_press): Make keynav
815         wrap around in the entry completion popup, and allow GDK_UP to 
816         enter the popup.  (#137440)
817
818 2004-04-12  Matthias Clasen  <mclasen@redhat.com>
819
820         * gtk/gtkentry.c (gtk_entry_size_request): Make sure the style is 
821         there before using it.
822
823 Sun Apr 11 15:08:45 2004  Jonathan Blandford  <jrb@gnome.org>
824
825         * gtk/gtktreeprivate.h: Moved search entries into priv data.
826
827         * gtk/gtktreeview.c: Prep for type-ahead support.
828
829         (gtk_tree_view_destroy): Destroy the search window explicitly.
830         (gtk_tree_view_key_press): Minor change; prep for type-ahead
831         (gtk_tree_view_ensure_interactive_directory): New function
832         (gtk_tree_view_focus_out): Rework to handle new entry life-cycle.
833         (gtk_tree_view_real_start_interactive_search): rework
834         (gtk_tree_view_search_dialog_hide): ditto
835         (gtk_tree_view_search_delete_event): ditto
836         (gtk_tree_view_search_button_press_event): ditto
837         (gtk_tree_view_search_key_press_event): ditto
838         (gtk_tree_view_search_move): ditto
839         (gtk_tree_view_search_init): ditto
840
841         * gtk/gtktreeviewcolumn.c:
842         (gtk_tree_view_column_cell_layout_clear): remove unused variable.
843
844         * tests/testfilechooser.c: (main): change
845
846 2004-04-11  Hans Breuer  <hans@breuer.org>
847
848         * gdk/win32/gdkspawn-win32.c : workaround for bug #137496,
849         the real fix would involve just another small API breakage,
850         i.e. gdk_spawn_* using GPid not just gint.
851
852         * gtk/makefile.msc.in : build gtk-win32.res, not gtk.res
853
854 2004-04-10  Tor Lillqvist  <tml@iki.fi>
855
856         * gdk/win32/gdkkeys-win32.c (gdk_keymap_translate_keyboard_state):
857         If both Shift and CapsLock pressed, ignore the shift only for
858         letters (that would have been affected by the CapsLock). (#139095)
859
860         * gdk/win32/gdkglobals-win32.c: Disable tablet support by default,
861         seems to be even buggier now than it used to be. (#138341)
862         Initialize _gdk_input_ignore_wintab to TRUE.
863
864         * gdk/win32/gdkmain-win32.c: Add --use-wintab switch and
865         GDK_USE_WINTAB environment variable to turn on tablet support.
866
867 2004-04-09  Christian Persch  <chpe@cvs.gnome.org>
868
869         * gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group),
870         (gtk_ui_manager_remove_action_group): Terminate
871         g_object_[dis]connect() calls with NULL instead of 0.
872         Fixes #138997.
873
874 2004-04-09  Guntupalli Karunakar  <karunakar@freedomink.org>
875
876         * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
877
878 2004-04-07  Federico Mena Quintero  <federico@ximian.com>
879
880         Fix #132500.
881
882         * gtk/gtkfilesystem.c (gtk_file_system_parse): Ensure that the
883         passed-in 'str' is not NULL.
884
885         * gtk/gtkfilesystemunix.c (expand_tilde): New helper function;
886         expands "~/" or "~foo/" at the beginning of a filename.
887         (gtk_file_system_unix_parse): Use expand_tilde() before doing
888         anything else.
889
890         * gtk/gtkfilechooserentry.c
891         (gtk_file_chooser_entry_maybe_update_directory): Take in a
892         force_reload argument.
893         (gtk_file_chooser_entry_changed): If gtk_file_system_parse()
894         returns an error, set the file_part_pos to -1.
895         (load_directory_callback): Only populate the model if the
896         file_part_pos is not -1.
897
898 2004-04-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
899
900         * configure.in: Added Icelandic (is) to ALL_LINGUAS
901
902 2004-04-05  Federico Mena Quintero  <federico@ximian.com>
903
904         * gtk/gtkfilechooserdefault.c (location_popup_handler): Use a
905         title for SAVE and CREATE_FOLDER modes.  Fixes #137272.
906
907         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_make_path): Look
908         for G_DIR_SEPARATOR in the display_name, and err out if it is
909         present; use the same error message as Nautilus.  Fixes #136467.
910
911         * gtk/gtkfilechooserdefault.c (file_pane_create): Make the
912         new-folder button say "Create Fo_lder" rather than "Create
913         _Folder", so that the mnemonic doesn't conflict with the "Save in
914         _folder" label.  Fixes #136975.
915
916 2004-04-05  Federico Mena Quintero  <federico@ximian.com>
917
918         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Ref/sink the
919         buttons.  Also, free them correctly upon failure.  Based on a
920         patch by Morten Welinder, fixes #137956.
921
922 2004-04-05  Anders Carlsson  <andersca@gnome.org>
923
924         * gdk/gdk.c (gdk_arg_context_parse): Handle '--' correctly.
925
926 Fri Apr  2 17:57:33 2004  Jonathan Blandford  <jrb@redhat.com>
927
928         * gtk/gtktreeview.c (gtk_tree_view_row_inserted): set the height
929         correctly for fixed height when inserting a node, #138082
930
931 2004-04-01  Federico Mena Quintero  <federico@ximian.com>
932
933         Fix #136077.
934
935         * gtk/gtkpathbar.h (struct _GtkPathBarClass): Add a
936         "child_is_hidden" boolean argument to the "path-clicked" signal.
937
938         * gtk/gtkpathbar.c (struct _ButtonData): Added a file_is_hidden
939         field.
940         (make_directory_button): Take a file_is_hidden argument; put it in
941         the ButtonData.
942         (_gtk_path_bar_set_path): See whether each path component path is
943         a hidden file.
944         (gtk_path_bar_class_init): Add the file_is_hidden argument to the
945         "path-clicked" signal.
946         (button_clicked_cb): See if the downwards button represents a
947         hidden file for the file_is_hidden argument in the signal
948         emission.
949
950         * gtk/gtkmarshalers.list: Added a signal type VOID:POINTER,BOOLEAN.
951
952         * gtk/gtkfilechooserdefault.c
953         (gtk_file_chooser_default_select_path): If we fail to switch
954         folders, don't try to select the path in the file system model.
955         Also, return the result from _gtk_file_system_model_path_do().
956         (gtk_file_chooser_default_select_path): Turn on show_hidden in the
957         file system model if we are asked to select a hidden file.
958         (path_bar_clicked): Show hidden files based on whether the
959         immediate downwards folder in the path bar is a hidden file
960         itself.
961         (struct _GtkFileChooserDefault): Added fields
962         browse_files_popup_menu and browse_files_popup_menu_hidden_files_item.
963         (create_file_list): Set an object data key of
964         "GtkFileChooserDefault" on the tree view so that we can find the
965         impl from the popup menu callbacks.  Also, hook up to the
966         "button-press-event" and "popup-menu" signals in the file list to
967         bring up a popup menu.
968         (list_popup_menu_cb): New callback.
969         (list_button_press_event_cb): New callback.
970
971         Fix #138763:
972
973         * gtk/gtkfilesystemmodel.c
974         (_gtk_file_system_model_new): Oops, connect_object to
975         "finished-loading".
976
977 2004-03-31  Tor Lillqvist  <tml@iki.fi>
978
979         * configure.in: Move AC_CANONICAL_HOST earlier, before the check
980         for native Win32. (#136559, J. Ali Harlow)
981
982         * gdk/win32/gdkdrawable-win32.c (draw_arc): Use X11 semantics for
983         angles. Thanks to Tim Newsham.
984
985 2004-03-29  Federico Mena Quintero  <federico@ximian.com>
986
987         Fix #137520.
988
989         * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots
990         for an ::is_finished_loading() method and a ::finished_loading()
991         signal at the end of the struct.
992
993         * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the
994         "finished-loading" signal.
995         (gtk_file_folder_is_finished_loading): New function.
996
997         * gtk/gtkfilesystemunix.c
998         (gtk_file_folder_unix_is_finished_loading): Implement.
999
1000         * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New
1001         slot for a "finished-loading" signal.
1002         (gtk_file_system_model_class_init): Create the "finished-loading"
1003         signal.
1004         (struct _GtkFileSystemModel): New field
1005         idle_finished_loading_source.  We emit the "finished-loading"
1006         signal in an idle if the root folder was done loading right in
1007         _gtk_file_system_model_new(), so that the caller has a chance to
1008         connect to the signal.
1009         (_gtk_file_system_model_new): Connect to the normal signals of the
1010         folder even if the initial _list_children() fails.  Also, see if
1011         the folder is finished loading; connect to the "finished-loading"
1012         signal otherwise.
1013         (gtk_file_system_model_finalize): Remove the idle handler.
1014
1015         * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor
1016         and connect to the model's "finished-loading" signal.
1017         (get_toplevel): New helper function.
1018         (error_message): Use get_toplevel().
1019         (trap_activate_cb): Likewise.
1020         (location_popup_handler): Likewise.
1021         (set_busy_cursor): New function.
1022         (browse_files_model_finished_loading_cb): New callback.
1023
1024 2004-03-25  Federico Mena Quintero  <federico@ximian.com>
1025
1026         * gtk/gtkfilechooserdefault.c (check_preview_change): Just use the
1027         file under the cursor; we don't need the logic from
1028         GtkFileSelection after all.  Fixes #132255.
1029
1030 2004-03-25  Federico Mena Quintero  <federico@ximian.com>
1031
1032         * gtk/gtkfilechooserdefault.c (location_entry_create): Fill the
1033         location entry with the display name of the file under the cursor
1034         for Open mode, or the typed filename in Save mode.
1035
1036 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
1037
1038         * gtk/gtkfilesystemwin32.c
1039         (filename_is_root): Bare drive designators (eg., "c:") are
1040         no longer considered as root filenames.  Fixed #137942
1041
1042 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
1043
1044         * gtk/gtkfilesystemwin32.c
1045         (gtk_file_system_win32_create_folder): Invert test for error in
1046         mkdir.  Fixes #137945
1047
1048 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
1049
1050         Fixed #138004 using Federico's code from #132327.
1051
1052         * gtk/gtkfilesystemwin32.c (struct _GtkFileSystemWin32): Add a
1053         folder_hash field to keep a list of live folder objects.
1054         (gtk_file_system_win32_init): Create the folder_hash.
1055         (gtk_file_system_win32_finalize): Destroy the folder_hash.
1056         (gtk_file_system_win32_get_folder): Ref and return an existing
1057         folder if we have it around, otherwise return a new folder object.
1058         (struct _GtkFileFolderWin32): Add a field for the parent file system.
1059         (gtk_file_folder_win32_finalize): Remove the folder from the file
1060         system's hash table.
1061         (gtk_file_system_win32_create_folder):  Emit "files-added" on the
1062         newly-created folder's parent.  Fixes #138004.
1063
1064 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
1065
1066         * gtk/gtkfilesystemwin32.c
1067         (gtk_file_system_win32_get_folder): Test that path is actually
1068         a directory and throw error if not. Fixed bug #137950
1069
1070 2004-03-22  J. Ali Harlow  <ali@juiblex.co.uk>
1071
1072         * gtk/gtkfilesystemwin32.c
1073         (gtk_file_system_win32_volume_get_display_name): Ignore empty
1074         volume labels; assume that GetVolumeInformation would fail if
1075         GetVolumeInformationW does; catches a small memory leak;
1076         pass the buffer size to GetVolumeInformationW in wide
1077         characters instead of bytes. Fixes bug #137543
1078         (list_volumes): Cope with the theoretical possibility of
1079         more than 26 logical drives. Fixes bug #137940
1080         (bookmarks_serialize): Now actually removes bookmarks.
1081         Fixes bug #137943
1082
1083 2004-03-22  Guntupalli Karunakar  <karunakar@freedomink.org>
1084
1085         * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
1086
1087 2004-03-21  Tor Lillqvist  <tml@iki.fi>
1088
1089         * gtk/gtkfilesystemwin32.c
1090         (gtk_file_system_win32_volume_get_base_path): Include the
1091         backslash. Otherwise gtk_file_system_win32_path_to_uri() returns
1092         NULL for a volume base path, as g_filename_to_uri() requires an
1093         absolute path, and just a drive letter and colon isn't. (#137543)
1094
1095 2004-03-20  Hans Breuer  <hans@breuer.org>
1096
1097         * gtk/gtkfilesystemwin32.c : applied the undisputable and
1098         required [due to recent gtkfilesystem internal api semantic 
1099         changes] part of patches to fix bug #137543 (Tor Lillqvist,
1100         J. Ali Harlow)
1101
1102         * gdk/gdkevents-win32.c (handle_configure_event) :
1103              (gdk_event_translate), WM_WINDOWPOSCHANGED : initialize
1104         GdkWindowObject::x, y with screen coords to make 
1105         gdk_window_get_position () return the right thing and thus fix
1106         drag and drop positioning (e.g. Gimp tabs, fixes bug #137192)
1107
1108 2004-03-19  Federico Mena Quintero  <federico@ximian.com>
1109
1110         * Revert the patch to #137520, as 2.4.1 is for conservative bug
1111         fixes only.  The patch is attached to the bug report, for
1112         reference.
1113
1114 2004-03-19  Morten Welinder  <terra@gnome.org>
1115
1116         * gtk/gtkfilechooserdefault.c
1117         (gtk_file_chooser_default_set_current_folder): Test existance of
1118         the path after checking for locality, if needed.
1119
1120 2004-03-19  Federico Mena Quintero  <federico@ximian.com>
1121
1122         Fix #137520.
1123
1124         * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots
1125         for an ::is_finished_loading() method and a ::finished_loading()
1126         signal at the end of the struct.
1127
1128         * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the
1129         "finished-loading" signal.
1130         (gtk_file_folder_is_finished_loading): New function.
1131
1132         * gtk/gtkfilesystemunix.c
1133         (gtk_file_folder_unix_is_finished_loading): Implement.
1134
1135         * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New
1136         slot for a "finished-loading" signal.
1137         (gtk_file_system_model_class_init): Create the "finished-loading"
1138         signal.
1139         (struct _GtkFileSystemModel): New field
1140         idle_finished_loading_source.  We emit the "finished-loading"
1141         signal in an idle if the root folder was done loading right in
1142         _gtk_file_system_model_new(), so that the caller has a chance to
1143         connect to the signal.
1144         (_gtk_file_system_model_new): Connect to the normal signals of the
1145         folder even if the initial _list_children() fails.  Also, see if
1146         the folder is finished loading; connect to the "finished-loading"
1147         signal otherwise.
1148         (gtk_file_system_model_finalize): Remove the idle handler.
1149
1150         * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor
1151         and connect to the model's "finished-loading" signal.
1152         (get_toplevel): New helper function.
1153         (error_message): Use get_toplevel().
1154         (trap_activate_cb): Likewise.
1155         (location_popup_handler): Likewise.
1156         (set_busy_cursor): New function.
1157         (browse_files_model_finished_loading_cb): New callback.
1158
1159 Thu Mar 18 12:10:45 2004  Owen Taylor  <otaylor@redhat.com>
1160
1161         * gtk/gtktreeitem.c (gtk_tree_item_forall): Include 
1162         eventbox for expander. (#137564, reported by
1163         Jacques Garrigue)
1164
1165 2004-03-18  Guntupalli Karunakar  <karunakar@freedomink.org>
1166
1167         * mr.po: Added "mr" for Marathi to ALL_LINGUAS.
1168
1169 2004-03-17  Morten Welinder  <terra@gnome.org>
1170
1171         * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Free
1172         volumes not actually put into the shortcut list.
1173
1174         * tests/prop-editor.c (object_changed): Plug leak.
1175
1176         * tests/testfilechooser.c (main): Plug some leaks and expose
1177         others.
1178
1179         * tests/prop-editor.c (create_prop_editor): Don't leak the tooltip
1180         object.  Fixed #136652.
1181
1182         * gtk/gtkfilechooserdefault.c (check_icon_theme): Do nothing if we
1183         have no screen.  Fixes #137260.
1184         (shortcuts_add_bookmark_from_path): Simplify using check_is_folder
1185         thereby fixing leak.  Fixes #137259.
1186
1187         * gtk/gtkpathbar.c (gtk_path_bar_forall): Make this work when the
1188         slider buttons have been destroyed.
1189         (gtk_path_bar_remove): Make this work for slider buttons too.
1190         Fixes #137257
1191
1192 2004-03-15  Morten Welinder  <terra@gnome.org>
1193
1194         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path):
1195         Sanitize and plug leak.
1196         (check_icon_theme): Only do something if the widget has a screen.
1197
1198 Wed Mar 17 01:20:28 2004  Matthias Clasen  <maclas@gmx.de>
1199
1200         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
1201         Move the repositioning logic from _gtk_entry_completion() popup
1202         over here. Fixes #137355, reported by Niklas Knutsson.
1203