]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-10
Added "bs" to ALL_LINGUAS. Added Bosnian translations by Kenan
[~andy/gtk] / ChangeLog.pre-2-10
1 2004-08-16  Christian Rose  <menthos@menthos.com>
2
3         * configure.in: Added "bs" to ALL_LINGUAS.
4
5 Mon Aug 16 01:35:25 2004  Matthias Clasen  <maclas@gmx.de>
6
7         Fix #150125:
8         
9         * gtk/gtkcombobox.[hc]: Add a ::focus-on-click property and
10         change the default behaviour to focus on click.
11
12         * gtk/gtkbutton.c (gtk_button_set_focus_on_click): Typo fix.
13
14 Mon Aug 16 01:03:08 2004  Matthias Clasen  <maclas@gmx.de>
15
16         * gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset): 
17         (gtk_text_iter_set_visible_line_index): Count from the 
18         beginning of the line, not from the current position.  (#150101,
19         Torsten Schoenfeld)
20
21 2004-08-15  Tor Lillqvist  <tml@iki.fi>
22
23         * gtk-zip.sh.in: Fix typo. The gtk.immodules file had never been
24         included in my zipfiles...!
25
26         * gtk/gtkfilesystemwin32.c (extract_icon): Improve handling of
27         icon alpha channel (on Windows XP) and mask (older Windows
28         versions). (#148641, Tim Evans)
29
30 Sun Aug 15 02:31:55 2004  Matthias Clasen  <maclas@gmx.de>
31
32         * gtk/gtkfilesystemunix.c (get_icon_type_from_stat): Make 
33         the use of S_ISFIFO and S_ISSOCK conditional.  (#150146,
34         Gustavo Carneiro)
35
36 2004-08-14  Tor Lillqvist  <tml@iki.fi>
37
38         * gtk/gtkfilechooserdefault.c (shortcuts_append_home,
39         shortcuts_append_desktop, set_local_only)
40         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_render_icon)
41         * gtk/gtkpathbar.c (find_button_type, _gtk_path_bar_set_file_system): 
42         Guard against g_get_home_dir() returning NULL. (#150007)
43
44 Sat Aug 14 17:56:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
45
46         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges): New function. 
47
48         * gtk/gtkentry.c (in_selection): New function using
49         gtk_entry_get_pixel_ranges() to determine whether a click is in
50         the selection. Improve entry behavior wrt. dragging and
51         selecting. Bug #143249.
52
53 Sat Aug 14 17:53:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
54
55         * configure.in: Require glib 2.5.2
56         
57         * gtk/gtksequence.[ch]: New internal data structure.
58
59         * gtk/gtkliststore.[hc]: Reimplement in terms of new data
60         structure
61         
62         * tests/Makefile.am (testtreemodel_SOURCES):
63         * tests/testtreemodel.c: New test program written by Matthias.
64
65 2004-08-13  Matthias Clasen  <mclasen@redhat.com>
66
67         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_style_set): 
68         Don't install the settings_notify_cb from here, since it
69         may be called before the first screen_changed signal, 
70         confusing the logic in gtk_file_chooser_screen_changed().
71         (#148803, Abel Daniel)
72
73         * gtk/gtkcombobox.c: Make re-sensitivation work
74         in menu mode.
75
76         * gtk/gtkaction.c (gtk_action_new): Fix the docs.
77
78 Fri Aug 13 01:06:56 2004  Matthias Clasen  <maclas@gmx.de>
79
80         * gtk/gtktreeview.c (gtk_tree_view_row_inserted): 
81         Make fixed height mode handle insertions.  (#135955, 
82         Michael Vogt, testcase by Tim-Philipp Müller, fix by
83         Pawel Salek)
84
85 Fri Aug 13 00:40:18 2004  Matthias Clasen  <maclas@gmx.de>
86
87         * gtk/gtkhandlebox.c: Add missing include.
88
89 Thu Aug 12 23:52:12 2004  Matthias Clasen  <maclas@gmx.de>
90
91         Fix #149547, Markus Lausser:
92         
93         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): 
94         * gtk/gtkcombobox.c (gtk_combo_box_size_request): Don't 
95         crash if size_request or size_allocate are called early.
96
97         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): Protect
98         against being allocated too small.
99
100 Thu Aug 12 21:02:57 2004  Matthias Clasen  <maclas@gmx.de>
101
102         * demos/gtk-demo/appwindow.c (about_cb): Adjust to GtkAboutDialog 
103         API changes.
104
105         * gtk/gtkaboutdialog.h: 
106         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_email_hook): 
107         (gtk_about_dialog_set_url_hook): Add callback data and destroy notify 
108         for language bindings.  (#149999, Olivier Andrieu)
109
110 2004-08-12  Matthias Clasen  <mclasen@redhat.com>
111
112         * gtk/gtkfilesystem.c: Underscore-prefix gtk_file_system_module_get_type().
113         * gtk/gtkfilechooserdefault.c: Underscore-prefix shortcuts_model_filter_get_type().
114
115         * gtk/gtkimmodule.c: Make gtk_im_module_get_type() static.
116         * gtk/gtk.symbols:
117         * gtk/gtkinternals.h: Remove the no longer exported get_type functions.
118
119 Thu Aug 12 01:35:46 2004  Matthias Clasen  <maclas@gmx.de>
120
121         * gtk/gtkiconview.c: Make the icon view accessible by
122         implementing the necesssary ATK interfaces.  (#149728,
123         Padraig O'Briain)
124
125 Thu Aug 12 00:02:29 2004  Matthias Clasen  <maclas@gmx.de
126
127         * gtk/gtkaction.c (gtk_action_new): Link to information about
128         allowed action names.  (#149620, David Malcolm)
129
130 Wed Aug 11 23:14:25 2004  Matthias Clasen  <maclas@gmx.de>
131
132         * gtk/gtk.symbols: 
133         * gtk/gtkaction.h:
134         * gtk/gtkaction.c (gtk_action_set_sensitive): 
135         (gtk_action_set_visible): Add setters for the ::sensitive
136         and ::visible properties of GtkAction.  (#149622, David Malcolm)
137
138 2004-08-11  Federico Mena Quintero  <federico@ximian.com>
139
140         Fix #149422, #143457:
141
142         * gtk/gtkfilechooserdefault.c
143         (gtk_file_chooser_default_should_respond): Rewrite to take the
144         current focus into account, the contents of the save entry, and
145         the last focus for the shortcuts list.
146         (switch_to_selected_folder): We don't need an assertion on the
147         action here.
148
149 Wed Aug 11 20:56:00 2004  Matthias Clasen  <maclas@gmx.de>
150
151         * gtk/gtkinternals.h: 
152         * gtk/gtk.symbols: Add shortcuts_model_filter_get_type.
153
154         * gtk/abicheck.sh: Check all symbols.
155
156 Wed Aug 11 19:20:34 2004  Matthias Clasen  <maclas@gmx.de>
157
158         * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row): 
159         Don't start a drag if the treeview is only a 
160         drag destination.  (#149836, Pawel Salek)
161
162 2004-08-11  Matthias Clasen  <mclasen@redhat.com>
163
164         * gtk/gtktreedatalist.[hc]: 
165         * gtk/gtkliststore.c:
166         * gtk/gtktreestore.c: Underscore-prefix 
167         gtk_tree_data_list_compare_func. 
168
169         * gtk/gtk.symbols: Remove gtk_tree_data_list_compare_func.
170
171         * gtk/makegtkalias.pl: No need to include gtktreedatalist.h 
172         any more.
173
174 2004-08-10  Matthias Clasen  <mclasen@redhat.com>
175
176         * gdk/Makefile.am: 
177         * gtk/Makefile.am: Define TESTS, not TEST, so that make check
178         actually triggers abicheck.sh.
179
180         * gdk/makegdkalias.pl: 
181         * gtk/makegtkalias.pl: Include glib.h before using glib symbols. D'oh.
182
183         * gdk/makegdkalias.pl: 
184         * gtk/makegtkalias.pl: Protect gtkalias.h by G_HAVE_GNUC_VISIBILITY.
185         
186         * gtk/Makefile.am: Include gtkalias.h in the generated
187         sources gtkmarhalers.c and gtkmarshal.c.
188
189         * gtk/makegtkalias.pl: Cosmetic fix.
190
191         * gdk/Makefile.am: Remove the . which was accidentally added
192         to SUBDIRS. Include gdkalias.h in the generated sources 
193         gdkenumtypes.c and gdkmarshalers.c.
194
195         * gdk/makegdkalias.pl: Cosmetic fix.
196
197         * gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES.
198
199 2004-08-09  Hans Breuer  <hans@breuer.org>
200
201         * gtk/makefile.msc.in : autogenerate gtk.def, cleanup
202
203         * gdk/win32/gdkwindow-win32.c gdk/win32/gdkevents-win32.c : 
204         removed long time unused ifdef/ed code (WITHOUT_WM_CREATE), 
205         removed duplicated call to gdk_window_set_cursor()
206
207 Mon Aug  9 15:41:17 2004  Matthias Clasen  <maclas@gmx.de>
208
209         Add hidden aliases for exported symbols which are
210         used internally in order to get rid of many PLT 
211         entries.  (#145519, Arjan van de Ven)
212         
213         * gdk/Makefile.am: Add rules to generate gdk.def and 
214         gdkalias.h from gdk.symbols, and make make check check 
215         the abi with abicheck.sh.
216
217         * gdk/gdk.symbols: New file. Definition of the GDK ABI.
218         The file can be processed by cpp to filter out certain 
219         subsets of symbols.
220
221         * gdk/abicheck.sh: New file. Script to check the actually 
222         symbols exported from libgdk-x11.2.0.so against the symbols
223         found in gdk.symbols.
224
225         * gdk/makegdkalias.pl: New file. Perl script to generate the 
226         header containing the alias definitions for internally used 
227         exported symbols from a list of symbols.
228
229         * gdk/*.c, gdk/x11/*.c: Include gdkalias.h
230         
231 2004-08-09  Morten Welinder  <terra@gnome.org>
232
233         * gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): Fix C99ism.
234
235 Mon Aug  9 15:27:01 2004  Matthias Clasen  <maclas@gmx.de>
236
237         * gtk/makegtkalias.pl: Also revert 
238         GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API to its old status.
239
240 Mon Aug  9 15:19:34 2004  Matthias Clasen  <maclas@gmx.de>
241
242         * gdk/gdk.h: 
243         * gdk/gdkrgb.h: Add the exported functions 
244         gdk_rgb_colormap_ditherable(), gdk_pointer_grab_info_libgtk_only(),
245         gdk_keyboard_grab_info_libgtk_only() to the appropriate
246         headers.
247
248 Mon Aug  9 14:24:46 2004  Matthias Clasen  <maclas@gmx.de>
249
250         * gdk/x11/gdkevents-x11.c (gdk_event_send_client_message_to_all_recurse): 
251         Make static.
252
253 Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
254
255         Add hidden aliases for exported symbols which are
256         used internally in order to get rid of many PLT 
257         entries.  (#145519, Arjan van de Ven)
258         
259         * gtk/Makefile.am: Add rules to generate gtk.def and 
260         gtkalias.h from gtk.symbols, and make make check check 
261         the abi with abicheck.sh.
262         (gtk_private_h_sources): Add gtkinternals.h
263         (gtk_built_private_headers): Add gtkalias.h
264         (gtk_extra_sources): Add gtk.symbols
265         (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
266
267         * gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
268         The file can be processed by cpp to filter out certain 
269         subsets of symbols.
270
271         * gtk/abicheck.sh: New file. Script to check the actually 
272         symbols exported from libgtk-x11.2.0.so against the symbols
273         found in gtk.symbols.
274
275         * gtk/makegtkalias.pl: New file. Perl script to generate the 
276         header containing the alias definitions for internally used 
277         exported symbols from a list of symbols.
278
279         * gtk/gtkinternals.h: New file. An uninstalled header listing
280         symbols which must be exported for some reason and do not appear
281         in any other header.
282
283         * gtk/*.c: Include gtkalias.h
284         
285 Mon Aug  9 11:49:46 2004  Matthias Clasen  <maclas@gmx.de>
286
287         * gtk/gtkmain.c: Only undef gtk_init_check and gtk_init on win32.
288
289 Mon Aug  9 10:50:05 2004  Matthias Clasen  <maclas@gmx.de>
290
291         * gtk/gtkentry.h: Add gtk_entry_layout_index_to_text_index() 
292         and its inverse. The have always been exported and are meant
293         to be public.
294         
295 Mon Aug  9 00:28:34 2004  Matthias Clasen  <maclas@gmx.de>
296
297         * gtk/gtkicontheme.c (load_svg_at_size): Don't leak the 
298         file contents.
299
300 Mon Aug  9 00:13:03 2004  Matthias Clasen  <maclas@gmx.de>
301
302         * gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
303         leak the icon source.
304
305 Sun Aug  8 23:46:20 2004  Matthias Clasen  <maclas@gmx.de>
306
307         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
308         leak a reference to the pixbufs.
309
310 Sun Aug  8 23:36:55 2004  Matthias Clasen  <maclas@gmx.de>
311
312         * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
313         and sink the column.
314         (gtk_combo_box_menu_destroy): Unref the column.
315
316 Sun Aug  8 23:35:00 2004  Matthias Clasen  <maclas@gmx.de>
317
318         * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): 
319         (gtk_drag_dest_add_text_targets): Don't leak a reference 
320         to the target list.
321
322 Sun Aug  8 22:52:26 2004  Matthias Clasen  <maclas@gmx.de>
323
324         * gtk/gtkcombobox.c (find_menu_by_path): Don't stumble over
325         separators which are not backed by model rows.
326
327 Sun Aug  8 11:01:23 2004  Matthias Clasen  <maclas@gmx.de>
328
329         * gtk/gtkcombobox.c (gtk_combo_box_set_active): Don't leak
330         the path.
331
332 2004-08-08  Hans Breuer  <hans@breuer.org>
333
334         * gtk/gtkdnd.c (gtk_drag_dest_set) : take targets into
335         account again to allow dnd of other things than text
336
337         * gdk/win32/gdkselection-win32.c : offer windows bitmap to
338         be pasted from clipboard (makes The GIMP 2.1's 
339         "File/Acquire/Paste as New" work, only using gtk+ API) 
340
341 Sun Aug  8 01:32:36 2004  Matthias Clasen  <maclas@gmx.de>
342
343         * gtk/gtk.def: Add gtk_cell_renderer_progress_get_type.
344
345 Sun Aug  8 01:29:08 2004  Matthias Clasen  <maclas@gmx.de>
346
347         * gtk/gtk.def: Replace duplicate gtk_tree_view_get_hover_expand
348         by gtk_tree_view_set_hover_expand.
349
350 Sun Aug  8 01:23:08 2004  Matthias Clasen  <maclas@gmx.de>
351
352         * gtk/gtk.def: Remove the static function gtk_menu_get_private.
353
354 2004-08-07  Tor Lillqvist  <tml@iki.fi>
355
356         * gdk/win32/gdkkeys-win32.c (update_keymap): Don't hardcode
357         mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let ToAsciiEx()
358         map it to what's printed on the keypad decimal key for the current
359         input locale (keyboard layout). (#149404)
360
361 Sat Aug  7 18:19:03 2004  Matthias Clasen  <maclas@gmx.de>
362
363         * gtk/gtkfilechooserdefault.c (save_folder_combo_create): 
364         (shortcuts_list_create): Use GtkTreeViewRowSeparatorFunc 
365         instead of GtkCellRendererSepText.  (#147864)
366
367         * gtk/gtkcellrendererseptext.[hc]: Removed.
368
369         * gtk/Makefile.am: Remove gtkcellrendererseptext.[hc]
370         
371 Sat Aug  7 18:15:15 2004  Matthias Clasen  <maclas@gmx.de>
372
373         * gtk/gtkcombobox.c (gtk_combo_box_menu_row_deleted): 
374         (gtk_combo_box_menu_row_inserted): 
375         (gtk_combo_box_menu_row_changed): Correctly handle
376         insertion and deletion of separators in menu mode.
377
378 2004-08-07  Tor Lillqvist  <tml@iki.fi>
379
380         * gdk/win32/gdkevents-win32.c (handle_configure_event,
381         gdk_event_translate:WM_WINDOWPOSCHANGED): Add _gdk_offset_{x,y} to
382         top-level window coordinates, not just in generated
383         events. (#148526, Robert Ã–gren)
384
385 Sat Aug  7 01:26:08 2004  Matthias Clasen  <maclas@gmx.de>
386
387         Make the column drag code a bit more robust (still scary, 
388         though).  (#106992, Christian Biere)
389         
390         * gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Assert
391         that cur_reorder is NULL here.
392
393         * gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column): 
394         Reset cur_reorder to NULL, and only hide drag_highlight_window 
395         if it exists.  
396
397 2004-08-06  Federico Mena Quintero  <federico@ximian.com>
398
399         Fix #144232:
400
401         * gtk/gtkfilechooserdefault.c (save_widgets_create): Use a
402         GtkFileChooserEntry for the file name, rather than a GtkEntry.
403         (update_chooser_entry): Set the contents of the file chooser entry
404         rather than the plain entry's.
405         (gtk_file_chooser_default_set_current_folder): Set the new folder
406         on the save entry.
407         (gtk_file_chooser_default_set_current_name): Set the name on the
408         file chooser entry.
409         (check_save_entry): Use the file chooser entry rather than the
410         plain entry.
411
412         * gtk/gtkfilechooserentry.c
413         (_gtk_file_chooser_entry_set_base_folder): Call
414         gtk_file_chooser_entry_changed() so that we recompute the current
415         folder based on the new base folder.
416
417 2004-08-06  Hans Breuer  <hans@breuer.org>
418
419         * gdk/win32/gdkwindow-win32.c : make it compile and more
420         similar to the X11 implementation [backward compatibility
421         for GDK_WINDOW_TEMP, GDK_INPUT_ONLY (fixes bug #148702), 
422         use the *screen* function variants, dont reparent already 
423         destroyed]
424         (get_visible_region) : take the win32 part into account
425         (_gdk_windowing_window_destroy) : remove from handle table
426
427         * gdk/win32/gdkdisplay-win32.c : added 
428         gdk_display_(request|supports)_selection_notification ()
429         with a currently mostly pointless implementation ;-)
430
431         * gtk/gtkfilesystemwin32.c (*_to_path) : same changes as on *NIX,
432         plugs memory leak
433         (gtk_file_system_win32_render_icon) : use new GTK_STOCK_DIRECTORY
434
435         * gtk/makefile.msc.in demos/gtk-demo/makefile.msc.in 
436           gtk/stock-icons/makefile.msc tests/makefile.msc : updated
437
438         * gdk/gdk.def gtk/gtk.def : updated externals
439
440         * tests/testiconview.c : remove unneeded dirent.h inclusion
441
442 2004-08-06  Matthias Clasen  <mclasen@redhat.com>
443
444         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): Fix
445         an off-by-one error.  (#141809, Markku Vire)
446
447         * gtk/gtkdnd.c (gtk_drag_dest_set, gtk_drag_source_set): Really
448         fix the initialization of the target list.
449
450         Support XDND v5. (#10220, Owen Taylor)
451         
452         * gdk/x11/gdkdnd-x11.c: Record the XDND version and whether the
453         drop was successful in the GdkDragContextPrivateX11 struct.
454         (xdnd_finished_filter): Store the success status of the drop
455         for an XDND version 5 interaction. For other versions, always
456         assume the drop was successful.
457         (xdnd_check_dest): Return the protocol version.
458         (_gdk_drag_get_protocol_for_display): Return the protocol version.
459         (gdk_drag_find_window_for_screen): Store the used protocol version
460         in the GdkDragContext.
461         (xdnd_send_enter): Send the used protocol version from the context,
462         instead of hardwiring 3.
463         (xdnd_enter_filter): Accept protocol versions >= 3 and store the
464         used protocol version in the context.
465
466         * gdk/gdkdnd.h: 
467         * gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): New function
468         to find out whether a drop was successful.
469
470 2004-07-28  Robert Ã–gren  <gtk@roboros.com>
471
472         * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Set x_root
473         and y_root in button and motion events from the tablet. (#148715)
474
475 Thu Aug  5 19:58:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
476
477         * gtk/gtkplug.c (gtk_plug_realize): Call
478         gdk_window_enable_synchronized_configure()
479
480         * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Make
481         noop if gdk_window_enable_synchronized_configure() has not been
482         called.
483
484 2004-08-04  Matthias Clasen  <mclasen@redhat.com>
485
486         * gtk/gtkfilechooser.[hc]: Add setter and getter for the 
487         ::show-hidden property.  (#145610, Jeff Franks)
488
489         * tests/testiconview.c: Add buttons to select and unselect all
490         nodes, make the popup menu actually work.
491
492         * gtk/gtkiconview.c: Make GTK_SELECTION_BROWSE work as intended,
493         let button 3 presses through to the app, to make popup menus
494         work.
495
496         * tests/Makefile.am: Add testiconview.
497         * tests/testiconview.c: A test for GtkIconView
498         * tests/gnome-textfile.png: ...which uses this image.
499
500 Wed Aug  4 01:37:57 2004  Matthias Clasen  <maclas@gmx.de>
501
502         * gtk/gtktreeview.c: 
503         * gtk/gtktreestore.c: 
504         * gtk/gtktreemodelfilter.c: 
505         * gtk/gtknotebook.c: s/childs/children/g.
506
507 Wed Aug  4 01:04:48 2004  Matthias Clasen  <maclas@gmx.de>
508
509         Fix #133446, noticed by Christian Persch:
510         
511         * gtk/gtkaction.c (gtk_action_class_init): Add a new boolean 
512         property ::visible-overflown. 
513         * gtk/gtkaction.c (gtk_action_create_menu_proxy): Don't create 
514         a menu proxy if visible_overflown is FALSE.  
515
516 Tue Aug  3 20:16:26 2004  Matthias Clasen  <maclas@gmx.de>
517
518         * gtk/gtkactiongroup.[hc]: Make the the GtkAction{Toggle,Radio,}Entry*
519         arguments to the gtk_action_group_add_..._actions() functions const, 
520         since the most common use case is to use a static array.  (142334, 
521         Mariano Suarez-Alvarez)
522
523 Tue Aug  3 20:03:33 2004  Matthias Clasen  <maclas@gmx.de>
524
525         * gtk/gtkuimanager.c (get_node): Make gtk_ui_manager_add_ui()
526         accept paths with a leading "/ui".  (#149077, David Malcolm)
527
528 Tue Aug  3 19:59:29 2004  Matthias Clasen  <maclas@gmx.de>
529
530         * gtk/gtkiconview.c: Fix some warnings.
531
532 Tue Aug  3 18:38:40 2004  Matthias Clasen  <maclas@gmx.de>
533
534         * gtk/gtktreemodelfilter.c: Correct the return type
535         of gtk_tree_model_filter_get_flags().  (#149195, Morten Welinder)
536
537 Tue Aug  3 18:16:55 2004  Matthias Clasen  <maclas@gmx.de>
538
539         Fix #149191, reported by Morten Welinder:
540         
541         * gtk/gtkmain.c: Include gtkclipboard.h,
542         * gtk/gtkwidget.h: Declare _gtk_widget_grab_notify, not
543         _gtk_widget_emit_grab_notify.  
544
545 Tue Aug  3 14:50:14 2004  Matthias Clasen  <maclas@gmx.de>
546
547         * gtk/gtkicontheme.c (add_size): Add missing parens.
548         (#149190, Morten Welinder)
549
550 Tue Aug  3 14:29:49 2004  Matthias Clasen  <maclas@gmx.de>
551
552         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill): Remove 
553         accidentally committed debug code.
554
555 Tue Aug  3 01:19:12 2004  Matthias Clasen  <maclas@gmx.de>
556
557         * gtk/gtkcombobox.c (gtk_combo_box_relayout_item): Optimize 
558         for the case that row_column and col_column are unset.  
559         (#148868, Lorenzo Gil Sánchez)
560
561 Mon Aug  2 21:52:45 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
562
563         * gdk/x11/gdkwindow-x11.c (ensure_sync_counter): New
564         function. Make sure the sync counter is recreated when a window is
565         reparented to become a toplevel. (#148358)
566
567 2004-08-02  Matthias Clasen  <mclasen@redhat.com>
568
569         * tests/testcombo.c: Some trees in combo boxes.
570
571         * gtk/gtkcombobox.c: Rework the combo box to handle 
572         tree models.  (#139582, Matt Walton)
573         
574         * gtk/gtktreeview.h: 
575         * gtk/gtktreeview.c: 
576         * gtk/gtktreeprivate.h: Add a new boolean property 
577         ::hover-expand and make the treeview expand/collapse rows
578         on mouseover if it is set.
579
580         * gtk/gtkiconview.h: Remove some erroneous declarations.
581
582         * gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Don't
583         crash if the displayed row is gone.
584
585 2004-08-02  Morten Welinder  <terra@gnome.org>
586
587         * gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
588
589 Mon Aug  2 01:30:03 2004  Matthias Clasen  <maclas@gmx.de>
590
591         * gtk/gtktextview.[hc]: 
592         * gtk/gtkentry.[hc]: Add a new binding signal ::backspace,
593         bind it to the backspace key, and make it pay attention 
594         to the Pango backspace_deletes_character 
595         attribute.  (#119891, Noah Levitt, patch by Theppitak 
596         Karoonboonyanan)
597
598 Mon Aug  2 01:02:57 2004  Matthias Clasen  <maclas@gmx.de>
599
600         * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): 
601         (gdk_check_wm_desktop_changed): Add missing error 
602         traps.  (#149011, Thomas Leonard)
603
604 Mon Aug  2 00:21:26 2004  Matthias Clasen  <maclas@gmx.de>
605
606         * gtk/gtktextview.c (blink_cb): Add the same warning
607         that the blink_cb() in GtkEntry already has.  (#148733)
608
609 Mon Aug  2 00:12:16 2004  Matthias Clasen  <maclas@gmx.de>
610
611         * gtk/gtkentry.c (gtk_entry_class_init):
612         (gtk_entry_get_alignment): 
613         (gtk_entry_set_alignment): Document the xalign property
614         and its getter and setter as 2.4 additions.  (#148978,
615         Axel Simon)
616
617 Mon Aug  2 00:11:31 2004  Matthias Clasen  <maclas@gmx.de>
618
619         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): 
620         * gtk/gtkactiongroup.c (gtk_action_group_class_init): Use
621         canonical signal names in doc comments, since gtk-doc won't
622         pick up signal docs with underscores.  
623
624 2004-08-01  Matthias Clasen  <mclasen@redhat.com>
625         
626         * configure.in: Post-release version bump
627
628         * === Released 2.5.1 ===
629  
630 Thu Jul 29 16:36:42 2004  Jonathan Blandford  <jrb@redhat.com>
631
632         * gtk/gtktreeprivate.h: New arguments
633
634         * gtk/gtktreeview.c:
635         (gtk_tree_view_class_init): Add key_release callback
636         (gtk_tree_view_init): Initialize timeout handler
637         (gtk_tree_view_unrealize): clear timeout if needed
638         (gtk_tree_view_key_press): Typeahead support
639         (gtk_tree_view_key_release): Not used yet -- will be needed for
640         typeahead.
641         (gtk_tree_view_search_entry_flush_timeout): Remove typeahead entry
642         in a timeout.
643         (gtk_tree_view_ensure_interactive_directory):
644         (gtk_tree_view_real_start_interactive_search):
645         (gtk_tree_view_search_init):
646         (gtk_tree_view_start_interactive_search): Typeahead support added.
647         (gtk_tree_view_search_dialog_hide): Clear timeout and text when we
648         hide.
649
650 Sat Jul 31 23:17:44 2004  Matthias Clasen  <maclas@gmx.de>
651
652         * NEWS: Updates
653
654 Sat Jul 31 01:13:01 2004  Matthias Clasen  <maclas@gmx.de>
655
656         * gtk/gtkwindow.c: 
657         * gtk/gtkentry.c: 
658         * gtk/gtkaction.c: Use the canonical form of signal names 
659         after "notify::". Otherwise, no notification arrives. 
660         GObject should have a warning for that, really.  (#148879, 
661         Lorenzo Gil Sánchez)
662
663 Sat Jul 31 00:42:08 2004  Matthias Clasen  <maclas@gmx.de>
664
665         * gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_below): 
666         * gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_above): Don't
667         set both states at once.  (#148789, Matthew Garrett)
668
669 2004-07-30  Matthias Clasen  <mclasen@redhat.com>
670
671         * gtk/gtkcombobox.c: Don't forget to destroy the row separator
672         function user data when the combo box is destroyed.
673
674 2004-07-30  Matthias Clasen  <mclasen@redhat.com>
675
676         * gtk/gtkcombobox.h: 
677         * gtk/gtkcombobox.c: Change the api for separators to use a 
678         separator function instead of a boolean column.
679
680         * tests/testcombo.c: Update to match the api change.
681
682 Fri Jul 30 02:21:41 2004  Matthias Clasen  <maclas@gmx.de>
683
684         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
685         Fix the positioning of the popup. 
686
687 Fri Jul 30 00:56:31 2004  Matthias Clasen  <maclas@gmx.de>
688
689         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_active_changed): 
690         Implement this in terms of gtk_combo_box_get_active_iter(),
691         instead of gtk_combo_box_get_active().
692
693 2004-07-29  Federico Mena Quintero  <federico@ximian.com>
694
695         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add
696         a field for an "add to shortcuts" menu item.
697         (popup_menu_detach_cb): Clear out the field.
698         (file_list_build_popup_menu): Only build the menu here.
699         (file_list_update_popup_menu): Build the menu, then update the
700         sensitivity of its items.
701         (file_list_popup_menu): Use file_list_update_popup_menu().
702         (bookmarks_check_add_sensitivity): Also set the sensitivity of the
703         popup menu item.  Correctly handle the case for a *single* file.
704         Simplify a bit.
705         (bookmarks_add_selected_folder): New helper function; code moved
706         over from add_bookmark_button_clicked_cb().
707         (add_bookmark_button_clicked_cb): Use the function above.
708         (selection_check): Rather than returning a boolean value for
709         emptiness, actually return the number of selected rows.  Also,
710         simplify a bit.
711         (get_selected_path): New helper function.
712
713 2004-07-29  Anders Carlsson  <andersca@gnome.org>
714
715         * demos/gtk-demo/Makefile.am:
716         * demos/gtk-demo/clipboard.c: (copy_button_clicked),
717         (paste_received), (paste_button_clicked), (do_clipboard):
718         Add clipboard demo.
719         
720 2004-07-28  Federico Mena Quintero  <federico@ximian.com>
721
722         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
723         Store signal IDs in gulongs, not guints!
724         (gtk_file_chooser_default_hierarchy_changed): We now monitor the
725         focus widget on our toplevel to know which widget was last focused
726         at the time our "should_respond" method gets called.
727         (shortcuts_activate_selected): New helper function.
728         (shortcuts_get_selected): New helper function.
729         (remove_selected_bookmarks): Use shortcuts_get_selected().
730         (bookmarks_check_remove_sensitivity): Likewise.
731         (shortcuts_reorder): Likewise.
732         (shortcuts_activate_iter): Renamed from shortcuts_activate_item().
733         Activate by iter, not by item number.
734         (save_folder_combo_changed_cb): Use shortcuts_activate_iter().
735         (shortcuts_row_activated_cb): Likewise.
736         (gtk_file_chooser_default_should_respond): If the last focused
737         widget on the toplevel was the shortcuts list, activate the
738         selected shortcut.
739
740 2004-07-28  Matthias Clasen  <mclasen@redhat.com>
741
742         * gdk/linux-fb/gdkprivate-fb.h: Make the fb backend compile against
743         current freetype.  (#148558, Nicolas Deves)
744
745         * gtk/gtktreeview.c: Replace the EXPANDER_MAX macro by 
746         ROW_HEIGHT.  (#145528)
747
748         * gtk/gtkuimanager.c: Warning fixes.
749
750         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Fix
751         prototype mismatch.  (#148589, Nicolas Deves)
752
753 2004-07-28  Anders Carlsson  <andersca@gnome.org>
754
755         * gdk/x11/gdkdrawable-x11.c (gdk_draw_rectangle_alpha_libgtk_only): 
756         Cast to 32-bit integers when premultiplying, suggested by Keith Packard.
757
758 2004-07-27  Anders Carlsson  <andersca@gnome.org>
759
760         * demos/gtk-demo/iconview.c: (do_iconview):
761         Change selection mode to multiple.
762         
763         * gdk/gdkdrawable.h:
764         * gdk/linux-fb/gdkdrawable-fb2.c:
765         (gdk_draw_rectangle_alpha_libgtk_only):
766         * gdk/win32/gdkdrawable-win32.c:
767         (gdk_draw_rectangle_alpha_libgtk_only):
768         * gdk/x11/gdkdrawable-x11.c: (gdk_x11_draw_image),
769         (get_impl_drawable), (gdk_x11_draw_pixbuf),
770         (gdk_draw_rectangle_alpha_libgtk_only):
771         Add gdk_draw_rectangle_alpha_libgtk_only which uses 
772         XRenderFillRectangle on X11. It's stubbed out on the 
773         Win32 and fb backends.
774         
775         * gtk/gtkiconview.c: 
776         (gtk_icon_view_paint_rubberband):
777         Use gdk_draw_rectangle_alpha_libgtk_only here.
778
779 2004-07-27  Anders Carlsson  <andersca@gnome.org>
780
781         * gtk/gtkaboutdialog.c: (gtk_about_dialog_init),
782         (text_view_style_set), (add_credits_page),
783         (display_credits_dialog), (display_license_dialog):
784         Remove dialog separators, fix text view background setting,
785         use Close buttons instead of OK buttons.
786         
787 2004-07-27  Matthias Clasen  <mclasen@redhat.com>
788
789         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory): 
790         Add a frame around the C-f popup to stop it from merging visually
791         in whatever is underneath.
792
793         * gtk/gtkcombobox.h: 
794         * gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): New 
795         function necessary to make GtkComboBox accessible.  (#132847, 
796         Padraig O'Briain)
797
798 Tue Jul 27 02:34:06 2004  Matthias Clasen  <maclas@gmx.de>
799
800         * gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
801         windows when disposing them.  (#133231, Michael Natterer)
802
803 2004-07-26  Matthias Clasen  <mclasen@redhat.com>
804
805         * gtk/gtklabel.c (gtk_label_class_init): Expand the documentation
806         for GtkLabel::ellipsize.
807
808 Mon Jul 26 00:38:27 2004  Matthias Clasen  <maclas@gmx.de>
809
810         Make the GtkComboBox in list mode scroll if the list is too
811         large to fit in the popup.  (#135543)
812
813         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add a 
814 o       scrolled window to the popup in list mode.
815         (gtk_combo_box_list_position): Calculate the height of the
816         popup so that it fits on the screen, set the scrollbar policy
817         of the scrolled window appropriately.
818         (gtk_combo_box_popup): Use the height calculated by 
819         gtk_combo_box_list_position().
820         (gtk_combo_box_remeasure): Don't add unnecessary padding.
821         (gtk_combo_box_size_request): But add the focus with here.
822         (gtk_combo_box_list_setup): Connect to enter notify on the 
823         popup window to activate auto scrolling.
824         (gtk_combo_box_list_enter_notify): Activate auto scrolling.
825         (gtk_combo_box_list_button_pressed): Setup a timeout for
826         auto scrolling. 
827         (gtk_combo_box_list_scroll_timeout): Timeout function for
828         auto scrolling.
829         (gtk_combo_box_list_auto_scroll): Scroll the list when the 
830         pointer leaves the window.
831         
832 Sun Jul 25 19:51:17 2004  Matthias Clasen  <maclas@gmx.de>
833
834         * gtk/gtknotebook.c (gtk_notebook_scroll): Ignore scroll
835         events from the content of the page.  (#148409, Gabriel 
836         de Perthuis)
837
838 Sat Jul 24 21:38:12 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
839
840         * gtk/gtktoolbar.c (internal_insert_element): Warn if you try to
841         add a tool item to a toolbar using the deprecated API.
842
843 Fri Jul 23 13:04:10 2004  Matthias Clasen  <maclas@gmx.de>
844
845         * gtk/gtkdnd.c (gtk_drag_dest_set): Revert the change to
846         initialize target_list to an empty list instead of NULL,
847         since it broke tree dnd.  (#148215, Ernst Persson)
848
849         * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets): 
850         * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): Instead 
851         handle target list being NULL here.
852
853 2004-07-23  Dafydd Harries  <daf@muse.19inch.net>
854
855         * gtk/gtkradioaction.c:
856         * gtk/gtkradiobutton.c:
857         * gtk/gtkentry.c:
858         * gtk/gtkmisc.c:
859         Improve various translatable messages. (#137616)
860
861 Fri Jul 23 11:11:10 2004  Matthias Clasen  <maclas@gmx.de>
862
863         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing): 
864         Align the entry in the same way as the cell.  (#136749)
865
866 Fri Jul 23 11:01:00 2004  Matthias Clasen  <maclas@gmx.de>
867
868         * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): 
869         Don't iterate too far up. (#147965, Olivier Sessink)
870
871 Fri Jul 23 10:28:43 2004  Matthias Clasen  <maclas@gmx.de>
872
873         * gtk/gtktreeview.c (gtk_tree_view_finalize): 
874         * gtk/gtkradioaction.c (gtk_radio_action_finalize): 
875         * gtk/gtkfontsel.c (gtk_font_selection_finalize): 
876         * gtk/gtkcellview.c (gtk_cell_view_finalize): 
877         * gtk/gtkcalendar.c (gtk_calendar_finalize): 
878         * gtk/gtkactiongroup.c (gtk_action_group_finalize): Remove
879         unnecessary checks.  (#148175, Morten Welinder)
880
881 Thu Jul 22 01:42:16 2004  Matthias Clasen  <maclas@gmx.de>
882
883         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
884         Add a new :ellipsize property which controls ellipsization of the 
885         rendered text.  (#144835, Vincent Untz, patch by Jonathan Blandford
886         and Anders Carlsson)
887         
888         * gtk/gtkfilechooserdefault.c (create_file_list): Use ellipsization
889         for the name column.
890
891 Thu Jul 22 01:21:28 2004  Matthias Clasen  <maclas@gmx.de>
892
893         * gtk/gtkfontsel.c (gtk_font_selection_init): Add additional
894         accessability relations.  (#141804,  Padraig O'Briain)
895
896 Thu Jul 22 01:16:23 2004  Matthias Clasen  <maclas@gmx.de>
897
898         * gtk/gtkcombobox.c: Avoid some warnings.
899
900 Thu Jul 22 01:05:16 2004  Matthias Clasen  <maclas@gmx.de>
901
902         * configure.in: Require Pango 1.5.1 (for ellipsisation).
903
904         * gtk/gtklabel.h: 
905         * gtk/gtklabel.c (gtk_label_class_init): Add a new :ellipsize
906         property which controls ellipsization of the label.  (#125250, 
907         Tim Van Wassenhove, patch by James M. Cape)
908
909         * tests/testellipsise.c: Simple test for ellipsizsation.
910
911 Wed Jul 21 22:46:27 2004  Matthias Clasen  <maclas@gmx.de>
912
913         * gtk/gtkcombobox.c (gtk_combo_box_new_text): Don't leak the
914         list store.  (#148134, Crispin Flowerday)
915
916 Wed Jul 21 22:35:47 2004  Matthias Clasen  <maclas@gmx.de>
917
918         * gtk/gtkcombobox.c (gtk_combo_box_destroy): Don't leak the
919         menu.  (#148110, Tommi Komulainen)
920
921 Wed Jul 21 22:24:10 2004  Matthias Clasen  <maclas@gmx.de>
922
923         * gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
924         tree model and tree row reference.  (#148125, Crispin Flowerday)
925
926 Wed Jul 21 22:17:06 2004  Matthias Clasen  <maclas@gmx.de>
927
928         * tests/testcombo.c (main): Don't leak models.  (#148128,
929         Tommi Komulainen)
930
931 Wed Jul 21 21:26:08 2004  Matthias Clasen  <maclas@gmx.de>
932
933         * gtk/gtkviewport.c (viewport_set_adjustment): Don't leak
934         the adjustments.  (#148089, Tommi Komulainen)
935
936 Wed Jul 21 21:20:21 2004  Matthias Clasen  <maclas@gmx.de>
937
938         * gtk/gtktreeview.c (gtk_tree_view_destroy): Don't leak
939         the adjustments.  (#148073, Tommi Komulainen)
940
941 Wed Jul 21 21:04:50 2004  Matthias Clasen  <maclas@gmx.de>
942
943         * gtk/gtktoolbar.c (gtk_toolbar_finalize): Don't leak the 
944         arrow.  (#148064, Tommi Komulainen)
945
946 2004-07-21  Matthias Clasen  <mclasen@redhat.com>
947
948         * gtk/gtkcalendar.c: Use the new text target functionality
949         in GtkTargetList instead of hardcoding a subset of text targets.
950
951 Tue Jul 20 23:11:23 2004  Matthias Clasen  <maclas@gmx.de>
952
953         * gdk/x11/gdkevents-x11.c: Hook up gtk-menu-bar-accel to
954         an XSetting, Gtk/MenuBarAccel.  (#120859, Scott James Remnant)
955
956 Tue Jul 20 22:26:29 2004  Matthias Clasen  <maclas@gmx.de>
957
958         * gtk/gtkfilechooserutils.h: 
959         * gtk/gtktoolbutton.c: 
960         * gtk/gtktoolbar.c: 
961         * gtk/gtkicontheme.c: 
962         * gtk/gtkcalendar.c: 
963         * demos/gtk-demo/ui_manager.c: 
964         * demos/gtk-demo/appwindow.c: Remove trailing commas
965         from enumerations.  (#148035)
966
967 2004-07-20  Federico Mena Quintero  <federico@ximian.com>
968
969         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Fix the
970         documentation comment for the editing-started signal.
971
972         * gtk/gtkmarshalers.list: Added VOID:OBJECT,STRING for
973         GtkCellRenderer::editing-started.
974
975 2004-07-20  Matthias Clasen  <mclasen@redhat.com>
976
977         * tests/testactions.c (main): 
978         * tests/testmerge.c (main): Add some refcount debugging.
979
980         * gtk/gtkuimanager.c (update_node, free_node): Ref an sink
981         all proxies, so that we can properly clean up floating proxies
982         which the app didn't adopt.  (#147926, Tommi Komulainen)
983
984 2004-07-20  Matthias Clasen  <mclasen@redhat.com>
985
986         Allow custom initialization of cell editables.  (#147221)
987         
988         * gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): 
989         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Add a 
990         ::editing-started signal as a hook for setting up the 
991         GtkCellEditable.
992         (gtk_cell_renderer_start_editing): ...and emit it here.
993
994 Mon Jul 19 23:51:50 2004  Matthias Clasen  <maclas@gmx.de>
995
996         * gtk/gtktreeview.c (gtk_tree_view_button_press): Set drag_pos
997         before grabbing the focus, since we may reenter into 
998         gtk_tree_view_motion_resize_column() which requires drag_pos
999         to be set.  (#147913, Guilherme Salgado, patch by John Finlay) 
1000
1001 Mon Jul 19 23:51:50 2004  Matthias Clasen  <maclas@gmx.de>
1002
1003         * gtk/gtktreeview.c (gtk_tree_view_enter_notify): Don't
1004         use uninitialized node pointer.  (#147911, Peter Zelezny)
1005
1006 Tue Jul 20 04:34:56 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1007
1008         * configure.in: Bump version number
1009
1010 Sun Jul 18 17:21:10 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1011
1012         * === Released 2.5.0 ===
1013
1014         * NEWS: updates
1015
1016         * tests/testcombo.c: Fix compilation
1017
1018 2004-07-19  Matthias Clasen  <mclasen@redhat.com>
1019
1020         * gtk/gtkentrycompletion.c (gtk_entry_completion_set_popup_completion):
1021         Fix doc comment.
1022         
1023 2004-07-19  Matthias Clasen  <mclasen@redhat.com>
1024
1025         Make GtkCellView public, since people seem to have uses for it, 
1026         it is clean API and we were just conservative in not making it 
1027         public initially. At the same time, get rid of GtkCellViewMenuItem,
1028         which doesn't have any function which can't be served by a
1029         GtkMenuItem with a GtkCellView child.  (#136637, Padraig O'Briain)
1030
1031         * gtk/gtk.h: Include gtkcellview.h
1032
1033         * gtk/Makefile.am (gtk_public_h_sources): 
1034
1035         * gtk/Makefile.am (gtk_private_h_sources): 
1036         (gtk_c_sources): Remove gtkcellviewmenuitem.[hc]
1037         * gtk/gtkcombobox.c: Replace all uses of GtkCellViewMenuItem by
1038         GtkMenuItem with a GtkCellView child.
1039
1040         * gtk/gtkcellviewmenuitem.[hc]: Removed.
1041
1042 2004-07-19  Matthias Clasen  <mclasen@redhat.com>
1043
1044         Support inline autocompletion in entries  (#135953)
1045         
1046         * gtk/gtkentryprivate.h: 
1047         * gtk/gtkentrycompletion.h: 
1048         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
1049         Add a new signal ::insert-prefix which can be used to override 
1050         the default inline-completion behaviour. Add two new boolean
1051         properties, :popup_completion and :inline_completion which
1052         determine how the possible completions should be presented.
1053         (gtk_entry_completion_insert_prefix): New function to request
1054         a prefix insertion. 
1055
1056         * gtk/gtkentry.c: Add the necessary glue for inline completion. 
1057
1058 Sun Jul 18 15:28:24 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1059
1060         * gtk/gtkdnd.c (gtk_drag_source_set, gtk_drag_dest_set): Create an
1061         empty target list if targets is NULL.
1062
1063         * configure.in: Add check for X11/extensions/sync.h. (#147416,
1064         Morten Welinder)
1065
1066 Sun Jul 18 01:24:31 2004  Matthias Clasen  <maclas@gmx.de>
1067
1068         * NEWS: Updates for 2.5.0
1069
1070 Sat Jul 17 23:11:04 2004  Matthias Clasen  <maclas@gmx.de>
1071
1072         * gtk/gtkiconview.h:
1073         * gtk/gtkiconview.c (gtk_icon_view_class_init): 
1074         * gtk/gtkiconview.c (gtk_icon_view_set_orientation): 
1075         * gtk/gtkiconview.c (gtk_icon_view_get_orientation): 
1076         * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): 
1077         * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): 
1078         Add a new :orientation property to determine whether text
1079         is positioned below or beside icons.  (#147463)
1080
1081 Sat Jul 17 23:03:30 2004  Matthias Clasen  <maclas@gmx.de>
1082
1083         * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
1084         * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): 
1085         * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): Draw 
1086         focus indicator outside the selection, respect focus 
1087         line width.  (#147460) 
1088
1089 Sat Jul 17 01:17:33 2004  Matthias Clasen  <maclas@gmx.de>
1090
1091         * gdk/x11/gdkdnd-x11.c (xdnd_check_dest): Fix a warning
1092         message.
1093
1094 Sat Jul 17 00:48:27 2004  Matthias Clasen  <maclas@gmx.de>
1095
1096         Support text/plain selection target  (#55117, Owen Taylor)
1097         
1098         * gtk/gtkselection.h: 
1099         * gtk/gtkdnd.h: 
1100         * gtk/gtkselection.c (gtk_target_list_add_text_targets): 
1101         * gtk/gtkdnd.c (gtk_drag_dest_add_text_targets): 
1102         * gtk/gtkdnd.c (gtk_drag_source_add_text_targets): New
1103         functions to facilitate handling of text targets.
1104
1105         * gtk/gtkentry.c: 
1106         * gtk/gtktextview.c: Use the new text target handling 
1107         functions instead of hardwiring the list of supported
1108         text targets everywhere.
1109
1110         * gtk/gtkselection.c (gtk_selection_data_get_text): 
1111         (gtk_selection_data_set_text): 
1112         Support the targets text/plain, text/plain?charset=utf-8
1113         and text/plain?charset=<LOCALE-CHARSET> as outlined in
1114         #55117: 
1115         For text/plain send only ASCII, but accept 8-bit text 
1116         and treat it as ISO-8859-1 as specified by the Xdnd spec.
1117         Always send CRLF terminators. Accept either and convert
1118         into the native terminator for the platform.
1119         
1120 Fri Jul 16 23:20:34 2004  Matthias Clasen  <maclas@gmx.de>
1121
1122         Support themed window icons.  (#92346, Calum Benson)
1123         
1124         * gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): New 
1125         function to obtain information about the sizes in which an
1126         icon is available.  
1127
1128         * gtk/gtkwindow.h: 
1129         * gtk/gtkwindow.c (gtk_window_class_init): 
1130         (gtk_window_set_icon_name): 
1131         (gtk_window_get_icon_name): Add an "icon_name" property
1132         (gtk_window_set_default_icon_name): ...and a default icon name. 
1133         (icon_list_from_theme): 
1134         (update_themed_icon): New auxiliary functions to create a 
1135         list of all available sizes of a themed icon and update the
1136         window icon list from it.
1137
1138 2004-07-16  Matthias Clasen  <mclasen@redhat.com>
1139
1140         * gtk/gtkcombobox.c (gtk_combo_box_scroll_event): Make 
1141         scrolling work if no item is selected.
1142         (gtk_cell_editable_key_press): Don't eat space.
1143
1144         Add a combo box cell renderer (#139347, Lorenzo Gil Sanchez)
1145         
1146         * gtk/gtkcellrenderercombo.[hc]: New Files.
1147
1148         * gtk/gtk.h: 
1149         * gtk/Makefile.am (gtk_public_h_sources, gtk_c_sources): 
1150         Add the new files.
1151
1152         * gtk/gtkcombobox.[hc]: Implement GtkCellEditable, add a 
1153         :has-frame property for suppressing the frame around 
1154         the child and redo the size allocation logic to take 
1155         focus width into account.
1156
1157         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): 
1158         Acknowledge the GtkComboBox:has-frame property and make
1159         the entry fill its allocation vertically.
1160
1161         * gtk/gtkmarshalers.list: Add BOOLEAN:STRING.
1162                 
1163         * gtk/gtktreeview.c (gtk_tree_view_remove_widget): Queue
1164         a draw here to keep non-widget windows from leaving 
1165         shadows behind.
1166
1167 2004-07-16  Matthias Clasen  <mclasen@redhat.com>
1168
1169         * gtk/gtkcombobox.c (gtk_combo_box_forall): Don't iterate
1170         multiple times over some of the children. 
1171
1172 Thu Jul 15 22:19:40 2004  Matthias Clasen  <maclas@gmx.de>
1173
1174         Fix #60128, #58307, #144706:
1175         
1176         * gtk/gtkstyle.c (gtk_style_real_copy): Handle references
1177         to bg_pixmaps properly.
1178         (gtk_style_real_unrealize): Don't keep dangling references
1179         to the bg_pixmaps.  
1180         (gtk_style_attach): Split the loop into two loops, first 
1181         looking for a matching style, then for an empty one.
1182         (gtk_style_finalize): 
1183         (gtk_style_duplicate): Add comments explaining the handling
1184         of style->styles.
1185
1186 Thu Jul 15 20:31:28 2004  Matthias Clasen  <maclas@gmx.de>
1187
1188         * gtk/gtkspinbutton.c (start_spinning): Install the timeout
1189         before changing the value, so that a ::value_changed handler
1190         has a chance to remove it.  (#122427, Elke Meier)
1191
1192 Thu Jul 15 19:20:05 2004  Matthias Clasen  <maclas@gmx.de>
1193
1194         * gdk/x11/gdkgtk+/im-x11.c (_gdk_x11_initialize_locale): 
1195         * gtk/gtkcalendar.c (gtk_calendar_class_init): Use 'cannot'
1196         instead of 'can not' in messages.  (#144226, Morten Welinder)
1197
1198 2004-07-15  Matthias Clasen  <mclasen@redhat.com>
1199
1200         * gtk/gtktreeview.c (gtk_tree_view_class_init): 
1201         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 
1202         Correct the declared default values of several properties
1203         to be in sync with the actual initial values.
1204
1205         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): 
1206         Make spacing a property, correct the declared default values 
1207         of several properties to be in sync with the actual initial 
1208         values.  (#147654, Matthias Clasen)
1209
1210         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Don't reparent
1211         back to menu->toplevel if it is already gone because we're
1212         shutting down.  (#147656, John Cupitt)
1213
1214 2004-07-14  Federico Mena Quintero  <federico@ximian.com>
1215
1216         Fix #126295:
1217
1218         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw a focus
1219         indicator along the edge of the bin_window when the tree is empty.
1220         (grab_focus_and_unset_draw_keyfocus): New helper function.
1221         (gtk_tree_view_button_press): Remove a bit of superfluous code.
1222         Use the helper function to save on duplicated code.
1223         (gtk_tree_view_button_press): Grab the focus if the tree is empty.
1224         (gtk_tree_view_focus): Allow focusing into an empty tree.
1225
1226 2004-07-14  Matthias Clasen  <mclasen@redhat.com>
1227
1228         * gtk/gtkaboutdialog.c (add_credits_page): Don't use
1229         gcc extensions for the ternary ?: operator.  (#147590,
1230         Damien Carbery)
1231
1232 2004-07-14  Federico Mena Quintero  <federico@ximian.com>
1233
1234         Fix #144405, patch by Padraig O'Briain <padraig.obriain@sun.com>:
1235
1236         * gtk/gtkfilechooserdefault.c (shortcuts_list_create): Set the
1237         accessible object name for the tree view.
1238         (create_file_list): Likewise.
1239
1240 Tue Jul 13 21:53:08 2004  Matthias Clasen  <maclas@gmx.de>
1241
1242         * gtk/gtkicontheme.c (free_unthemed_icon): Don't leak
1243         no_svg_filename.  (#147399, Kjartan Maraas)
1244
1245 2004-07-13  Matthias Clasen  <mclasen@redhat.com>
1246
1247         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes): 
1248         Make this work in RTL context.
1249
1250 2004-07-13  Federico Mena Quintero  <federico@ximian.com>
1251
1252         * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Set a
1253         busy cursor while mounting the volume.  Also, ref the chooser
1254         while mounting, as we may re-enter.  Fixes #139376.
1255
1256 2004-07-13  Matthias Clasen  <mclasen@redhat.com>
1257
1258         * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): 
1259         Prepare to handle composite implementations of
1260         GtkCellEditable, but recursively poking at
1261         allocation->y (hack stolen from GtkCList).
1262         (check_expander_max): Tweak the warning.
1263
1264         * gtk/gtkmain.h: Add gtk_parse_args(), its a public 
1265         function.  (#147476, Owen Taylor)
1266
1267         * gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't
1268         crash if unrealized.
1269
1270 Tue Jul 13 01:50:06 2004  Matthias Clasen  <maclas@gmx.de>
1271
1272         * gtk/gtkaboutdialog.c (display_credits_dialog): Don't
1273         display untranslated translator credits. 
1274
1275 Tue Jul 13 01:15:05 2004  Matthias Clasen  <maclas@gmx.de>
1276
1277         * gtk/gtkiconview.c: Some documentation updates.
1278
1279 Tue Jul 13 00:40:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1280
1281         * gdk/gdkwindow.c (gdk_window_process_updates_internal): Do an
1282         empty begin_paint_region()/end_paint() for windows without
1283         EXPOSURE_MASK.
1284
1285         * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_unset_bg,
1286         _gdk_x11_window_tmp_reset_bg): Remove checks for EXPOSURE_MASK.
1287
1288 2004-07-12  Matthias Clasen  <mclasen@redhat.com>
1289
1290         * demos/gtk-demo/appwindow.c: Use a GtkAboutDialog.
1291
1292         * gtk/gtkaboutdialog.h: 
1293         * gtk/gtkaboutdialog.c: New widget: GtkAboutDialog.
1294
1295         * gtk/Makefile.am (gtk_public_h_sources, gtk_c_sources): 
1296         * gtk/gtk.h: Add GtkAboutDialog. (#109435, Paolo Borelli,
1297         patch by Matthias Clasen)
1298
1299         * gtk/gtkrc.c (_gtk_rc_init): Apply the gtk-default-menu-item-style 
1300         to cell view menu items as well.  (#147405, John Cupitt)
1301
1302         * gtk/gtkentrycompletion.c: Warning fixes.  (#147420,
1303         Morten Welinder)
1304
1305         * gtk/gtkcombobox.c (gtk_combo_box_destroy): Pop down 
1306         first. (#147399, John Cupitt)
1307
1308 Mon Jul 12 01:56:26 2004  Matthias Clasen  <maclas@gmx.de>
1309
1310         * gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents): 
1311         Include the update_counter check in the HAVE_XSYNC condition,
1312         since update_counter isn't present in the !HAVE_XSYNC case.
1313
1314 Mon Jul 12 00:52:04 2004  Matthias Clasen  <maclas@gmx.de>
1315
1316         * gtk/stock-icons/Makefile.am: 
1317         * gtk/stock-icons/stock_about_{16,24}.png: 
1318         * gtk/stock-icons/stock_connect_{16,24}.png: 
1319         * gtk/stock-icons/stock_disconnect_{16,24}.png: 
1320         * gtk/stock-icons/stock_edit_{16,24}.png: 
1321         * gtk/stock-icons/stock_media_forward_{16,24}.png: 
1322         * gtk/stock-icons/stock_media_next_{16,24}.png: 
1323         * gtk/stock-icons/stock_media_pause_{16,24}.png: 
1324         * gtk/stock-icons/stock_media_play_{16,24}.png: 
1325         * gtk/stock-icons/stock_media_previous_{16,24}.png: 
1326         * gtk/stock-icons/stock_media_record_{16,24}.png: 
1327         * gtk/stock-icons/stock_media_rewind_{16,24}.png: 
1328         * gtk/stock-icons/stock_media_stop_{16,24}.png: 
1329         * gtk/gtkstock.h (GTK_STOCK_ABOUT): 
1330         * gtk/gtkstock.h (GTK_STOCK_CONNECT): 
1331         * gtk/gtkstock.h (GTK_STOCK_DISCONNECT): 
1332         * gtk/gtkstock.h (GTK_STOCK_EDIT): 
1333         * gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD): 
1334         * gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT): 
1335         * gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE): 
1336         * gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY): 
1337         * gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS): 
1338         * gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD): 
1339         * gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND): 
1340         * gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP): 
1341         * gtk/gtkiconfactory.c (get_default_icons): 
1342         * gtk/gtkstock.c (builtin_items): Add a number of new stock 
1343         items.  (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
1344         Michael Opdenacker)
1345
1346 Sun Jul 11 15:24:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1347
1348         Bug 143330, support update counter spec.
1349         
1350         * configure.in: Add check for the Sync extension
1351
1352         * gdk/gdkwindow.h: gdk_window_enable_synchronized_configure() and
1353         gdk_window_configure_finished()
1354
1355         * gtk/gtkwindow.c (gtk_window_move_resize): Call gdk_window_finish_configure().
1356         * gtk/gtkwindow.c (gtk_window_realize): Automatically enable
1357         synchronized configures.
1358
1359         * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store current
1360         and pending counter values. 
1361
1362         * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): New function.
1363         * gdk/x11/gdkwindow-x11.c
1364         (gdk_window_enable_synchronized_configure): New function.
1365         * gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
1366         Delete update counter.
1367         * gdk/x11/gdkwindow-x11.c (set_wm_protocols): Advertise
1368         _NET_WM_SYNC_REQUEST when Sync is available
1369
1370         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Handle
1371         _NET_WM_SYNC_REQUEST messages
1372         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Save counter
1373         value for use by gdk_window_configure_finished() when receiving
1374         ConfigureNotifies.
1375
1376         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add use_sync flag
1377         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Check if the XSync
1378         extension is available
1379         * gdk/x11/gdkdisplay-x11.c: Add _NET_WM_SYNC_REQUEST and
1380         _NET_WM_SYNC_REQUEST_COUNTER to list of supported atoms.
1381
1382         * gdk/linux-fb/gdkwindow-fb.c, gdk/win32/gdkwindow-win32.c: Add
1383         stubs for enable_synchronized_configure() and configure_finished()
1384
1385 Sat Jul 10 23:35:13 2004  Matthias Clasen  <maclas@gmx.de>
1386
1387         * gtk/gtkentry.c (paste_received): Make middle-button pasting
1388         work as expected inside the entry.  (#116789, Scott Bronson)
1389
1390 Sat Jul 10 22:13:53 2004  Matthias Clasen  <maclas@gmx.de>
1391
1392         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): Update 
1393         clipboards.  (#142805, Mikael Hallendal)
1394
1395 Sun Jul 11 01:38:48 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1396
1397         * gtk/gtkpaned.c (gtk_paned_expose): Remove clip-region computing
1398         code. Just use &paned->handle_pos.
1399
1400 Sun Jul 11 01:12:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1401
1402         Bug 144271
1403         
1404         * gtk/gtknotebook.c (gtk_notebook_size_allocate): Remove an
1405         unnecessary redraw..
1406
1407         * gtk/gtknotebook.c (gtk_notebook_page_allocate): Remove some
1408         incorrect redraws.
1409
1410 Sat Jul 10 01:33:25 2004  Matthias Clasen  <maclas@gmx.de>
1411
1412         * docs/RELEASE-HOWTO: Updates.
1413
1414 Sat Jul 10 01:55:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1415
1416         * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{re|un}set_bg):
1417         Insert checks for root window. The root window is never mapped.
1418
1419 Sat Jul 10 01:06:05 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1420
1421         * gdk/x11/gdkwindow-x11.c (post_unmap): Fix a warning
1422         * gdk/x11/gdkwindow-x11.c (show_window_internal): Actually unset
1423         bg.
1424
1425 Sat Jul 10 00:37:45 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1426
1427         Bug 113310.
1428         
1429         * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{un|re}set_bg):
1430         New functions that can do a recursive unset/reset bg.
1431
1432         * gdk/x11/gdkgeometry-x11.c: Remove
1433         gdk_window_tmp_{un|re}set_bg().
1434
1435         * gdk/x11/gdkwindow-x11.c (pre_unmap, post_unmap): New functions
1436         called before and after unmapping a window. They unset the
1437         background of all other windows to prevent flicker from the X
1438         server repainting the background. post_unmap() also invalidates
1439         the parent of the unmapped window to draw it without roundtrips.
1440
1441         * gdk/x11/gdkwindow-x11.c (show_window_internal): Unset
1442         background of newly mapped windows and all desendants to prevent
1443         flicker.
1444         
1445 Fri Jul  9 15:33:55 2004  Manish Singh  <yosh@gimp.org>
1446
1447         * gdk/gdkevents.c: have a dummy case GDK_OWNER_CHANGE in switch
1448         statements to avoid gcc warnings about not all enum values handled.
1449
1450         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): ignore should live in 
1451         #ifdef HAVE_XFIXES.
1452
1453 Fri Jul  9 23:26:09 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1454
1455         (Bug 113340)
1456
1457         * gdk/x11/gdkwindow-x11.h (struct _GdkWindowImplX11): Add an
1458         "override_redirect" bit.
1459
1460         * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set it here.
1461         
1462         * gdk/x11/gdkwindow-x11.c (gdk_window_move, gdk_window_resize,
1463         gdk_window_move_resize): 
1464         Update the local size/position cache
1465         immediately for override redirect windows.
1466
1467         * gdk/x11/gdkwindow-x11.c (show_window_internal): Invalidate
1468         newly mapped child and override redirect windows.
1469
1470 2004-07-09  Federico Mena Quintero  <federico@ximian.com>
1471
1472         Fixes #137031:
1473
1474         * gtk/gtkfilesystemunix.c (get_fallback_icon): New helper
1475         function, fetches a stock icon as a fallback.
1476         (gtk_file_system_unix_volume_render_icon): Fall back to a stock
1477         icon.
1478         (gtk_file_system_unix_render_icon): Fall back to a stock icon.
1479         Use helper functions rather than being a mega-function.
1480         (get_icon_name_for_directory): Renamed from
1481         get_icon_for_directory().
1482         (get_icon_type_from_path): New helper function; code pulled out
1483         from gtk_file_system_unix_render_icon().
1484         (get_special_icon): Likewise.
1485         (get_icon_for_mime_type): Likewise.
1486
1487 2004-07-09  Federico Mena Quintero  <federico@ximian.com>
1488
1489         * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Fix typo; tmp_event ->
1490         temp_event.
1491
1492 2004-07-09  Matthias Clasen  <mclasen@redhat.com>
1493
1494         * gtk/gtktooltips.c (gtk_tooltips_paint_window): Use the 
1495         requisition of the widget instead of relying on the style
1496         drawing function to supply the size of the drawable.  (#146531) 
1497
1498 2004-07-09  Matthias Clasen  <mclasen@redhat.com>
1499
1500         Make GtkEntry work harder to protect passwords:  (#143955,
1501         Morten Welinder)
1502         
1503         * gtk/gtkentry.c (gtk_entry_destroy): Add a destroy handler
1504         to clear the password even if the widget is leaked.
1505
1506         * gtk/gtkentry.c (gtk_entry_real_delete_text): 
1507         * gtk/gtkentry.c (gtk_entry_finalize): Zero out the memory
1508         before freeing it.
1509         
1510         * gtk/gtkentry.c (gtk_entry_real_insert_text): Zero and free
1511         the old memory instead of just reallocating it.
1512
1513         * gtk/gtkentry.c (gtk_entry_create_layout): Don't leak text
1514         direction information for passwords.
1515
1516 2004-07-09  Matthias Clasen  <mclasen@redhat.com>
1517
1518         * gtk/gtkstyle.c: Fix some cases where style functions were 
1519         not handling widget == NULL properly.  (#146282)
1520
1521 Thu Jul  8 22:38:58 2004  Matthias Clasen  <maclas@gmx.de>
1522
1523         * gtk/gtktreeview.c: Improve the EXPANDER_MAX warning.
1524
1525 2004-07-08  Federico Mena Quintero  <federico@ximian.com>
1526
1527         Fix #139290:
1528
1529         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_new): Add a
1530         GError argument.  Do check for errors when getting the
1531         GtkFileFolder:  get the folder and read the children before
1532         actually creating the model.  Removed obsolete code that handled
1533         roots-changed on the file system.
1534         (file_model_node_get_info): Assert that we don't reach the old
1535         case to display file system roots.
1536         (roots_changed_callback): Removed.
1537
1538         * gtk/gtkfilechooserdefault.c (set_list_model): Add a GError
1539         argument, and a boolean return value.  Return an error if we
1540         cannot create the file system model.  On error, set a NULL model
1541         on the tree.
1542         (gtk_file_chooser_default_set_current_folder): Use the error value
1543         from set_list_model().
1544         (gtk_file_chooser_default_set_property): Set the show_hidden
1545         property only if the browse_files_model exists.
1546         (gtk_file_chooser_default_unselect_path): Only operate if the
1547         browse_files_model exists.
1548         (check_preview_change): Check whether we have the sort_model.
1549         (change_folder_and_display_error): Copy the path we get passed
1550         before using it.  There's a comment in there that explains why we
1551         need to copy it; basically, if the passed path belongs to the
1552         model, the model may go away in the middle of this function and
1553         we'll be left with a dangling pointer.
1554         (install_list_model_filter): Assert that the model is not NULL.
1555         (set_current_filter): Check whether the model exists.
1556
1557         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected): Don't
1558         g_return_if_fail if the model is NULL.
1559         (gtk_tree_selection_get_selected_rows): Likewise.
1560         (gtk_tree_selection_count_selected_rows): Likewise.
1561         (gtk_tree_selection_selected_foreach): Likewise.
1562         (gtk_tree_selection_path_is_selected): Likewise; rather just
1563         return FALSE.
1564         (gtk_tree_selection_select_all): Likewise.
1565         (gtk_tree_selection_unselect_all): Likewise.
1566         (gtk_tree_selection_select_range): Do g_return_if_fail() if the
1567         model is NULL.
1568         (gtk_tree_selection_unselect_range): Likewise.
1569
1570         * gtk/gtkfilesystemunix.c (fill_in_names): Return immediately if
1571         g_dir_open() fails:  there is no need to set the error ourselves,
1572         as g_dir_open() already does it.
1573
1574 2004-07-08  Matthias Clasen  <mclasen@redhat.com>
1575
1576         * gtk/gtktreeview.c (gtk_tree_view_set_search_equal_func): Allow
1577         to restore the default search function.  (#145365, John Finlay) 
1578
1579         * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Don't leak 
1580         references to the drag context.  (#144324, Alex Larsson)
1581
1582 Thu Jul  8 00:31:34 2004  Matthias Clasen  <maclas@gmx.de>
1583
1584         * gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
1585         when a new model is set.  (#145566, Dmitry M. Shatrov)
1586
1587 Wed Jul  7 23:44:32 2004  Matthias Clasen  <maclas@gmx.de>
1588
1589         * gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
1590         are properly aligned for gdk_pixbuf_saturate_and_pixelate(),
1591         in order to avoid rendering artifacts from misaligned 
1592         pixelation patterns.  (#145585, Felipe Heidrich, Billy Biggs)
1593
1594 2004-07-07  Matthias Clasen  <mclasen@redhat.com>
1595
1596         * gtk/gtktreeview.c: 
1597         * gtk/gtktreeview.h: Small documentation fixes.
1598
1599 2004-07-07  Matthias Clasen  <mclasen@redhat.com>
1600
1601         Support separators in combo boxes and more generally in tree 
1602         views  (#135873):
1603         
1604         * gtk/gtkcombobox.h: 
1605         * gtk/gtkcombobox.c (gtk_combo_box_get_row_separator_column):
1606         * gtk/gtkcombobox.c (gtk_combo_box_set_row_separator_column):
1607         Add a ::row-separator-column property with getter and setter, 
1608         which can indicate a boolean model column to determine which
1609         rows are separators. 
1610
1611         * gtk/gtkcombobox.c: Display separator rows as separator menu 
1612         items in menu mode, and by using the new treeview separator 
1613         functionality in list mode.
1614
1615         * gtk/gtktreeview.h: 
1616         * gtk/gtktreeprivate.h:
1617         * gtk/gtktreeview.c (gtk_tree_view_get_row_separator_func): 
1618         * gtk/gtktreeview.c (gtk_tree_view_set_row_separator_func): 
1619         Add a callback to determine whether a row is a separator.
1620         
1621         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): 
1622         * gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon): 
1623         * gtk/gtktreeview.c (validate_row): Use the new callback
1624         to determine whether a row is a separator, and draw it
1625         as a separator then. Since separators should take up less
1626         vertical space than regular rows, this requires removing
1627         the redundant MAX(...,expander_size) calls which appear in
1628         many places. Instead, the MAX() is now only done in 
1629         validate_row(), and only if the row is not a separator.
1630         To catch possible side effects of this intrusive change,
1631         I have left EXPANDER_MAX() calls in place of the MAX() calls
1632         which will emit a warning if something breaks. They should
1633         be removed before 2.6.
1634
1635         * gtk/gtktreeselection.c (row_is_selectable): Don't let 
1636         separator rows be selected.
1637         
1638         * tests/testcombo.c (create_blaat): Add a separator column.
1639
1640 Tue Jul  6 22:58:00 2004  Matthias Clasen  <maclas@gmx.de>
1641
1642         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): Fix
1643         a 64bit alignment issue.  (#144302, Sunil)
1644
1645 2004-07-07  Tor Lillqvist  <tml@iki.fi>
1646
1647         * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text)
1648         * gdk/win32/gdkfont-win32.c (gdk_text_extents)
1649         * gdk/win32/gdkproperty-win32.c (find_common_locale,
1650         gdk_property_change)
1651         * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Use
1652         g_utf8_to_utf16() instead of the removed _gdk_utf8_to_ucs2() (see
1653         below).
1654
1655         * gdk/win32/gdkglobals-win32.c
1656         * gdk/win32/gdkmain-win32.c (_gdk_windowing_init)
1657         * gdk/win3/gdkprivate-win32.h: Add a variable for the TARGETS
1658         atom. Initialize it. Declare it. Drop the variable for the
1659         COMPOUND_TEXT atom.
1660
1661         * gdk/win32/gdkim-win32.c (gdk_wcstombs): Don't return UTF-8. This
1662         function is supposed to return the string in the locale's charset
1663         and encoding. Use g_convert().
1664
1665         (gdk_mbstowcs): Similarily, don't take an UTF-8 string, but a
1666         string in the locale's charset. Use g_convert().
1667
1668         (_gdk_ucs2_to_utf8, _gdk_utf8_to_wcs, _gdk_utf8_to_ucs2):
1669         Delete. The UCS-2 functions didn't handle surrogates anyway. Use
1670         GLib's UTF-16 functions instead. Windows uses UTF-16.
1671
1672         * gdk/win32/gdkprivate-win32.h: Remove declarations of the deleted
1673         functions mentioned above.
1674
1675         * gdk/win32/gdkproperty-win32.c (gdk_property_change): Use CF_TEXT
1676         also if the string is of type STRING, i.e. ISO-8859-1, and the
1677         current codepage is 1252, and contains no C1 chars. Accept
1678         also UTF8_STRING.
1679
1680         * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
1681         Mark as static. When storing STRING data, convert to
1682         Latin-1. (#140537)
1683         (gdk_selection_owner_set_for_display): Now that STRING is always
1684         ISO-8859-1, use UTF8_STRING when sending the selection request
1685         to ourselves.
1686
1687         (gdk_selection_convert): Handle also UTF8_STRING. (#140537, John
1688         Ehresman)
1689
1690         (gdk_text_property_to_text_list_for_display): Make work more like
1691         X11 version. Do obey the encoding parameter.
1692
1693         (gdk_string_to_compound_text_for_display,
1694         gdk_utf8_to_compound_text_for_display): Don't even pretend
1695         supporting COMPOUND_TEXT.
1696
1697         (gdk_utf8_to_string_target): Convert to ISO-8859-1, like on X11.
1698
1699         (sanitize_utf8): Zero-terminate string.
1700
1701 2004-07-06  Matthias Clasen  <mclasen@redhat.com>
1702
1703         * gtk/stock-icons/Makefile.am: Add stock_file_16.png, 
1704         stock_file_24.png, stock_directory_16.png and stock_directory_24.png.
1705
1706         * gtk/gtkstock.h (GTK_STOCK_FILE, GTK_STOCK_DIRECTORY): 
1707         * gtk/gtkiconfactory.c (get_default_icons): New stock icons as 
1708         fallbacks for gtkfilechooser. Currently these are the same images
1709         as the "new" and "open" items...
1710
1711 Tue Jul  6 10:00:22 2004  Jonathan Blandford  <jrb@redhat.com>
1712
1713         Fix for #136496, Pawel Salek:
1714         
1715         * gtk/gtktreeview.c (gtk_tree_view_row_changed): Queue a redraw on
1716         a node when it changes in fixed_height mode.
1717
1718         (gtk_tree_view_node_queue_redraw): new function to queue a redraw
1719         on a node.
1720
1721 2004-07-06  Matthias Clasen  <mclasen@redhat.com>
1722
1723         * gtk/gtkmenu.c (gtk_menu_position): Make sure 
1724         private->monitor_num is a valid monitor number before 
1725         using it.  (#139187, Michael Natterer)
1726
1727 Tue Jul  6 02:00:28 2004  Matthias Clasen  <maclas@gmx.de>
1728
1729         * gtk/gtkfilechooserdefault.c (popup_position_func): 
1730         * gtk/gtkentry.c (popup_position_func): 
1731         * gtk/gtktextview.c (popup_position_func): Improve positioning
1732         of keyboard-activated menus with Xinerama.
1733
1734 Tue Jul  6 00:29:03 2004  Matthias Clasen  <maclas@gmx.de>
1735
1736         * gtk/gtkuimanager.c (do_updates): 
1737         (do_updates_idle): Only call GDK_THREADS_ENTER() / _LEAVE() 
1738         when called from an idle handler.  (#145429, Jan-Marek Glogowski)
1739
1740 Mon Jul  5 23:47:38 2004  Matthias Clasen  <maclas@gmx.de>
1741
1742         * gtk/gtkfilechooserutils.c (delegate_notify): Use
1743         the less efficient g_object_interface_find_property () instead
1744         of the param_id range check, since the GParamSpecs we're 
1745         dealing with are the overridden onces on the interface, whose
1746         param_id is always zero.  (#145312, Alex Roitman, fix proposed
1747         by Owen Taylor)
1748
1749 2004-07-05  Lorenzo Gil Sanchez  <lgs@sicem.biz>
1750
1751         * gtk/gtklayout.c (gtk_layout_add): added a default method for the add
1752         virtual method of GtkContainer.
1753         (gtk_layout_class_init): assign gtk_layout_add to the 'add' virtual
1754         method slot of the container class.
1755
1756 2004-07-05  Anders Carlsson  <andersca@gnome.org>
1757
1758         * gtk/gtkiconview.c: (gtk_icon_view_set_markup_column):
1759         * gtk/gtkiconview.h:
1760         Use gint, not int in gtk_icon_view_set_markup_column,
1761         (Paolo Maggi)
1762         
1763 2004-07-05  Anders Carlsson  <andersca@gnome.org>
1764
1765         * gtk/gtkiconview.c: (gtk_icon_view_class_init),
1766         (gtk_icon_view_real_select_cursor_item),
1767         (gtk_icon_view_real_activate_cursor_item):
1768         * gtk/gtkiconview.h:
1769         Add an "activate_cursor_item" action signal
1770         and bind it to the return key.
1771         
1772 2004-07-04  Anders Carlsson  <andersca@gnome.org>
1773
1774         * demos/gtk-demo/Makefile.am:
1775         * demos/gtk-demo/gnome-fs-directory.png:
1776         * demos/gtk-demo/gnome-fs-regular.png:
1777         * demos/gtk-demo/iconview.c: (load_pixbufs), (fill_store),
1778         (sort_func), (create_store), (item_activated), (up_clicked),
1779         (home_clicked), (do_iconview):
1780         Add a simple file browser based on the icon view.
1781         
1782         * gtk/gtk.h:
1783         Add gtk/gtkiconview.h
1784         
1785         * gtk/gtkiconview.c: (gtk_icon_view_layout),
1786         (gtk_icon_view_item_new), (gtk_icon_view_item_activated):
1787         Fix a few bugs discovered while writing the demo.
1788         
1789 2004-07-04  Anders Carlsson  <andersca@gnome.org>
1790
1791         * gtk/Makefile.am:
1792         * gtk/gtkiconview.c
1793         * gtk/gtkiconview.h:
1794         Add GtkIconView to the build, remove debugging output.
1795         
1796 Sun Jul  4 01:29:35 2004  Matthias Clasen  <maclas@gmx.de>
1797
1798         * gtk/gtkcalendar.c (gtk_calendar_drag_data_get): 
1799         (gtk_calendar_drag_data_received): Fix off-by-one error.  
1800         GDate month is one-based and GtkCalendar month is zero-based.  
1801         (#145134, William Jon McCann)
1802
1803 Sun Jul  4 01:11:07 2004  Matthias Clasen  <maclas@gmx.de>
1804
1805         * gtk/gtktreestore.c (gtk_tree_store_move): Don't crash if
1806         somebody tries to move a node after itself in a list of 
1807         length 1.  (#145291, Sampo Nurmentaus)
1808
1809 Sat Jul  3 23:43:23 2004  Matthias Clasen  <maclas@gmx.de>
1810
1811         * docs/faq/gtk-faq.sgml: 
1812         * gtk/gtkwindow.c: Fix links to www.freedesktop.org.  (#145210,
1813         Billy Biggs)
1814
1815 Sat Jul  3 02:09:51 2004  Matthias Clasen  <maclas@gmx.de>
1816
1817         * gtk/gtksocket.c (gtk_socket_end_embedding): Reset current_width
1818         and current_height to 0 when ending the embedding.  (#143675,
1819         Nickolay V. Shmyrev)
1820
1821 Sat Jul  3 01:48:19 2004  Matthias Clasen  <maclas@gmx.de>
1822
1823         * gtk/gtkentry.c (gtk_entry_move_visually): Let the cursor move
1824         to the right end of the entry text, even if it ends in combining
1825         marks.  (#141728, Theppitak Karoonboonyanan)
1826
1827 Fri Jul  2 23:34:33 2004  Matthias Clasen  <maclas@gmx.de>
1828
1829         * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Unset the displayed
1830         row when unsetting the model.  (#138560, Christian Persch)
1831
1832 Fri Jul  2 23:01:07 2004  Matthias Clasen  <maclas@gmx.de>
1833
1834         * gtk/gtkcombobox.c (update_menu_sensitivity): Don't crash if there
1835         are no items.
1836
1837 Fri Jul  2 22:41:27 2004  Matthias Clasen  <maclas@gmx.de>
1838
1839         * gtk/gtkimage.c (gtk_image_expose): Properly align mask and
1840         pixbuf if a subarea is exposed.  (#135423, fix by John Ehresman)
1841
1842 Fri Jul  2 21:40:21 2004  Matthias Clasen  <maclas@gmx.de>
1843
1844         * gtk/gtknotebook.c (gtk_notebook_realize): Add scroll events
1845         to the event mask, set a scroll_event handler.
1846         * gtk/gtknotebook.c (gtk_notebook_scroll): Handle scroll events
1847         by switching tabs.  (#145244, Gabriel de Perthuis)
1848
1849 2004-07-02  Anders Carlsson  <andersca@gnome.org>
1850
1851         * gtk/gtktreeview.c (gtk_tree_view_set_model): 
1852         Make sure we check for a NULL model first.
1853
1854 2004-07-01  J. Ali Harlow  <ali@juiblex.co.uk>
1855
1856         * gdk/win32/gdkinput-win32.c (_gdk_input_ungrab_pointer): Fix
1857         win32 build problem w/o wintab.  Fixed #145242
1858
1859 2004-06-30  Anders Carlsson  <andersca@gnome.org>
1860
1861         * gtk/gtktreeview.c (gtk_tree_view_set_model): Use
1862         g_return_if_fail to make sure that the model is a GtkTreeModel.
1863
1864 Sat Jun 26 17:41:10 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1865
1866         * gtk/gtk[hv]separator.c (gtk_[hv]separator_expose): Draw line with the
1867         current state, not GTK_STATE_NORMAL
1868
1869         * gtk/gtkframe.c (gtk_frame_paint): Fix a rounding error
1870
1871 Sat Jun 26 15:07:25 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1872
1873         * gtk/gtkstyle.c, gtk/gtkrc.c: small color tweak. (#141173)
1874
1875 Sat Jun 26 01:15:40 2004  Matthias Clasen  <maclas@gmx.de>
1876
1877         * gdk/x11/gdkwindow-x11.c (set_initial_hints): Handle
1878         _NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW.  (#144851, 
1879         Billy Biggs)
1880
1881 Sat Jun 26 01:04:31 2004  Matthias Clasen  <maclas@gmx.de>
1882
1883         * gtk/gtkiconfactory.c (clear_cache): Prevent unwanted 
1884         recursion by resetting icon_set->cache before freeing
1885         the cache.  (#144947, Tim Janik)
1886
1887 Sat Jun 26 00:40:02 2004  Matthias Clasen  <maclas@gmx.de>
1888
1889         * gtk/gtkiconfactory.c (render_icon_name_pixbuf): 
1890         * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): 
1891         * gtk/gtkstyle.c (gtk_default_render_icon): Accept a NULL 
1892         style.
1893
1894 Sat Jun 26 00:04:36 2004  Matthias Clasen  <maclas@gmx.de>
1895
1896         * gtk/gtkentrycompletion.c (gtk_entry_completion_set_model): 
1897         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Reflect the 
1898         last change in the docs.
1899
1900 Fri Jun 25 23:35:42 2004  Matthias Clasen  <maclas@gmx.de>
1901
1902         * gtk/gtkentrycompletion.c (gtk_entry_completion_set_model):
1903         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Allow passing
1904         NULL to unset the model.  (#137211, patch by  Mariano Suárez-Alvarez)
1905
1906 Fri Jun 25 23:33:05 2004  Matthias Clasen  <maclas@gmx.de>
1907
1908         * gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Fix the
1909         placement policy for GtkComboBoxEntry to be: if it fits below, 
1910         place below, if it fits above place above, else place in the 
1911         larger space and scroll so that the scroll arrow appear at the
1912         far end.  (#144362, David A. Knight)
1913
1914 Fri Jun 25 22:49:58 2004  Matthias Clasen  <maclas@gmx.de>
1915
1916         * gtk/gtktreestore.c (gtk_tree_store_move): Avoid uninitialized
1917         use of &parent_iter. (#145007, John Finlay)
1918
1919 2004-06-25  Bastien Nocera  <hadess@hadess.net>
1920
1921         reviewed by: Matthias Clasen  <maclas@gmx.de>
1922
1923         * gdk/x11/gdkkeys-x11.c: (get_symbol), (update_keymaps),
1924         (gdk_keymap_lookup_key), (translate_keysym): fix keys parsing when
1925         the number of keysyms per keycode is odd. Fixes #144808.
1926
1927 2004-06-25  Matthias Clasen  <mclasen@redhat.com>
1928
1929         * gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Avoid
1930         a crash if the font doesn't exist.  (#144967, Yevgen Muntyan) 
1931
1932 Fri Jun 25 00:32:15 2004  Matthias Clasen  <maclas@gmx.de>
1933
1934         * gtk/gtktreestore.c (gtk_tree_store_swap): Commit the change
1935         which was mentioned below.
1936
1937 Thu Jun 24 23:35:09 2004  Matthias Clasen  <maclas@gmx.de>
1938
1939         * gtk/gtknotebook.c (gtk_notebook_class_init): Fix a typo,
1940         string change.  (#139503, Baris Cicek)
1941
1942 2004-06-22  Federico Mena Quintero  <federico@ximian.com>
1943
1944         * gtk/gtkfilechooserdefault.c (location_popup_handler): Use a Save
1945         or an Open stock button for the C-l dialog depending on the action
1946         in which the file chooser operates.  Fixes #141753.
1947
1948 2004-06-22  Federico Mena Quintero  <federico@ximian.com>
1949
1950         Fixes the GTK+ part of #142308:
1951
1952         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_filename_to_path):
1953         Use filename_to_path().
1954         (gtk_file_system_unix_uri_to_path): Likewise.
1955         (filename_to_path): Use remove_trailing_slash().
1956
1957 2004-06-22  Matthias Clasen  <mclasen@redhat.com>
1958
1959         * gtk/gtktextview.c (gtk_text_view_class_init): Improve docs
1960         for the ::move_cursor signal.
1961
1962         * gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept
1963         "<WINDOWTYPE>" as a valid accel path.  (#144427, Philip 
1964         Kendall)        
1965
1966         * gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure 
1967         this gets defined for all backends, so linux-fb has a 
1968         chance of compiling.
1969
1970         * gdk/x11/gdkgc-x11.c: 
1971         * gdk/gdkgc.c: Move function docs inline, add hints about 
1972         obtaining rgb colors from gcs.  (#144688, Steve Chaplin)
1973
1974         * gtk/gtktreestore.c (gtk_tree_store_swap): Make this work
1975         for children of the root.  (#139785, Jean-François Wauthy,
1976         patch by John Finlay)
1977
1978         * gtk/gtkicontheme.h (GTK_ICON_THEME_GET_CLASS): Typo
1979         fix.  (#144750, Jeff Franks) 
1980
1981 2004-06-21  Michael Natterer  <mitch@gimp.org>
1982         Merge from stable:
1983
1984         * gdk/x11/gdkdrawable-x11.[ch]: made convert_format() utility
1985         function public as _gdk_x11_convert_to_format().
1986
1987         * gdk/x11/gdkcursor-x11.c (create_cursor_image): premultiply
1988         the pixels from the GdkPixbuf when putting them in the
1989         Xcursor image. Fixes bug #144350.
1990
1991 2004-06-16  Federico Mena Quintero  <federico@ximian.com>
1992
1993         * gtk/gtkfilesystemmodel.c (do_files_added): When inserting a
1994         visible node, free the old path before creating the new one.
1995         Fixes #144356.
1996
1997 Tue Jun 15 01:10:32 2004  Matthias Clasen  <maclas@gmx.de>
1998
1999         * gtk/gtkcombobox.c: Make GtkComboBox work without model.  
2000         (#144198, Mariano Suárez-Alvarez)
2001         
2002 Fri Jun 11 22:05:56 2004  Matthias Clasen  <maclas@gmx.de>
2003
2004         * gtk/gtkfilechooserdefault.c: Don't use
2005         contractions like "don't" or "isn't" in error messages.
2006         It isn't nice to use them in log entries either...
2007         (#137774, Morten Welinder, patch by Alexander Winston)
2008
2009 2004-06-11  Federico Mena Quintero  <federico@ximian.com>
2010
2011         Fixes #143578:
2012
2013         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_add_editable):
2014         Don't ref the editable node.
2015         (_gtk_file_system_model_remove_editable): Don't unref the editable node.
2016         (_gtk_file_system_model_remove_editable): Ahem, free the node.
2017
2018         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
2019         Added fields for edited_idle and edited_new_text.
2020         (renderer_edited_cb): Queue the
2021         creation of the folder in an idle handler.
2022         (renderer_editing_canceled_cb): Likewise for the cancellation.
2023         (gtk_file_chooser_default_finalize): Free the impl->edited_new_text.
2024
2025 Thu Jun 10 22:12:26 2004  Matthias Clasen  <maclas@gmx.de>
2026
2027         * gtk/gtkmain.c (gtk_parse_args): Typo fix.
2028
2029 2004-06-10  Federico Mena Quintero  <federico@ximian.com>
2030
2031         Fixes #144110, patch by Bastien Nocera <hadess@hadess.net>.
2032
2033         * gtk/gtkfilechooser.c (gtk_file_chooser_list_shortcut_folders):
2034         Refer to gtk_file_chooser_add_shortcut_folder().
2035         (gtk_file_chooser_list_shortcut_folder_uris): Refer to
2036         gtk_file_chooser_add_shortcut_folder_uri().
2037
2038 Thu Jun 10 00:36:15 2004  Matthias Clasen  <maclas@gmx.de>
2039
2040         * gtk/gtkcalendar.c (gtk_calendar_main_button): Start 
2041         the drag before focusing the selected.day.
2042         * gtk/gtkcalendar.c (gtk_calendar_state_changed): Stop
2043         a beginning drag if the widget becomes insensitive.
2044
2045 Thu Jun 10 00:09:06 2004  Matthias Clasen  <maclas@gmx.de>
2046
2047         * gtk/gtkcalendar.c (gtk_calendar_button_press): Start 
2048         spinning before calling arrow_action(), so that a signal
2049         handler triggered from arrow_action() has a chance to 
2050         stop the spinning.  (#143966, Davyd Madeley)
2051
2052 Wed Jun  9 23:11:23 2004  Matthias Clasen  <maclas@gmx.de>
2053
2054         * gtk/gtkstyle.c (_gtk_style_init_for_settings): Fix a 
2055         typo.  (#144070, Kent Sandvik)
2056
2057 Thu Jun 10 00:22:51 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2058
2059         * gtk/gtkmenu.c: Revert the "drag select" part of
2060         #141169. (#144011).
2061
2062 Mon Jun  7 23:07:40 2004  Matthias Clasen  <maclas@gmx.de>
2063
2064         * gtk/gtkcombobox.c (gtk_combo_box_remeasure): Handle
2065         priv->model being NULL.  (#143856, Mariano Suárez-Alvarez)
2066
2067 2004-06-07  Federico Mena Quintero  <federico@ximian.com>
2068
2069         * gtk/gtktreeview.c (gtk_tree_view_button_press): Revert the patch
2070         from 2003/Sep/12.  This kept DnD in tree views within modal
2071         dialogs from working, which is especially bad for the file
2072         chooser.  Fixes #135168.
2073
2074 Sun Jun  6 23:57:21 2004  Matthias Clasen  <maclas@gmx.de>
2075
2076         Make the entry context menu work in editable text cells. The changes
2077         are based on a patch by Kristian Rietveld, which implemented an 
2078         approach outlined by Owen Taylor.  (#50075)
2079         
2080         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event): 
2081         Ignore focus out if the entry menu is posted.
2082         (gtk_cell_renderer_text_populate_popup): Mark the entry menu as 
2083         posted, and set up a signal handler to clear the flag if the menu 
2084         is unmapped.
2085         (gtk_cell_renderer_text_popup_unmap): Clear the in_entry_menu flag, 
2086         set up a timeout to stop editing if the focus is lost.
2087         (popdown_timeout): Stop editing if the entry doesn't have focus anymore.
2088         (gtk_cell_renderer_text_start_editing): Connect to the populate_popup 
2089         signal on the entry and keep a pointer to the entry.
2090         (gtk_cell_renderer_text_editing_done): Disconnect from popuplate_popup, 
2091         clear the pointer to the entry.
2092
2093 Sun Jun  6 23:24:43 2004  Matthias Clasen  <maclas@gmx.de>
2094
2095         * gtk/gtktexttag.c (gtk_text_tag_class_init): Improve the description
2096         of the ::language property.  (#143802, Owen Taylor)
2097
2098 Sat Jun  5 23:07:30 2004  Matthias Clasen  <maclas@gmx.de>
2099
2100         * gtk/gtkentrycompletion.c: (gtk_entry_completion_init),
2101         (gtk_entry_completion_list_enter_notify),
2102         (gtk_entry_completion_list_motion_notify),
2103         (_gtk_entry_completion_popup), (_gtk_entry_completion_popdown):
2104         * gtk/gtkentryprivate.h: Add an ignore_enter flag and
2105         use it as in the menu code to avoid the initial selection if
2106         the window pops up under the pointer.  (Anders Carlsson)
2107
2108 Sat Jun  5 20:05:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2109
2110         * tests/testmerge.c: Add a checkbox to queue an
2111         merge/unmerge. Patch from Matthias Clasen.
2112
2113         * gtk/gtktoolbar.c (struct _GtkToolbarPrivate): Add a new flag
2114         "need_rebuild"
2115         (rebuild_menu): New function that rebuilds the overflow menu and
2116         makes sure it doesn't start or end with a separator.
2117         (toolbar_content_new_tool_item)
2118         (toolbar_content_remove)
2119         (toolbar_content_new_compatibility): Set the rebuild_needed flag
2120         (gtk_toolbar_size_allocate): Only show the overflow arrow when we
2121         have actually overflown an item with a proxy menu item. Also make
2122         sure we rebuild the menu if needed.
2123
2124         Fix #125504, #142377, #143463
2125         
2126         * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose):
2127         Obey the "priv->draw" flag. (#143692)
2128
2129 2004-06-04  Matthias Clasen  <mclasen@redhat.com>
2130
2131         * docs/widget_geometry.txt: Add a note about the !CAN_FOCUS
2132         quirk in the button size allocation code.
2133
2134         * gtk/gtkbutton.c (gtk_button_size_allocate): Give the space
2135         requested for drawing the focus indicator to the child in the
2136         !CAN_FOCUS case. This should fix issues which the Gimp has with 
2137         the button allocation changes in 2.4.2.
2138
2139 Thu Jun  3 21:17:29 2004  Matthias Clasen  <maclas@gmx.de>
2140
2141         * gtk/gtkentry.c (gtk_entry_completion_timeout): Calculate the
2142         length of the entry contents in characters, not in bytes.
2143
2144         * gtk/gtkentry.c (paste_received): Don't pop up the completion
2145         window on paste, noticed by Anders Carlsson.
2146
2147 Thu Jun  3 20:56:19 2004  Matthias Clasen  <maclas@gmx.de>
2148
2149         * gtk/gtkcombobox.c (gtk_combo_box_class_init): Fix the allowed
2150         values and default value for the ::active property.  (#143669,
2151         Olivier Andrieu)
2152
2153 2004-06-03  Michael Natterer  <mitch@gimp.org>
2154
2155         * gtk/gtkimagemenuitem.c: use gtk_widget_get_child_requisition()
2156         instead of accessing item->image->allocation.width/height
2157         directly. Makes widgets which only have a requisition set using
2158         gtk_widget_set_size_request() work and fixes bug #142789.
2159
2160 Thu Jun  3 08:07:59 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2161
2162         * gtk/gtkmenu.c: Revert previous commit. It caused the problem
2163         of sticky right click menus to return.
2164
2165 Wed Jun  2 01:56:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2166
2167         * gtk/gtkmenu.c: Fix the stay up algorithm for combo boxes to
2168         better handle the "click" case. bug  Better fix for #141169.
2169
2170 2004-06-02  Federico Mena Quintero  <federico@ximian.com>
2171
2172         * gtk/gtktreeview.c (gtk_tree_view_search_init): Bail out if the
2173         model is empty.  Fixes #143536.
2174
2175 2004-06-02  Matthias Clasen  <mclasen@redhat.com>
2176
2177         * gtk/gtkfontsel.c (gtk_font_selection_size_focus_out): Don't
2178         close the dialog on focus out of the size entry.  (#143505, 
2179         David Hawthorne)
2180
2181 2004-06-02  Federico Mena Quintero  <federico@ximian.com>
2182
2183         Fix #138807.
2184
2185         * gtk/fnmatch.c (_gtk_fnmatch): Take a no_leading_period argument.
2186         (gtk_fnmatch_intern): Likewise; also implement this option.
2187
2188         * gtk/gtkprivate.h (_gtk_fnmatch): Updated prototype.
2189
2190         * gtk/gtkfilesel.c (find_completion_dir): Pass TRUE for the
2191         no_leading_period argument of _gtk_fnmatch().
2192         (attempt_file_completion): Likewise.
2193
2194         * gtk/gtkfilefilter.c (gtk_file_filter_filter): Pass FALSE for the
2195         no_leading_period argument of _gtk_fnmatch().
2196
2197 Wed Jun  2 00:47:11 2004  Matthias Clasen  <maclas@gmx.de>
2198
2199         * gtk/gtkselection.c (_gtk_selection_request): Remove leftover
2200         debug code.
2201
2202 Wed Jun  2 00:13:57 2004  Matthias Clasen  <maclas@gmx.de>
2203
2204         * gtk/gtktreeselection.c (gtk_tree_selection_select_range): Don't
2205         allow unless selection mode is multiple.  (#142634, John Finlay)
2206
2207 Tue Jun  1 23:00:20 2004  Matthias Clasen  <maclas@gmx.de>
2208
2209         * gtk/gtktoolbar.h: 
2210         * gtk/gtktoolbar.c: 
2211         * gtk/gtkentrycompletion.h: 
2212         * gtk/gtkentrycompletion.c: 
2213         * gtk/gtkcombobox.h: 
2214         * gtk/gtkcombobox.c: Rename function parameters from
2215         index to index_ to prevent clash with BSD index().  (#143001)
2216
2217 Tue Jun  1 22:45:42 2004  Matthias Clasen  <maclas@gmx.de>
2218
2219         * gtk/gtkmenu.c (get_accel_path): Handle accel_closure being
2220         NULL on an accel label. (#139641, Sam Stephenson, patch by 
2221         Michael Natterer)
2222
2223 Tue Jun  1 22:19:55 2004  Matthias Clasen  <maclas@gmx.de>
2224
2225         * gtk/gtkicontheme.c (theme_subdir_load):  Prevent icon 
2226         lookup finding icons in the wrong prefix.  (#143328,
2227         Mark McLoughlin)
2228
2229 Wed Jun  2 00:39:58 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2230
2231         Bug #141169.
2232
2233         * gtk/gtkmenushell.c (gtk_menu_shell_button_release): Make menus
2234         only stay up if you release within 500 milliseconds.
2235         (gtk_menu_shell_button_press): Set the activate_time to the event
2236         time when a button is pressed.
2237
2238         * gtk/gtkmenu.c (gtk_menu_motion_notify, gtk_menu_enter_notify):
2239         Interprete button releases as activate when we have seen both an
2240         enter an a motion event.
2241
2242 2004-06-01  Federico Mena Quintero  <federico@ximian.com>
2243
2244         * gtk/gtkfilesystemmodel.c (do_files_removed): Don't insert a
2245         dummy node if there is no parent node.  Fixes #143362.
2246
2247 2004-05-31  Federico Mena Quintero  <federico@ximian.com>
2248
2249         * gtk/gtkfilechooserdefault.c (renderer_edited_cb): Change to the
2250         newly-created folder.  Fixes #138932.
2251         (trap_activate_cb): Only return TRUE if we did handle the event.
2252         Fixes #143359; patch by jylefort@brutele.be.
2253
2254 Mon May 31 02:39:32 2004  Matthias Clasen  <maclas@gmx.de>
2255
2256         * gtk/gtkimage.c (gtk_image_new_from_pixmap): Fix typo in 
2257         docs.  (#142892, Tommi Komulainen)
2258
2259 Mon May 31 02:16:37 2004  Matthias Clasen  <maclas@gmx.de>
2260
2261         * gtk/gtkhandlebox.c: Make detached handleboxes work when their
2262         parent is minimized, porting the fix from 1.2.  (#1923, #57182)
2263
2264 Mon May 31 02:03:17 2004  Matthias Clasen  <maclas@gmx.de>
2265
2266         * gtk/gtkwindow.c (gtk_window_show): Make moving realized, 
2267         unmapped windows work. 
2268
2269 Mon May 31 00:27:33 2004  Matthias Clasen  <maclas@gmx.de>
2270
2271         * gtk/gtkfilechooserutils.c (_gtk_file_chooser_set_delegate): Fix
2272         a typo.
2273
2274 Mon May 31 00:23:55 2004  Matthias Clasen  <maclas@gmx.de>
2275
2276         * gtk/gtkfilechooser.c (gtk_file_chooser_set_preview_widget): 
2277         Refer to ::update-preview, not ::selection-changed.
2278
2279 2004-05-29  Christian Rose  <menthos@menthos.com>
2280  
2281         * configure.in: Added "tk" to ALL_LINGUAS.
2282  
2283 Fri May 28 15:00:01 2004  Matthias Clasen  <maclas@gmx.de>
2284
2285         * gtk/gtkwidget.c (gtk_widget_set_parent): Add informative
2286         messages for common problems.  (#137974, Owen Taylor)
2287
2288 Fri May 28 14:20:17 2004  Matthias Clasen  <maclas@gmx.de>
2289
2290         * gdk/x11/gdkevents-x11.c: Fix off-by-one allocation 
2291         errors. (#143337, Billy Biggs) 
2292
2293 Thu May 27 16:36:22 2004  Owen Taylor  <otaylor@redhat.com>
2294
2295         * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set
2296         bits within visual->depth that aren't used for color to
2297         1s, in case they are alpha.
2298
2299 2004-05-27  Anders Carlsson  <andersca@gnome.org>
2300
2301         * gtk/gtkfilechooserdefault.c (save_folder_combo_create): 
2302         Make separator rows insensitive.
2303
2304 Thu May 27 00:48:16 2004  Matthias Clasen  <maclas@gmx.de>
2305
2306         * gtk/gtkentrycompletion.c (gtk_entry_completion_set_text_column): 
2307         Add more docs.
2308
2309 Thu May 27 00:45:07 2004  Matthias Clasen  <maclas@gmx.de>
2310
2311         * gtk/gtkentrycompletion.h:
2312         * gtk/gtkentrycompletion.c (gtk_entry_completion_get_text_column): 
2313         Getter for text_column. Also make ::text_column a property.
2314
2315 Thu May 27 00:11:01 2004  Matthias Clasen  <maclas@gmx.de>
2316
2317         * gtk/gtkmenuitem.c (gtk_menu_item_size_request): Fix a typo.
2318
2319 Thu May 27 00:07:47 2004  Jonathan Blandford  <jrb@gnome.org>
2320
2321         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): only remove the
2322         signal if the box exists.
2323
2324 Wed May 26 23:26:51 2004  Matthias Clasen  <maclas@gmx.de>
2325
2326         Support insensitive cells in tree views and combo boxes:
2327         
2328         * gtk/gtkcellrenderer.h: 
2329         * gtk/gtkcellrenderer.c: Add a ::sensitive property.
2330
2331         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): 
2332         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
2333         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): 
2334         Support drawing insensitive.
2335
2336         * gtk/gtkcellview.h: 
2337         * gtk/gtkcellview.c (gtk_cell_view_get_cell_renderers): New 
2338         function to obtain the cell renderers from a cell view. Also
2339         export gtk_cell_view_set_cell_data().
2340
2341         * gtk/gtktreeselection.c (tree_column_is_sensitive):
2342         * gtk/gtktreeselection.c (row_is_selectable): Helper functions
2343         to determine whether all visible cells in a row are insensitive
2344         and whether a row is selectable. A row is not selectable if the 
2345         user function says so or if all visible cells are insensitive.
2346         * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node): 
2347         * gtk/gtktreeselection.c (gtk_tree_selection_real_select_node): 
2348         Use row_is_selectable().
2349         
2350         * gtk/gtkcombobox.c (row_is_sensitive): 
2351         * gtk/gtkcombobox.c (tree_column_row_is_sensitive): 
2352         * gtk/gtkcombobox.c (menu_row_is_sensitive): Helper functions
2353         to determine row sensitivity in menu or list mode.
2354
2355         * gtk/gtkcombobox.c (update_menu_sensitivity): Helper function
2356         to set up sensitivity menu items from the underlying rows.
2357
2358         * gtk/gtkcombobox.c (gtk_combo_box_popup): 
2359         * gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): Use
2360         update_menu_sensitivity().
2361                 
2362         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Setup the cell
2363         data funcs.
2364
2365         * gtk/gtkcombobox.c (gtk_combo_box_key_press): Skip insensitive
2366         rows.
2367
2368         * tests/testcombo.c (main): Make some rows insensitive.
2369
2370 2004-05-26  Robert Ã–gren  <gtk@roboros.com>
2371
2372         * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Send key
2373         modifiers (shift, ctrl etc) in button and motion events from the
2374         tablet. (#143240)
2375
2376 2004-05-26  Robert Ã–gren  <gtk@roboros.com>
2377
2378         * gdk/win32/gdkinput-win32.c (gdk_device_get_state): Simple
2379         implementation for extended input devices using last known 
2380         device state (#143237)
2381
2382 Tue May 25 21:54:00 2004  Matthias Clasen  <maclas@gmx.de>
2383
2384         * gtk/gtkframe.c: Move docs inline, fixing them on the
2385         way.  (#143029, Steve Chaplin)
2386
2387 2004-05-11  Robert Ã–gren  <gtk@roboros.com>
2388
2389         * gdk/win32/gdkevents-win32.c (propagate): Don't propagate mouse
2390         events to windows that want extended input events. (#142943)
2391         (gdk_event_translate): Move check for extended input devices to
2392         propagate, new parameter to propagate.
2393         (gdk_pointer_grab, gdk_display_pointer_ungrab): Enable calls to
2394         _gdk_input_(un)grab_pointer. (#142943)
2395
2396         * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Check for
2397         input grab. [Fix missing update of impl in "dijkstra" event
2398         propagation loop] Drop the parallel "impl" pointer, just use a
2399         cast. Don't propagate beyond windows that want normal input
2400         events. (#142943)
2401         (gdk_input_grab_pointer, gdk_input_ungrab_pointer): Limited
2402         implementation of input grab. (#142943)
2403
2404 2004-05-22  Tor Lillqvist  <tml@iki.fi>
2405
2406         * gdk/win32/gdkinput-win32.c (print_lc): Remove duplicated
2407         line. (Spotted by Benoît Carpentier.)
2408
2409 2004-05-18  Matthias Clasen  <mclasen@redhat.com>
2410
2411         * configure.in: Check for XFIXES extension.
2412
2413         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add 
2414         a gboolean have_xfixes member.
2415
2416         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Register
2417         XFIXES events and set have_xfixes.
2418
2419         * gdk/gdkevents.h (GdkEventType): Add GDK_OWNER_CHANGE.
2420         (GdkEventOwnerChange): New event struct for owner change events.
2421         (GdkOwnerChange): New enum for the reason field of GdkEventOwnerChange.
2422         
2423         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Translate 
2424         XFixesSelectionNotify events into GdkEventOwnerChange events.
2425         
2426         * gdk/gdkdisplay.h:
2427         * gdk/x11/gdkdisplay-x11.c (gdk_display_supports_selection_notification):
2428         (gdk_display_request_selection_notification): New api 
2429         to support selection ownership notification.
2430
2431         * gtk/gtkclipboard.h:
2432         * gtk/gtkclipboard.c (_gtk_clipboard_handle_event): New private
2433         api to handle owner change events.
2434         (clipboard_peek): Refactored out the body of 
2435         gtk_clipboard_get_for_display() for use in _gtk_clipboard_handle_event().
2436
2437         * gtk/gtkmain.c (gtk_main_do_event): Handle GDK_OWNER_CHANGE events
2438         by calling _gtk_clipboard_handle_event().
2439
2440 2004-05-18  Matthias Clasen  <mclasen@redhat.com>
2441
2442         * gtk/gtkintl.h: Include glib/gi18n-lib.h and only define
2443         the P_() macros ourselves.
2444
2445         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
2446         Restrict the width of the popup to be no larger than the
2447         monitor.  (#142678, DmD Ljungmark)
2448
2449         * gtk/gtkbutton.c: Go back to the initial fix for the 
2450         focus-overdrawing problem, which was actually correct 
2451         according to docs/widget_geometry.txt.
2452
2453         * gtk/gtkarrow.c (gtk_arrow_class_init): Bump the initial
2454         arrow size from 11 to 15 to compensate for that.
2455
2456         * gtk/gtktextview.c (gtk_text_view_class_init): Document the
2457         arguments of the ::move-cursor signal.  (#142725)
2458
2459 2004-05-17  Matthias Clasen  <mclasen@redhat.com>
2460
2461         Merged from 2.4:
2462         
2463         * gtk/gtkbutton.c (gtk_button_size_request) 
2464         (gtk_button_size_allocate, _gtk_button_paint): Allocate
2465         space for the focus rectangle only if necessary.  (#142668,
2466         Michael Natterer)
2467
2468 Sun May 16 23:11:47 2004  Matthias Clasen  <maclas@gmx.de>
2469
2470         Merged from 2.4:
2471         
2472         * gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless 
2473         lines.  (#142479, Morten Welinder)
2474
2475 Sun May 16 22:27:17 2004  Matthias Clasen  <maclas@gmx.de>
2476
2477         * gtk/gtkintl.h (Q_): Add a Q_() macro. 
2478
2479         * gtk/gtkcellrendererprogress.h: Remove GTK_PROGRESS_CELL_UNKNOWN
2480         and GTK_PROGRESS_CELL_FAILED. With the ability the set the label,
2481         they are not really needed.
2482
2483         * gtk/gtkcellrendererprogress.c: Use the xpad and ypad properties
2484         instead of hardwired padding, use Q_() for the default label, 
2485         compute a reasonable minimal size.  (#142571, #142572, #142573,
2486         Tommi Komulainen, Christian Persch)
2487         
2488 2004-05-15  Tor Lillqvist  <tml@iki.fi>
2489
2490         * gdk/win32/gdkdnd-win32.c: Put back the ref_count field in the
2491         GdkDragContextPrivateWin32 struct (but inside ifdef OLE2_DND this
2492         time). It is used by the OLE2_DND code, which is unfinished and
2493         presumably horribly broken, but still, let's not make it not
2494         compile on purpose. Silence some gcc warnings in the OLE2_DND
2495         code.
2496
2497 2004-05-14  Matthias Clasen  <mclasen@redhat.com>
2498
2499         * gtk/gtktreeview.c (gtk_tree_view_tree_window_to_tree_coords): 
2500         New function to go from tree window to tree coordinates, kept
2501         static for now until we figure out the multiple coordinate
2502         system mess in GtkTreeView API-wise.
2503         (gtk_tree_view_scroll_to_cell): Transform the coordinates 
2504         from tree window to tree coordinates, using the new function.
2505         Previously, the x coordinate was wrongly transformed. (#142494)
2506
2507         * gdk/gdktypes.h (GdkModifierType): Add a comment about unused
2508         bits.
2509
2510         * gtk/gtkstock.c (real_add, gtk_stock_lookup): Use an unused
2511         modifier bit to mark stock item which need to be freed 
2512         eventually.  (#140654, Michal Pasternak, Scott Tsai)
2513
2514 2004-05-11  Robert Ã–gren  <gtk@roboros.com>
2515
2516         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Add missing
2517         call to g_object_ref in Wintab code. (#138341)
2518
2519         * gdk/win32/gdkinput-win32.c: Fix numerous Wintab problems
2520         including unallocated buffers for event->motion.axes and
2521         event->button.axes, unsigned wraparound problem in the code for
2522         detecting missing press/release events and assigning min instead
2523         of max when setting up axes.
2524
2525 2004-05-12  Matthias Clasen  <mclasen@redhat.com>
2526
2527         * tests/testtreeedit.c: Add a progress column.
2528
2529         * gtk/Makefile.am: Add gtkcellrendererprogress.[hc] in the right
2530         places.
2531
2532         * gtk/gtk.h: Include gtkcellrendererprogress.h.
2533
2534         * gtk/gtkcellrendererprogress.[hc]: A progress cell renderer,
2535         based on the one found in Epiphany.
2536
2537 2004-05-11  Michael Natterer  <mitch@gimp.org>
2538
2539         * gtk/gtkcombobox.c (gtk_combo_box_popup)
2540         (gtk_combo_box_menu_button_press): don't allocate the popup
2541         smaller than the combobox. Fixes bug #59660.
2542
2543 2004-05-11  Matthias Clasen  <mclasen@redhat.com>
2544
2545         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Revert the
2546         previous change to this function, clarify the docs instead.
2547
2548         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use
2549         GTK_SELECTION_BROWSE.
2550
2551         * gtk/gtktreeview.c: Make hover selection work for 
2552         GTK_SELECTION_BROWSE as well.
2553
2554 Tue May 11 00:38:25 2004  Matthias Clasen  <maclas@gmx.de>
2555
2556         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init): 
2557         Document the ::toggled signal.
2558
2559 Mon May 10 23:04:25 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2560
2561         * gtk/gtkwidget.h: Add prototype for _gtk_widget_grab_notify()
2562
2563 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
2564
2565         * gtk/gtkwindow.c (get_screen_icon_info): Make static.
2566
2567         * gdk/gdkdisplay.c (singlehead_...): 
2568         * gdk/x11/gdkkeys-x11.c (get_effective_keymap): 
2569         * gdk/x11/gdkgeometry-x11.c (expose_serial_predicate): 
2570         * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Make static.
2571
2572         * gtk/gtktreeview.c (gtk_tree_view_set_fixed_height_mode): Add a 
2573         note about COLUMN_FIXED restriction.
2574
2575         * gtk/gtkentrycompletion.c (gtk_entry_completion_list_button_press): 
2576         Set the entry in the default handler of the ::match-selected signal.
2577         (#137226)
2578
2579         * gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): If we don't
2580         do the move-selected-item below pointer thingie, do the 
2581         place-below-or-above one.
2582
2583         * tests/testentrycompletion.c: Make the second example use the 
2584         ::match-selected signal to make it actually work.
2585
2586         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): 
2587         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use hover selection
2588         mode.  (#127648, Dave Bordoley)
2589
2590         * gtk/gtktreeview.h:
2591         * gtk/gtktreeview.c: Add a new property "hover_selection", which 
2592         when TRUE makes the selection follow the mouse. Also add setter
2593         and getter for the fixed_height property.
2594
2595 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
2596
2597         * gtk/gtkcombobox.c (gtk_combo_box_popup) 
2598         (gtk_combo_box_menu_button_press): Make sure the menu pops up
2599         as wide as the combobox.  (#59660, Havoc Pennington)
2600
2601 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
2602
2603         * gtk/gtkcombobox.h: 
2604         * gtk/gtkcombobox.c: Support tearoffable combo boxes (in menu 
2605         mode). Add a new property, add-tearoffs, for this.  (#135956)
2606
2607         * gtk/gtkfontsel.c (list_row_activated): Make Return activate the
2608         default button.  (#118921)
2609
2610 Mon May 10 15:03:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2611
2612         * gtk/gtkwidget.c (_gtk_widget_grab_notify): New internal function
2613         that emits the grab notify signal.
2614         
2615         * gtk/gtkmain.c (gtk_grab_notify_foreach): Use it here.
2616
2617 Mon May 10 00:48:08 2004  Matthias Clasen  <maclas@gmx.de>
2618
2619         * gtk/gtkmenu.c: Make destruction of a torn off menu work 
2620         like un-tearing off.
2621
2622 Sun May  9 21:05:38 2004  Matthias Clasen  <maclas@gmx.de>
2623
2624         Merge from 2.4:
2625
2626         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
2627         Allow to suppress the stock accelerator by using "".  (#142196,
2628         David A Knight)
2629         
2630 Sun May  9 02:01:13 2004  Matthias Clasen  <maclas@gmx.de>
2631
2632         Merge from 2.4:
2633         
2634         * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): 
2635         In list mode, accept the same mouse/wheel bindings on 
2636         the cellview as on the button.  (#136967)
2637
2638 Sun May  9 01:25:37 2004  Matthias Clasen  <maclas@gmx.de>
2639
2640         * gtk/gtkiconfactory.c (add_to_cache): Actually count the
2641         cached icons.  (#135888, Crispin Flowerday)
2642
2643 Sun May  9 00:03:03 2004  Matthias Clasen  <maclas@gmx.de>
2644
2645         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Make sure
2646         that we actually return menus for nodes of type menu, not the
2647         menuitems they're attached to.
2648
2649 Sat May  8 22:50:55 2004  Matthias Clasen  <maclas@gmx.de>
2650
2651         * gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain): 
2652         Add a note regarding UTF-8 requirements, proposed by 
2653         Mariano Suárez-Alvarez.
2654
2655 Sat May  8 22:43:11 2004  Matthias Clasen  <maclas@gmx.de>
2656
2657         * gtk/gtktearoffmenuitem.h: 
2658         * gtk/gtktearoffmenuitem.c: Put the torn_off flag back
2659         into the GtkTearoffMenuItem struct, since it is used
2660         by the Gimp, and keep it synchronized with the 
2661         tearoff_state property of the parent menu.
2662
2663 2004-05-08  Hans Breuer  <hans@breuer.org>
2664
2665         * gtk/gtkfilesystemwin32.c (extract_icon) : finally also
2666         create the correct mask for 'pseudo mime' icons
2667
2668         * gdk/win32/gdkwindow-win32.c(show_window_internal) : also
2669         take focus_on_map into account
2670
2671         * gtk/gtkselection.c : g_message() only with DEBUG_SELECTION
2672
2673         * gtk/gtkactiongroup.c gtk/gtkcombobox.c : 
2674         ... must return a value
2675
2676         * gdk/gdk.def gtk/gtk.def demos/gtk-demo/makefile.msc.in : updated
2677
2678 2004-05-07  Matthias Clasen  <mclasen@redhat.com>
2679
2680         * gtk/gtkbutton.c (gtk_button_size_allocate): Don't let the child
2681         draw over the focus rectangle.
2682
2683         * gtk/gtkhsv.c: Draw focus indication in the color wheel using
2684         standard focus style.  (#63071, Bill Haneman, idea for new
2685         style by Owen Taylor)
2686
2687         * gtk/gtkstyle.c (gtk_default_draw_focus): Support drawing on
2688         focus on the colorwheel via details.
2689
2690 2004-05-06  Matthias Clasen  <mclasen@redhat.com>
2691
2692         Merge from 2.4:
2693         
2694         * gtk/gtkcombobox.c (gtk_combo_box_menu_state_changed): Remove
2695         this no longer needed signal handler.  (#141817, Paul Pogonyshev)
2696
2697 Fri May  7 00:41:46 2004  Matthias Clasen  <maclas@gmx.de>
2698
2699         * gtk/gtktearoffmenuitem.h: 
2700         * gtk/gtktearoffmenuitem.c: Make the tearoff 
2701         functionality model/view, the tearoffmenuitem being
2702         the view and the tearoff_state property of the menu
2703         being the model.  (#101185, Owen Taylor)
2704
2705         * gtk/gtkmenu.c: Add a tearoff_state property.
2706
2707 Thu May  6 23:52:13 2004  Matthias Clasen  <maclas@gmx.de>
2708
2709         Merge from 2.4:
2710
2711         * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Also 
2712         popup the submenu for items in torn off menus.  (#122051)
2713
2714 2004-05-06  Sven Neumann  <sven@gimp.org>
2715
2716         * gtk/gtkexpander.c (gtk_expander_size_allocate): in RTL mode,
2717         position the title lable next to the arrow just as we do for LTR
2718         rendering. Fixes bug #141825.
2719
2720 2004-05-06  Matthias Clasen  <mclasen@redhat.com>
2721
2722         * docs/RELEASE-HOWTO: Document the new policy of
2723         bumping version numbers after release.
2724
2725         * configure.in: Bump version number to 2.5.0.
2726
2727 2004-05-06  Padraig O'Briain  <padraig.obriain@sun.com>
2728
2729         * gtk/gtkmenu.h:
2730         * gtk/gtkmenu.c: Add new function gtk_menu_get_for_attach_widget.
2731         (bug #113112).
2732
2733 Thu May  6 00:24:11 2004  Matthias Clasen  <maclas@gmx.de>
2734
2735         * gtk/gtkactiongroup.h: 
2736         * gtk/gtkactiongroup.c (gtk_action_group_translate_string): 
2737         New function to translate a string with translate_func.
2738         (#135740)
2739
2740 Thu May  6 00:02:21 2004  Matthias Clasen  <maclas@gmx.de>
2741
2742         * gtk/gtkcombobox.c (gtk_combo_box_get_wrap_width): 
2743         (gtk_combo_box_get_row_span_column): 
2744         (gtk_combo_box_get_column_span_column): Add missing getters
2745         for readwrite properies. (#135649)
2746
2747 Wed May  5 23:42:42 2004  Matthias Clasen  <maclas@gmx.de>
2748
2749         * gtk/gtkcombobox.h: 
2750         * gtk/gtkcombobox.c (gtk_combo_box_get_active_text): 
2751         Add gtk_combo_box_get_active_text() convenience 
2752         function. (#136372, Christian Neumeir, patch by Olivier Andrieu) 
2753
2754 2004-05-05  Elijah Newren  <newren@math.utah.edu>
2755
2756         Changes to support do-not-focus-on-map hint in conjunction with
2757         _NET_WM_USER_TIME (#115650):
2758
2759         * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
2760         field focus_on_map
2761         
2762         * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
2763         set it.
2764
2765         * gtk/gtkwindow.[hc]: Add a boolean property "focus_on_map"
2766         and gtk_window_get_focus_on_map() and gtk_window_set_focus_on_map().
2767
2768         * gdk/win32/gdkwindow-win32.c (gdk_window_new): 
2769         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): 
2770         * gdk/x11/gdkwindow-x11.c (gdk_window_new):
2771         Initialize the focus_on_map field to TRUE.
2772
2773         * gdk/win32/gdkwindow-win32.c (gdk_window_set_focus_on_map): 
2774         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_focus_on_map): 
2775         * gdk/x11/gdkwindow-x11.c (gdk_window_set_focus_on_map): 
2776         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window):
2777         Implementations for the various backends. The Win32 and linux-fb
2778         implementations set the focus_on_map field, but don't use it yet
2779         to actually implement noinput windows. The X implementation sets
2780         _NET_WM_USER_TIME to 0 if focus_on_map is FALSE (see the EWMH).
2781
2782         * gdk/x11/gdkwindow-x11.h: 
2783         * gdk/x11/gdkevents-x11.c (set_user_time): 
2784         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
2785         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): 
2786         s/_gdk_x11_window_set_user_time/gdk_x11_window_set_user_time/,
2787         since we want that function to be part of the public API.
2788
2789 Wed May  5 22:20:21 2004  Matthias Clasen  <maclas@gmx.de>
2790
2791         Merge from 2.4:
2792         
2793         * gtk/gtkiconfactory.c (icon_source_clear): Don't
2794         call g_free() on a pixbuf.  (#141961, Crispin Flowerday) 
2795
2796 2004-05-05  Matthias Clasen  <mclasen@redhat.com>
2797    
2798         Merge from 2.4:
2799         
2800         * gtk/gtkuimanager.c (print_node): Make the output 
2801         parseable.  (#141929, Sven Neumann)
2802
2803 2004-05-05  Tor Lillqvist  <tml@iki.fi>
2804
2805         * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window_for_screen): Add
2806         multi-monitor offset. (#141842, John Ehresman)
2807
2808 2004-05-04  Federico Mena Quintero  <federico@ximian.com>
2809
2810         Fixes #139562, based on a patch by Christian Neumair.
2811
2812         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add
2813         a filter_combo_hbox field to contain the filter combo.
2814         (show_filters): Show/hide the filter_combo_hbox.
2815         (create_filename_entry_and_filter_combo): Removed.
2816         (file_pane_create): Create the filter_combo_hbox here.
2817
2818 2004-05-04  Matthias Clasen  <mclasen@redhat.com>
2819
2820         * modules/input/gtkimcontextxim.c: Fix the recent
2821         string_conversion_callback change to work on 
2822         Solaris.  (#141190, Padraig O'Briain)
2823
2824         * gtk/gtkselection.c: Disable debug logging again.
2825
2826 2004-05-03  Matthias Clasen  <mclasen@redhat.com>
2827
2828         * gtk/gtkselection.c: Make the chunk size for 
2829         incremental transfers depend on the maximal request 
2830         size, capped at 256k. This should allow most selections
2831         to be transferred nonincrementally, avoiding many
2832         roundtrips and protocol overhead.
2833
2834 2004-05-03  Federico Mena Quintero  <federico@ximian.com>
2835
2836         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Call
2837         g_signal_new() correctly and initialize the signal fields.  Fixes
2838         #141749; patch based on Michael Natterer's.
2839
2840 u2004-05-03  Matthias Clasen  <mclasen@redhat.com>
2841
2842         * gtk/gtkselection.c (_gtk_selection_request): Fix
2843         a debug message to show correct information.
2844         (_gtk_selection_incr_event): Make INCRemental transfer
2845         of MULTIPLE targets work. This was broken since 1997!
2846
2847 2004-05-02  Hans Breuer  <hans@breuer.org>
2848
2849         * gdk/win32/gdkdrawable-win32.c (draw_segments) : don't
2850         modify the passed in GdkSegment(s) in place, we may get
2851         them again to draw at the same place. Fixes bug #129095, 
2852         bug #137177, ...
2853         (draw_segments) draw the end pixel again to get the 
2854         pixmap mask right, fixes bug #126710, #130202
2855
2856         * gdk/win32/gdkwindow-win32.c : use SetForegroundWindow,
2857         fixes bug #106013, John Ehresman
2858
2859         * gtk/makefile.msc.in : don't try to link gtk.res but
2860         use gtk-win32.res (as supposed to be fixed below :)
2861
2862 2004-05-01  Hans Breuer  <hans@breuer.org>
2863
2864         * tests/Makefile.am : tests/makefile.msc is in CVS for
2865         a long time, finally added to EXTRA_DIST : fixes bug 
2866         #141334, John Ehresman
2867
2868 2004-04-30  Matthias Clasen  <mclasen@redhat.com>
2869
2870         * === Released 2.4.1 ===
2871
2872         * configure.in: Version 2.4.1, interface age 1. 
2873
2874         * NEWS: Updates
2875
2876 2004-04-29  Federico Mena Quintero  <federico@ximian.com>
2877
2878         Fixes #140412.
2879
2880         * gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): New
2881         function; moved the code over from
2882         remove_bookmark_button_clicked_cb().
2883         (remove_selected_bookmarks): Now, getting a non-removable bookmark
2884         is not an error, as we may be called as a result of hitting the
2885         Delete key.
2886         (shortcuts_key_press_event_cb): New handler; delete the bookmark
2887         if the user presses Backspace, Delete, or KP_Delete.
2888
2889 2004-04-29  Matthias Clasen  <mclasen@redhat.com>
2890
2891         * gtk/gtkaction.c (closure_accel_activate): Use
2892         _gtk_action_emit_activate() instead of directly
2893         emitting the activate signal.  (#141429, Jody Goldberg)
2894
2895         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
2896         Warn people when the accelerator can not be 
2897         parsed.  (#141429, Jody Goldberg)
2898
2899 2004-04-29  Matthias Clasen  <mclasen@redhat.com>
2900
2901         * tests/testentrycompletion.c (main): Add a missing 
2902         cat.  (#141070, Chris Sherlock)  
2903
2904         * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
2905         variable.  (#141022, Chris Sherlock)
2906         
2907         * gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
2908         cast.  (#141013, Chris Sherlock)
2909
2910         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
2911         unused variable.  (#141011, Chris Sherlock)
2912
2913 2004-04-29  Tor Lillqvist  <tml@iki.fi>
2914
2915         * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory
2916         leak. (#140775, John Ehresman)
2917
2918 Thu Apr 29 01:09:50 2004  Matthias Clasen  <maclas@gmx.de>
2919
2920         * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1
2921         to index the cached gcs, not depth.  (#139494)
2922
2923 2004-04-28  Matthias Clasen  <mclasen@redhat.com>
2924
2925         * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix.
2926
2927 Sun Apr 25 15:36:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2928
2929         * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
2930         cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
2931
2932 2004-04-24  Theppitak Karoonboonyanan  <thep@linux.thai.net>
2933
2934         Patch to add support for string conversion callbacks to
2935         GtkIMContextXIM (#101814)
2936
2937         * modules/input/gtkimcontextxim.c: Set the string conversion callback
2938         if supported by the XIC.
2939
2940         (struct _GtkIMContextXIM): Add string_conversion_callback member.
2941
2942         (struct _GtkXIMInfo, setup_im): Check and keep flag inidicating
2943         whether string conversion callback is supported.
2944
2945         (gtk_im_context_get_ic, +set_string_conversion_callback,
2946         +string_conversion_callback): Also initialize string conversion
2947         callback, if supported, along with the IC initialization.
2948
2949         * modules/input/imxim.c: Make "xim" module default for Thai as well.
2950
2951 2004-04-23  Matthias Clasen  <mclasen@redhat.com>
2952
2953         * gtk/gtkclipboard.c (gtk_clipboard_wait_for_targets): Correctly
2954         initialize targets.  (#139883, John Finlay)
2955
2956         * gdk/gdkdraw.c (gdk_draw_drawable): Small doc improvement. 
2957
2958         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): 
2959         Don't recommend gtk_tree_row_reference_new_proxy().  (#138309,
2960         Tim-Philipp Müller)
2961
2962         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_cell_data): 
2963         Remove an excessive g_return_if_fail().
2964
2965         * gdk/x11/gdkevents-x11.c (set_user_time): Make set_user_time()
2966         static.
2967         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
2968         _-prefix calls of gdk_x11_window_set_user_time().
2969
2970 2004-04-22  Matthias Clasen  <mclasen@redhat.com>
2971
2972         * gtk/gtkuimanager.c (update_node): Make sure the separators 
2973         used to demarkate placeholder ends don't show up on 
2974         show_all().  (#140496, Murray Cumming)
2975
2976         * gtk/gtkspinbutton.c (spin_button_at_limit): Make spinbuttons
2977         work with negative increments.  (#137975, Tim Gerla)
2978
2979 Wed Apr 21 21:38:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2980
2981         * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget,
2982         gtk_tool_button_set_icon_widget): Remove the old widget from the
2983         tool button before overwriting it with the new widget.
2984
2985         (#140508, Todd Goyen)
2986         
2987 2004-04-22  Tor Lillqvist  <tml@iki.fi>
2988
2989         Fix the file chooser on Windows. I can't make it misbehave or
2990         crash any more now. But presumably there are still corner cases
2991         not handled. I haven't really checked behaviour of UNC paths, for
2992         instance.
2993
2994         * gtk/gtkfilesystemwin32.c: Accept both backslash and slash in
2995         several places. Use G_IS_DIR_SEPARATOR macro (which could be added
2996         to GLib in 2.6).
2997
2998         (gtk_file_system_win32_get_parent): Like the Unix version, assert
2999         filename is absolute, and avoid one unnecessary string allocation
3000         and freeing.
3001         
3002         (canonicalize_filename,gtk_file_system_win32_parse): Handle drive
3003         letters more correctly.
3004
3005         (gtk_file_system_win32_render_icon): Assure correct syntax is used
3006         for root folder of a drive. (#137962, Morten Welinder)
3007
3008         (filename_is_some_root): New function that accepts also root
3009         without any drive specified.
3010
3011         (filename_is_drive_root): Rename from filename_is_root.
3012
3013         * gtk/gtkfilechooserentry.c (completion_match_func): Casefold on
3014         Windows.
3015
3016 2004-04-21  Matthias Clasen  <mclasen@redhat.com>
3017
3018         * gtk/gtkentry.c (gtk_entry_completion_timeout): Pop down the 
3019         completion window if there are no completions anymore.
3020
3021         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
3022         Don't call gtk_tree_view_scroll_to_cell() on an empty tree view. 
3023         It doesn't like that.  (#140642, Christian Persch)
3024
3025         * demos/gtk-demo/expander.c (do_expander): A new demo.
3026
3027         * demos/gtk-demo/Makefile.am (demos): Add expander.c.
3028
3029 2004-04-20  Matthias Clasen  <mclasen@redhat.com>
3030
3031         * gtk/gtktextview.c (gtk_text_view_allocate_children): Make
3032         sure anchored children get size allocated, even if the layout
3033         is valid.  (#122323, Andrew E. Makeev)
3034         (gtk_text_view_scroll_pages): 
3035         (gtk_text_view_scroll_hpages): Don't scroll to cursor position
3036         if we already have pending scrolls. Bandaid fix for #78513.
3037
3038 Mon Apr 19 17:59:17 2004  Owen Taylor  <otaylor@redhat.com>
3039
3040         * INSTALL.in: Update libpng and libjpeg URLs, remove
3041         note about building without since that's not the normal
3042         case.
3043
3044 Sun Apr 11 09:45:11 2004  Owen Taylor  <otaylor@redhat.com>
3045
3046         * gtk/gtkicontheme.c (load_themes): Fix a couple of typos in
3047         handling of SVG/non-SVG unthemed icons.
3048
3049 2004-04-19  Morten Welinder  <terra@gnome.org>
3050
3051         * gtk/gtktoolbar.c (gtk_toolbar_focus): Don't leak list of
3052         children.  (#140523)
3053
3054 2004-04-19  Matthias Clasen  <mclasen@redhat.com>
3055
3056         * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): 
3057         Don't stop the iteration up to the tag_root too 
3058         early.  (#109945, Dongho Shin)
3059
3060 Sun Apr 18 17:06:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3061
3062         * gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make
3063         gdk_keymap_translate_keyboard_state() handle NULL
3064         keymaps. (#139715, Torsten Schoenfeld).
3065
3066 Sun Apr 18 16:59:21 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3067
3068         * configure.in: Don't erase GDK_EXTRA_CFLAGS. Fixes bug 139586,
3069         reported by Pedro RODRIGUEZ, about compilation problems when
3070         Xcursor is installed in a non-standard location.
3071
3072 Sun Apr 18 16:15:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3073
3074         Support for _NET_WM_USER_TIME (bug 115650). Patch by Elijah
3075         Newren.
3076         
3077         * gdk/x11/gdkwindow-x11.[ch]: Add new internal function
3078         _gdk_x11_set_user_time() to set the _NET_WM_USER_TIME property.
3079
3080         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add user_time field
3081
3082         * gdk/x11/gdkdisplay-x11.c: Add _NET_WM_USER_TIME to list of
3083         precached atoms.
3084         
3085         * gdk/x11/gdkinput-x11.c, gdk/x11/gdkevents-x11.c: Set the
3086         property on user interaction.
3087
3088 2004-04-15  Federico Mena Quintero  <federico@ximian.com>
3089
3090         * gtk/gtkfilesel.c (open_new_dir): Tell the user to use
3091         G_FILENAME_ENCODING, not G_BROKEN_FILENAMES.  Fixes #114065.
3092
3093         * gtk/gtkfilechooserdefault.c (split_uris): Use a variant of the
3094         code from gtkfilesel.c to parse a "text/uri-list" blob.  Fixes
3095         #140126.
3096
3097 2004-04-15  Matthias Clasen  <mclasen@redhat.com>
3098
3099         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 
3100         * gtk/gtkbutton.c (gtk_button_class_init): Doc fixes.
3101
3102 2004-04-14  Matthias Clasen  <mclasen@redhat.com>
3103
3104         * gtk/gtkcombobox.c: 
3105         * gtk/gtkwidget.c: 
3106         Make all style properties readonly.
3107
3108 2004-04-14  Matthias Clasen  <mclasen@redhat.com>
3109
3110         * gtk/gtkcolorsel.c: Add a11y relations between the color
3111         wheel and the spin buttons.  (#132745, Padraig O'Briain)
3112
3113         * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document
3114         the meaning of size == -1.
3115
3116         * gtk/gtkwidget.c (gtk_widget_render_icon): Explicitly accept  
3117         a size of -1.  (#137436, Brian Cameron)
3118
3119         * gtk/gtkcombobox.c: Make the arrow and separator regular
3120         children of an hbox inside the button, and propagate state
3121         changes from the button to the cell view.  (part of the fix
3122         for #138650, should also fix #137535)
3123
3124         * gtk/gtkcellview.c (gtk_cell_view_expose): Pass the PRELIT
3125         state to gtk_cell_renderer_render() when prelighted. (part 
3126         of the fix for #138650)
3127
3128         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
3129         Use PRELIGHT state when appropriate.  (part of the fix for 
3130         #138650)
3131
3132         * gtk/gtkcombobox.c (gtk_combo_box_relayout): Don't spit 
3133         out warnings if called before the combo box is 
3134         realized.  (#139742, Philip Langdale)
3135
3136 Wed Apr 14 03:45:39 2004  Jonathan Blandford  <jrb@gnome.org>
3137
3138         * gtk/gtktreeview.c (gtk_tree_view_expose): propagate expose
3139         events to children.
3140
3141 Wed Apr 14 03:32:58 2004  Jonathan Blandford  <jrb@gnome.org>
3142
3143         * gtk/gtkpathbar.c (make_directory_button): remove spurious
3144         gtk_box_pack_start.
3145
3146 Tue Apr 13 16:19:23 2004  Jonathan Blandford  <jrb@redhat.com>
3147
3148         * gtk/gtkpathbar.c (make_directory_button): patch from Owen to
3149         make the buttons sized by a bold label.  This makes the text
3150         'swim' a little, but stops the buttons from resizing, #137210
3151
3152 2004-04-13  Matthias Clasen  <mclasen@redhat.com>
3153
3154         * gtk/gtkuimanager.c (get_child_node): Don't crash if a node 
3155         has no name.
3156         (start_element_handler): Accept separators without unique 
3157         names.  (#133302, Anders Carlsson)
3158
3159         * gtk/gtkactiongroup.c (gtk_action_group_add_action): Document
3160         possible accelerator gotcha when using this function.  (#139641, 
3161         Christian Persch)
3162
3163         * gtk/gtkuimanager.c (node_remove_ui_reference): Don't leak
3164         list nodes.  (#138862, Morten Welinder)
3165
3166 Tue Apr 13 12:24:49 2004  Jonathan Blandford  <jrb@redhat.com>
3167
3168         * gtk/gtktreeview.c (gtk_tree_view_destroy): remove unused
3169         variable.
3170         (gtk_tree_view_button_press): If we activated the row we don't
3171         want to grab focus back, as moving focus to another widget is
3172         pretty common, #138458
3173
3174 2004-04-12  Federico Mena Quintero  <federico@ximian.com>
3175
3176         * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Added
3177         documentation to all the signals.
3178
3179 2004-04-12  Matthias Clasen  <mclasen@dhcp64-228.boston.redhat.com>
3180
3181         * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Don't unref
3182         model if it is NULL. (#139770)
3183
3184         * gtk/gtktreeview.c (gtk_tree_view_get_cell_area): Typo fix.
3185
3186         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Don't add
3187         a shadow inside the scrolled window, add it around the vbox.
3188
3189         * gtk/gtkentryprivate.h: 
3190         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
3191         Return a boolean indicating whether the popup is positioned above 
3192         or below. Scroll the completions to the beginning or the end, 
3193         depending on the positioning.
3194
3195         * gtk/gtkentry.c (gtk_entry_completion_key_press): Make keynav
3196         wrap around in the entry completion popup, and allow GDK_UP to 
3197         enter the popup.  (#137440)
3198
3199 2004-04-12  Matthias Clasen  <mclasen@redhat.com>
3200
3201         * gtk/gtkentry.c (gtk_entry_size_request): Make sure the style is 
3202         there before using it.
3203
3204 Sun Apr 11 15:08:45 2004  Jonathan Blandford  <jrb@gnome.org>
3205
3206         * gtk/gtktreeprivate.h: Moved search entries into priv data.
3207
3208         * gtk/gtktreeview.c: Prep for type-ahead support.
3209
3210         (gtk_tree_view_destroy): Destroy the search window explicitly.
3211         (gtk_tree_view_key_press): Minor change; prep for type-ahead
3212         (gtk_tree_view_ensure_interactive_directory): New function
3213         (gtk_tree_view_focus_out): Rework to handle new entry life-cycle.
3214         (gtk_tree_view_real_start_interactive_search): rework
3215         (gtk_tree_view_search_dialog_hide): ditto
3216         (gtk_tree_view_search_delete_event): ditto
3217         (gtk_tree_view_search_button_press_event): ditto
3218         (gtk_tree_view_search_key_press_event): ditto
3219         (gtk_tree_view_search_move): ditto
3220         (gtk_tree_view_search_init): ditto
3221
3222         * gtk/gtktreeviewcolumn.c:
3223         (gtk_tree_view_column_cell_layout_clear): remove unused variable.
3224
3225         * tests/testfilechooser.c: (main): change
3226
3227 2004-04-11  Hans Breuer  <hans@breuer.org>
3228
3229         * gdk/win32/gdkspawn-win32.c : workaround for bug #137496,
3230         the real fix would involve just another small API breakage,
3231         i.e. gdk_spawn_* using GPid not just gint.
3232
3233         * gtk/makefile.msc.in : build gtk-win32.res, not gtk.res
3234
3235 2004-04-10  Tor Lillqvist  <tml@iki.fi>
3236
3237         * gdk/win32/gdkkeys-win32.c (gdk_keymap_translate_keyboard_state):
3238         If both Shift and CapsLock pressed, ignore the shift only for
3239         letters (that would have been affected by the CapsLock). (#139095)
3240
3241         * gdk/win32/gdkglobals-win32.c: Disable tablet support by default,
3242         seems to be even buggier now than it used to be. (#138341)
3243         Initialize _gdk_input_ignore_wintab to TRUE.
3244
3245         * gdk/win32/gdkmain-win32.c: Add --use-wintab switch and
3246         GDK_USE_WINTAB environment variable to turn on tablet support.
3247
3248 2004-04-09  Christian Persch  <chpe@cvs.gnome.org>
3249
3250         * gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group),
3251         (gtk_ui_manager_remove_action_group): Terminate
3252         g_object_[dis]connect() calls with NULL instead of 0.
3253         Fixes #138997.
3254
3255 2004-04-09  Guntupalli Karunakar  <karunakar@freedomink.org>
3256
3257         * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
3258
3259 2004-04-07  Federico Mena Quintero  <federico@ximian.com>
3260
3261         Fix #132500.
3262
3263         * gtk/gtkfilesystem.c (gtk_file_system_parse): Ensure that the
3264         passed-in 'str' is not NULL.
3265
3266         * gtk/gtkfilesystemunix.c (expand_tilde): New helper function;
3267         expands "~/" or "~foo/" at the beginning of a filename.
3268         (gtk_file_system_unix_parse): Use expand_tilde() before doing
3269         anything else.
3270
3271         * gtk/gtkfilechooserentry.c
3272         (gtk_file_chooser_entry_maybe_update_directory): Take in a
3273         force_reload argument.
3274         (gtk_file_chooser_entry_changed): If gtk_file_system_parse()
3275         returns an error, set the file_part_pos to -1.
3276         (load_directory_callback): Only populate the model if the
3277         file_part_pos is not -1.
3278
3279 2004-04-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
3280
3281         * configure.in: Added Icelandic (is) to ALL_LINGUAS
3282
3283 2004-04-05  Federico Mena Quintero  <federico@ximian.com>
3284
3285         * gtk/gtkfilechooserdefault.c (location_popup_handler): Use a
3286         title for SAVE and CREATE_FOLDER modes.  Fixes #137272.
3287
3288         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_make_path): Look
3289         for G_DIR_SEPARATOR in the display_name, and err out if it is
3290         present; use the same error message as Nautilus.  Fixes #136467.
3291
3292         * gtk/gtkfilechooserdefault.c (file_pane_create): Make the
3293         new-folder button say "Create Fo_lder" rather than "Create
3294         _Folder", so that the mnemonic doesn't conflict with the "Save in
3295         _folder" label.  Fixes #136975.
3296
3297 2004-04-05  Federico Mena Quintero  <federico@ximian.com>
3298
3299         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Ref/sink the
3300         buttons.  Also, free them correctly upon failure.  Based on a
3301         patch by Morten Welinder, fixes #137956.
3302
3303 2004-04-05  Anders Carlsson  <andersca@gnome.org>
3304
3305         * gdk/gdk.c (gdk_arg_context_parse): Handle '--' correctly.
3306
3307 Fri Apr  2 17:57:33 2004  Jonathan Blandford  <jrb@redhat.com>
3308
3309         * gtk/gtktreeview.c (gtk_tree_view_row_inserted): set the height
3310         correctly for fixed height when inserting a node, #138082
3311
3312 2004-04-01  Federico Mena Quintero  <federico@ximian.com>
3313
3314         Fix #136077.
3315
3316         * gtk/gtkpathbar.h (struct _GtkPathBarClass): Add a
3317         "child_is_hidden" boolean argument to the "path-clicked" signal.
3318
3319         * gtk/gtkpathbar.c (struct _ButtonData): Added a file_is_hidden
3320         field.
3321         (make_directory_button): Take a file_is_hidden argument; put it in
3322         the ButtonData.
3323         (_gtk_path_bar_set_path): See whether each path component path is
3324         a hidden file.
3325         (gtk_path_bar_class_init): Add the file_is_hidden argument to the
3326         "path-clicked" signal.
3327         (button_clicked_cb): See if the downwards button represents a
3328         hidden file for the file_is_hidden argument in the signal
3329         emission.
3330
3331         * gtk/gtkmarshalers.list: Added a signal type VOID:POINTER,BOOLEAN.
3332
3333         * gtk/gtkfilechooserdefault.c
3334         (gtk_file_chooser_default_select_path): If we fail to switch
3335         folders, don't try to select the path in the file system model.
3336         Also, return the result from _gtk_file_system_model_path_do().
3337         (gtk_file_chooser_default_select_path): Turn on show_hidden in the
3338         file system model if we are asked to select a hidden file.
3339         (path_bar_clicked): Show hidden files based on whether the
3340         immediate downwards folder in the path bar is a hidden file
3341         itself.
3342         (struct _GtkFileChooserDefault): Added fields
3343         browse_files_popup_menu and browse_files_popup_menu_hidden_files_item.
3344         (create_file_list): Set an object data key of
3345         "GtkFileChooserDefault" on the tree view so that we can find the
3346         impl from the popup menu callbacks.  Also, hook up to the
3347         "button-press-event" and "popup-menu" signals in the file list to
3348         bring up a popup menu.
3349         (list_popup_menu_cb): New callback.
3350         (list_button_press_event_cb): New callback.
3351
3352         Fix #138763:
3353
3354         * gtk/gtkfilesystemmodel.c
3355         (_gtk_file_system_model_new): Oops, connect_object to
3356         "finished-loading".
3357
3358 2004-03-31  Tor Lillqvist  <tml@iki.fi>
3359
3360         * configure.in: Move AC_CANONICAL_HOST earlier, before the check
3361         for native Win32. (#136559, J. Ali Harlow)
3362
3363         * gdk/win32/gdkdrawable-win32.c (draw_arc): Use X11 semantics for
3364         angles. Thanks to Tim Newsham.
3365
3366 2004-03-29  Federico Mena Quintero  <federico@ximian.com>
3367
3368         Fix #137520.
3369
3370         * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots
3371         for an ::is_finished_loading() method and a ::finished_loading()
3372         signal at the end of the struct.
3373
3374         * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the
3375         "finished-loading" signal.
3376         (gtk_file_folder_is_finished_loading): New function.
3377
3378         * gtk/gtkfilesystemunix.c
3379         (gtk_file_folder_unix_is_finished_loading): Implement.
3380
3381         * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New
3382         slot for a "finished-loading" signal.
3383         (gtk_file_system_model_class_init): Create the "finished-loading"
3384         signal.
3385         (struct _GtkFileSystemModel): New field
3386         idle_finished_loading_source.  We emit the "finished-loading"
3387         signal in an idle if the root folder was done loading right in
3388         _gtk_file_system_model_new(), so that the caller has a chance to
3389         connect to the signal.
3390         (_gtk_file_system_model_new): Connect to the normal signals of the
3391         folder even if the initial _list_children() fails.  Also, see if
3392         the folder is finished loading; connect to the "finished-loading"
3393         signal otherwise.
3394         (gtk_file_system_model_finalize): Remove the idle handler.
3395
3396         * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor
3397         and connect to the model's "finished-loading" signal.
3398         (get_toplevel): New helper function.
3399         (error_message): Use get_toplevel().
3400         (trap_activate_cb): Likewise.
3401         (location_popup_handler): Likewise.
3402         (set_busy_cursor): New function.
3403         (browse_files_model_finished_loading_cb): New callback.
3404
3405 2004-03-25  Federico Mena Quintero  <federico@ximian.com>
3406
3407         * gtk/gtkfilechooserdefault.c (check_preview_change): Just use the
3408         file under the cursor; we don't need the logic from
3409         GtkFileSelection after all.  Fixes #132255.
3410
3411 2004-03-25  Federico Mena Quintero  <federico@ximian.com>
3412
3413         * gtk/gtkfilechooserdefault.c (location_entry_create): Fill the
3414         location entry with the display name of the file under the cursor
3415         for Open mode, or the typed filename in Save mode.
3416
3417 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
3418
3419         * gtk/gtkfilesystemwin32.c
3420         (filename_is_root): Bare drive designators (eg., "c:") are
3421         no longer considered as root filenames.  Fixed #137942
3422
3423 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
3424
3425         * gtk/gtkfilesystemwin32.c
3426         (gtk_file_system_win32_create_folder): Invert test for error in
3427         mkdir.  Fixes #137945
3428
3429 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
3430
3431         Fixed #138004 using Federico's code from #132327.
3432
3433         * gtk/gtkfilesystemwin32.c (struct _GtkFileSystemWin32): Add a
3434         folder_hash field to keep a list of live folder objects.
3435         (gtk_file_system_win32_init): Create the folder_hash.
3436         (gtk_file_system_win32_finalize): Destroy the folder_hash.
3437         (gtk_file_system_win32_get_folder): Ref and return an existing
3438         folder if we have it around, otherwise return a new folder object.
3439         (struct _GtkFileFolderWin32): Add a field for the parent file system.
3440         (gtk_file_folder_win32_finalize): Remove the folder from the file
3441         system's hash table.
3442         (gtk_file_system_win32_create_folder):  Emit "files-added" on the
3443         newly-created folder's parent.  Fixes #138004.
3444
3445 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
3446
3447         * gtk/gtkfilesystemwin32.c
3448         (gtk_file_system_win32_get_folder): Test that path is actually
3449         a directory and throw error if not. Fixed bug #137950
3450
3451 2004-03-22  J. Ali Harlow  <ali@juiblex.co.uk>
3452
3453         * gtk/gtkfilesystemwin32.c
3454         (gtk_file_system_win32_volume_get_display_name): Ignore empty
3455         volume labels; assume that GetVolumeInformation would fail if
3456         GetVolumeInformationW does; catches a small memory leak;
3457         pass the buffer size to GetVolumeInformationW in wide
3458         characters instead of bytes. Fixes bug #137543
3459         (list_volumes): Cope with the theoretical possibility of
3460         more than 26 logical drives. Fixes bug #137940
3461         (bookmarks_serialize): Now actually removes bookmarks.
3462         Fixes bug #137943
3463
3464 2004-03-22  Guntupalli Karunakar  <karunakar@freedomink.org>
3465
3466         * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
3467
3468 2004-03-21  Tor Lillqvist  <tml@iki.fi>
3469
3470         * gtk/gtkfilesystemwin32.c
3471         (gtk_file_system_win32_volume_get_base_path): Include the
3472         backslash. Otherwise gtk_file_system_win32_path_to_uri() returns
3473         NULL for a volume base path, as g_filename_to_uri() requires an
3474         absolute path, and just a drive letter and colon isn't. (#137543)
3475
3476 2004-03-20  Hans Breuer  <hans@breuer.org>
3477
3478         * gtk/gtkfilesystemwin32.c : applied the undisputable and
3479         required [due to recent gtkfilesystem internal api semantic 
3480         changes] part of patches to fix bug #137543 (Tor Lillqvist,
3481         J. Ali Harlow)
3482
3483         * gdk/gdkevents-win32.c (handle_configure_event) :
3484              (gdk_event_translate), WM_WINDOWPOSCHANGED : initialize
3485         GdkWindowObject::x, y with screen coords to make 
3486         gdk_window_get_position () return the right thing and thus fix
3487         drag and drop positioning (e.g. Gimp tabs, fixes bug #137192)
3488
3489 2004-03-19  Federico Mena Quintero  <federico@ximian.com>
3490
3491         * Revert the patch to #137520, as 2.4.1 is for conservative bug
3492         fixes only.  The patch is attached to the bug report, for
3493         reference.
3494
3495 2004-03-19  Morten Welinder  <terra@gnome.org>
3496
3497         * gtk/gtkfilechooserdefault.c
3498         (gtk_file_chooser_default_set_current_folder): Test existance of
3499         the path after checking for locality, if needed.
3500
3501 2004-03-19  Federico Mena Quintero  <federico@ximian.com>
3502
3503         Fix #137520.
3504
3505         * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots
3506         for an ::is_finished_loading() method and a ::finished_loading()
3507         signal at the end of the struct.
3508
3509         * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the
3510         "finished-loading" signal.
3511         (gtk_file_folder_is_finished_loading): New function.
3512
3513         * gtk/gtkfilesystemunix.c
3514         (gtk_file_folder_unix_is_finished_loading): Implement.
3515
3516         * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New
3517         slot for a "finished-loading" signal.
3518         (gtk_file_system_model_class_init): Create the "finished-loading"
3519         signal.
3520         (struct _GtkFileSystemModel): New field
3521         idle_finished_loading_source.  We emit the "finished-loading"
3522         signal in an idle if the root folder was done loading right in
3523         _gtk_file_system_model_new(), so that the caller has a chance to
3524         connect to the signal.
3525         (_gtk_file_system_model_new): Connect to the normal signals of the
3526         folder even if the initial _list_children() fails.  Also, see if
3527         the folder is finished loading; connect to the "finished-loading"
3528         signal otherwise.
3529         (gtk_file_system_model_finalize): Remove the idle handler.
3530
3531         * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor
3532         and connect to the model's "finished-loading" signal.
3533         (get_toplevel): New helper function.
3534         (error_message): Use get_toplevel().
3535         (trap_activate_cb): Likewise.
3536         (location_popup_handler): Likewise.
3537         (set_busy_cursor): New function.
3538         (browse_files_model_finished_loading_cb): New callback.
3539
3540 Thu Mar 18 12:10:45 2004  Owen Taylor  <otaylor@redhat.com>
3541
3542         * gtk/gtktreeitem.c (gtk_tree_item_forall): Include 
3543         eventbox for expander. (#137564, reported by
3544         Jacques Garrigue)
3545
3546 2004-03-18  Guntupalli Karunakar  <karunakar@freedomink.org>
3547
3548         * mr.po: Added "mr" for Marathi to ALL_LINGUAS.
3549
3550 2004-03-17  Morten Welinder  <terra@gnome.org>
3551
3552         * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Free
3553         volumes not actually put into the shortcut list.
3554
3555         * tests/prop-editor.c (object_changed): Plug leak.
3556
3557         * tests/testfilechooser.c (main): Plug some leaks and expose
3558         others.
3559
3560         * tests/prop-editor.c (create_prop_editor): Don't leak the tooltip
3561         object.  Fixed #136652.
3562
3563         * gtk/gtkfilechooserdefault.c (check_icon_theme): Do nothing if we
3564         have no screen.  Fixes #137260.
3565         (shortcuts_add_bookmark_from_path): Simplify using check_is_folder
3566         thereby fixing leak.  Fixes #137259.
3567
3568         * gtk/gtkpathbar.c (gtk_path_bar_forall): Make this work when the
3569         slider buttons have been destroyed.
3570         (gtk_path_bar_remove): Make this work for slider buttons too.
3571         Fixes #137257
3572
3573 2004-03-15  Morten Welinder  <terra@gnome.org>
3574
3575         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path):
3576         Sanitize and plug leak.
3577         (check_icon_theme): Only do something if the widget has a screen.
3578
3579 Wed Mar 17 01:20:28 2004  Matthias Clasen  <maclas@gmx.de>
3580
3581         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
3582         Move the repositioning logic from _gtk_entry_completion() popup
3583         over here. Fixes #137355, reported by Niklas Knutsson.
3584