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