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