]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-10
c5f5c8c71e0a28a564c91cb3cc7d75739bf2a970
[~andy/gtk] / ChangeLog.pre-2-10
1 2005-01-23  Tor Lillqvist  <tml@novell.com>
2
3         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name): 
4         Don't call GetVolumeInformation() for network drives. They might
5         be disconnected, and calling GetVolumeInformation() will then
6         cause long delays. (#164448) It seems to be very hard to reliably
7         find out whether a network drive is connected or not, so it's
8         easier to just not try getting the volume name for them. See the
9         bug report for discussion.
10
11 2005-01-21  Matthias Clasen  <mclasen@redhat.com>
12
13         * gtk/gtkwidget.c (gtk_widget_get_accessible): More details
14         provided by Bill Haneman.
15
16 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
17
18         * gtk/gtkwidget.c (gtk_widget_get_accessible): Add docs.  (#164725,
19         George Kraft IV)
20
21         * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
22         here, even if the only focusable widgets are labels.
23
24 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
25
26         Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
27         
28         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init) 
29         Add a follow-state property which when TRUE causes the pixbuf
30         to be tinted according to state.
31
32         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): 
33         Use follow-state and colorize the pixbuf when appropriate.      
34         
35 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
36
37         Support wrapping in GtkCellRendererText  (#163608):
38         
39         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
40         Add wrap-mode and wrap-width properties which cause a 
41         text cell to break to a specified width when set.
42
43         * gtk/gtkcellrenderertext.c (get_layout): Use wrap-mode
44         and wrap-width when they are set.
45
46 2005-01-20  Matthias Clasen  <mclasen@redhat.com>
47
48         * gtk/gtkmodules.c (load_module): Don't reverse the order
49         of modules when putting them in gtk_modules.  (#162676, Dennis
50         Cranston, patch by Remus Draica)
51
52         * gtk/gtktreeview.c (gtk_tree_view_search_move): Don't crash 
53         if the tree is empty.  (#164669, Priit Laes)
54
55 Wed Jan 19 18:57:02 2005  Manish Singh  <yosh@gimp.org>
56
57         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Call
58         GDK_DISPLAY_XDISPLAY with a display, not a window. Clean up the
59         function a bit too.
60
61 Wed Jan 19 17:17:31 2005  Manish Singh  <yosh@gimp.org>
62
63         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
64         strict aliasing warning in _NET_VIRTUAL_ROOTS code.
65
66 2005-01-19  Tor Lillqvist  <tml@novell.com>
67
68         * gdk/win32/gdkkeys-win32.c (update_keymap,
69         gdk_keymap_translate_keyboard_state): Handle keyboards with
70         ShiftLock (and not CapsLock) correctly. (#161814)
71
72 2005-01-19  Matthias Clasen  <mclasen@redhat.com>
73
74         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
75         In save mode, don't return paths containing nonexisting 
76         directories.  (#162443, Jean Marie Favreau)
77
78         * gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit 
79         macros to avoid sparse warnings. Pointed out by Kjartan Maraas.
80
81         * gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
82         atom.
83
84         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): 
85         Support _NET_VIRTUAL_ROOTS.  (#163910, Carsten Haitzler)
86         
87         * gdk/gdk.symbols: 
88         * gdk/x11/gdkx.h: 
89         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time): 
90         Add a function to obtain the last user interaction 
91         time.  (#163119, Elijah Newren)
92
93 Tue Jan 18 13:56:09 2005  Manish Singh  <yosh@gimp.org>
94
95         * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
96         PENDING_OP_NONE.
97
98 Tue Jan 18 13:46:46 2005  Manish Singh  <yosh@gimp.org>
99
100         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
101         disambiguate nested if/else.
102
103 2005-01-18  Federico Mena Quintero  <federico@ximian.com>
104
105         Merged from gtk-2-6:
106
107         * gtk/gtkfilechooserdefault.c (pending_op_queue): Don't queue an
108         operation to select the first file if we are in SAVE or
109         CREATE_FOLDER modes.  Executing that operation would overwrite the
110         contents of the save-name entry.
111
112 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
113
114         * gdk/gdkdisplay.h: 
115         * gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer): 
116         * gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
117         pointer warping to GDK.  (#160437)
118
119         * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
120
121 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
122
123         * gtk/gtkstyle.c (gtk_default_draw_check) 
124         (gtk_default_draw_option, gtk_default_draw_handle): Add some
125         more NULL checks, patch by Michael Natterer.
126
127 Tue Jan 18 10:55:47 2005  Søren Sandmann  <sandmann@redhat.com>
128
129         * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
130         and NULL widget.
131
132         * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
133         NULL widget.  (#164477, Michael Natterer)
134
135 2005-01-18  Matthias Clasen  <mclasen@redhat.com>
136
137         Avoid X errors when running against servers which
138         implement XRender < 0.4.  (#164427, Albert Chin)
139         
140         * gdk/x11/gdkprivate-x11.h:
141         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): 
142         New function to check for trapezoid support in XRender.
143         (gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids): 
144         Use it here.
145         
146         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a 
147         separate have_render_with_trapezoids field.
148
149         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
150
151 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
152
153         * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
154
155 Mon Jan 17 16:44:36 2005  Jonathan Blandford  <jrb@redhat.com>
156
157         * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to
158         dist.
159
160 2005-01-17  Matthias Clasen  <mclasen@redhat.com>
161
162         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmarks): Save
163         and restore the selected row in the bookmark list and the
164         save folder combo.  (#164290)
165
166 2005-01-16  Matthias Clasen  <mclasen@redhat.com>
167
168         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
169         Fix argument order in docs.  
170
171 2005-01-15  Matthias Clasen  <mclasen@redhat.com>
172
173         * gtk/gtktextview.c (gtk_text_view_check_keymap_direction): 
174         * gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL 
175         if the keymap is neutral.  (#164125, Phil Blundell)
176
177 2005-01-14  Matthias Clasen  <mclasen@redhat.com>
178
179         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
180         reset the property to its default value -1. 
181         (gtk_tree_view_get_search_column): Return the default value in
182         the g_return_val_if_fail() check.  (#163864, Richard Hult)
183
184         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value): 
185         Add a translator hint.  (#163889)
186
187         * configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
188         is an enum value, not a define. Pointed out by Tommi Komulainen.
189         * gtk/gtkcalendar.c (gtk_calendar_init): Adapt.
190
191 2005-01-13  Matthias Clasen  <mclasen@redhat.com>
192
193         * configure.in: Check for nl_langinfo()
194         * gtk/gtkcalendar.c (gtk_calendar_init): Use nl_langinfo() when it's
195         available to determine first day of week   (#163842, Vincent Untz)
196
197         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about 
198         the lifecycle of widgets.  (#159503, Christian Persch)
199
200         * demos/gtk-demo/main.c (create_text): Use monospace for the 
201         source code view.  (#163526, Theerud Lawtrakul)
202
203         * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
204         for the Credits button to avoid duplicate.  (#163465, Tim-Philipp 
205         Müller)
206         
207         * configure.in: Add an OS_LINUX conditional.
208
209         * gdk/Makefile.am (TESTS):
210         * gdk-pixbuf/Makefile.am (TESTS):
211         * gtk/Makefile.am (TESTS): Only run abicheck on Linux.  (#163917,
212         Roger Leigh)
213
214 2005-01-13  Matthias Clasen <mclasen@redhat.com>
215
216         * gtk/gtktreeview.c: (gtk_tree_view_class_init),
217         (gtk_tree_view_set_headers_clickable): Make the headers-visible
218         property readwrite instead of just writable, and remove the
219         g_return_if_fail check that there is a model when setting this
220         property. Also improve the blurb.  (#163851, Richard Hult)
221
222 2005-01-12  Owen Taylor <otaylor@redhat.com>
223
224         * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
225         initialization of gdktarget, that was causing it to be
226         evaluated before host was set. Simplify --with-gdktarget help
227         message.
228
229         * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 
230         which doesn't work with slightly older versions of GNU grep 
231         in install-libtool-import-lib rule.
232         
233 2005-01-12  Tor Lillqvist  <tlillqvist@novell.com>
234
235         Fix for #162790, by Iwan Wong:
236         
237         * gdk/win32/gdkdrawable-win32.c: Implement dashed lines
238         correctly. Simplify the interface to render_line_horizontal() and
239         render_line_vertical(). Need to draw lines "manually" also on
240         NT-based Windowses if we have a dash offset or are drawing
241         double-dashed lines.
242
243         * gdk/win32/gdkprivate-win32.h: Keep also the dash offset,
244         double-dash flag, and a brush for the background colour (used by
245         the odd dashes in the double-dash line style) in the GdkGCWin32
246         struct.
247
248         * gdk/win32/gdkgc-win32.c: Set up above new fields.
249
250 2005-01-10  Federico Mena Quintero  <federico@ximian.com>
251
252         Fix #162617.
253
254         * gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out
255         GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this.
256         (gtk_file_system_unix_get_folder): Make error reporting more
257         accurate.  Don't bail out if we can't read the directory.
258         (fill_in_stats): Don't return an error; just assume we don't have
259         stat info for this folder's files.
260         (fill_in_names): Don't create the hash table for the names if we
261         can't open the directory.
262         (gtk_file_folder_unix_list_children): Don't emit the
263         "finished-loading" signal --- we don't do asynchronous loads, so
264         we are always finished loading.
265         (gtk_file_folder_unix_get_info): Use helper functions; handle the
266         case where we can't stat '/'.
267         (get_icon_type_from_path): Don't call fill_in_stats() here; only
268         use the info we have.
269         (fill_in_mime_type): Don't return an error.  Don't do anything if
270         we don't have the stat info.
271
272 2005-01-10  Owen Taylor  <otaylor@redhat.com>
273
274         * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
275         to EXTRA_DIST.
276
277 2005-01-10  Matthias Clasen  <mclasen@redhat.com>
278
279         * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document
280         signals.  (#163319, Murray Cumming)
281
282 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
283
284         * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Set current
285         cursor also when changing the cursor of a window that is the first
286         ancestor of the window containing the pointer that has a cursor
287         defined. (#163035, Ivan Wong)
288
289 2005-01-09  Anders Carlsson <andersca@gnome.org>
290
291         * gtk/gtkcellrenderertext.c: (get_size):
292         * gtk/gtklabel.c: (gtk_label_size_request):
293         * gtk/gtkprogressbar.c: (gtk_progress_bar_size_request):
294         Don't pass NULL to pango_context_get_metrics. Use 
295         pango_context_get_language instead, which is way faster.
296         
297 2005-01-08  Matthias Clasen  <mclasen@redhat.com>
298
299         * configure.in: Bump version
300
301         * === Released 2.6.1 ===
302         
303         * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0
304
305 2005-01-07  Tor Lillqvist  <tml@iki.fi>
306
307         * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
308         Fix braino. (#163232, Arnaud Charlet)
309
310 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
311
312         * gtk/gtkiconview.c: Make markup_column work, and fix some
313         layout issues when either icon or text is missing.  (#163065)
314
315 2005-01-06  Federico Mena Quintero  <federico@ximian.com>
316
317         * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an
318         "Open _Location" item.  Fixes #148839.
319
320 2005-01-06  Matthias Clasen  <mclasen@redhat.com>
321
322         * README.in: Fix a typo.  (#163128, kentaro fukuchi)
323
324 2005-01-06  James M. Cape  <jcape@ignore-your.tv>
325
326         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
327         (gtk_file_chooser_button_new_with_backend): Use default title if
328         NULL is passed.
329
330         * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
331         match API.
332
333 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
334
335         Fix #161409:
336
337         * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue
338         a pending operation to select the first row.
339
340 2005-01-05  Federico Mena Quintero  <federico@ximian.com>
341
342         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't call
343         button_data_free() explicitly; the button is weak-reffed and the
344         callback will free the button data.  Fixes #163010.
345         (_gtk_path_bar_set_path): Don't ref/sink the button.  And for the
346         failure case, call gtk_widget_destroy() on it.
347
348         * gtk/gtkfilechooserdefault.c (check_is_folder): Use
349         gtk_file_system_get_folder() again (see the ChangeLog entry from
350         2004-08-25).  We can't first get the parent folder and then
351         request the info for the path in question, as the parent folder
352         may not be readable.  See bug #162617.
353         (gtk_file_chooser_default_set_current_folder): Assert that the
354         passed-in path is not null.
355         (shortcuts_find_current_folder): Likewise.
356         (shortcuts_add_current_folder): Likewise.
357         (set_list_model): Likewise.
358         (gtk_file_chooser_default_map): Only reload the current folder if
359         it exists.
360         (bookmarks_check_add_sensitivity): Check for the current folder
361         being NULL.
362         (browse_files_select_first_row): Don't set the cursor if there is
363         no model loaded.
364
365 2005-01-05  Matthias Clasen  <mclasen@redhat.com>
366
367         * gtk/gtkfilechooserdefault.c: Don't construct errors from 
368         the GTK_FILE_SYSTEM_ERROR domain. Partial fix for #162911.
369         (get_file_info, check_is_folder): Translate errors from
370         the filesystem into the GTK_FILE_CHOOSER_ERROR domain. Rest
371         of the fix for #162911, noticed by Murray Cumming.
372
373 Wed Jan  5 11:42:49 2005  Søren Sandmann  <sandmann@redhat.com>
374
375         * gtk/gtkviewport.c (gtk_viewport_realize):
376         * gtk/gtktextview.c ((text_window_realize): Set the background of
377         the windows to None instead of adding EXPOSURE_MASK, as suggested
378         by Owen in #162112.
379
380         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update 
381         the user time when receiving a WM_DELETE message.  (#162980, 
382         Elijah Newren)
383         
384 Tue Jan  4 16:52:14 2005  Jonathan Blandford  <jrb@redhat.com>
385
386         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
387         only reorder on button 1, part of #141937
388
389 Tue Jan  4 11:36:43 2005  Søren Sandmann  <sandmann@redhat.com>
390
391         Bug 162112.
392         
393         * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
394         to win->window's event_mask
395
396         * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
397         to viewport->view_window.
398
399 2005-01-04  Matthias Clasen  <mclasen@redhat.com>
400
401         * demos/testpixbuf.c (main): Remove the size_prepared callback,
402         to test incremental display.
403         (new_testrgb_window): Return the drawing area, not the window,
404         since we want to queue draws on the drawing area.
405
406 2005-01-03  Matthias Clasen  <mclasen@redhat.com>
407
408         * examples/*: Re-extract.
409
410         * docs/tutorial/gtk-tut.sgml: Small corrections.
411         
412         * docs/tutorial/gtk-tut.sgml: Some updates for the drawing
413         section.  (#161414, Robert Ancell)
414
415         * docs/tutorial/gtk-tut.sgml: Make it build.
416
417         * gtk/gtkdialog.c (gtk_dialog_run): Some clarification
418         regarding modality.  (#112903, Dave Bordoley)
419
420         * gtk/gtkfixed.c (gtk_fixed_set_has_window): 
421         Add a little motivation.  (#145556, Tommi Komulainen)
422
423         * docs/tutorial/gtk-tut.sgml: Clarify section on 
424         g_signal_connect_swapped.   (#120543, David Bourguignon)
425
426         Make gtk_icon_theme_load_icon() work independent of
427         icon factory initialization.  (#162791, Tristan Van Berkom)
428         
429         * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
430         _gtk_icon_factory_ensure_default_icons, and make it non-static.
431
432         * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
433
434 2005-01-02  Matthias Clasen  <mclasen@redhat.com>
435
436         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder): 
437         Don't add a shortcut here.  (#162752, Tor Lillqvist)
438
439 2005-01-02  Tor Lillqvist  <tml@iki.fi>
440
441         * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
442         CoTaskMemFree in get_special_folder() below.
443
444         * gtk/gtkfilesystem.h: Implement case-insensitive path compare on
445         Win32 using _gtk_file_system_win32_path_compare().
446
447         * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
448
449         * gtk/gtkfilechooserbutton.c (model_add_special)
450         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use
451         _gtk_file_system_win32_get_desktop() to get correct Desktop folder
452         on Win32. (#144003)
453
454         * gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do
455         consider all drives "mounted", including floppies. Trying to
456         inspect the contents of a nonexistent floppy will cause errors
457         later that are handled normally, no need to avoid them
458         completely. Keep the drive type in the GtkFileSystemVolume.
459         Support UNC paths. (#161797, #137874) Fix error message
460         capitalizations as in gtkfilesystemunix.c.
461
462         (gtk_file_system_win32_init): Start one timeout per
463         GtkFileSystemWin32.
464
465         (gtk_file_system_win32_finalize): Remove the timeout.
466
467         (get_special_folder): Copied from GLib.
468
469         (_gtk_file_system_win32_get_desktop): New function, uses
470         get_special_folder().
471
472         (gtk_file_system_win32_list_volumes): Don't start a timeout at
473         each call to this function. Don't assume A: and B: are floppies.
474
475         (gtk_file_system_win32_get_volume_for_path): Don't assume all
476         volumes are drive roots, i.e. support share roots of UNC paths
477         (\\server\share).
478
479         (gtk_file_system_win32_get_folder): Don't assume errno is set
480         after g_file_test() returns FALSE. It isn't on Win32 (and even on
481         Unix I don't think one should assume anything about errno after
482         g_file_test()).
483
484         (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE.
485
486         (gtk_file_system_win32_volume_get_display_name): Don't call
487         GetVolumeInformation() on drives A: or B: if they are removable,
488         as they might then be floppies, causing an unnecessary
489         delay. (#157820)
490
491         (gtk_file_system_win32_volume_render_icon): Use network icon for
492         unrecognized drive types.
493
494         (canonicalize_filename, gtk_file_system_win32_parse): Don't get
495         confused by UNC paths.
496
497         (bookmarks_serialize): Use _gtk_file_system_win32_path_compare()
498         for case-insensitive UTF-8 path comparison.
499
500         (extract_icon): Use SHGetFileInfo() which is faster than
501         ExtractAssociatedIcon(). Icon extraction is still slow, though,
502         needs work.
503
504         (win32_pseudo_mime_lookup): Don't use the same icon for all
505         shortcuts or executables. Cache only other file type icons.
506
507         (gtk_file_system_win32_render_icon): Use network stock icon for
508         remote drives and UNC server share roots. Compare home directory
509         case-insensitively. Do lookup icons also for executable files,
510         after all, it's these files that can have individual icons in the
511         first place. Yes, it can be slow. Needs work.
512
513         (filename_is_drive_root): Require also the slash after the colon.
514
515         (filename_is_server_share): New function.
516
517         (_gtk_file_system_win32_path_compare): New function, does
518         case-folded UTF-8 comparison.
519
520         * gtk/gtkfilesystemwin32.h: Declare
521         _gtk_file_system_win32_path_compare().
522
523 2005-01-01  Matthias Clasen  <mclasen@redhat.com>
524
525         * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
526         custom image by passing NULL.
527         (gtk_button_init): Initialize image_is_stock to TRUE, fixing
528         a problem with changing stock labels.  (#162273, Marcin 
529         Krzyzanowski)
530
531 2005-01-01  Tor Lillqvist  <tml@iki.fi>
532
533         * gtk/gtkmodules.c (get_module_path)
534         * gtk/gtkrc.c (gtk_rc_make_default_dir, gtk_rc_get_im_module_file,
535         gtk_rc_get_theme_dir, gtk_rc_add_initial_default_files): With
536         g_getenv() now returning UTF-8 on Win32, no need to call
537         g_locale_to_utf8().
538
539 2004-12-31  Matthias Clasen  <mclasen@redhat.com>
540
541         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval) 
542         (_gtk_key_hash_lookup): Don't sort a list of values as if
543         it was a list of entries. This fixes crashes during mnemonic
544         activation in the presence of multiple keymaps. (#162488, 
545         Christian Persch)
546
547 2004-12-30  Matthias Clasen  <mclasen@redhat.com>
548
549         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Fix
550         state propagation when making an insensitive combo box sensitive
551         again.  (#162524, Carlos Garnacho Parro)
552
553         * gtk/gtkfilechooserdefault.c: Use secondary text for error 
554         dialogs.
555
556         * gtk/gtkfilesystemunix.c: Clean up some cases of errno handling
557         (#162496, noted by Tor Lillqvist), and use g_filename_display_name()
558         for error messages. Also mark some error messages for translation,
559         fix capitalization of error messages.
560
561         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): 
562         Use g_value_get_boolean() for ellipsize_set.  (#162447, 
563         Brian Tarricone)
564
565 2004-12-30  Tor Lillqvist  <tml@iki.fi>
566
567         * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps
568         only on Unix.
569
570 2004-12-28  Matthias Clasen  <mclasen@redhat.com>
571
572         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
573         submenu direction from the parent menu.
574
575         * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first): 
576         Return a boolean indicating whether an item in the submenu
577         was selected.
578         (gtk_real_menu_shell_move_current): When going in child 
579         direction, don't get stuck at completely insensitive 
580         submenus.  (#162055, Billy Biggs)       
581
582 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
583
584         Make the clipboard image API more robust (#162357, 
585         Torsten Schoenfeld):
586         
587         * gtk/gtkclipboard.c (clipboard_image_received_func): Don't
588         ref the pixbuf if it is NULL.
589
590         * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): 
591         NULL-terminate the varargs in the call to 
592         gdk_pixbuf_save_to_buffer(). 
593         (gtk_selection_data_get_pixbuf): Only use a pixbuf loader 
594         if there is data to load.
595
596 2004-12-27  Matthias Clasen  <mclasen@redhat.com>
597
598         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
599         Set x_root and y_root in button and motion events from 
600         extended input devices.  (#148715, Robert Ögren)
601
602         * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a 
603         typo.  (#162339, Alessio Dessi)
604
605         * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
606         properties as new since 2.4.  (#156101, Billy Biggs)
607
608         * configure.in: Add a warning about the linux-fb 
609         target.  (#155488, Zeeshan Ali)
610
611         * gtk/gtkmain.c (gtk_init_with_args): Typo fix.  (#162278,
612         Torsten Schoenfeld)
613
614 2004-12-26  Matthias Clasen  <mclasen@redhat.com>
615
616         * gtk/gtkfilechooser.c (gtk_file_chooser_set_action): 
617         Typo fix.  (#162219, Masao Mutoh)
618         (gtk_file_chooser_set_preview_widget_active): 
619         Another typo.  (#162218, Masao Mutoh)
620
621 2004-12-23  Matthias Clasen  <mclasen@redhat.com>
622
623         * gtk/gtkliststore.c (gtk_list_store_iter_children): 
624         Return TRUE if there are children.  (#162134, Iñigo Serna,
625         patch by John Finlay)
626
627         * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): 
628         Transfer state from the button to the cell view to get
629         prelighting right.  (#156327, Ricardo Veguilla)
630
631 Wed Dec 22 14:22:19 2004  Søren Sandmann  <sandmann@redhat.com>
632
633         * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
634         timeout. Written by Christian Persch.
635
636 Wed Dec 22 14:14:02 2004  Søren Sandmann  <sandmann@redhat.com>
637
638         Bug #161561
639         
640         * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
641         background for windows that get expose events. 
642
643         * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
644         hack to repaint !expose windows.
645
646 Wed Dec 22 11:35:41 2004  Søren Sandmann  <sandmann@redhat.com>
647
648         Bug #147497, make menu items activate immediately when you release
649         the button.
650         
651         * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make
652         items activate immediately.
653
654         * gtk/gtkmenu.c (definitely_within_item): New function
655         * gtk/gtkmenu.c (check_threshold): New function
656
657 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
658
659         * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to
660         null the mnemonic_menu when unsetting a mnemonic, reported
661         by Owen Taylor.
662
663 2004-12-21  Matthias Clasen  <mclasen@redhat.com>
664
665         * gtk/gtkliststore.c (generate_order): Generate the order the
666         way it is supposed to be, order[new_pos] == old_pos.
667         (gtk_list_store_reorder): Invert the order before using it.
668
669 2004-12-22  Matthias Clasen  <mclasen@redhat.com>
670
671         Fix sorting of list stores.  (#161886, Marcin Krzyzanowski)
672
673         * gtk/gtkliststore.c (generate_order): Generate the order the
674         way it is supposed to be, order[new_pos] == old_pos.
675         (gtk_list_store_reorder): Invert the order before using it.
676
677         * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the
678         list store fix.
679
680 Wed Dec 22 01:24:01 2004  Jonathan Blandford  <jrb@redhat.com>
681
682         * gtk/queryimmodules.c (main): print out the version and binary
683         name in the header comment.  Problem reported by Seth Nickell.
684
685 2004-12-20  Matthias Clasen  <mclasen@redhat.com>
686
687         * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a
688         root path to gtk_tree_model_rows_reordered().  (#161720,
689         Marcin Krzyzanowski)
690
691         * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't 
692         translate NULL messages.  (#161789, Morten Welinder)
693
694         * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
695         the secondary label on show_all().  (#161707, Christian Persch)
696
697 2004-12-19  Tor Lillqvist  <tml@iki.fi>
698
699         * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
700         Use wide character API when available. Use UTF-8 for filenames.
701
702         * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
703         the string's trailing zero byte in the property's length, just for
704         safety.
705
706 2004-12-18  Matthias Clasen  <mclasen@redhat.com>
707
708         * gtk/gtkfilechooserentry.c (check_completion_callback) 
709         (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
710
711         * gtk/gtkfilechooserdefault.c (edited_idle_cb) 
712         (shortcuts_drag_outside_idle_cb): Add missing 
713         GDK_THREADS_ENTER/LEAVE.  (#161604)
714         
715         * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): 
716         (list_select_func): Don't call gtk_file_info_get_is_folder()
717         on NULL. 
718
719         * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name): 
720         (gtk_about_dialog_init): Add missing initializations.  (#161646,
721         Torsten Schoenfeld)
722