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