]> Pileus Git - ~andy/gtk/blob - ChangeLog
Pass gtk_widget_get_toplevel() a GTK_WIDGET.
[~andy/gtk] / ChangeLog
1 Thu Feb 17 14:52:57 2005  Manish Singh  <yosh@gimp.org>
2
3         * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
4
5 2005-02-16  Matthias Clasen  <mclasen@redhat.com>
6
7         * docs/iconcache.txt: Add some information about the
8         icon cache format (since I can't locate it at freedesktop.org)
9
10         Fixes for #143829, Tommi Komulainen, Christian Persch:
11         
12         * gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
13         typeselect_flush_timeout when destroying the widgets
14         it is operating on.  
15         (gtk_tree_view_ensure_interactive_directory): Add the 
16         popup to the window group of the toplevel it belongs to.
17
18         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget) 
19         (gtk_combo_box_popup): Do the same here. 
20
21 2005-02-14  Matthias Clasen  <mclasen@redhat.com>
22
23         * configure.in: Kill --enable-ansi  (#164394)
24
25 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
26
27         * gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling 
28         when the pathbar goes away.  (#167094, Rodney Dawes)
29         (change_icon_theme): Use GTK_ICON_SIZE_MENU here as 
30         well  (Vincent Noel)
31
32 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
33
34         Support vertical menubars  (#166632): 
35         
36         * gtk/gtkenums.h (GtkPackDirection): New enumeration for pack 
37         directions, with values for left-to-right, right-to-left, 
38         top-to-bottom and bottom-to-top.
39
40         * gtk/gtk.symbols: 
41         * gtk/gtkmenubar.h: 
42         * gtk/gtkmenubar.c: Add two properties, pack-direction and
43         child-pack-direction, which specify how children and 
44         grandchildren of a menubar are packed, with getters and setters. 
45
46         * gtk/gtkmenubar.c (gtk_menu_bar_set_property): 
47         (gtk_menu_bar_get_property): Implement set_property and get_property.
48
49         * gtk/gtkmenubar.c (gtk_menu_bar_size_request): 
50         (gtk_menu_bar_size_allocate): Take pack direction into account.
51
52         * gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement 
53         move_current here move all the menubar-specific direction 
54         tweaking from the generic menushell implementation here.
55
56         * gtk/gtkmenu.c (gtk_menu_move_current): Move  menu-specific 
57         direction tweaking from the generic menushell implementation here.
58
59         * gtk/gtkmenuitem.c (gtk_menu_item_size_request): 
60         (gtk_menu_bar_size_allocate): Take pack direction into account.
61
62         * gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request) 
63         (gtk_image_menu_item_size_allocate): 
64         (gtk_image_menu_item_toggle_size_request): Take child pack 
65         direction into account and pack the image vertically if
66         necessary.
67
68         * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
69         Set the submenu direction to left-right for menuitems in 
70         vertical menubars.
71         (gtk_real_menu_shell_move_current): Simplify by moving
72         direction tweaking to menu- and menubar-specific 
73         implementations. Take pack direction into account when
74         doing fallbacks.
75
76         * tests/testmenubars.c: Test menubars in various packing
77         direction combinations.
78
79         * tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.
80
81 2005-02-11  Matthias Clasen  <mclasen@redhat.com>
82
83         Complete the fix for #165770, Vincent Noel:
84         
85         * gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the
86         fallback size be 16, to be equal to the default for
87         GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
88         (gtk_file_chooser_button_init):
89         (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
90         GTK_ICON_SIZE_SMALL_TOOLBAR. 
91
92 2005-02-09  Matthias Clasen  <mclasen@redhat.com>
93
94         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
95         keynav for going from menubar to menu.
96
97 2005-02-08  Christian Rose  <menthos@menthos.com>
98
99         * configure.in: Added "xh" to ALL_LINGUAS.
100
101 2005-02-08  Matthias Clasen  <mclasen@redhat.com>
102
103         * gtk/gtkuimanager.c (start_element_handler): Accept 
104         the "expand" attribute and set a flag in the node if it
105         is set to "true".
106         (update_node): If the expand flag is set, make separator
107         toolitems non-drawn and expanding.  (#166489, Christian Persch)
108
109 2005-02-05  Hans Breuer  <hans@breuer.org>
110
111         * gdk/makefile.msc gdk/win32/makefile.msc gtk/makefile.msc.in :
112         build with Cairo dependency. The patch to acually use Cairo
113         on win32 will be on gtk-devel-list soon.
114         * tests/makefile.msc : add testcairo building
115
116         * gtk/stock-icons/makefile.msc : split command line into two to
117         work with the shells default
118
119 Fri Feb  4 14:16:31 2005  Manish Singh  <yosh@gimp.org>
120
121         * gtk/gtkaccelgroup.c (substitute_underscores): remove unused
122         function.
123
124         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
125         Add some extra parens for bitop order of operations disambiguiation.
126
127         * gtk/gtkstock.c: Fix const confusion, make our own copy of the 
128         domain when setting a translate function.
129
130         * tests/testcombo.c: removed unused variable.
131
132 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
133
134         * gtk/gtkstock.c (gtk_stock_lookup): Handle item->translation_domain
135         being NULL.  (#166179, Diego Gonzalez)
136
137 2005-02-04  Owen Taylor  <otaylor@redhat.com>
138
139         * configure.in: Revert gtk_binary_version to 2.4.0. Fix
140         up comment to talk only about backwards compat, not
141         forward/backwards compat. (#166293, reported by Vincent Noel)
142
143 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
144
145         * gtk/gtkpaned.c (gtk_paned_compute_position): Work better
146         when there is not enough space. This avoids a nasty size
147         allocation loop in the file chooser.  (#154007, reported 
148         by Milosz Derezynski, patch by Robert Ögren)
149
150 2005-02-04  Matthias Clasen  <mclasen@redhat.com>
151
152         * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
153         selection of RTL direction if the widget does not have 
154         focus.  (#164125, Frederic Crozat)
155
156 Thu Feb  3 19:15:55 2005  Manish Singh  <yosh@gimp.org>
157
158         * gdk/x11/gdkdrawable-x11.c: #include cairo-xlib.h
159
160 2005-02-03  Owen Taylor  <otaylor@redhat.com>
161
162         * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
163         gdk_drawable_set_cairo_target().
164
165         * tests/testtreeflow.c (enum): Use grand not rand as a variable
166         name because one of the cairo headers is pulling in stdlib.h.
167
168         * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
169         example.
170
171         * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
172
173         * Require libpangocairo for all backends.
174
175 2005-02-03  Tor Lillqvist  <tml@novell.com>
176
177         * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
178         wide character version of ImmGetCompositionString() here,
179         too. (#165278, Takuro Ashie)
180
181 2005-02-03  Matthias Clasen  <mclasen@redhat.com>
182
183         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
184         one roundtrip per motion event.  (#166173, pointed out
185         by Chris Lee, patch by Søren Sandmann)
186
187         * gtk/gtk.symbols: 
188         * gtk/gtkstock.h: 
189         * gtk/gtkstock.c (gtk_stock_set_translate_func): 
190         New function which allows to change the function used for
191         translation stock labels, on a per-domain basis. Use this
192         functionality to switch the GTK+ stock items to use Q_()
193         prefixed msgids.  (#166179, Funda Wang)
194         
195         * gdk/gdkkeynames.c: Make the gdk_key array const (#166075,
196         Tommi Komulainen)
197
198 2005-02-02  Federico Mena Quintero  <federico@ximian.com>
199
200         Merged from gtk-2-6:
201
202         * gtk/gtkfilechooserdefault.c (pending_select_paths_process):
203         Don't select the first row if the chooser is not mapped.  This
204         happens when it's acting on behalf of GtkFileChooserButton.  Also,
205         don't select the first row if we are in SAVE or CREATE_FOLDER
206         modes --- I had missed that (see the ChangeLog entry from
207         2005-01-18).  Fixes #165264.
208
209 2005-02-02  Tor Lillqvist  <tml@novell.com>
210
211         Implement lazy extended input initialization on Win32, by Robert
212         Ögren. Fixes #163163, possibly #162334. Lazy initialization would
213         be a good idea in any case even if it didn't fix any visible
214         problems, though.
215
216         The Wacom tablet driver seems to get confused if Wintab is
217         initialized but no window is shown before the process exits. This
218         is the case for some GIMP plug-ins, for instance. 
219
220         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
221         non-static (and renamed).
222         (_gdk_input_init): Don't call _gdk_input_wintab_init_check().
223
224         * gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().
225
226         * gdk/win32/gdkinput.c (gdk_devices_list,
227         gdk_display_list_devices, gdk_input_set_extension_events): Call
228         _gdk_input_wintab_init_check() here instead.
229
230 2005-02-02  Ivan, Wong Yat Cheung  <email@ivanwong.info>
231
232         * gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp
233         of a single window so that gtk_clipboard_request_contents() can be
234         called inside a GtkClipboardReceivedFunc(). (#163844)
235
236 2005-02-01  Matthias Clasen  <mclasen@redhat.com>
237
238         * gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons
239         in XDG_DATA_DIRS/pixmaps.  (#165950, Thomas Zajic)
240
241         * gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
242         to NULL after freeing it.  (#165800, Damon Chaplin)
243
244 2005-02-01  Michael Natterer  <mitch@gimp.org>
245
246         * configure.in: depend on stable pango-1.8, not unstable 1.7
247
248 2005-02-01  Federico Mena Quintero  <federico@ximian.com>
249
250         Merged from gtk-2-6:
251
252         * gtk/gtkfilechooserdefault.c
253         (browse_files_model_finished_loading_cb): Don't
254         g_assert_not_reached() if we are in any other state.  Another code
255         path may have triggered a folder reload.  Fixes #165556.
256
257 2005-02-01  Federico Mena Quintero  <federico@ximian.com>
258
259         Merged from gtk-2-6:
260
261         Fix #165770:
262
263         * gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
264         fallback size be 16, to be equal to the default for
265         GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
266         (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
267         GTK_ICON_SIZE_SMALL_TOOLBAR.
268
269 2005-02-01  Matthias Clasen  <mclasen@redhat.com>
270
271         * */*.c: Fix many instances of "the the" in docs and
272         comments.  (#165815, Masao Mutoh)
273
274         * gtk/updateiconcache.c (main): Add a --quiet option.
275
276 2005-02-01  Tor Lillqvist  <tml@novell.com>
277
278         * gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks,
279         reset_after_dead, handle_dead): New functions, code blocks
280         refactored out of update_keymap(). No functionality change.
281
282         (update_keymap): Use ToUnicodeEx() when available (on NT-based
283         Windows) instead of ToAsciiEx(). Makes keyboard input work in
284         Unicode-only input locales that don't have any ANSI codepage, for
285         instance Hindi and Bengali. Use _gdk_input_codepage only on
286         Win9x. (#165723)
287
288         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
289         WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of
290         TranslateCharsetInfo() to get the input locale's corresponding
291         codepage, if any.
292
293 2005-01-31  Matthias Clasen  <mclasen@redhat.com>
294
295         * modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate 
296         NULL-terminated va lists.  (#165683)
297
298 2005-01-29  Matthias Clasen  <mclasen@redhat.com>
299
300         * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_set_draw): 
301         Typo fix.  (#165581, Masao Mutoh)
302
303 Thu Jan 27 14:25:45 2005  Manish Singh  <yosh@gimp.org>
304
305         * README.cvs-commits: update ancient IRC info.
306
307 2005-01-27  Federico Mena Quintero  <federico@ximian.com>
308
309         Merged from gtk-2-6:
310
311         * gtk/gtkfilechooserdefault.c
312         (gtk_file_chooser_default_select_path): Oops, don't assert that we
313         can't reach the end of the function; this happens if we are still
314         loading but don't need a path change.  Fixes #165213.
315
316 2005-01-27  Matthias Clasen  <mclasen@redhat.com>
317
318         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
319         Make wrapping work in RTL mode.  
320
321         * gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog,
322         obey HIG spacing a bit more, add a hand cursor when over the
323         link button.  (#163979, Jorn Baayen)
324
325 2005-01-26  Matthias Clasen  <mclasen@redhat.com>
326
327         * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): 
328         Don't allow -1 as minimum-key-length.
329         (gtk_entry_completion_set_model): Add missing notification.
330         (gtk_entry_completion_set_minimum_key_length): Add missing
331         notification, allow setting minimum-key-length to 0.  (#165194,
332         Vincent Ladeuil)
333
334 2005-01-26  Matthias Clasen  <mclasen@redhat.com>
335
336         * gtk/gtkaboutdialog.c (display_license_dialog): Make sure
337         the license dialog is initially displayed without a horizontal
338         scrollbar.  
339         (gtk_about_dialog_class_init): Document the fact that the 
340         license text is not wrapped.  (#165012, Christian Rose)
341
342 2005-01-25  Matthias Clasen  <mclasen@redhat.com>
343
344         * gtk/gtkbutton.c (gtk_button_set_image): Fix docs.  (#165180,
345         Jeff Franks)
346
347         * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Fix 
348         docs.  (#165163, Jeff Franks)
349         
350         * gtk/gtkimage.c (gtk_image_get_property): Use the correct setter
351         for a string GValue.  (#165203, Damon Chaplin)
352
353 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
354
355         * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display): 
356         Initialize user_time from DESKTOP_STARTUP_ID.  (#165131,
357         Elijah Newren)
358
359 2005-01-24  Federico Mena Quintero  <federico@ximian.com>
360
361         * gtk/gtkfilechooserdefault.c: Removed leftover comments.
362
363 2005-01-24  Federico Mena Quintero  <federico@ximian.com>
364
365         Merged from gtk-2-6:
366
367         Fix #147785 and clean up the loading code:
368
369         * gtk/gtkfilechooserdefault.c (LoadState): Make the set of states
370         be EMPTY, PRELOAD, LOADING, FINISHED.
371         (gtk_file_chooser_default_init): Start in the LOAD_EMPTY state.
372         (struct _GtkFileChooserDefault): Added a pending_select_paths
373         field.
374         (load_remove_timer): Add the new states.
375         (load_setup_timer): Likewise.
376         (load_timeout_cb): Likewise.  Switch to the LOAD_LOADING state.
377         (browse_files_model_finished_loading_cb): Switch to the
378         LOAD_FINISHED state.
379         (enum PendingOp): Removed.
380         (struct _GtkFileChooserDefault): Removed the pending_op and
381         pending_select_path fields.
382         (pending_select_paths_free): New utility function.
383         (pending_select_paths_add): New utility function.
384         (gtk_file_chooser_default_finalize): Call
385         pending_select_paths_free().
386         (pending_op_queue): Removed.
387         (pending_op_process): Removed.
388         (pending_select_paths_process): New function.
389         (browse_files_model_finished_loading_cb): Call
390         pending_select_paths_process().
391         (center_selected_row_foreach_cb): Handle multiple selection by
392         only centering the first row.
393         (get_is_file_filtered): Constify.
394         (gtk_file_chooser_default_select_path): Queue into a list of paths
395         to select if we are not finished loading.
396         (show_and_select_paths): New utility function.
397         (up_folder_handler): Use pending_select_paths_add().
398         (gtk_file_chooser_default_should_respond): Do not call
399         pending_op_queue(); free the pending_selected_paths instead.
400         (gtk_file_chooser_default_initial_focus): Don't queue a pending
401         operation, and don't select the first row unconditionally --- this
402         will happen when the folder is done loading.
403         (shortcuts_row_activated_cb): Free the pending_select_paths.
404         (pending_select_paths_store_selection): New utility function.
405         (gtk_file_chooser_default_map): Call
406         pending_select_paths_store_selection() to save the selection
407         before reloading the folder.
408         (select_func): Umm?  Call gtk_tree_selection_select_iter().  Don't
409         move the cursor here; it will be done when processing the pending paths.
410
411         * tests/testfilechooser.c (main): Add a button to the command
412         window to unmap and remap the file chooser.
413
414 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
415
416         * docs/tutorial/gtk-tut.sgml:
417         * docs/tutorial/gtk_tut.sgml:
418         * docs/reference/gtk/tmpl/gtkliststore.sgml:
419         * gtk/gtkactiongroup.c:
420         * gtk/gtksizegroup.c:
421         * gtk/gtksizegroup.h:
422         * gtk/gtktogglebutton.c: Replace "effect" by "affect" where
423         appropriate.  (#165108, Dan Winship)
424
425 2005-01-24  Matthias Clasen  <mclasen@redhat.com>
426
427         * gtk/gtkwidget.c (gtk_widget_class_init): Document 
428         GtkWidget::style-set.  (#164222, Alex Graveley)
429         
430 2005-01-22  Matthias Clasen  <mclasen@redhat.com>
431
432         * gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full): 
433         Remove the accidentally added prototype for this unimplemented 
434         function.  (#164893, Jeff Franks)
435
436         * gtk/gtktreeview.c (gtk_tree_view_leave_notify): Avoid spurious
437         drags.  (#164884)
438
439 2005-01-23  Tor Lillqvist  <tml@novell.com>
440
441         * gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos
442         dead accent key. (#164859, reported and fix verified by Daniel
443         Atallah.)
444
445         * gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle
446         GDK_Greek_accentdieresis (tonos and dialytika) combining with iota
447         and upsilon.
448
449         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name): 
450         Don't call GetVolumeInformation() for network drives. They might
451         be disconnected, and calling GetVolumeInformation() will then
452         cause long delays. (#164448, reported by Dave Neary.) It seems to
453         be very hard to reliably find out whether a network drive is
454         connected or not, so it's easier to just not try getting the
455         volume name for them. See the bug report for discussion.
456
457         Make volume name display formats translatable.
458
459         Fix for #163702, from Ivan Wong: 
460         
461         * gdk/win32/gdkprivate-win32.h 
462         * gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard.
463         
464         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle
465         WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a
466         GDK_SELECTION_CLEAR event.
467
468         * gdk/win32/gdkselection-win32.c
469         (gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard
470         when emptying the clipboard ourselves.
471
472         (gdk_selection_send_notify_for_display): Remove the artifical
473         GDK_SELECTION_CLEAR event generation.
474
475 2005-01-21  Matthias Clasen  <mclasen@redhat.com>
476
477         * gtk/gtkwidget.c (gtk_widget_get_accessible): More details
478         provided by Bill Haneman.
479
480 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
481
482         * gtk/gtkwidget.c (gtk_widget_get_accessible): Add docs.  (#164725,
483         George Kraft IV)
484
485         * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
486         here, even if the only focusable widgets are labels.
487
488 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
489
490         Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
491         
492         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init) 
493         Add a follow-state property which when TRUE causes the pixbuf
494         to be tinted according to state.
495
496         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): 
497         Use follow-state and colorize the pixbuf when appropriate.      
498         
499 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
500
501         Support wrapping in GtkCellRendererText  (#163608):
502         
503         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
504         Add wrap-mode and wrap-width properties which cause a 
505         text cell to break to a specified width when set.
506
507         * gtk/gtkcellrenderertext.c (get_layout): Use wrap-mode
508         and wrap-width when they are set.
509
510 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
511
512         * gtk/gtkmodules.c (load_module): Don't reverse the order
513         of modules when putting them in gtk_modules.  (#162676, Dennis
514         Cranston, patch by Remus Draica)
515
516         * gtk/gtktreeview.c (gtk_tree_view_search_move): Don't crash 
517         if the tree is empty.  (#164669, Priit Laes)
518
519 Wed Jan 19 18:57:02 2005  Manish Singh  <yosh@gimp.org>
520
521         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Call
522         GDK_DISPLAY_XDISPLAY with a display, not a window. Clean up the
523         function a bit too.
524
525 Wed Jan 19 17:17:31 2005  Manish Singh  <yosh@gimp.org>
526
527         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
528         strict aliasing warning in _NET_VIRTUAL_ROOTS code.
529
530 2005-01-19  Tor Lillqvist  <tml@novell.com>
531
532         * gdk/win32/gdkkeys-win32.c (update_keymap,
533         gdk_keymap_translate_keyboard_state): Handle keyboards with
534         ShiftLock (and not CapsLock) correctly. (#161814)
535
536 2005-01-19  Matthias Clasen  <mclasen@redhat.com>
537
538         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
539         In save mode, don't return paths containing nonexisting 
540         directories.  (#162443, Jean Marie Favreau)
541
542         * gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit 
543         macros to avoid sparse warnings. Pointed out by Kjartan Maraas.
544
545         * gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
546         atom.
547
548         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): 
549         Support _NET_VIRTUAL_ROOTS.  (#163910, Carsten Haitzler)
550         
551         * gdk/gdk.symbols: 
552         * gdk/x11/gdkx.h: 
553         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time): 
554         Add a function to obtain the last user interaction 
555         time.  (#163119, Elijah Newren)
556
557 Tue Jan 18 13:56:09 2005  Manish Singh  <yosh@gimp.org>
558
559         * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
560         PENDING_OP_NONE.
561
562 Tue Jan 18 13:46:46 2005  Manish Singh  <yosh@gimp.org>
563
564         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
565         disambiguate nested if/else.
566
567 2005-01-18  Federico Mena Quintero  <federico@ximian.com>
568
569         Merged from gtk-2-6:
570
571         * gtk/gtkfilechooserdefault.c (pending_op_queue): Don't queue an
572         operation to select the first file if we are in SAVE or
573         CREATE_FOLDER modes.  Executing that operation would overwrite the
574         contents of the save-name entry.
575
576 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
577
578         * gdk/gdkdisplay.h: 
579         * gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer): 
580         * gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
581         pointer warping to GDK.  (#160437)
582
583         * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
584
585 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
586
587         * gtk/gtkstyle.c (gtk_default_draw_check) 
588         (gtk_default_draw_option, gtk_default_draw_handle): Add some
589         more NULL checks, patch by Michael Natterer.
590
591 Tue Jan 18 10:55:47 2005  Søren Sandmann  <sandmann@redhat.com>
592
593         * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
594         and NULL widget.
595
596         * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
597         NULL widget.  (#164477, Michael Natterer)
598
599 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
600
601         Avoid X errors when running against servers which
602         implement XRender < 0.4.  (#164427, Albert Chin)
603         
604         * gdk/x11/gdkprivate-x11.h:
605         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): 
606         New function to check for trapezoid support in XRender.
607         (gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids): 
608         Use it here.
609         
610         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a 
611         separate have_render_with_trapezoids field.
612
613         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
614
615 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
616
617         * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
618
619 Mon Jan 17 16:44:36 2005  Jonathan Blandford  <jrb@redhat.com>
620
621         * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to
622         dist.
623
624 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
625
626         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmarks): Save
627         and restore the selected row in the bookmark list and the
628         save folder combo.  (#164290)
629
630 2005-01-16  Matthias Clasen  <mclasen@redhat.com>
631
632         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
633         Fix argument order in docs.  
634
635 2005-01-15  Matthias Clasen  <mclasen@redhat.com>
636
637         * gtk/gtktextview.c (gtk_text_view_check_keymap_direction): 
638         * gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL 
639         if the keymap is neutral.  (#164125, Phil Blundell)
640
641 2005-01-14  Matthias Clasen  <mclasen@redhat.com>
642
643         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
644         reset the property to its default value -1. 
645         (gtk_tree_view_get_search_column): Return the default value in
646         the g_return_val_if_fail() check.  (#163864, Richard Hult)
647
648         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value): 
649         Add a translator hint.  (#163889)
650
651         * configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
652         is an enum value, not a define. Pointed out by Tommi Komulainen.
653         * gtk/gtkcalendar.c (gtk_calendar_init): Adapt.
654
655 2005-01-13  Matthias Clasen  <mclasen@redhat.com>
656
657         * configure.in: Check for nl_langinfo()
658         * gtk/gtkcalendar.c (gtk_calendar_init): Use nl_langinfo() when it's
659         available to determine first day of week   (#163842, Vincent Untz)
660
661         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about 
662         the lifecycle of widgets.  (#159503, Christian Persch)
663
664         * demos/gtk-demo/main.c (create_text): Use monospace for the 
665         source code view.  (#163526, Theerud Lawtrakul)
666
667         * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
668         for the Credits button to avoid duplicate.  (#163465, Tim-Philipp 
669         Müller)
670         
671         * configure.in: Add an OS_LINUX conditional.
672
673         * gdk/Makefile.am (TESTS):
674         * gdk-pixbuf/Makefile.am (TESTS):
675         * gtk/Makefile.am (TESTS): Only run abicheck on Linux.  (#163917,
676         Roger Leigh)
677
678 2005-01-13  Matthias Clasen <mclasen@redhat.com>
679
680         * gtk/gtktreeview.c: (gtk_tree_view_class_init),
681         (gtk_tree_view_set_headers_clickable): Make the headers-visible
682         property readwrite instead of just writable, and remove the
683         g_return_if_fail check that there is a model when setting this
684         property. Also improve the blurb.  (#163851, Richard Hult)
685
686 2005-01-12  Owen Taylor <otaylor@redhat.com>
687
688         * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
689         initialization of gdktarget, that was causing it to be
690         evaluated before host was set. Simplify --with-gdktarget help
691         message.
692
693         * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 
694         which doesn't work with slightly older versions of GNU grep 
695         in install-libtool-import-lib rule.
696         
697 2005-01-12  Tor Lillqvist  <tlillqvist@novell.com>
698
699         Fix for #162790, by Iwan Wong:
700         
701         * gdk/win32/gdkdrawable-win32.c: Implement dashed lines
702         correctly. Simplify the interface to render_line_horizontal() and
703         render_line_vertical(). Need to draw lines "manually" also on
704         NT-based Windowses if we have a dash offset or are drawing
705         double-dashed lines.
706
707         * gdk/win32/gdkprivate-win32.h: Keep also the dash offset,
708         double-dash flag, and a brush for the background colour (used by
709         the odd dashes in the double-dash line style) in the GdkGCWin32
710         struct.
711
712         * gdk/win32/gdkgc-win32.c: Set up above new fields.
713
714 2005-01-10  Federico Mena Quintero  <federico@ximian.com>
715
716         Fix #162617.
717
718         * gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out
719         GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this.
720         (gtk_file_system_unix_get_folder): Make error reporting more
721         accurate.  Don't bail out if we can't read the directory.
722         (fill_in_stats): Don't return an error; just assume we don't have
723         stat info for this folder's files.
724         (fill_in_names): Don't create the hash table for the names if we
725         can't open the directory.
726         (gtk_file_folder_unix_list_children): Don't emit the
727         "finished-loading" signal --- we don't do asynchronous loads, so
728         we are always finished loading.
729         (gtk_file_folder_unix_get_info): Use helper functions; handle the
730         case where we can't stat '/'.
731         (get_icon_type_from_path): Don't call fill_in_stats() here; only
732         use the info we have.
733         (fill_in_mime_type): Don't return an error.  Don't do anything if
734         we don't have the stat info.
735
736 2005-01-10  Owen Taylor  <otaylor@redhat.com>
737
738         * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
739         to EXTRA_DIST.
740
741 2005-01-10  Matthias Clasen  <mclasen@redhat.com>
742
743         * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document
744         signals.  (#163319, Murray Cumming)
745
746 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
747
748         * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Set current
749         cursor also when changing the cursor of a window that is the first
750         ancestor of the window containing the pointer that has a cursor
751         defined. (#163035, Ivan Wong)
752
753 2005-01-09  Anders Carlsson <andersca@gnome.org>
754
755         * gtk/gtkcellrenderertext.c: (get_size):
756         * gtk/gtklabel.c: (gtk_label_size_request):
757         * gtk/gtkprogressbar.c: (gtk_progress_bar_size_request):
758         Don't pass NULL to pango_context_get_metrics. Use 
759         pango_context_get_language instead, which is way faster.
760         
761 2005-01-08  Matthias Clasen  <mclasen@redhat.com>
762
763         * configure.in: Bump version
764
765         * === Released 2.6.1 ===
766         
767         * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0
768
769 2005-01-07  Tor Lillqvist  <tml@iki.fi>
770
771         * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
772         Fix braino. (#163232, Arnaud Charlet)
773
774 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
775
776         * gtk/gtkiconview.c: Make markup_column work, and fix some
777         layout issues when either icon or text is missing.  (#163065)
778
779 2005-01-06  Federico Mena Quintero  <federico@ximian.com>
780
781         * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an
782         "Open _Location" item.  Fixes #148839.
783
784 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
785
786         * README.in: Fix a typo.  (#163128, kentaro fukuchi)
787
788 2005-01-06  James M. Cape  <jcape@ignore-your.tv>
789
790         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
791         (gtk_file_chooser_button_new_with_backend): Use default title if
792         NULL is passed.
793
794         * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
795         match API.
796
797 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
798
799         Fix #161409:
800
801         * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue
802         a pending operation to select the first row.
803
804 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
805
806         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't call
807         button_data_free() explicitly; the button is weak-reffed and the
808         callback will free the button data.  Fixes #163010.
809         (_gtk_path_bar_set_path): Don't ref/sink the button.  And for the
810         failure case, call gtk_widget_destroy() on it.
811
812         * gtk/gtkfilechooserdefault.c (check_is_folder): Use
813         gtk_file_system_get_folder() again (see the ChangeLog entry from
814         2004-08-25).  We can't first get the parent folder and then
815         request the info for the path in question, as the parent folder
816         may not be readable.  See bug #162617.
817         (gtk_file_chooser_default_set_current_folder): Assert that the
818         passed-in path is not null.
819         (shortcuts_find_current_folder): Likewise.
820         (shortcuts_add_current_folder): Likewise.
821         (set_list_model): Likewise.
822         (gtk_file_chooser_default_map): Only reload the current folder if
823         it exists.
824         (bookmarks_check_add_sensitivity): Check for the current folder
825         being NULL.
826         (browse_files_select_first_row): Don't set the cursor if there is
827         no model loaded.
828
829 2005-01-05  Matthias Clasen  <mclasen@redhat.com>
830
831         * gtk/gtkfilechooserdefault.c: Don't construct errors from 
832         the GTK_FILE_SYSTEM_ERROR domain. Partial fix for #162911.
833         (get_file_info, check_is_folder): Translate errors from
834         the filesystem into the GTK_FILE_CHOOSER_ERROR domain. Rest
835         of the fix for #162911, noticed by Murray Cumming.
836
837 Wed Jan  5 11:42:49 2005  Søren Sandmann  <sandmann@redhat.com>
838
839         * gtk/gtkviewport.c (gtk_viewport_realize):
840         * gtk/gtktextview.c ((text_window_realize): Set the background of
841         the windows to None instead of adding EXPOSURE_MASK, as suggested
842         by Owen in #162112.
843
844         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update 
845         the user time when receiving a WM_DELETE message.  (#162980, 
846         Elijah Newren)
847         
848 Tue Jan  4 16:52:14 2005  Jonathan Blandford  <jrb@redhat.com>
849
850         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
851         only reorder on button 1, part of #141937
852
853 Tue Jan  4 11:36:43 2005  Søren Sandmann  <sandmann@redhat.com>
854
855         Bug 162112.
856         
857         * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
858         to win->window's event_mask
859
860         * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
861         to viewport->view_window.
862
863 2005-01-04  Matthias Clasen  <mclasen@redhat.com>
864
865         * demos/testpixbuf.c (main): Remove the size_prepared callback,
866         to test incremental display.
867         (new_testrgb_window): Return the drawing area, not the window,
868         since we want to queue draws on the drawing area.
869
870 2005-01-03  Matthias Clasen  <mclasen@redhat.com>
871
872         * examples/*: Re-extract.
873
874         * docs/tutorial/gtk-tut.sgml: Small corrections.
875         
876         * docs/tutorial/gtk-tut.sgml: Some updates for the drawing
877         section.  (#161414, Robert Ancell)
878
879         * docs/tutorial/gtk-tut.sgml: Make it build.
880
881         * gtk/gtkdialog.c (gtk_dialog_run): Some clarification
882         regarding modality.  (#112903, Dave Bordoley)
883
884         * gtk/gtkfixed.c (gtk_fixed_set_has_window): 
885         Add a little motivation.  (#145556, Tommi Komulainen)
886
887         * docs/tutorial/gtk-tut.sgml: Clarify section on 
888         g_signal_connect_swapped.   (#120543, David Bourguignon)
889
890         Make gtk_icon_theme_load_icon() work independent of
891         icon factory initialization.  (#162791, Tristan Van Berkom)
892         
893         * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
894         _gtk_icon_factory_ensure_default_icons, and make it non-static.
895
896         * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
897
898 2005-01-02  Matthias Clasen  <mclasen@redhat.com>
899
900         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder): 
901         Don't add a shortcut here.  (#162752, Tor Lillqvist)
902
903 2005-01-02  Tor Lillqvist  <tml@iki.fi>
904
905         * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
906         CoTaskMemFree in get_special_folder() below.
907
908         * gtk/gtkfilesystem.h: Implement case-insensitive path compare on
909         Win32 using _gtk_file_system_win32_path_compare().
910
911         * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
912
913         * gtk/gtkfilechooserbutton.c (model_add_special)
914         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use
915         _gtk_file_system_win32_get_desktop() to get correct Desktop folder
916         on Win32. (#144003)
917
918         * gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do
919         consider all drives "mounted", including floppies. Trying to
920         inspect the contents of a nonexistent floppy will cause errors
921         later that are handled normally, no need to avoid them
922         completely. Keep the drive type in the GtkFileSystemVolume.
923         Support UNC paths. (#161797, #137874) Fix error message
924         capitalizations as in gtkfilesystemunix.c.
925
926         (gtk_file_system_win32_init): Start one timeout per
927         GtkFileSystemWin32.
928
929         (gtk_file_system_win32_finalize): Remove the timeout.
930
931         (get_special_folder): Copied from GLib.
932
933         (_gtk_file_system_win32_get_desktop): New function, uses
934         get_special_folder().
935
936         (gtk_file_system_win32_list_volumes): Don't start a timeout at
937         each call to this function. Don't assume A: and B: are floppies.
938
939         (gtk_file_system_win32_get_volume_for_path): Don't assume all
940         volumes are drive roots, i.e. support share roots of UNC paths
941         (\\server\share).
942
943         (gtk_file_system_win32_get_folder): Don't assume errno is set
944         after g_file_test() returns FALSE. It isn't on Win32 (and even on
945         Unix I don't think one should assume anything about errno after
946         g_file_test()).
947
948         (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE.
949
950         (gtk_file_system_win32_volume_get_display_name): Don't call
951         GetVolumeInformation() on drives A: or B: if they are removable,
952         as they might then be floppies, causing an unnecessary
953         delay. (#157820)
954
955         (gtk_file_system_win32_volume_render_icon): Use network icon for
956         unrecognized drive types.
957
958         (canonicalize_filename, gtk_file_system_win32_parse): Don't get
959         confused by UNC paths.
960
961         (bookmarks_serialize): Use _gtk_file_system_win32_path_compare()
962         for case-insensitive UTF-8 path comparison.
963
964         (extract_icon): Use SHGetFileInfo() which is faster than
965         ExtractAssociatedIcon(). Icon extraction is still slow, though,
966         needs work.
967
968         (win32_pseudo_mime_lookup): Don't use the same icon for all
969         shortcuts or executables. Cache only other file type icons.
970
971         (gtk_file_system_win32_render_icon): Use network stock icon for
972         remote drives and UNC server share roots. Compare home directory
973         case-insensitively. Do lookup icons also for executable files,
974         after all, it's these files that can have individual icons in the
975         first place. Yes, it can be slow. Needs work.
976
977         (filename_is_drive_root): Require also the slash after the colon.
978
979         (filename_is_server_share): New function.
980
981         (_gtk_file_system_win32_path_compare): New function, does
982         case-folded UTF-8 comparison.
983
984         * gtk/gtkfilesystemwin32.h: Declare
985         _gtk_file_system_win32_path_compare().
986
987 2005-01-01  Matthias Clasen  <mclasen@redhat.com>
988
989         * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
990         custom image by passing NULL.
991         (gtk_button_init): Initialize image_is_stock to TRUE, fixing
992         a problem with changing stock labels.  (#162273, Marcin 
993         Krzyzanowski)
994
995 2005-01-01  Tor Lillqvist  <tml@iki.fi>
996
997         * gtk/gtkmodules.c (get_module_path)
998         * gtk/gtkrc.c (gtk_rc_make_default_dir, gtk_rc_get_im_module_file,
999         gtk_rc_get_theme_dir, gtk_rc_add_initial_default_files): With
1000         g_getenv() now returning UTF-8 on Win32, no need to call
1001         g_locale_to_utf8().
1002
1003 2004-12-31  Matthias Clasen  <mclasen@redhat.com>
1004
1005         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval) 
1006         (_gtk_key_hash_lookup): Don't sort a list of values as if
1007         it was a list of entries. This fixes crashes during mnemonic
1008         activation in the presence of multiple keymaps. (#162488, 
1009         Christian Persch)
1010
1011 2004-12-30  Matthias Clasen  <mclasen@redhat.com>
1012
1013         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Fix
1014         state propagation when making an insensitive combo box sensitive
1015         again.  (#162524, Carlos Garnacho Parro)
1016
1017         * gtk/gtkfilechooserdefault.c: Use secondary text for error 
1018         dialogs.
1019
1020         * gtk/gtkfilesystemunix.c: Clean up some cases of errno handling
1021         (#162496, noted by Tor Lillqvist), and use g_filename_display_name()
1022         for error messages. Also mark some error messages for translation,
1023         fix capitalization of error messages.
1024
1025         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): 
1026         Use g_value_get_boolean() for ellipsize_set.  (#162447, 
1027         Brian Tarricone)
1028
1029 2004-12-30  Tor Lillqvist  <tml@iki.fi>
1030
1031         * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps
1032         only on Unix.
1033
1034 2004-12-28  Matthias Clasen  <mclasen@redhat.com>
1035
1036         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
1037         submenu direction from the parent menu.
1038
1039         * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first): 
1040         Return a boolean indicating whether an item in the submenu
1041         was selected.
1042         (gtk_real_menu_shell_move_current): When going in child 
1043         direction, don't get stuck at completely insensitive 
1044         submenus.  (#162055, Billy Biggs)       
1045
1046 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
1047
1048         Make the clipboard image API more robust (#162357, 
1049         Torsten Schoenfeld):
1050         
1051         * gtk/gtkclipboard.c (clipboard_image_received_func): Don't
1052         ref the pixbuf if it is NULL.
1053
1054         * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): 
1055         NULL-terminate the varargs in the call to 
1056         gdk_pixbuf_save_to_buffer(). 
1057         (gtk_selection_data_get_pixbuf): Only use a pixbuf loader 
1058         if there is data to load.
1059
1060 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
1061
1062         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
1063         Set x_root and y_root in button and motion events from 
1064         extended input devices.  (#148715, Robert Ögren)
1065
1066         * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a 
1067         typo.  (#162339, Alessio Dessi)
1068
1069         * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
1070         properties as new since 2.4.  (#156101, Billy Biggs)
1071
1072         * configure.in: Add a warning about the linux-fb 
1073         target.  (#155488, Zeeshan Ali)
1074
1075         * gtk/gtkmain.c (gtk_init_with_args): Typo fix.  (#162278,
1076         Torsten Schoenfeld)
1077
1078 2004-12-26  Matthias Clasen  <mclasen@redhat.com>
1079
1080         * gtk/gtkfilechooser.c (gtk_file_chooser_set_action): 
1081         Typo fix.  (#162219, Masao Mutoh)
1082         (gtk_file_chooser_set_preview_widget_active): 
1083         Another typo.  (#162218, Masao Mutoh)
1084
1085 2004-12-23  Matthias Clasen  <mclasen@redhat.com>
1086
1087         * gtk/gtkliststore.c (gtk_list_store_iter_children): 
1088         Return TRUE if there are children.  (#162134, Iñigo Serna,
1089         patch by John Finlay)
1090
1091         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): 
1092         Transfer state from the button to the cell view to get
1093         prelighting right.  (#156327, Ricardo Veguilla)
1094
1095 Wed Dec 22 14:22:19 2004  Søren Sandmann  <sandmann@redhat.com>
1096
1097         * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
1098         timeout. Written by Christian Persch.
1099
1100 Wed Dec 22 14:14:02 2004  Søren Sandmann  <sandmann@redhat.com>
1101
1102         Bug #161561
1103         
1104         * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
1105         background for windows that get expose events. 
1106
1107         * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
1108         hack to repaint !expose windows.
1109
1110 Wed Dec 22 11:35:41 2004  Søren Sandmann  <sandmann@redhat.com>
1111
1112         Bug #147497, make menu items activate immediately when you release
1113         the button.
1114         
1115         * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make
1116         items activate immediately.
1117
1118         * gtk/gtkmenu.c (definitely_within_item): New function
1119         * gtk/gtkmenu.c (check_threshold): New function
1120
1121 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
1122
1123         * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to
1124         null the mnemonic_menu when unsetting a mnemonic, reported
1125         by Owen Taylor.
1126
1127 2004-12-21  Matthias Clasen  <mclasen@redhat.com>
1128
1129         * gtk/gtkliststore.c (generate_order): Generate the order the
1130         way it is supposed to be, order[new_pos] == old_pos.
1131         (gtk_list_store_reorder): Invert the order before using it.
1132
1133 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
1134
1135         Fix sorting of list stores.  (#161886, Marcin Krzyzanowski)
1136
1137         * gtk/gtkliststore.c (generate_order): Generate the order the
1138         way it is supposed to be, order[new_pos] == old_pos.
1139         (gtk_list_store_reorder): Invert the order before using it.
1140
1141         * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the
1142         list store fix.
1143
1144 Wed Dec 22 01:24:01 2004  Jonathan Blandford  <jrb@redhat.com>
1145
1146         * gtk/queryimmodules.c (main): print out the version and binary
1147         name in the header comment.  Problem reported by Seth Nickell.
1148
1149 2004-12-20  Matthias Clasen  <mclasen@redhat.com>
1150
1151         * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a
1152         root path to gtk_tree_model_rows_reordered().  (#161720,
1153         Marcin Krzyzanowski)
1154
1155         * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't 
1156         translate NULL messages.  (#161789, Morten Welinder)
1157
1158         * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
1159         the secondary label on show_all().  (#161707, Christian Persch)
1160
1161 2004-12-19  Tor Lillqvist  <tml@iki.fi>
1162
1163         * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
1164         Use wide character API when available. Use UTF-8 for filenames.
1165
1166         * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
1167         the string's trailing zero byte in the property's length, just for
1168         safety.
1169
1170 2004-12-18  Matthias Clasen  <mclasen@redhat.com>
1171
1172         * gtk/gtkfilechooserentry.c (check_completion_callback) 
1173         (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
1174
1175         * gtk/gtkfilechooserdefault.c (edited_idle_cb) 
1176         (shortcuts_drag_outside_idle_cb): Add missing 
1177         GDK_THREADS_ENTER/LEAVE.  (#161604)
1178         
1179         * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): 
1180         (list_select_func): Don't call gtk_file_info_get_is_folder()
1181         on NULL. 
1182
1183         * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name): 
1184         (gtk_about_dialog_init): Add missing initializations.  (#161646,
1185         Torsten Schoenfeld)
1186