1 2005-01-23 Tor Lillqvist <tml@novell.com>
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.
11 2005-01-21 Matthias Clasen <mclasen@redhat.com>
13 * gtk/gtkwidget.c (gtk_widget_get_accessible): More details
14 provided by Bill Haneman.
16 2005-01-20 Matthias Clasen <mclasen@redhat.com>
18 * gtk/gtkwidget.c (gtk_widget_get_accessible): Add docs. (#164725,
21 * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
22 here, even if the only focusable widgets are labels.
24 2005-01-20 Matthias Clasen <mclasen@redhat.com>
26 Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
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.
32 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
33 Use follow-state and colorize the pixbuf when appropriate.
35 2005-01-20 Matthias Clasen <mclasen@redhat.com>
37 Support wrapping in GtkCellRendererText (#163608):
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.
43 * gtk/gtkcellrenderertext.c (get_layout): Use wrap-mode
44 and wrap-width when they are set.
46 2005-01-20 Matthias Clasen <mclasen@redhat.com>
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)
52 * gtk/gtktreeview.c (gtk_tree_view_search_move): Don't crash
53 if the tree is empty. (#164669, Priit Laes)
55 Wed Jan 19 18:57:02 2005 Manish Singh <yosh@gimp.org>
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
61 Wed Jan 19 17:17:31 2005 Manish Singh <yosh@gimp.org>
63 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
64 strict aliasing warning in _NET_VIRTUAL_ROOTS code.
66 2005-01-19 Tor Lillqvist <tml@novell.com>
68 * gdk/win32/gdkkeys-win32.c (update_keymap,
69 gdk_keymap_translate_keyboard_state): Handle keyboards with
70 ShiftLock (and not CapsLock) correctly. (#161814)
72 2005-01-19 Matthias Clasen <mclasen@redhat.com>
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)
78 * gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit
79 macros to avoid sparse warnings. Pointed out by Kjartan Maraas.
81 * gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
84 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
85 Support _NET_VIRTUAL_ROOTS. (#163910, Carsten Haitzler)
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)
93 Tue Jan 18 13:56:09 2005 Manish Singh <yosh@gimp.org>
95 * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
98 Tue Jan 18 13:46:46 2005 Manish Singh <yosh@gimp.org>
100 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
101 disambiguate nested if/else.
103 2005-01-18 Federico Mena Quintero <federico@ximian.com>
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.
112 2005-01-18 Matthias Clasen <mclasen@redhat.com>
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)
119 * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
121 2005-01-18 Matthias Clasen <mclasen@redhat.com>
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.
127 Tue Jan 18 10:55:47 2005 Søren Sandmann <sandmann@redhat.com>
129 * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
132 * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
133 NULL widget. (#164477, Michael Natterer)
135 2005-01-18 Matthias Clasen <mclasen@redhat.com>
137 Avoid X errors when running against servers which
138 implement XRender < 0.4. (#164427, Albert Chin)
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):
146 * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a
147 separate have_render_with_trapezoids field.
149 * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
151 2005-01-17 Matthias Clasen <mclasen@redhat.com>
153 * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
155 Mon Jan 17 16:44:36 2005 Jonathan Blandford <jrb@redhat.com>
157 * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to
160 2005-01-17 Matthias Clasen <mclasen@redhat.com>
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)
166 2005-01-16 Matthias Clasen <mclasen@redhat.com>
168 * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
169 Fix argument order in docs.
171 2005-01-15 Matthias Clasen <mclasen@redhat.com>
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)
177 2005-01-14 Matthias Clasen <mclasen@redhat.com>
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)
184 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value):
185 Add a translator hint. (#163889)
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.
191 2005-01-13 Matthias Clasen <mclasen@redhat.com>
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)
197 * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about
198 the lifecycle of widgets. (#159503, Christian Persch)
200 * demos/gtk-demo/main.c (create_text): Use monospace for the
201 source code view. (#163526, Theerud Lawtrakul)
203 * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
204 for the Credits button to avoid duplicate. (#163465, Tim-Philipp
207 * configure.in: Add an OS_LINUX conditional.
209 * gdk/Makefile.am (TESTS):
210 * gdk-pixbuf/Makefile.am (TESTS):
211 * gtk/Makefile.am (TESTS): Only run abicheck on Linux. (#163917,
214 2005-01-13 Matthias Clasen <mclasen@redhat.com>
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)
222 2005-01-12 Owen Taylor <otaylor@redhat.com>
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
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.
233 2005-01-12 Tor Lillqvist <tlillqvist@novell.com>
235 Fix for #162790, by Iwan Wong:
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
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
248 * gdk/win32/gdkgc-win32.c: Set up above new fields.
250 2005-01-10 Federico Mena Quintero <federico@ximian.com>
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.
272 2005-01-10 Owen Taylor <otaylor@redhat.com>
274 * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
277 2005-01-10 Matthias Clasen <mclasen@redhat.com>
279 * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document
280 signals. (#163319, Murray Cumming)
282 2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
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)
289 2005-01-09 Anders Carlsson <andersca@gnome.org>
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.
297 2005-01-08 Matthias Clasen <mclasen@redhat.com>
299 * configure.in: Bump version
301 * === Released 2.6.1 ===
303 * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0
305 2005-01-07 Tor Lillqvist <tml@iki.fi>
307 * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
308 Fix braino. (#163232, Arnaud Charlet)
310 2005-01-06 Matthias Clasen <mclasen@redhat.com>
312 * gtk/gtkiconview.c: Make markup_column work, and fix some
313 layout issues when either icon or text is missing. (#163065)
315 2005-01-06 Federico Mena Quintero <federico@ximian.com>
317 * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an
318 "Open _Location" item. Fixes #148839.
320 2005-01-06 Matthias Clasen <mclasen@redhat.com>
322 * README.in: Fix a typo. (#163128, kentaro fukuchi)
324 2005-01-06 James M. Cape <jcape@ignore-your.tv>
326 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
327 (gtk_file_chooser_button_new_with_backend): Use default title if
330 * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
333 2005-01-05 Federico Mena Quintero <federico@ximian.com>
337 * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue
338 a pending operation to select the first row.
340 2005-01-05 Federico Mena Quintero <federico@ximian.com>
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.
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
360 (bookmarks_check_add_sensitivity): Check for the current folder
362 (browse_files_select_first_row): Don't set the cursor if there is
365 2005-01-05 Matthias Clasen <mclasen@redhat.com>
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.
373 Wed Jan 5 11:42:49 2005 Søren Sandmann <sandmann@redhat.com>
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
380 * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update
381 the user time when receiving a WM_DELETE message. (#162980,
384 Tue Jan 4 16:52:14 2005 Jonathan Blandford <jrb@redhat.com>
386 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
387 only reorder on button 1, part of #141937
389 Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
393 * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
394 to win->window's event_mask
396 * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
397 to viewport->view_window.
399 2005-01-04 Matthias Clasen <mclasen@redhat.com>
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.
406 2005-01-03 Matthias Clasen <mclasen@redhat.com>
408 * examples/*: Re-extract.
410 * docs/tutorial/gtk-tut.sgml: Small corrections.
412 * docs/tutorial/gtk-tut.sgml: Some updates for the drawing
413 section. (#161414, Robert Ancell)
415 * docs/tutorial/gtk-tut.sgml: Make it build.
417 * gtk/gtkdialog.c (gtk_dialog_run): Some clarification
418 regarding modality. (#112903, Dave Bordoley)
420 * gtk/gtkfixed.c (gtk_fixed_set_has_window):
421 Add a little motivation. (#145556, Tommi Komulainen)
423 * docs/tutorial/gtk-tut.sgml: Clarify section on
424 g_signal_connect_swapped. (#120543, David Bourguignon)
426 Make gtk_icon_theme_load_icon() work independent of
427 icon factory initialization. (#162791, Tristan Van Berkom)
429 * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
430 _gtk_icon_factory_ensure_default_icons, and make it non-static.
432 * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
434 2005-01-02 Matthias Clasen <mclasen@redhat.com>
436 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder):
437 Don't add a shortcut here. (#162752, Tor Lillqvist)
439 2005-01-02 Tor Lillqvist <tml@iki.fi>
441 * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
442 CoTaskMemFree in get_special_folder() below.
444 * gtk/gtkfilesystem.h: Implement case-insensitive path compare on
445 Win32 using _gtk_file_system_win32_path_compare().
447 * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
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
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.
462 (gtk_file_system_win32_init): Start one timeout per
465 (gtk_file_system_win32_finalize): Remove the timeout.
467 (get_special_folder): Copied from GLib.
469 (_gtk_file_system_win32_get_desktop): New function, uses
470 get_special_folder().
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.
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
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
484 (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE.
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
491 (gtk_file_system_win32_volume_render_icon): Use network icon for
492 unrecognized drive types.
494 (canonicalize_filename, gtk_file_system_win32_parse): Don't get
495 confused by UNC paths.
497 (bookmarks_serialize): Use _gtk_file_system_win32_path_compare()
498 for case-insensitive UTF-8 path comparison.
500 (extract_icon): Use SHGetFileInfo() which is faster than
501 ExtractAssociatedIcon(). Icon extraction is still slow, though,
504 (win32_pseudo_mime_lookup): Don't use the same icon for all
505 shortcuts or executables. Cache only other file type icons.
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.
513 (filename_is_drive_root): Require also the slash after the colon.
515 (filename_is_server_share): New function.
517 (_gtk_file_system_win32_path_compare): New function, does
518 case-folded UTF-8 comparison.
520 * gtk/gtkfilesystemwin32.h: Declare
521 _gtk_file_system_win32_path_compare().
523 2005-01-01 Matthias Clasen <mclasen@redhat.com>
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
531 2005-01-01 Tor Lillqvist <tml@iki.fi>
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
539 2004-12-31 Matthias Clasen <mclasen@redhat.com>
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,
547 2004-12-30 Matthias Clasen <mclasen@redhat.com>
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)
553 * gtk/gtkfilechooserdefault.c: Use secondary text for error
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.
561 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
562 Use g_value_get_boolean() for ellipsize_set. (#162447,
565 2004-12-30 Tor Lillqvist <tml@iki.fi>
567 * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps
570 2004-12-28 Matthias Clasen <mclasen@redhat.com>
572 * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
573 submenu direction from the parent menu.
575 * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first):
576 Return a boolean indicating whether an item in the submenu
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)
582 2004-12-27 Matthias Clasen <mclasen@redhat.com>
584 Make the clipboard image API more robust (#162357,
587 * gtk/gtkclipboard.c (clipboard_image_received_func): Don't
588 ref the pixbuf if it is NULL.
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.
596 2004-12-27 Matthias Clasen <mclasen@redhat.com>
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)
602 * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a
603 typo. (#162339, Alessio Dessi)
605 * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
606 properties as new since 2.4. (#156101, Billy Biggs)
608 * configure.in: Add a warning about the linux-fb
609 target. (#155488, Zeeshan Ali)
611 * gtk/gtkmain.c (gtk_init_with_args): Typo fix. (#162278,
614 2004-12-26 Matthias Clasen <mclasen@redhat.com>
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)
621 2004-12-23 Matthias Clasen <mclasen@redhat.com>
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)
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)
631 Wed Dec 22 14:22:19 2004 Søren Sandmann <sandmann@redhat.com>
633 * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
634 timeout. Written by Christian Persch.
636 Wed Dec 22 14:14:02 2004 Søren Sandmann <sandmann@redhat.com>
640 * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
641 background for windows that get expose events.
643 * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
644 hack to repaint !expose windows.
646 Wed Dec 22 11:35:41 2004 Søren Sandmann <sandmann@redhat.com>
648 Bug #147497, make menu items activate immediately when you release
651 * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make
652 items activate immediately.
654 * gtk/gtkmenu.c (definitely_within_item): New function
655 * gtk/gtkmenu.c (check_threshold): New function
657 2004-12-22 Matthias Clasen <mclasen@redhat.com>
659 * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to
660 null the mnemonic_menu when unsetting a mnemonic, reported
663 2004-12-21 Matthias Clasen <mclasen@redhat.com>
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.
669 2004-12-22 Matthias Clasen <mclasen@redhat.com>
671 Fix sorting of list stores. (#161886, Marcin Krzyzanowski)
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.
677 * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the
680 Wed Dec 22 01:24:01 2004 Jonathan Blandford <jrb@redhat.com>
682 * gtk/queryimmodules.c (main): print out the version and binary
683 name in the header comment. Problem reported by Seth Nickell.
685 2004-12-20 Matthias Clasen <mclasen@redhat.com>
687 * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a
688 root path to gtk_tree_model_rows_reordered(). (#161720,
691 * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't
692 translate NULL messages. (#161789, Morten Welinder)
694 * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
695 the secondary label on show_all(). (#161707, Christian Persch)
697 2004-12-19 Tor Lillqvist <tml@iki.fi>
699 * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
700 Use wide character API when available. Use UTF-8 for filenames.
702 * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
703 the string's trailing zero byte in the property's length, just for
706 2004-12-18 Matthias Clasen <mclasen@redhat.com>
708 * gtk/gtkfilechooserentry.c (check_completion_callback)
709 (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
711 * gtk/gtkfilechooserdefault.c (edited_idle_cb)
712 (shortcuts_drag_outside_idle_cb): Add missing
713 GDK_THREADS_ENTER/LEAVE. (#161604)
715 * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb):
716 (list_select_func): Don't call gtk_file_info_get_is_folder()
719 * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name):
720 (gtk_about_dialog_init): Add missing initializations. (#161646,