1 2007-01-13 Hans Breuer <hans@breuer.org>
3 * gtk/gtkprintoperation-win32.c : take the custom tab label from
4 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
6 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
7 differing definitions of GTK_LOCALEDIR (bug #396175).
9 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
10 not available everywhere
12 * gtk/makefile.msc.in : updated
14 2007-01-12 Michael Natterer <mitch@imendio.com>
16 * gtk/gtkentry.c (gtk_entry_button_press): don't add
17 entry->scroll_offset to entry->drag_start_y. Fixes the entry
18 starting drags after ridiculously small mouse movements.
20 2007-01-11 Richard Hult <richard@imendio.com>
22 * demos/gtk-demo/main.c: (load_file): Close the file after it's
25 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
27 * gtk/gtkfilesystemunix.c: (expand_tilde):
28 Make a single tilde go to $HOME in the location entry.
29 Patch from Yevgen Muntyan. Closes the gtk+ part of
32 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
34 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
35 * gtk/gtklabel.c (gtk_label_size_request):
36 Use pango_matrix_transform_rectangle(). (#340141)
38 * configure.in: Bump pango requirement to 1.15.3.
40 2007-01-10 Kristian Rietveld <kris@imendio.com>
42 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
43 refactor to initialize indicator_size to TOGGLE_WIDTH instead
44 of the hardcoded value of 12.
46 2007-01-09 Matthias Clasen <mclasen@redhat.com>
48 * configure.in: Fix the directfb cairo test. (#394855,
51 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
53 * configure.in: Fix comment for --with-included-loaders. That option
54 affects builds with module loading enabled too.
56 2006-01-08 Peter Teichman <peter@novell.com>
58 * gtk/gtkfilechooserdefault.c:
59 * gtk/gtkfilechooserprivate.h:
60 * gtk/gtkfilechoosersettings.c:
61 * gtk/gtkfilechoosersettings.h:
62 Save the expanded state of the folder browser with the file
63 chooser settings. Resolves the expander portions of (#153828,
66 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
68 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
69 Don't leak the icon pixbuf after setting it to the image menu
70 item. Found by Paolo Borelli.
72 2007-01-08 Matthias Clasen <mclasen@redhat.com>
74 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
75 corrupt memory when faced with paths with ridiculously
76 large indices. Found by the GTKVTS test suite.
78 2007-01-08 Matthias Clasen <mclasen@redhat.com>
80 * gtk/gtkmodules.c (_gtk_modules_init): Set
81 default_display_opened before loading modules. (#393102,
84 2007-01-07 Matthias Clasen <mclasen@redhat.com>
86 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
87 Call text_window_realize() with the correct parameters.
88 (#393813, Yevgen Muntyan)
90 2007-01-07 Matthias Clasen <mclasen@redhat.com>
92 * gtk/gtkstatusbar.c: Move docs inline, and expand them
95 2007-01-06 Matthias Clasen <mclasen@redhat.com>
97 * gtk/gtklabel.c: Make line wrapping work with width-chars
98 and max-width-chars, and simplify the storage of wrap-width.
99 (#322580, Itai Bar-Haim)
101 2007-01-06 Tor Lillqvist <tml@novell.com>
103 * gdk/win32/cursor.bdf: New file. Downloaded from
104 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
105 "diamond_cross", "draft_large", "gobbler" and "target" to fix
106 #392504. It is possible that the same end result could have been
107 achieved by tweaking bdfcursor.c instead.
109 * gdk/win32/bdfcursor.c: Add optional debugging output.
111 * gdk/win32/xcursors.h: Regenerated.
113 2007-01-05 Matthias Clasen <mclasen@redhat.com>
115 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
116 menu labels. (#393255, Michail Crayson)
118 2007-01-05 Kristian Rietveld <kris@gtk.org>
120 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
121 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
123 2007-01-05 Kristian Rietveld <kris@gtk.org>
125 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
126 invalidate nodes if the tree view is not realized. (#363147,
127 Carlos Garnacho, Miguel Cabrera).
129 2007-01-05 Matthias Clasen <mclasen@redhat.com>
131 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
132 account when drawing the background. (#393166, Benjamin Berg)
134 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
136 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
139 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
141 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
142 both scroll arrows when calculating size request in GTK_POS_LEFT or
143 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
145 2007-01-05 Michael Natterer <mitch@imendio.com>
147 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
148 the right function (fix taken from maemo-gtk).
150 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
153 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
154 (gdk_draw_layout_with_colors):
155 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
156 Avoid overflow when converting coordinates to Pango units. (#332266,
159 2007-01-04 Matthias Clasen <mclasen@redhat.com>
161 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
162 after realization of the popup window, so clamp node doesn't fail.
163 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
165 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
167 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
170 2007-01-04 Matthias Clasen <mclasen@redhat.com>
173 * gdk-pixbuf/Makefile.am:
175 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
176 (#392646, Yevgen Muntyan)
178 2007-01-04 Matthias Clasen <mclasen@redhat.com>
180 * demos/gtk-demo/textscroll.c:
181 * gtk/gtkhandlebox.c:
182 * gtk/gtkcolorsel.c: Fix some compiler warnings.
184 2007-01-03 Matthias Clasen <mclasen@redhat.com>
186 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
187 by calling the input method regardless of editability,
188 and beeping from the commit/preedit-changed handlers.
189 (#390514, Yevgen Muntyan)
191 2007-01-03 Matthias Clasen <mclasen@redhat.com>
193 Fix #332604, reported by Joe Wreschnig, patch
194 by Jan Arne Petersen and Behdad Esfahbod.
196 * gtk/gtklabel.c (gtk_label_size_allocate): Only
197 set the width of the layout when necessary.
198 (get_layout_location): Use pango_layout_get_pixel_extents()
199 instead of pango_layout_get_width().
201 2007-01-03 Matthias Clasen <mclasen@redhat.com>
203 * modules/printbackends/cups/gtkprintbackendcups.c
204 (available_choices): Don't leak conflicts.
206 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
207 Don't leak the status string.
209 2007-01-03 Matthias Clasen <mclasen@redhat.com>
211 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
212 Exit early if we can't get file info - this happens
213 if the iter points to the row where we are editing
214 the name for a newly created folder. (#392191, Michael
215 Partridge, patch by Kristian Rietveld)
217 2007-01-03 Matthias Clasen <mclasen@redhat.com>
220 * gdk/x11/*.c: Apply a patch by Chris Wilson to
221 avoid spurious valgrind warnings from XSendEvent()
224 * modules/printbackends/cups/gtkprintbackendcups.c: Close
225 the http connection after getting the PPD.
227 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
230 2007-01-03 Matthias Clasen <mclasen@redhat.com>
232 * gtk/gtkassistant.c (remove_page): If the current page
233 is removed, always pick a different one. (#392457,
236 2007-01-03 Matthias Clasen <mclasen@redhat.com>
238 * modules/printbackend/cups/*.c: Coding style cleanups.
240 2007-01-03 Matthias Clasen <mclasen@redhat.com>
242 * configure.in: Export SED to make sourcing of
243 libtool work. Tighten up the directfb pkgconfig check.
245 2007-01-03 Michael Natterer <mitch@imendio.com>
247 * gtk/gtkstyle.c (option_menu_get_props)
248 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
249 gtk_border_free when freeing borders.
251 2007-01-03 Matthias Clasen <mclasen@redhat.com>
253 * gtk/gtkentry.c (get_text_area_size): Work when the
254 entry is not realized. (#392315, Yevgen Muntyan)
256 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
257 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
259 * gtk/gtkentry.c (cursor_blinks): Don't get settings
260 unnecessarily. (#392227)
262 2007-01-02 Matthias Clasen <mclasen@redhat.com>
264 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
265 updates on the window at hand, not on all windows, to
266 avoid violating resize/redraw ordering constraints.
267 (#362406, Owen Taylor)
269 2007-01-03 Kristian Rietveld <kris@gtk.org>
271 * gtk/gtkcellrendererprogress.c
272 (gtk_cell_renderer_progress_class_init): fix docs.
274 2007-01-02 Matthias Clasen <mclasen@redhat.com>
276 * gtk/updateiconcache.c: Include locale.h
278 2007-01-02 Matthias Clasen <mclasen@redhat.com>
280 * gtk/updateiconcache.c (main): Call setlocale().
283 * gtk/gtkfilesystemunix.c:
284 * gtk/gtkfilesystemwin32.c:
285 * gtk/gtkfilechoosersettings.c:
286 * gtk/updateiconcache.c: Consistently use folder instead of
287 directory in translated messages. (#344584, Javier F. Serrador)
289 2007-01-02 Matthias Clasen <mclasen@redhat.com>
291 Try to fix #315732, reported by Luke Hutchinson:
293 * gdk/x11/xsettings-client.[hc]:
294 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
295 will guarantee that it can be looked up in the xid hash later.
296 Also, use the nesting server grab function during the xsettings
297 client initialization. Finally, make xsettings client not
298 eat DestroyNotifys so that GDK can do its regular cleanup.
300 2007-01-02 Michael Natterer <mitch@imendio.com>
302 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
303 when a keybinding didn't change adjustment->value.
305 2007-01-02 Matthias Clasen <mclasen@redhat.com>
307 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
308 Try harder not to beep on events which are not meant to
309 insert stuff in the buffer. (#390514, Yevgen Muntyan)
311 2007-01-02 Matthias Clasen <mclasen@redhat.com>
313 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
315 2007-01-02 Matthias Clasen <mclasen@redhat.com>
317 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
318 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
320 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
322 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
324 2007-01-01 Matthias Clasen <mclasen@redhat.com>
326 * gtk/gtkscrolledwindow.h:
327 * gtk/gtkscrolledwindow.c: Only handle key bindings
328 for scrolling if the scrollbars are visible.
329 (#340135, Christian Persch)
331 2007-01-01 Matthias Clasen <mclasen@redhat.com>
333 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
334 Don't segfault on horizontal scrolling.
336 2007-01-01 Matthias Clasen <mclasen@redhat.com>
339 * gtk/gtknotebook.c: Only handle key bindings for
340 tab reordering if the tabs are shown and reorderable.
341 (#390468, Yevgen Muntyan)
343 * gtk/gtkmarshalers.list: Add required marshaler
345 2007-01-01 Matthias Clasen <mclasen@redhat.com>
347 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
348 Mention in the docs that the return value is
349 NULL-terminated. (#383373, Christian Neumair)
351 2007-01-01 Matthias Clasen <mclasen@redhat.com>
353 * gtk/gtkicontheme.c (load_themes): Waste less time
354 with non-directories. (#391725, Chris Wilson)
356 2007-01-01 Matthias Clasen <mclasen@redhat.com>
358 * gtk/gtkcellrendererprogress.c: Implement activity mode
359 for GtkCellRendererProgress. (#377851, Brad Taylor)
361 2007-01-01 Matthias Clasen <mclasen@redhat.com>
363 Fix some IPP compliance issues. (#391523, Albrecht Dress)
365 * modules/printbackends/cups/gtkcupsutils.c
366 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
368 * modules/printbackends/cups/gtkprintbackendcups.c
369 (gtk_print_backend_cups_print_stream): Don't add the
370 requesting-user-name attribute a second time.
372 2007-01-01 Matthias Clasen <mclasen@redhat.com>
374 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
376 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
378 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
379 right object when disconnecting from the GtkRecentManager::changed
380 signal; save us a few indirections using a variable.
382 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
384 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
385 disconnections into the dispose function, as well as the
386 object unrefs; reset every handler id and the
387 pointers. (suggested by Paolo Borelli, #390873)
389 2006-12-31 Matthias Clasen <mclasen@redhat.com>
391 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
394 2006-12-30 Matthias Clasen <mclasen@redhat.com>
396 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
397 scroll timeout. (#390872, Yevgen Muntyan)
399 2006-12-30 Matthias Clasen <mclasen@redhat.com>
401 * gtk/gtkprintoperation-unix.c:
402 * gtk/gtkprintbackend.c:
403 * gtk/gtkfilechooserdefault.c:
404 * gtk/gtksettings.c: Move a few settings to gtksettings.c
405 to make sure they show up in the docs. (#365364, Christian
408 2006-12-30 Matthias Clasen <mclasen@redhat.com>
410 * gtk/gtkassistant.c: Redraw assistant on reallocate
411 to avoid rendering glitches. (#343956, Christian
412 Persch, Carlos Garnacho)
414 2006-12-30 Matthias Clasen <mclasen@redhat.com>
416 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
418 2006-12-30 Matthias Clasen <mclasen@redhat.com>
420 * gtk/gtkaction.c: Improve the docs of the "label"
421 property. (#341730, Kristof Vansant)
423 2006-12-30 Matthias Clasen <mclasen@redhat.com>
425 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
426 Correctly handle min size. (#320465, Philipp Langdale)
428 2006-12-30 Matthias Clasen <mclasen@redhat.com>
430 * gtk/prop-editor.c: Implement editing of flags.
432 2006-12-30 Matthias Clasen <mclasen@redhat.com>
437 * gtk/gtkstatusbar.c:
438 * gtk/gtktextview.c: Don't install cursors on insensitive
439 widgets. (#358864, Jan Schampera)
441 2006-12-29 Matthias Clasen <mclasen@redhat.com>
443 * gtk/gtkrecentmanager.h:
444 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
447 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
450 * gtk/gtkentry.c (blink_cb):
451 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
452 if focus went missing. Just warn, clean up and continue.
455 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
457 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
458 originally received the event is a notebook page. (#315440, reported
461 2006-12-29 Matthias Clasen <mclasen@redhat.com>
463 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
466 2006-12-29 Matthias Clasen <mclasen@redhat.com>
468 * tests/prop-editor.c: Display children of containers
469 and cell renderers of cell layouts.
472 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
473 New function to get the cell renderers of a cell layout.
475 * gtk/gtktreeviewcolumn.c:
477 * gtk/gtkiconview.c: Implement get_cells.
479 2006-12-28 Matthias Clasen <mclasen@redhat.com>
481 * gtk/gtkiconview.c: Use word wrapping by default, and
482 center multiline labels. (#318763, Ross Burton)
484 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
485 case for single-line layouts.
487 2006-12-28 Matthias Clasen <mclasen@redhat.com>
489 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
492 * gtk/gtkuimanager.c (update_node): Only use the results
493 of find_menu/toolbar_position() if they succeed. May fix
496 2006-12-28 Matthias Clasen <mclasen@redhat.com>
498 * gdk/gdk.c: Fix some formatting errors in docs.
500 2006-12-28 Tor Lillqvist <tml@novell.com>
502 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
503 (gtk_status_icon_update_image): Don't leak HICONs on
504 Win32. (#364868, Hiroyuki Yamamoto)
506 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
508 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
510 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
511 * gtk/gtkmarshalers.list: add new marshaler definition.
512 * gtk/gtkenums.h: add GtkDragResult enum.
514 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
515 operation wasn't successful.
516 (_gtk_drag_source_handle_event) (gtk_drag_drop)
517 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
518 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
519 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
520 gtk_drag_drop_finished() the operation result.
522 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
523 (gtk_notebook_drag_data_get): do not call window creation hook here.
524 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
525 target, instead connect to "drag-failed".
526 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
528 2006-12-28 Mikael Hallendal <micke@imendio.com>
530 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
531 integration into gdkeventloop-quartz.c.
533 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
535 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
538 2006-12-27 Matthias Clasen <mclasen@redhat.com>
540 * modules/printbackends/lpr/gtkprintbackendlpr.c
541 (gtk_print_backend_lpr_print_stream): Close the io channel
542 on unref. (#390159, Joe Markus Clarke)
544 2006-12-27 Matthias Clasen <mclasen@redhat.com>
546 * gdk/gdk.h: Remove redundant declarations (#390097,
549 2006-12-27 Kristian Rietveld <kris@gtk.org>
551 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
553 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
554 gtk-alternative-sort-arrows.
556 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
559 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
560 gtk-alternative-sort-arrows setting to true.
562 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
563 invert direction if gtk-alternative-sort-arrows is TRUE.
565 2006-12-27 Tor Lillqvist <tml@novell.com>
567 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
568 gtk_status_icon_set_screen.
570 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
571 on Windows. Keep track of where the last button click on the
572 taskbar icon took place, and return that. Obviously not correct if
573 no button has ever been clicked on the icon, or if the geometry of
574 the taskbar has changed since. But for most use cases where a menu
575 is going to be displayed as a direct result of a button click on
576 the status icon, works fine. (#377349)
578 Implement getting the orientation property on Windows.
580 (gtk_status_icon_embedded_changed)
581 (gtk_status_icon_orientation_changed): Ifdefify these functions
582 that are used only on X11.
584 2006-12-27 Tor Lillqvist <tml@novell.com>
586 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
587 typo. (#390035, Kazuki Iwamoto)
589 2006-12-27 Matthias Clasen <mclasen@redhat.com>
591 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
593 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
594 (gtk_combo_box_unset_model): Handle repeated unsetting
595 of models without warnings. (#367529, Robert Ancell)
597 2006-12-27 Matthias Clasen <mclasen@redhat.com>
599 * modules/printbackends/cups/gtkcupsutils.c:
600 * modules/printbackends/cups/gtkprintbackendcups.c: Use
601 getters for http fields where available. (#364866,
604 2006-12-27 Matthias Clasen <mclasen@redhat.com>
606 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
609 2006-12-27 Matthias Clasen <mclasen@redhat.com>
611 * gtk/gtkuimanager.c (update_node): If a required action
612 is missing, don't recurse over the children. (#349119,
615 2006-12-27 Matthias Clasen <mclasen@redhat.com>
617 Fix a few problems with nested menus in comboboxes
618 (#386694, Yevgen Muntyan)
620 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
621 connect the activate callback.
622 (gtk_combo_box_menu_item_activate): Do nothing if called on
623 an item with a submenu.
624 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
627 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
629 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
630 filechooser button. Bug 353196.
632 2006-12-26 Kristian Rietveld <kris@gtk.org>
634 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
635 the search dialog timeout never to be refreshed. (#389581,
636 Andrzej Szombierski).
638 2006-12-26 Kristian Rietveld <kris@gtk.org>
640 Lots of scrolling fixes. Made scrolling work properly in not fully
641 validated tree views; fixed a bunch of corner cases.
643 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
644 upper - page_size, we know it is located at the end so the test for
645 dy + height has been dropped.
646 In the same case if area_below < 0, we know this is the last node
647 in the tree view so area_above is page_size - height of this row.
648 (validate_visible_area): got rid of subtracting new_height -
649 old_height from area_{below,above}, it didn't make any sense at
650 all and the full height of the row should be subtracted instead.
651 (validate_visible_area): when scrolling to a given path, set the
652 top row directly together with the dy offset, then sync that top_row
654 (gtk_tree_view_set_top_row): new function to directly set a top_row.
655 (gtk_tree_view_dy_to_top_row): refactored to use
656 gtk_tree_view_set_top_row().
657 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
658 (gtk_tree_view_adjustment_changed): only update our dy and
659 top_row if the adjustment's dy actually changed.
661 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
663 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
664 Return the correct value from gtk_notebook_insert_page if the
665 page-added handler reorders the tabs. Bug #345094.
667 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
669 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
671 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
672 scrolling when hovering with a detached tab.
673 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
674 focus tab has changed during a tab DND operation.
675 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
676 (gtk_notebook_paint): do not take cur_page as a reference to paint the
677 box if it's detached.
678 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
679 to the detached tab if we hover the arrows during a tabs detaching
680 operation, do not allocate it unconditionally in 0,0.
682 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
684 Expose improvements for GtkNotebook. Bug #383435
686 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
688 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
689 (gtk_notebook_draw_tab): do not send handmade expose events to tab
692 2006-12-26 Matthias Clasen <mclasen@redhat.com>
694 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
695 FALSE. (#389623, Carlos Garnacho Parro)
697 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
700 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
702 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
703 (gtk_plug_unrealize): Notify the "embedded" property also on
704 normal construction and when destroying the socket window.
707 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
709 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
710 (gtk_about_dialog_init), (display_credits_dialog),
711 (display_license_dialog):
712 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
713 (gtk_file_chooser_dialog_init),
714 (gtk_file_chooser_dialog_constructor),
715 (gtk_file_chooser_dialog_unmap):
716 * gtk/gtkrecentchooserdefault.c:
717 (_gtk_recent_chooser_default_init):
718 * gtk/gtkrecentchooserdialog.c:
719 (gtk_recent_chooser_dialog_class_init),
720 (gtk_recent_chooser_dialog_init),
721 (gtk_recent_chooser_dialog_constructor),
722 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
723 instead of using style-set handlers. Fix the filechooser's spacing
724 between content and action area to 12px. Bug #372447.
726 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
728 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
729 Don't assume statusbar->label is the statusbar's frame's child when
730 shrinking the size allocation when the grip is shown. Bug #372452.
732 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
734 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
735 (add_custom_paper): Fix mem leaks. Bug #389194.
737 2006-12-24 Matthias Clasen <mclasen@redhat.com>
739 * gtk/gtktextutil.c: Remove debug output.
741 * gtk/gtktextview.c: Improve the DND scrolling
742 behaviour. (#92387, Carlos Garnacho Parro)
744 * gtk/gtkaccellabel.c: Improve translators comments.
745 (#389298, Christian Persch)
747 2006-12-24 Bastien Nocera <hadess@hadess.net>
749 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
752 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
754 * docs/reference/gtk/gtk-sections.txt:
756 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
757 * gtk/gtkprinter-private.h:
758 * gtk/gtkprinter.c: (gtk_printer_list_papers):
759 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
761 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
763 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
764 when is selected in page setup dialog. Fixes bug #365047.
766 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
768 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
769 Use gtk_border_free when freeing border.
771 2006-12-24 Matthias Clasen <mclasen@redhat.com>
773 * gtk/gtkentry.c (gtk_entry_button_press): When
774 shift-clicking, keep the larger part of the selection
775 selected. (#353709, Benjamin Otte)
777 * gtk/gtkbutton.c (gtk_button_get_props): Use
778 gtk_border_free when freeing borders.
780 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
781 careful when faking a button release. (#323146,
784 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
785 handle with the right orientation, depending on the
786 position of the handlebox. (#159764, Benjamin Berg)
788 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
790 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
793 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
795 Bug 340141 – Update to Pango 1.16 API
797 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
798 (gdk_pango_layout_line_get_clip_region):
799 * gtk/gtkcalendar.c (gtk_calendar_size_request):
800 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
801 (get_layout_position), (gtk_entry_find_position),
802 (gtk_entry_adjust_scroll):
803 * gtk/gtkiconview.c (get_pango_text_offsets):
804 * gtk/gtklabel.c (get_cursor_direction):
805 * gtk/gtkstyle.c (get_insensitive_layout):
806 * gtk/gtktextdisplay.c (render_para):
807 * gtk/gtktextlayout.c (allocate_child_widgets),
808 (find_display_line_below), (find_display_line_above),
809 (gtk_text_layout_move_iter_to_previous_line),
810 (gtk_text_layout_move_iter_to_next_line),
811 (gtk_text_layout_move_iter_to_line_end),
812 (gtk_text_layout_iter_starts_line),
813 (gtk_text_layout_move_iter_to_x):
814 * gtk/gtktextutil.c (limit_layout_lines):
815 Use the _readonly version of pango_layout_iter_get_line(),
816 pango_layout_iter_get_run(), pango_layout_get_line(), and
817 pango_layout_get_lines().
819 * gtk/gtkmain.c (gtk_get_default_language): Use
820 pango_get_default_language().
822 2006-12-24 Matthias Clasen <mclasen@redhat.com>
824 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
825 and notify:text only once. The same fix was applied
826 for replacing the selection via DND or copy-and-paste.
827 (#64998, Damon Chaplin, Sven Herzberg)
829 2006-12-23 Matthias Clasen <mclasen@redhat.com>
831 * gtk/gtkimmulticontext.c: Be careful to not override
832 GTK+ translations with the translations of the input
833 method. (#317080, Tor Lillqvist)
835 * modules/input/imcedilla.c: Use standard macros
836 for translation domain and locale dir.
838 * gtk/gtkimcontextsimple.c: Allow composing l with
839 stroke. (#349638, Daniel Lublin)
841 * gtk/gen-paper-names.c: Fix a thinko in the suffix
842 calculation. (#382369, Christian Persch)
844 * gtk/paper_names_offsets.c: Regenerated.
846 2006-12-22 Matthias Clasen <mclasen@redhat.com>
848 * modules/engines/pixbuf/pixbuf.h:
849 * modules/engines/pixbuf/pixbuf-rc-style.h:
850 * modules/engines/pixbuf/pixbuf-style.h: Move
851 G_GNUC_INTERNAL before function declarations. (#352276,
854 2006-12-22 Matthias Clasen <mclasen@redhat.com>
856 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
859 2006-12-22 Matthias Clasen <mclasen@redhat.com>
861 * *.c: Replace a lot of idle and timeout calls by
862 the new gdk_threads api.
866 * gdk/gdk.c: Add functions to allow threadsafe handling
867 of idles and timeouts wrt. to the GDK lock. (#321886,
870 2006-12-22 Matthias Clasen <mclasen@redhat.com>
872 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
873 (#340141, Behdad Esfahbod)
875 * configure.in: Check for getc_unlocked.
877 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
878 unavailable. (#381499)
880 * tests/teststatusicon.c: Fix a typo
882 2006-12-22 Matthias Clasen <mclasen@redhat.com>
884 Make it possible to track the embeddedness of
885 statusicon (#387215, Martyn Russell, patch by Christian
888 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
890 * gtk/gtkplug-x11.c: Add an embedded property.
891 * tests/teststatusicon.c: Test the new properties.
893 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
894 leak draw_border. (#387170, Kjartan Maraas)
896 2006-12-21 Matthias Clasen <mclasen@redhat.com>
898 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
899 Typo fix. (#388123, Murray Cumming)
901 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
902 Generate double-click events. (#380421, Tommi Komulainen)
904 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
905 (_gdk_input_enter_event): Correct return_if_fail checks.
906 (#379803, Tommi Komulainen)
908 * gdk/gdkdisplay.c: Improve the docs of some functions operating
909 on the default display. (##353438, Mariano Suárez-Alvarez)
911 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
913 * docs/reference/gdk/gdk-sections.txt:
914 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
915 converting a GdkColor to a string (#373856).
917 * configure.in: Bump pango requirement to 1.15.2.
919 2006-12-20 Matthias Clasen <mclasen@redhat.com>
921 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
924 * gdk/keyname-table.h: Regenerated
926 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
929 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
930 Silently return if a drag is already in progress, rather
931 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
933 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
934 Allow any GtkDialog that implements GtkFileChooser as
935 dialog. (#335473, Tommi Komulainen)
937 2006-12-20 Mikael Hallendal <micke@imendio.com>
939 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
940 change in the quartz backend.
942 2006-12-20 Mikael Hallendal <micke@imendio.com>
944 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
945 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
947 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
949 2006-12-19 Matthias Clasen <mclasen@redhat.com>
951 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
952 format of page ranges, and improve the page sequence icon
953 for the case of n_copies == 1.
955 2006-12-19 Mikael Hallendal <micke@imendio.com>
957 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
958 routine so that it can be used from libgtk as well (needed for
959 upcoming GtkStatusIcon support in the Quartz port).
960 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
961 created from GDK, this is not true for the status icon.
962 * gdk/quartz/gdkprivate-quartz.h:
963 * gdk/quartz/gdkquartz.h: Added
964 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
965 the status icon code.
967 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
969 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
970 gtk_message_dialog_set_image ()
972 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
973 (setting "window-placement-set" could result in a crash because
974 of boolean/enum mixup)
976 2006-12-15 Federico Mena Quintero <federico@novell.com>
978 Merged from gtk-2-10:
980 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
981 the case where the new title is the same as the old title, to
982 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
983 equivalent). Handle the case where title == priv->title. This
984 was found by the LSB compatibility tests:
985 https://bugzilla.novell.com/show_bug.cgi?id=223882
987 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
989 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
990 more closely resemble its Win32 counterpart. Bug #340204.
992 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
994 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
995 placed inside their GdkWindow. Bug #385672.
997 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
999 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
1001 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
1003 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
1004 drawn with extra line below tab in MS-Windows theme. Patch by
1007 2006-12-13 Matthias Clasen <mclasen@redhat.com>
1009 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
1010 for print preview. (#370041, Ghee Teo)
1012 2006-12-11 Matthias Clasen <mclasen@redhat.com>
1014 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
1015 careful when overdrawing antialiased text. (#352435, Alex Jones,
1016 patch by Benjamin Otte)
1018 * gtk/gtksettings.c: Change the way in which color scheme information
1019 is merged to correctly handle vanishing colors. (#374420,
1020 Benjamin Berg, patch by Callum McKenzie)
1021 Also allow to separate entries in color schemes by ';'
1024 2006-12-10 Matthias Clasen <mclasen@redhat.com>
1026 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
1027 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
1029 2006-12-10 Kristian Rietveld <kris@gtk.org>
1031 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
1032 cancel editing (ie. don't accept changes) when the entry loses
1033 focus. (Fixes #164494, reported by Chris Rouch).
1035 2006-12-10 Matthias Clasen <mclasen@redhat.com>
1037 * configure.in: Correct a misapplied patch.
1039 2006-12-10 Tor Lillqvist <tml@novell.com>
1041 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
1042 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
1043 developer zipfile. Users might add pixbuf loaders or immodules
1044 even if they are not interested in developing gtk+-using software.
1046 2006-12-10 Matthias Clasen <mclasen@redhat.com>
1048 * configure.in: Check for crt_extern.h and _NSGetEnviron.
1049 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
1050 environ is not available. (#384168, Min Sik Kim)
1052 2006-12-07 Paolo Maggi <paolo@gnome.org>
1056 * gtk/gtkentry.c (gtk_entry_set_text): check for
1057 completion->priv->changed_id > 0 before calling
1058 g_signal_handler_[un]block.
1059 (gtk_entry_completion_key_press): does not block/unblock the "changed"
1060 signal before calling gtk_entry_set_text.
1062 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
1064 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
1065 xthickness/ythickness, they aren't used any longer for drawing.
1067 2006-12-07 Matthias Clasen <mclasen@redhat.com>
1069 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
1070 underlines by giving labels a small draw-border.
1072 2006-12-06 Kristian Rietveld <kris@gtk.org>
1074 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
1075 draw progress bar through theme engine instead of using our own
1076 custom cairo drawing code (#377244, patch from Carlos Garnacho).
1078 2006-12-06 Matthias Clasen <mclasen@redhat.com>
1080 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
1081 Update the sensitivity of the collate checkbutton more frequently,
1082 proposed by Tim Waugh.
1084 2006-12-04 Matthias Clasen <mclasen@redhat.com>
1086 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
1087 since we no longer set window titles.
1089 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
1091 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
1092 (gtk_page_setup_set_paper_size): Don't leak the old page size when
1093 setting a new one. Bug #382314.
1095 2006-12-03 Michael Natterer <mitch@gimp.org>
1097 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
1099 2006-12-03 Kristian Rietveld <kris@gtk.org>
1101 Make sure [xy]_offset are always being initialized, fix pixbuf
1102 renderer padding. (#108235, Sven Neumann).
1104 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
1105 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
1108 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
1109 always initialize [xy]_offset.
1110 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
1111 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
1114 2006-12-03 Kristian Rietveld <kris@gtk.org>
1116 * gtk/gtktreeview.c (validate_visible_area): when not using an
1117 explicit alignment, use the full area of the row (not just dy)
1118 to determine how to implicitly align it. (Fixes #363191, reported
1119 by Federico Mena Quintero).
1121 2006-12-02 Matthias Clasen <mclasen@redhat.com>
1123 * gtk/gtkicontheme.c (insert_theme): Properly clean up
1124 if an icon theme index file has no directories. (#381236)
1126 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
1128 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
1129 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
1131 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
1133 Remove the broken Thai input method and add a functional Thai and Lao
1134 input method by Theppitak Karoonboonyanan. (#81031)
1136 * modules/input/imthai.c:
1137 * modules/input/gtkimcontextthai.c:
1138 * modules/input/gtkimcontextthai.h:
1139 * modules/input/thai-charprop.c:
1140 * modules/input/thai-charprop.h:
1143 * modules/input/imthai-broken.c:
1146 * modules/input/Makefile.am:
1149 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
1151 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
1153 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
1155 * gtk/gtktextview.c: applied patch by Colin Leroy for
1156 Control+GDK_KP_Left to move one word to the left, #356255.
1158 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
1160 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
1163 2006-11-25 Matthias Clasen <mclasen@redhat.com>
1165 * modules/printbackends/cups/gtkprintbackendcups.c: Make
1166 print dialog work when 'BrowseShortNames Off' is specified
1167 in cups configuration. Patch by Tim Waugh.
1169 2006-11-24 Michael Natterer <mitch@imendio.com>
1171 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
1172 can't go up/down, consult gtk_widget_keynav_failed() and leave the
1173 widget if it returns FALSE (bug #322640).
1175 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
1177 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
1179 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
1181 * gtk/gtkrecentmanager.c:
1182 (get_uri_shortname_for_display): g_filename_from_uri() might
1183 fail; catch the failure and fall back to the non-local URI
1186 2006-11-19 Mark McLoughlin <mark@skynet.ie>
1188 Fixes bug #376502 - multi-screen support for GtkStatusIcon
1190 * gtk/gtkstatusicon.[ch]:
1191 (gtk_status_icon_set_screen),
1192 (gtk_status_icon_get_screen): add multi-screen API. Allows
1193 an app to display an icon on a non-default screen
1194 (gtk_status_icon_class_init),
1195 (gtk_status_icon_set_property),
1196 (gtk_status_icon_get_property): add a "screen" property
1198 * tests/teststatusicon.c: update to test on multiple screens
1200 2006-11-17 Matthias Clasen <mclasen@redhat.com>
1202 Fix problems with drag cancellation. (#376535, Michael Natterer)
1204 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
1205 handlers before emitting drag-end.
1206 (gtk_drag_end): Disconnect signal handlers before removing
1209 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
1211 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
1212 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
1214 2006-11-16 Michael Natterer <mitch@imendio.com>
1216 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
1217 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
1218 and gtk-keynav-wrap-around and wrap around, beep or continue outside
1219 the group manually (bug #322640).
1221 2006-11-16 Michael Natterer <mitch@imendio.com>
1223 Add new infrastructure for notifications of failed keyboard
1224 navigation and navigation with restricted set of keys.
1226 The patch handles configurable beeping, navigating the GUI with
1227 cursor keys only (as in phone environments), and configurable
1228 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
1231 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
1232 gtk-keynav-wrap-around and gtk-error-bell.
1234 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
1235 API to emit it. Added New function gtk_widget_error_bell() which
1236 looks at the gtk-error-bell setting and calls gdk_window_beep()
1239 * gtk/gtk.symbols: add the new widget symbols.
1241 * gtk/gtkcellrendereraccel.c
1242 * gtk/gtkimcontextsimple.c
1244 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
1245 gtk-error-bell setting instead of calling gdk_display_beep()
1252 * gtk/gtkmenushell.c
1253 * gtk/gtkspinbutton.c
1255 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
1260 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
1261 cursor navigation and leave the widget if it returns FALSE.
1263 * gtk/gtkmenushell.c
1264 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
1267 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
1268 whether to to wrap-around, and don't select active items on cursor
1269 navigation if gtk-keynav-cursor-only is TRUE. Should look at
1270 gtk-keynav-wrap-around too, will look into that.
1272 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1274 * gtk/gtkrecentmanager.c:
1275 (gtk_recent_info_get_uri_display): Return the URI
1276 of the GtkRecentInfo object (upgraded to UTF-8 if
1277 needed) in case of non-local file. (#351945)
1279 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1281 * gtk/gtkrecentchoosermenu.c:
1282 (gtk_recent_chooser_menu_add_tip): Apply the tip only
1283 if we have a displayable name for the item. (#365031,
1284 patch by padraig.obriain(at)sun.com)
1286 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
1288 * gtk/gtkrecentmanager.c: Provide a fast path returning
1289 NULL when the limit is set to 0.
1291 * gtk/gtkrecentchooserdefault.c:
1292 * gtk/gtkrecentchoosermenu.c: Add the same fast path
1293 inside the RecentChooser implementation; add a check
1294 in the list clamping code. (#373466 and duplicates)
1296 2006-11-15 Matthias Clasen <mclasen@redhat.com>
1298 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
1299 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
1301 2006-11-15 Michael Natterer <mitch@imendio.com>
1303 * gtk/gtkrange.[ch]: added properties "fill-level",
1304 "show-fill-level" and "restrict-to-fill-level" and getters/setters
1305 for them. The "fill level" is an additional marker on the range's
1306 trough than can be e.g. used to indicate the amount of
1307 pre-buffering in a range showing the play position of streamed
1308 media. See the embedded API docs for details. Made GtkRangeLayout
1309 a GTypeInstance private struct and removed finalize()
1310 implementation. Fixes bug #349808
1312 * gtk/gtk.symbols: added the new symbols.
1314 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
1316 * configure.in: Make libtool magic robust. (#352795)
1318 2006-11-13 Paolo Borelli <pborelli@katamail.com>
1320 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
1323 2006-11-09 Kristian Rietveld <kris@imendio.com>
1325 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
1326 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
1328 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
1330 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
1332 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
1334 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
1335 timeout running if the slider buttons are hidden. (#372527)
1337 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
1339 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
1340 the "Location" label bold. Bug #372449.
1342 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
1344 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
1345 non-focused tabs xthickness/ythickness thinner. (#353962)
1347 2006-11-07 Paolo Borelli <pborelli@katamail.com>
1349 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
1350 corruption (#357050).
1352 2006-11-06 Alexander Larsson <alexl@redhat.com>
1354 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
1355 (gtk_drag_source_info_destroy), (gtk_drag_end),
1356 (gtk_drag_grab_notify_cb):
1357 Cancel drag when the grab is shadowed. (#122688)
1359 2006-11-01 Kristian Rietveld <kris@imendio.com>
1361 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
1362 (gtk_combo_box_size_request): add arrow-size property to control
1363 the minimum size of the arrow, have the arrow scale up with the
1364 font by default. (#357950).
1366 2006-10-30 Kristian Rietveld <kris@gtk.org>
1368 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
1369 forget to queue a draw for the new cursor node. (Fixes #366548,
1370 reported by Sven Herzberg).
1372 2006-10-30 Michael Natterer <mitch@imendio.com>
1374 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
1375 only if we actually cancel a drag. Fixes bug #58389.
1377 2006-10-30 Kristian Rietveld <kris@gtk.org>
1379 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
1380 keybindings to collapse/expand rows instead of moving the focus
1381 cursor. (#105895, Brian Bober and others).
1383 2006-10-29 Kristian Rietveld <kris@gtk.org>
1385 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
1386 child removal in row-expanded callback. (#366782, John Ellis).
1388 2006-10-29 Tor Lillqvist <tml@novell.com>
1390 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
1391 of the small icon of the window class. (#152620, Kazuki Iwamoto)
1393 2006-10-29 Tor Lillqvist <tml@novell.com>
1395 * gdk/win32/gdkcursor-win32.c
1396 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
1397 for instance the built-in GDK ones.
1399 2006-10-27 Kristian Rietveld <kris@gtk.org>
1401 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
1402 case to not overwrite the variables in the lower scope (which are
1403 used later on ...), get the path correctly and bail out when there
1404 isn't a node above us. (#359231).
1406 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
1408 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
1410 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
1412 * gtk/gtk.symbols: Add missing symbols to so make check can pass
1414 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
1416 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
1417 to free GDI Pen resources, introduced by bug 340201.(#364514)
1419 2006-10-18 Kristian Rietveld <kris@imendio.com>
1421 * tests/testcombo.c (main): connect to notify::popup-shown instead of
1422 popup-show (the latter does not exist).
1424 2006-10-15 Paolo Borelli <pborelli@katamail.com>
1426 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
1429 2006-10-12 Michael Natterer <mitch@imendio.com>
1431 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
1432 (committed the wrong patch).
1434 2006-10-12 Michael Natterer <mitch@imendio.com>
1436 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
1437 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
1438 obsolete now. Fixes bug #358293.
1440 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
1442 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
1444 2006-10-11 Tor Lillqvist <tml@novell.com>
1446 * configure.in: Enable having some gdk-pixbuf loaders built-in
1447 even if loading the others dynamically. Define Automake
1448 conditional INCLUDE_FOO for each loader as TRUE if that loader is
1449 built-in. See also gdk-pixbuf/ChangeLog.
1451 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
1453 * docs/reference/gtk/gtk-sections.txt:
1454 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
1456 2006-10-11 Tor Lillqvist <tml@novell.com>
1458 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
1461 2006-10-11 Tor Lillqvist <tml@novell.com>
1463 Merge from 2.10 branch:
1465 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
1466 environment variable LC_ALL or LANG is set, set the Win32 thread
1467 locale to the corresponding locale. Then call the C library
1468 setlocale() to set the C library locale accordingly. The
1469 inconsistency mentioned below is gone. (#339756) Do some special
1470 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
1471 scripts for Azeri, Uzbek and Serbian.
1472 (enum_locale_proc): Helper function for the above functionality.
1474 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
1475 if the environment variables are set here, as they have already
1476 been taken into account and the Win32 thread locale has been
1479 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
1481 * gtk/tmpl/gtkbindings.sgml:
1482 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
1483 inline docs. applied wording fixes suggested by Martyn Russell.
1485 2006-10-09 Matthias Clasen <mclasen@redhat.com>
1487 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
1488 Update the docs to state which out parameters may be NULL.
1489 (#360870, Attilio Fiandrotti)
1491 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1493 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
1494 a typo. (#359542, Ghee Teo)
1496 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1498 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
1499 reorder tabs if the focus is in the tab. (#350342, Carlos
1502 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
1504 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
1506 2006-10-08 Kristian Rietveld <kris@gtk.org>
1508 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
1509 (gtk_tree_view_set_show_expanders),
1510 (gtk_tree_view_get_show_expanders): add getter/setter for
1511 show-expanders property, queue a redraw when this property
1512 is toggled (#351167, Martin Ejdestig),
1513 (gtk_tree_view_set_level_indentation),
1514 (gtk_tree_view_get_level_indentation): also add getter/setter
1515 and docs for level-indentation property.
1517 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1519 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
1520 leak a list. (#360350, Benjamin Berg)
1522 * Apply a cleanup patch by Kjartan Maraas (#341812)
1524 2006-10-07 Tor Lillqvist <tml@novell.com>
1526 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
1527 locale's first day of week setting on Win32. (#339752, Bogdan
1528 Nicula) Don't do this if one of the environment variables that
1529 affect gettext is set, though. In that case use the week start day
1530 from the corresponding message catalog.
1532 Unfortunately the same logic isn't possible in the weekday and
1533 month name lookup; there even if you have set one of the
1534 aforementioned environment variables, you still get the weekday
1535 and month names from the Win32 thread locale. Yes, this is
1538 Use only wide-character API in the Win32 code in this file, too.
1540 2006-10-06 Matthias Clasen <mclasen@redhat.com>
1542 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
1543 Fix the docs. (#360112)
1545 * gtk/gtkcellview.c: Don't set the background of the
1546 window in a no-window widget. (#359581, Xan Lopez)
1549 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
1551 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
1552 test correctly. (#359845)
1554 2006-10-05 Michael Natterer <mitch@imendio.com>
1556 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
1557 rid of a key binding (in fact, it only lets it appear unbound).
1559 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
1560 "guint marks_unbound : 1"
1562 (gtk_binding_entry_skip): new API which marks the entry as unbound.
1564 Changed code so it returns FALSE when "marks_unbound == TRUE" is
1565 encountered while activating bindings, effectively letting the
1566 binding appear unbound (regardless of still existing bindings in
1567 lower binding priority levels). Fixes bug #358329.
1569 (gtk_binding_entry_add)
1570 (gtk_binding_entry_clear)
1571 (gtk_binding_entry_add_signall)
1572 (gtk_binding_parse_binding): deprected these functions.
1574 (_gtk_binding_parse_binding)
1575 (_gtk_binding_entry_add_signall): new internal API.
1577 * gtk/gtk.symbols: changed accordingly.
1579 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1581 Fix interaction of GtkEntryCompletion with input
1582 methods. (#354495, Diego Escalante Urrelo)
1584 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
1585 the im context if we actually handle the key event.
1587 * gtk/gtkentrycompletion.c: Also propagate key release events
1590 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1592 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
1593 Fix a typo. (#359052, Ghee Teo)
1595 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
1596 reduce relocations. (#359053)
1598 2006-10-03 Matthias Clasen <mclasen@redhat.com>
1600 * modules/printbackends/cups/gtkcupsutils.c:
1601 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
1602 the fix for bug 357280.
1604 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1606 * gdk-pixbuf/Makefile.am:
1609 Include pltcheck.sh in EXTRA_DIST.
1611 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1613 * gdk/x11/gdkevents-x11.c: Move all includes before including
1616 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
1618 * gtk/Makefile.am: Fix typo in file name. (#358931)
1620 2006-10-02 Matthias Clasen <mclasen@redhat.com>
1622 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
1623 Only use the group name field if cups is new enough. (#357280)
1625 * gtk/gtksizegroup.c: Make sure that the quarks are
1626 initialized before using them. (#353736)
1628 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
1629 replace existing links. (#354849, James Evans)
1631 2006-10-01 Matthias Clasen <mclasen@redhat.com>
1633 * gtk/gtkexpander.c (gtk_expander_realize)
1634 (gtk_expander_size_allocate): Make the event_window large
1635 enough to cover the full height of the label_widget. (#358351,
1638 2006-10-01 Tor Lillqvist <tml@novell.com>
1640 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
1642 2006-09-30 Matthias Clasen <mclasen@redhat.com>
1644 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
1645 against base_path being NULL. (#358405, many reporters)
1647 2006-09-29 Matthias Clasen <mclasen@redhat.com>
1649 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
1650 to avoid a deadlock.
1652 2006-09-27 Kristian Rietveld <kris@imendio.com>
1654 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
1655 (gtk_tree_model_filter_ref_node),
1656 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
1657 in sync with each other and the sort model.
1659 2006-09-27 Kristian Rietveld <kris@imendio.com>
1661 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
1662 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
1663 (gtk_tree_model_filter_new): unref the virtual root path once that
1664 node (or one if its ancestors) is deleted, set virtual_root_deleted
1665 so we only unref it once.
1667 2006-09-27 Kristian Rietveld <kris@imendio.com>
1669 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
1670 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
1671 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
1672 (gtk_tree_model_sort_free_level): bring zero ref count loops in
1674 (gtk_tree_model_sort_free_level): free child levels before
1675 decreasing the zero ref count of the current level,
1676 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
1679 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1681 * demos/gtk-demo/*.c:
1682 * gtk/gtkeventbox.c:
1683 * gtk/gtkprintoperation.c: Fix typos. String change.
1685 2006-09-25 Kristian Rietveld <kris@gtk.org>
1687 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
1688 has already been realized; scroll to background area instead of
1689 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
1691 2006-09-25 Kristian Rietveld <kris@gtk.org>
1693 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
1694 to create the GCs if the widget is realized. (Fixes #357578).
1696 2006-09-25 Matthias Clasen <mclasen@redhat.com>
1698 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
1699 the list of children (#357454, Paolo Borelli)
1701 2006-09-25 Michael Natterer <mitch@imendio.com>
1703 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
1704 display->input_windows with g_free(), not g_object_unref()
1705 (#357566, Tommi Komulainen).
1707 2006-09-24 Kristian Rietveld <kris@gtk.org>
1709 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
1710 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
1711 property to the API (left-over patch from #157439).
1713 2006-09-24 Kristian Rietveld <kris@gtk.org>
1715 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
1716 the indicator if the column has a sort column id (and the model is
1717 sortable) or if the user explicitly requested the indicator
1718 to be shown. (Fixes #352738, Chris Vine).
1720 2006-09-23 Tor Lillqvist <tml@novell.com>
1722 * gtk/Makefile.am: Use EXEEXT.
1724 2006-09-22 Michael Natterer <mitch@imendio.com>
1726 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
1727 and color hashes. Fixes bug #357132.
1729 2006-09-22 Matthias Clasen <mclasen@redhat.com>
1731 Make remote bookmarks work better (#354887)
1733 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
1734 (shortcuts_insert_path):
1735 * gtk/gtkfilechooserbutton.c (change_icon_theme):
1736 (model_add_bookmarks):
1737 (model_update_current_folder):
1738 (update_label_and_image):
1739 If the bookmark points to a remote file, don't call get_info(),
1740 since that may a) take a long time and b) pop up an auth dialog.
1741 Instead, just use a folder icon and create a display name
1744 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
1745 New function to create a suitable display name for a remote
1746 uri. This should really be done in GtkFileSystem.
1748 2006-09-21 Michael Natterer <mitch@imendio.com>
1750 Implement lots of value setters for GdkGC, based on a heavily
1751 modified patch from Thomas Broyer (bug #328853):
1753 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
1754 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
1755 which simply returns RGBA values from a GdkColor's pixel value.
1756 See gdk_quartz_update_context_from_gc() below.
1758 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
1759 of members for the newly suppored GC values. Added enum
1760 GdkQuartzContextValuesMask which is used for setting up the
1761 CGContext for filling and/or stroking.
1763 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
1764 (gdk_quartz_gc_set_values)
1765 (_gdk_windowing_gc_copy): support a lot more GC values.
1767 (gdk_quartz_update_context_from_gc): added
1768 GdkQuartzContextValuesMask parameter and set filling/stroking
1769 parameters accordingly. This function also gained full control
1770 over the FG and BG colors (they can't be set separately any more).
1772 The stipple mask part of the patch doesn't work but seems to take
1773 the right approach and doesn't make things worse, so I applied it.
1775 Did *not* apply the clipping part of the patch since I don't
1776 understand it (I don't understand the version in CVS either, but
1777 it at least works :-)
1779 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
1780 gdk_quartz_update_context_from_gc() and removed separate color
1781 setting calls. Some minor fixes.
1783 * gdk/quartz/gdkwindow-quartz.c
1784 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
1785 fill color manually. We don't have/need a GC here.
1787 2006-09-21 Michael Natterer <mitch@imendio.com>
1789 * gdk/quartz/gdkwindow-quartz.c
1790 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
1791 drawable_impl->wrapper that is the GdkWindow, not the
1792 drawable_impl itself.
1794 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
1796 * gdk/x11/gdkkeys-x11.c:
1797 (get_direction): just check the first shift-level of keyboard
1798 layout for RTL and LTR keysyms() (compliment to #116626)
1800 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
1802 * gtk/gtkviewport.c: always update the bin_window position and size
1803 in size_allocate, even if we don't have a visible child. this fixes
1804 expose artefacts as described in #313508.
1806 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
1807 have no visible child explicit.
1809 2006-09-19 Ryan Lortie <desrt@desrt.ca>
1811 * docs/reference/gdk/gdk-sections.txt:
1814 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
1815 (gdk_pango_layout_get_clip_region): Remove an unused variable.
1816 (gdk_pango_attr_embossed_new): Fix documentation.
1818 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
1820 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
1821 control the arrow/border ratio within the allocation.
1823 * tests/testgtk.c: added a GtkArrow to handle box test.
1825 * tests/testgtkrc: test ::arrow-scaling property.
1827 2006-09-19 Matthias Clasen <mclasen@redhat.com>
1829 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1830 Display an error when we come to the root.
1832 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1834 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
1837 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
1838 bookmarks to the model in local-only mode, to avoid
1839 authentication dialogs pop up for invisible bookmarks, and
1840 to fix issues with separators not being hidden when
1841 they should. (#354887, Dennis Cranston)
1843 2006-09-16 Matthias Clasen <mclasen@redhat.com>
1845 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
1846 treeview use in list mode. (#355732, Richard Hult)
1848 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
1849 change notification for the right property. (#355308,
1852 2006-09-15 Michael Natterer <mitch@imendio.com>
1854 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
1855 header navigation/resizing/reordering to be more readable and lose
1856 one level of nesting.
1858 2006-09-15 Kristian Rietveld <kris@imendio.com>
1860 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
1861 return after handling column button focus; we disable wrap around
1862 with this (which actually happened via a really weird code path).
1865 2006-09-15 Kristian Rietveld <kris@imendio.com>
1867 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
1868 code RTL aware, also break from the loops after we have seen the
1869 focussed column button (Michael Natterer).
1871 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
1873 * tests/testrichtext.c (main): intialize random number generator state
1874 upon program start, to enable truely random testing.
1876 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
1878 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
1879 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
1880 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
1881 GDK_DISABLE_DEPRECATED to allow compile per Behdad
1882 * gdk/quartz/Makefile.am same change as directfb Makefile
1883 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
1885 2006-09-13 Matthias Clasen <mclasen@redhat.com>
1887 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
1888 for the grab widget, to make the color picker work with window
1891 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
1893 signed off by: Dom Lachowicz
1895 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
1896 a large number of improvements to the Microsoft Windows theme engine
1897 which are fully described in the bug report.
1899 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
1901 * tests/testgtk.c: fixed compiler warnings.
1903 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1905 * gtk/gtkfilechooserbutton.c (model_add_special): Request
1906 the display name too, otherwise "Desktop" does not appear
1907 in the file chooser button.
1909 2006-09-10 Tor Lillqvist <tml@novell.com>
1911 * gdk/win32/gdkprivate-win32.h
1912 * gdk/win32/gdkmain-win32.c
1913 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
1914 0x0500 in gdkprivate-win32.h instead of doing it in two source
1915 files. (#355212, Mike Edenfield)
1917 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
1918 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
1920 2006-09-10 Matthias Clasen <mclasen@redhat.com>
1922 * Commit a patch by Behdad to fix typos, omissions and other
1923 errors in the symbol aliasing, and add checks for local PLT
1924 entries. (#354687, Behdad Esfahbod)
1926 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
1927 the flush timeout. (#354043, Nelson Benitez)
1929 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
1930 Improve wording. String change! (#355126, David Lodge)
1932 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
1935 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
1938 2006-09-09 Matthias Clasen <mclasen@redhat.com>
1940 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
1941 (#353916, Chris Wilson)
1943 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
1944 Don't leak the to_reset list. (#353914, Chris Wilson)
1946 * gtk/gtkwidget.c: Add docs for the parent-set signal.
1947 (#353772, Mariano Suárez-Alvarez)
1949 2006-09-08 Matthias Clasen <mclasen@redhat.com>
1951 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
1952 Don't clear clipboards here, since we are called from finalize
1953 and can't emit signals.
1955 * configure.in: Set version to 2.11.0
1957 2006-09-06 Richard Hult <richard@imendio.com>
1959 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
1960 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
1962 2006-09-04 Kristian Rietveld <kris@imendio.com>
1964 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1965 if setting the given folder failed, try setting the parent folder
1966 until we succeed; display an error box at the end.
1968 2006-09-04 Kristian Rietveld <kris@imendio.com>
1970 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
1971 operations spawned by buttons here,
1972 (set_button_image_get_info_cb): bail out if button is NULL, but
1973 do free button_data,
1974 (button_data_free): only free the data if non NULL (since this
1975 function can be called multiple times for the same data), cancel
1976 handle if pending but don't free button_data in this case (will
1977 happen in the callback).
1979 2006-09-04 Michael Natterer <mitch@imendio.com>
1981 * gtk/gtkrc.c (rc_parse_token_or_compound)
1982 (gtk_rc_parse_assignment): serialize floating point values using
1983 locale-independent functions. (#346751, Frederic Crozat)
1985 2006-09-04 Tor Lillqvist <tml@novell.com>
1987 * gdk/win32/gdkevents-win32.c
1988 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
1989 window handling (PeekMessage, PostMessage, SendMessage,
1990 DispatchMessage, DefWindowProc, RegisterClassEx,
1991 CreateWindowEx). (#321597)
1993 2006-09-03 Kristian Rietveld <kris@imendio.com>
1995 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
1996 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
1997 change file_exists_and_is_not_folder checks to get the file info
1998 for the path directly instead of querying the current file folder
2001 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
2004 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
2005 (test_reload_sequence), (test_button_folder_states_for_action): wait
2006 for idle after setting a folder to ensure the async operations to load
2007 the folder are finished,
2008 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
2009 factor out test_confirm_overwrite code so we can add tests for more
2012 2006-09-03 Richard Hult <richard@imendio.com>
2014 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
2015 exposure isn't in the event mask, plug a leak, and check that the
2016 window isn't destroyed.
2017 (isOpaque): Check that the window isn't destroyed, fixes bug
2020 2006-09-03 Matthias Clasen <mclasen@redhat.com>
2022 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
2023 (#354035, Mariano Suárez-Alvarez)
2025 * gtk/gtkmain.c (post_parse_hook):
2026 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
2027 (#354004, Chris Wilson)
2029 2006-09-03 Tor Lillqvist <tml@novell.com>
2031 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
2032 GDK_WINDOW_DISPLAY in the Win32 backend.
2034 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
2037 2006-09-02 Kristian Rietveld <kris@imendio.com>
2039 First part of file chooser fixes.
2041 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
2042 handle in the model for the desktopdir case.
2044 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
2045 volume in case we retrieved it but don't pass it on to insert_path,
2046 (shortcuts_model_create): change the column type for the handles
2047 to pointer instead of GObject so our handle ref counting is not
2049 (show_and_select_paths_finished_loading): don't forget to unref
2052 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
2053 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
2054 remove pending execute_callbacks_idle during dispose, also
2055 execute all callbacks waiting to be run in the next idle,
2056 (queue_*callback), (execute_callbacks_idle): refactor to maintain
2057 a list of callbacks to call per file system instead of globally,
2058 guard the file system during callback invocation,
2059 (gtk_file_system_unix_get_folder): only add load folder idle if
2060 none has been added yet.
2062 2006-09-01 Matthias Clasen <mclasen@redhat.com>
2064 * gtk/gtkentry.c: Don't unnecessarily reset the im context
2065 when deleting the selection. (#353803, Alex Larsson)
2067 2006-09-01 Abel Cheung <abel@oaka.org>
2069 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
2071 2006-08-31 Matthias Clasen <mclasen@redhat.com>
2073 Stop cursor blinking after a configurable timeout.
2074 (#353670, #352442, Arjan van de Ven, Manu Cornet)
2076 * gtk/gtksettings.c (gtk_settings_class_init): Add a
2077 gtk-cursor-blink-timeout setting, which specifies the number
2078 of seconds that the cursor should blink after a user interaction.
2079 The default value is G_MAXINT to preserve the current behaviour.
2081 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
2084 * gtk/gtkentry.c (gtk_entry_completion_key_press)
2085 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
2088 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
2091 * gtk/gtktextview.c (gtk_text_view_key_press_event)
2092 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
2093 Reset the blink timer.
2095 2006-08-31 Matthias Clasen <mclasen@redhat.com>
2097 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
2098 explicit format capabilities. (#346505, Christian Persch)
2100 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
2102 2006-08-31 Michael Natterer <mitch@imendio.com>
2104 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
2106 2006-08-30 Richard Hult <richard@imendio.com>
2108 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
2110 2006-08-30 Matthias Clasen <mclasen@redhat.com>
2112 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
2113 for beeping if we are using XKB.
2115 2006-08-29 Matthias Clasen <mclasen@redhat.com>
2119 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
2120 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
2121 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
2122 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
2123 to beep on a window. For X11, implement this with
2124 XkbBell. (#353455, Mariano Suárez-Alvarez)
2126 2006-08-29 Tor Lillqvist <tml@novell.com>
2128 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
2129 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
2130 it isn't being maintained anyway. If somebody is interested, it
2131 can always be found in older GTK+ versions, and in CVS.
2136 * gdk/win32/Makefile.am
2137 * gdk/win32/libie55uid.la
2138 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
2139 switch and associated stuff. Active IMM and the <dimm.h> header
2140 was used for IM support on NT4 and Win9x. Win2k and later have IM
2143 * gdk/win32/gdkcursor-win32.c
2144 * gdk/win32/gdkdnd-win32.c
2145 * gdk/win32/gdkdrawable-win32.c
2146 * gdk/win32/gdkevents-win32.c
2147 * gdk/win32/gdkgc-win32.c
2148 * gdk/win32/gdkglobals-win32.c
2149 * gdk/win32/gdkkeys-win32.c
2150 * gdk/win32/gdkmain-win32.c
2151 * gdk/win32/gdkproperty-win32.c
2152 * gdk/win32/gdkselection-win32.c
2153 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
2154 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
2155 branches, and any variables or static functions used only by the
2158 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
2159 constants that aren't missing from current mingw and MSVC6
2162 * gdk/win32/gdkmain-win32.c
2163 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
2164 function. On NT-based Windows GetLastError() returns error codes
2165 also for failed GDI calls, so we can use _gdk_win32_api_failed()
2168 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
2170 * gtk/gtkrecentchoosermenu.c
2171 (gtk_recent_chooser_menu_set_current_uri): Break when an item
2172 is found and activated. (#353449, based on a patch by Jan Arne
2175 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
2177 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
2178 properties which make all hardcoded padding and spacing values
2179 configurable. properly swap ::text-xalign treatment for RTL widgets.
2181 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
2182 proeprty more consistent with GtkMisc alignment blurbs. mention
2183 RTL treatment for text-xalign.
2185 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
2187 * tests/testgtk.c: allow (most) windows to be resizable.
2188 added ellipsization settings to progress bars.
2190 2006-08-28 Matthias Clasen <mclasen@redhat.com>
2192 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
2193 resonable timeout of 3 seconds when polling for printer
2194 list updates, instead of 300000 seconds...
2196 2006-08-28 Michael Natterer <mitch@imendio.com>
2198 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
2199 </apply_tag> for tags that have already been closed by the logic
2200 which turns overlapping spans into XML-able trees. Fixes broken
2201 XML when there are overlapping tags in the buffer. Also free two
2202 leaked GLists and did some cleanup.
2205 * tests/testrichtext.c: new test which creates randomly tagged
2206 GtkTextBuffers and serializes/deserializes them.
2208 2006-08-26 Matthias Clasen <mclasen@redhat.com>
2210 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
2211 Don't leak pixbufs. (#352264, Ross Burton)
2213 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
2214 PangoAttributes. (#352391, Paolo Borelli)
2216 2006-08-25 Matthias Clasen <mclasen@redhat.com>
2218 * demos/gtk-demo/Makefile.am:
2219 * demos/gtk-demo/textscroll.c: Add an example of automatic
2220 scrolling, thanks to Yevgen Muntyan. (#351206)
2222 * gtk/gtkmodules.c (find_module): Use local binding when
2223 loading modules. (#351868)
2225 2006-08-24 Michael Natterer <mitch@imendio.com>
2227 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
2228 the hostname instead of NULL.
2230 2006-08-23 Matthias Clasen <mclasen@redhat.com>
2232 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
2233 names and values in comboboxes, and clean up some
2234 coding style issues.
2236 2006-08-23 Tor Lillqvist <tml@novell.com>
2238 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
2239 Revert unintended translatable string addition. Use same string
2240 in GError as in gtkfilesystemunix.c.
2242 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
2243 Fix logic at the end of strings.
2245 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
2246 handles and check that we have no outstanding handles at
2247 finalization time. (Copying what Matthias did for
2248 gtkfilesystemunix.c)
2250 2006-08-23 Matthias Clasen <mclasen@redhat.com>
2252 * gtk/gtkfilesystemunix.c: Maintain a hash table
2253 of live handles and check that we have no outstanding
2254 handles at finalization time. (Copying what
2255 Federico did for gtkfilesystemgnomevfs.c)
2257 2007-08-22 Matthias Clasen <mclasen@redhat.com>