]> Pileus Git - ~andy/gtk/blob - ChangeLog
Make it possible to overrule the gtk-menu-images setting.
[~andy/gtk] / ChangeLog
1 2008-11-02  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtkimagemenuitem.c: Make it possible to overrule the
4         gtk-menu-images setting.
5
6         * gtk/gtkaction.c (connect_proxy): Show the image before adding
7         it to the image menu item.
8
9 2008-11-01  Tor Lillqvist  <tml@novell.com>
10
11         Bug 558278 - Crash when calling a callback set by
12         gdk_add_client_message_filter()
13
14         * gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from
15         apply_filters() so that it is clear that this function is for
16         GdkEventFilters only.
17
18         (print_event): Print more information for GDK_CLIENT_EVENT events.
19
20         (gdk_event_translate): When handling client filters, don't use
21         apply_event_filters(). Use similar code as in the X11 backend,
22         although not exactly, as the parameter list and return value
23         semantics of gdk_event_translate() is different.
24
25         * tests/testclientmessage.c: New interactive test program to
26         verify client message functionality.
27
28         * tests/Makefile.am: Add it.
29
30 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
31
32         Bug 409435 – GtkStatusIcon enhancements: DnD, scroll events, 
33         middle click, rich tooltips
34
35         * gtk/gtkstatusicon.[hc]: Add support for button press/release and
36         scroll events. Patch by Ed Catmur
37
38 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
39
40         Bug 322934 – Replace menu's proxy icons with empty space hiding icons
41
42         * gtk/gtkmenu.c (gtk_menu_size_request): Use consistent padding
43         regardless of imagees or checks being in the menu. Also add
44         padding on the right edge.
45         Proposal by Luca Ferretti, patch by Jon McCann
46
47 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
48
49         Bug 412134 – Add API to query style properties from the style
50
51         * gtk/gtk.symbols:
52         * gtk/gtkstyle.[hc]: Add getters for style properties to
53         avoid the need for ugly workarounds with dummy widget instances.
54         Patch by Mariano Suárez-Alvarez
55
56 2008-10-31  Christian Dywan  <christian@imendio.com>
57
58         Bug 558667 – gtk_font_selection_dialog_get_apply_button - deprecate?
59
60         * gtk/gtk.symbols:
61         * gtk/gtkfontsel.c:
62         * gtk/gtkfontsel.h:
63         Deprecate gtk_font_selection_dialog_get_apply_button
64
65 2008-10-31  Matthias Clasen  <mclasen@redhat.com>
66
67         Bug 558323 – glitches when popping up combos in treeviews
68
69         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_set_property):
70         Don't set the model property on the combo box, since that leads
71         to loops.
72
73 2008-10-31  Christian Dywan  <christian@imendio.com>
74
75         Bug 347230 – testicontheme shortcomings
76
77         * tests/testicontheme.c (main):
78         Use theme for "display" and quit on window closing
79
80 2008-10-30  Matthias Clasen  <mclasen@redhat.com>
81
82         Bug 558522 – scroll arrow painted insensitive even though there
83         are pages beyond the edge
84
85         * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
86         arrows. Pointed out by Christian Persch
87
88 2008-10-30  Michael Natterer  <mitch@imendio.com>
89
90         * gtk/gtkcellrenderertext.h
91         * gtk/gtkentry.[ch]
92         * gtk/gtkimcontext.h
93         * gtk/gtklabel.c
94         * gtk/gtkstyle.h: <pango/pango.h> is pulled in by <gdk/gdk.h>,
95         remove its inclusion here.
96
97 2008-10-30  Michael Natterer  <mitch@imendio.com>
98
99         * gtk/*.h: no need to include <gtk/gtkenums.h> in headers which
100         somehow include gtkobject.h or another header which includes it.
101
102 2008-10-30  Marek Kasik  <mkasik@redhat.com>
103
104         Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
105
106         * gtk/gtk.symbols
107         * gtk/gtkprintsettings.c
108         * gtk/gtkprintsettings.h
109         * docs/reference/gtk/gtk-sections.txt
110         * modules/printbackends/file/gtkprintbackendfile.c
111         * modules/printbackends/test/gtkprintbackendtest.c
112         * modules/printbackends/cups/gtkprintbackendcups.c
113         * modules/printbackends/lpr/gtkprintbackendlpr.c:
114         Added lpi (lines per inch) setting to GtkPrintSettings and support
115         for anamorphic dpi. Surface fallback resolution is set to 2*lpi.
116
117 2008-10-30  Michael Natterer  <mitch@imendio.com>
118
119         * gtk/*.h: no need to include <gdk/gdk.h> in any widget header,
120         it's included via gtkwidget.h anyway.
121
122 2008-10-30  Sven Neumann  <sven@gimp.org>
123
124         * gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
125         conditional.
126
127 2008-10-30  Christian Dywan  <christian@imendio.com>
128
129         Bug 557316 – GtkLinkButton should consider user-defined tooltip
130
131         * gtk/gtklinkbutton.c (gtk_link_button_query_tooltip_cb):
132         Only override the tooltip if not previously set
133
134 2008-10-29  Christian Dywan  <christian@imendio.com>
135
136         Bug 557762 – Misleading error message in GDK DirectFB
137
138         * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open):
139         Correctly say GetInputDevice instead of GetDisplayLayer
140
141 2008-10-29  Christian Dywan  <christian@imendio.com>
142
143         Bug 558397 – gtk_widget_error_bell undefined without a screen
144
145         * gtk/gtkwidget.c (gtk_widget_error_bell): Test the settings
146         instance and return silently if unset
147
148 2008-10-28  Michael Natterer  <mitch@imendio.com>
149
150         * gdk/keyname-table.h: fix small typo.
151
152 2008-10-27  Richard Hult  <richard@imendio.com>
153
154         Bug 557894 – Wrong return value for
155         gdk_pointer_grab_info_libgtk_only()
156
157         * gdk/quartz/gdkevents-quartz.c:
158         (gdk_pointer_grab_info_libgtk_only): Return TRUE when there is a
159         pointer grab. Patch by Owen Taylor.
160
161 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
162
163         * gtk/gtktoolshell.c:
164         * gtk/gtktoolitem.c: Remove markup from short descriptions.
165
166 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
167
168         * gdk/keyname-table.h:
169         * gtk/gen-paper-names.c:
170         * gtk/paper_names_offsets.c:
171         * gtk/gtkpapersize.c:
172         * gtk/gtkaccellabel.c:
173         * gtk/gtkprintoperation.c:
174         * gtk/gtkstock.c: More conversion to C_().
175
176 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
177
178         * gtk/gtkaccellabel.c:
179         * gtk/gtkcalendar.c:
180         * gtk/gtkcellrendereraccel.c:
181         * gtk/gtkcellrendererprogress.c:
182         * gtk/gtkimmulticontext.c:
183         * gtk/gtkrecentchoosermenu.c:
184         * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change!
185
186 2008-10-26  Christian Persch  <chpe@gnome.org>
187
188         Bug 557065 – gtkcellrendererpixbuf spams console over and over with
189         'could not load image' warnings
190
191         * gtk/gtkcellrendererpixbuf.c:
192         (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Remove noisy
193         g_warning.
194
195 2008-10-26  Philip Withnall  <philip@tecnocode.co.uk>
196
197         Bug 530454 – Clarify page_nr when printing
198
199         * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out
200         that page_nr is 0-based in the documentation.
201
202 2008-10-25  Matthias Clasen  <mclasen@redhat.com>
203         
204         Bug 557315 – stale clipboard target cache
205
206         * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached
207         targets. Pointed out by Evan Stade
208
209 2008-10-24  Tristan Van Berkom  <tvb@gnome.org>
210
211         * gtk/gtkwidget.c: Added a note about GtkWidget:has-tooltip in
212         the docs for GtkWidget::query-tooltip.
213
214 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
215
216         * gtk/gtkmountoperation.c: The "screen" property ought to have
217         type GdkScreen, not GtkWindow. Found by Cosimo Cecchi
218
219 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
220
221         Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching
222         allocation and deallocation
223
224         * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
225         free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki
226
227 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
228
229         Bug 556835 – gtkentry.c: variable is declared at middle of block
230
231         * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed
232         out by Kazuki Iwamoto
233
234 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
235
236         Bug 557524 – "va_end(args);" should be added into
237         gtk_text_buffer_insert_with_tags_by_name( )
238
239         * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
240         Don't forget to call va_end. Pointed out by Boram Park
241
242 2008-10-23  Alexander Larsson  <alexl@redhat.com>
243
244         Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
245         
246         * gtk/gtkfilesystem.c:
247         (_gtk_file_info_render_icon):
248         Fall back on default file icon if there was no icon or it
249         was not found in the theme. This goes with the corresponding
250         change in glib to not add the fallback icon, but is useful
251         in other cases too.
252
253 2008-10-22  Behdad Esfahbod  <behdad@gnome.org>
254
255         Bug 555920 – gtkentry.c passes wrong enum to
256         pango_layout_set_alignment()
257
258         * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout
259         adjustment.
260
261 2008-10-22  Matthias Clasen  <mclasen@redhat.com>
262
263         * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen
264         size actually changed.
265
266 2008-10-21  Michael Natterer  <mitch@imendio.com>
267
268         * gdk/gdkdraw.c
269         * gdk/gdkimage.c
270         * gdk/gdkscreen.c
271         * gdk/gdkwindow.c: replace assertions for obj != NULL by
272         GDK_IS_OBJ(), remove redundant != NULL checks when there is
273         already a type check, add some g_return_if_fail() that were
274         missing entirely, fix some broken indentation and spacing.
275
276 2008-10-21  Tor Lillqvist  <tml@novell.com>
277
278         Bug 557266 - Window Management Problem
279
280         Also reported in mail to gtk-list, and of course it has been well
281         known in general that window state management is messy and buggy
282         in various ways in gdk/win32.
283
284         * gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
285         handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
286         the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
287         must call SetWindowPos() on the window using HWND_TOPMOST
288         instead. The description for WS_EX_TOPMOST in the documentation
289         for CreateWindowEx() even implies that if you read it carefully.
290
291 2008-10-21  Michael Natterer  <mitch@imendio.com>
292
293         * gdk/gdkapplaunchcontext.c: reorder functions to be in standard
294         order, add prototypes and namespace to static functions, add
295         g_return_if_fail()s which were missing all over the place.
296
297 2008-10-20  Christian Persch  <chpe@gnome.org>
298
299         Bug 557059 – crash when compositing emblems with icon
300
301         * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it
302         with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped
303         from icon cache or builtins).
304
305 2008-10-20  Murray Cumming  <murrayc@murrayc.com>
306
307         * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(), 
308         gtk_icon_view_set_tooltip_item():
309         * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(), 
310         gtk_icon_view_set_tooltip_cell():
311         Documentation: Mention the simple set_tooltip_column() 
312         alternative.
313
314 2008-10-18  Tor Lillqvist  <tml@novell.com>
315
316         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
317         WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
318         output without setting it first.
319
320 2008-10-18  Tor Lillqvist  <tml@novell.com>
321
322         Bug 556578 - GIMP windows stay on top of other windows
323
324         * gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
325         (ensure_stacking_on_window_pos_changing)
326         (ensure_stacking_on_activate_app): Ignore unmapped windows in the
327         loops where we look for the lowest "transient-type" window.
328
329         (gdk_event_translate): Don't call
330         ensure_stacking_on_window_pos_changing() or
331         ensure_stacking_on_activate_app() for unmapped windows.
332
333 2008-10-16  Marek Kasik  <mkasik@redhat.com>
334
335         Bug 556527 - The current page property is not passed to
336         GtkPrintUnixDialog
337
338         * gtk/gtkprintoperation-unix.c: pass current-page property
339         to GtkPrintUnixDialog
340
341 2008-10-15  Michael Natterer  <mitch@imendio.com>
342
343         * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
344         in the type name so the macro becomes usable.
345
346 2008-10-14  Christian Dywan  <christian@imendio.com>
347
348         556150 – gtk 'object' property test fixing
349
350         * gtk/tests/object.c (list_ignore_properties):
351         Remove some recently fixed properties from the exception list
352
353 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
354
355         Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup
356
357         * gtk/gtkcellrendererpixbuf
358         (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash
359         if a GIcon is not present in the current theme. Patch by 
360         Alex Larsson.
361
362 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
363
364         Bug 552318 – menubar mnemonics consumed even when
365         gtk-enable-mnemonics=false
366
367         * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic
368         entries block accelerator activation when gtk-enable-mnemonics is
369         FALSE. Problem reported by Andreas Moog.
370
371 2008-10-13  Cody Russell <cody@jhu.edu>
372
373         * test/testfilechooser.c: Fix option parsing so that -a and
374         --action work correctly.
375
376 2008-10-13  Christian Persch <chpe@gnome.org>
377
378         Bug 555386 – format not a string literal and no format arguments
379
380         * gtk/gtkiconfactory.c
381         * gtk/gtkprintbackend.c
382         * gtk/gtkprintoperation.c
383         * gtk/gtkthemes.c
384         * gtk/tests/builder.c
385         * modules/other/gail/gailtextview.c
386         * tests/testmerge.c: Use printf safely.
387
388 2008-10-13  Christian Persch <chpe@gnome.org>
389
390         Bug 555724 – gtkcellrendereraccel not initialised correctly
391
392         * gtk/gtkcellrendereraccel.c: Initialise the cell text.
393
394 2008-10-12  Simos Xenitellis  <simos@gnome.org>
395
396         Bug 555625 – Updated gtk_compose_seqs_compact table 
397         (gtkimcontextsimpleseqs.h)
398         
399         * gtk/gtkimcontextsimpleseqs.c: Updated the compose sequence table.
400         In this update we removed a further set of compose sequences that
401         are otherwise covered by check_algorithmically(). 
402
403         * gtk/gtkimcontextsimple.c: Updated table value that shows how many 
404         distinct first values exist in the compose sequences. 
405         Change from 22 to 20.
406         
407 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
408
409         * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
410         part of the previous change, since it doesn't work correctly without
411         extra complication, and using custom icon sizes doesn't make too
412         much sense in a desktop-wide setting.
413
414 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
415
416         Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size
417
418         * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
419         GtkSettings::gtk-toolbar-icon-size into int properties, to
420         allow the use of app-registered icon sizes.
421
422 2008-10-11  Christian Dywan  <christian@imendio.com>
423
424         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
425
426         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
427         Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL
428
429 2008-10-10  Behdad Esfahbod  <behdad@gnome.org>
430
431         Bug 551355 – [PATCH] Make glib build with libtool 2.2
432
433         * autogen.sh: Accept libtool 2.2.   We are moving towards having
434         it working.
435
436 2008-10-10  Richard Hult  <richard@imendio.com>
437
438         * gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
439         Add empty stub to fix linking.
440
441 2008-10-10  Simos Xenitellis  <simos@gnome.org>
442
443         Bug 555000 – Wrong treatment on non-spacing marks dead keys in 
444         GtkIMContextSimple
445
446         * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that
447         it only checks if input is a deadkey keysym.
448
449 2008-10-09  Christian Dywan  <christian@imendio.com>
450
451         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
452
453         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
454         Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL
455
456 2008-10-09  Christian Dywan  <christian@imendio.com>
457
458         Bug 555573 – gtk_font_selection_set_font_name
459         shouldn't require a screen
460
461         * gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
462         Don't warn if there is no screen, just return FALSE
463
464 2008-10-09  Christian Dywan  <christian@imendio.com>
465
466         Bug 555523 – gtk_scale_button_set_adjustment should accept NULL
467
468         * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
469         Create a new adjustment if NULL is passed, like other widgets
470
471 2008-10-09  Christian Dywan  <christian@imendio.com>
472
473         Bug 555578 – GtkTable propertiy maxima are wrong
474
475         * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
476         Always use 65535 instead of G_MAXUINT since that is
477         the actually supported maximum number of columns and rows
478
479 2008-10-09  Richard Hult  <richard@imendio.com>
480
481         Bug 550342 – Splash screens have a caption
482
483         * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
484         (gdk_window_set_decorations): Patch from Marianne Gagnon to make
485         splash windows borderless.
486
487 2008-10-09  Michael Natterer  <mitch@imendio.com>
488
489         Bug 516425 – Optionally display accelerators in popups
490
491         * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
492         GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
493         shows the actions' accelerators.
494
495         * gtk/gtkuimanager.c: honor the new enum value for programmatically
496         created UIs, and support <popup accelerators="true"> in the XML
497         for the same purpose.
498
499 2008-10-09  Simos Xenitellis  <simos@gnome.org>
500
501         Bug 554192 – double press on the "circumflex" dead key 
502         (standard french 105 keyboard) no longer produces the "^" character
503
504         * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
505         Changed the order, put check_compact_table() first, then 
506         check_algorithmically().
507
508 2008-10-08  Christian Persch  <chpe@gnome.org>
509
510         Bug 554702 – gtkfilesystem leaks GError
511
512         * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError.
513
514 2008-10-08  Matthias Clasen  <mclasen@redhat.com>
515
516         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
517         Don't forget to reset reload_state when current_folder is already
518         correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992
519
520 2008-10-08  Christian Dywan  <christian@imendio.com>
521
522         Bug 555270 – Allow unsetting a MessageDialog's image
523
524         * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
525         Remove a superfluous cast to GtkWidget*
526         (gtk_message_dialog_set_image): Accept NULL for the image
527         and unset the image in that case.
528
529 2008-10-08  Christian Dywan  <christian@imendio.com>
530
531         Bug 436533 – Allow more space efficient scroll arrows placement
532
533         * gtk/gtkenums.h: Add GtkArrowPlacement
534         * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
535         (get_arrows_visible_area), (get_double_arrows),
536         (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
537         to allow scrolling arrows to be placed at the start, end or both
538         Patch by Tommi Komulainen and myself
539
540 2008-10-08  Christian Dywan  <christian@imendio.com>
541
542         Bug 555387 – Changing the sensitivity of a statusbar
543         mistakenly requires a display
544
545         * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
546         of the resize grip if there is a grip window.
547
548 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
549
550         * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
551         memory warnings from valgrind.
552
553 2008-10-07 11:03:30  Tim Janik  <timj@imendio.com>
554
555         * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
556         as private function until we settle on the exact semantics.
557         renamed _gtk_box_set_old_defaults() as suggested by Mitch.
558
559 2008-10-07  Michael Natterer  <mitch@imendio.com>
560
561         * gtk/gtkbox.c: reindent static prototypes.
562
563 2008-10-07  Michael Natterer  <mitch@imendio.com>
564
565         Bug 553573 – Add orientation API to GtkBox
566
567         * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
568         swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
569         which takes a GtkOrientation argument. Also move the newly
570         added "spacing_set" boolean from struct GtkBox to the new
571         private struct.
572
573         * gtk/gtkhbox.[ch]
574         * gtk/gtkvbox.[ch]: remove all code except the constructor and
575         call gtk_orientable_set_orientation() in init().
576
577         * gtk/gtk.symbols: add gtk_box_new().
578
579 2008-10-06  Björn Lindqvist  <bjourne@gmail.com>
580
581         Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
582
583         * gtk/gtkcellview.c (gtk_cell_view_get_model): Add
584         gtk_cell_view_get_model.
585
586 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
587
588         * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
589         on the range entry itself, too.
590
591 2008-10-04  Tor Lillqvist  <tml@novell.com>
592
593         Bug 132501 - Make utility window translate to tool window in win32
594
595         Implement the utility window type hint. Such windows are kept on
596         top of other windows of the same process. Makes GIMP's toolbox and
597         dock windows behave more like in GNOME under metacity. Apply the
598         same logic also to windows marked with the dialog window type
599         hint, and windows that are transient for some other window. I'll
600         call such windows "transient-type" below.
601
602         * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
603         variables.
604
605         (ensure_stacking_on_unminimize)
606         (ensure_stacking_on_window_pos_changing)
607         (ensure_stacking_on_activate_app): New functions to implement the
608         desired stacking order. Make sure that a window that is not
609         transient-type stays below any transient-type windows of the
610         application. When activating a non-transient-type window make sure
611         it rises as high as possible while still staying below the lowest
612         transient-type window.
613
614         (gdk_event_translate): Call above functions on
615         WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
616         unminimizing. Improve debugging printout.
617
618         * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
619         Handle utility windows like toolbar windows.
620
621         (gdk_window_new_internal) (update_style_bits): Give utility
622         windows the WS_EX_TOOLWINDOW extended style.
623
624         (gdk_window_set_title): If debugging "misc" or "events", make the
625         handle of top-level windows show up in their title bars. Very
626         useful when looking at debugging output.
627
628         (gdk_window_set_transient_for) (gdk_window_set_keep_above)
629         (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
630         (gdk_window_set_skip_taskbar_hint)
631         (gdk_window_set_skip_pager_hint): Add and improve debugging
632         printout.
633
634         (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
635
636 2008-10-04  Tor Lillqvist  <tml@novell.com>
637
638         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
639         (_gdk_win32_window_pos_bits_to_string): New debugging printout
640         functions. Decode the WS_EX_* and SWP_* bits.
641
642         * gdk/win32/gdkprivate-win32.h: Declare them. Define
643         GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
644         "misc" or "events".
645
646 2008-10-03  Matthias Clasen <mclasen@redhat.com>
647
648         * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
649         debug output.
650
651 2008-10-02  Matthias Clasen <mclasen@redhat.com>
652
653         Bug 96431 – Can't cut and paste / DND within invisible entry
654
655         * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
656         entry. Proposed by Owen Taylor
657
658 2008-10-02  Matthias Clasen <mclasen@redhat.com>
659
660         Bug 530575 – GtkEntry with invisible chars has a confused cursor in
661         overwrite mode
662
663         * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
664         in the layout when positioning the cursor, not the actual text
665         content of the entry. This makes a different when using overwrite
666         mode in an invisible entry. 
667         Problem noticed by Jonathan Blandford
668
669         * gtk/gtktextutil.c: Fix a typo in a comment
670
671 2008-10-02  Christian Persch
672
673         Bug 554704 – gtkfilesystemmodel does too much work
674
675         * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
676         simple NULL check.
677
678 2008-10-02  Christian Persch
679
680         Bug 554701 – filechooser spams console with useless warnings
681
682         * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
683         cancelled.
684
685 2008-10-02  Christian Persch
686
687         Bug 554698 – mem leak in filechooser
688
689         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
690
691 2008-10-02  Christian Persch
692
693         Bug 554696 – invalid free function used
694
695         * gtk/gtkfilesystemmodel.c: Use the right free func.
696
697 2008-10-02  Christian Persch
698
699         Bug 554691 – mem leak in filechooser
700
701         * gtk/gtkfilesystemmodel.c: Plug a mem leak.
702
703 2008-10-02  Christian Persch
704
705         Bug 554690 – mem leak in filechooser
706
707         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
708
709 2008-10-02  Michael Natterer  <mitch@imendio.com>
710
711         Bug 553585 – Add orientation API to GtkRuler
712
713         * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
714         swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
715         which takes a GtkOrientation argument.
716
717         * gtk/gtkhruler.c
718         * gtk/gtkvruler.c: remove all code except the constructor and
719         call gtk_orientable_set_orientation() in init().
720
721         * gtk/gtk.symbols: add gtk_ruler_new().
722
723 2008-10-01  Torsten Schoenfeld  <kaffeetisch@gmx.de>
724
725         * docs/reference/gtk/gtk-sections.txt:
726         * gtk/gtk.symbols:
727         * gtk/gtkselection.c:
728         * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
729         retrieve the sealed struct field GtkSelectionData.selection.
730
731 2008-10-01  Tor Lillqvist  <tml@novell.com>
732
733         * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
734         confuses newest mingw headers.
735
736 2008-10-01  Tor Lillqvist  <tml@novell.com>
737
738         * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
739         Implement trivially on Windows. Not sure if something more complex
740         is actually needed, more specifically whether the function needs
741         to differentiate between "Caps Lock" and "Shift Lock" semantics?
742
743 2008-10-01  Simos Xenitellis  <simos@gnome.org>
744
745         Bug 554506 – combining diacritics broken, became deadkeys
746
747         * gtk/gtkimcontextsimple.c: added check if keysym is greater
748         than 0x1000000, in this case it is not a dead key.
749
750 2008-09-30  Michael Natterer  <mitch@imendio.com>
751
752         Bug 553582 – Add orientation API to GtkSeparator
753
754         * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
755         swallow all code from GtkHSeparator and GtkVSeparator. Add
756         gtk_separator_new() which takes a GtkOrientation argument.
757
758         * gtk/gtkhseparator.c
759         * gtk/gtkvseparator.c: remove all code except the constructor and
760         call gtk_orientable_set_orientation() in init().
761
762         * gtk/gtk.symbols: add gtk_separator_new().
763
764 2008-09-30  Marek Kasik  <mkasik@redhat.com>
765
766         Bug 344522 – support non-local destination files (GtkPrint):
767
768         * gtk/gtkprintunixdialog.c
769         * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
770         * modules/printbackends/file/gtkprintbackendfile.c: Add ability
771         to save files on non-local filesystems.
772
773 2008-09-30  Michael Natterer  <mitch@imendio.com>
774
775         * gtk/gtk.symbols: forgot the G_GNUC_CONST of
776         gtk_orientable_get_type().
777
778 2008-09-30  Michael Natterer  <mitch@imendio.com>
779
780         Bug 541009 – Get rid of separate subclasses for horizontal and
781         vertical orientation:
782
783         * gtk/Makefile.am
784         * gtk/gtk.symbols
785         * gtk/gtk.h
786         * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
787         will be implemented by everything that can switch orientation.
788
789 2008-09-30  Christian Dywan  <christian@imendio.com>
790
791         Fix a typo in the tutorial.
792
793         * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
794
795 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
796
797         Bug 553086 – hard to see current immodule
798
799         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
800         Display the actually selected context in the system menuitem.
801         Complaint by Akira Tagoh.
802
803 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
804
805         Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
806         on
807
808         * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
809         password entries. The warning is also triggered if an input method
810         is active. The warning can be turned off using the
811         GtkEntry::caps-lock-warning property. 
812         Proposed by Owen Taylor
813
814 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
815
816         * gtk/gtk.symbols:
817         * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id): 
818         Add a getter for the the sealed context_id field.
819
820 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
821
822         Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
823
824         * gdk/gdk.symbols:
825         * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
826         a gdk_keymap_get_caps_lock_state function.
827
828         * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
829         state-changed when caps lock lockedness changes. 
830
831         * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
832         changes in the XkbSelectEventDetails call.
833
834 2008-09-29  Kristian Rietveld  <kris@imendio.com>
835
836         Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
837         over widget
838
839         * gtk/gtkwidget.c (gtk_widget_set_property): after updating
840         tooltip text or markup, call gtk_widget_trigger_tooltip_query()
841         so that existing visible tooltips are updated.
842
843 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
844
845         Bug 371908 – Password Entry broken
846         Bug 317002 – Disable input method completely in GtkEntry when it's 
847         in invisible mode.
848
849         * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
850         properly when invisible.
851
852         * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
853         invisible. 
854
855         * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
856         methods when making the entry invisible.
857         
858 2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>
859
860         * gdk/x11/gdkinput.c:
861         (gdk_device_class_init), (gdk_device_finalize): Correctly chain
862         up the finalize implementation.
863
864 2008-09-29  Richard Hult  <richard@imendio.com>
865
866         Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
867
868         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
869         Patch from Jon A. Cruz to initialize the allocated selection data.
870
871 2008-09-27  Matthias Clasen  <mclasen@redhat.com>
872
873         Bug 339367 – Incorrect spotlocation
874
875         * modules/input/gtkimcontextxim.c: Correct the spot location
876         for on-the-spot style.
877
878 2008-09-27  Denis Washington  <denisw@svn.gnome.org>
879
880         * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
881         is used, like GtkTreeView. (Bug #553575)
882
883 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
884
885         Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
886         transparency
887
888         * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
889         property described in
890         http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
891         If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the 
892         parent-relative-background hack is skipped and we draw with a real
893         transparent background.
894
895         * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
896         parent-relative background is now set when realizing the tray
897         icon.
898
899         Patch by Owen Taylor
900
901 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
902
903         Bug 552956 – Should check composite extension version
904
905         * gdk/x11/gdkdisplay-x11.c: Check that the version of the
906         composite extension is at least 0.4.
907         Patch by Owen Taylor
908
909 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
910         
911         Bug 553803 – eventually call XCloseDevice on XOpenDevice results
912
913         * gdk/x11/gdkinput.c: Add a finalize function for device objects,
914         and call XCloseDevice there. 
915
916         * gdk/x11/gdkinput-x11.c:
917         * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
918         the finalize function.
919         Patch by Caolan McNamara
920         
921 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
922
923         Bug 553578 - tabs are not drawn correctly
924
925         * gtk/gtknotebook.c: Track the visibility state of notebook tabs 
926         between allocations so that we know to redraw the tab labels if 
927         tabs are hidden and shown without changing position. 
928         Reported by Marek Kašík, patch by Owen Taylor.
929
930 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
931
932         Bug 553133 – GtkFileChooser won't ask to mount a volume
933         Bug 553211 – GtkFileChooserButton unsets filter after first use
934
935         * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
936         a GtkMountOperation when mounting, so that we get a password
937         dialog when required.  
938
939         * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
940         get the content-type, since it is used later on. 
941         Pointed out by Davyd Madeley.
942
943 2008-09-26  Cody Russell  <bratsche@gnome.org>
944
945         Bug 553917 – Typo in gdkwindow-win32.c
946
947         * gdk/win32/gdkwindow-win32.c: Fixed a typo in
948         update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
949
950         Reported by Richard Hult
951
952 2008-09-25  Marek Kasik  <mkasik@redhat.com>
953
954         Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
955
956         * modules/printbackends/lpr/gtkprintbackendlpr.c:
957         The redundant freeing of memory was removed.
958
959         Patch by Chris Wang
960
961 2008-09-25  Michael Natterer  <mitch@imendio.com>
962
963         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
964         don't unref the file system backend, the newly added
965         unset_file_system_backend() already does this (bug #553135).
966
967 2008-09-24  Michael Natterer  <mitch@imendio.com>
968
969         * gtk/gtkeventbox.c: events return gboolean not gint, reindented
970         static prototypes.
971
972 2008-09-24  Johan Dahlin  <johan@gnome.org>
973
974         Bug 553385 – gtk-builder-convert creates untranslated combobox models
975
976         * gtk/gtk-builder-convert: Set the translatable property on
977         col tags for converted combos.
978
979 2008-09-24  Tor Lillqvist  <tml@novell.com>
980
981         * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
982         share/aclocal and share/gtk-doc instead of trying to list
983         individual files or subdirectories. We had missed gail.pc, for
984         instance.
985
986 2008-09-24  Christian Dywan  <christian@imendio.com>
987
988         Bug 538782 – Make GtkMenu's arrow size themable
989
990         * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
991         Implement "arrow-scaling" style property in GtkMenu.
992
993 2008-09-24  Christian Dywan  <christian@imendio.com>
994
995         Bug 408244 – add GtkDialog::content-area-spacing
996
997         * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
998         (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
999         * gtk/gtkbox.h:
1000         * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
1001         Implement "content-area-spacing" style property in GtkDialog
1002         and internal helper _gtk_box_get_spacing_set in GtkBox.
1003         Patch by Tim Janik, Sven Herzberg and myself.
1004
1005 2008-09-24  Christian Dywan  <christian@imendio.com>
1006
1007         Bug 541391 – Unfocussable Treeview swallows focus
1008
1009         * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
1010         (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
1011
1012 2008-09-24  Denis Washington  <denisw@svn.gnome.org>
1013
1014         * gtk/gtkiconview.c: draw focus as a rectangle around the
1015         complete item, not just the text. (Bug #38254)
1016
1017 2008-09-23  Michael Natterer  <mitch@imendio.com>
1018
1019         * gtk/gtkobject.c
1020         * gtk/gtksignal.[ch]: s/GtkType/GType/ and
1021         s/GtkSignalMarshaller/GSignalCMarshaller/.
1022
1023 2008-09-23  Michael Natterer  <mitch@imendio.com>
1024
1025         * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
1026         variable and fix indentation.
1027
1028 2008-09-23  Michael Natterer  <mitch@imendio.com>
1029
1030         * gtk/gtkclist.h
1031         * gtk/gtkctree.h
1032         * gtk/gtklist.h
1033         * gtk/gtklistitem.h
1034         * gtk/gtkobject.h
1035         * gtk/gtkoldeditable.h
1036         * gtk/gtkpixmap.h
1037         * gtk/gtkpreview.h
1038         * gtk/gtktext.h
1039         * gtk/gtktipsquery.h
1040         * gtk/gtktree.h
1041         * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
1042         in all deprecated headers.
1043
1044 2008-09-22  Matthias Clasen  <mclasen@redhat.com>
1045
1046         Bug 553135 – eog crash: assertion failed. Gtk error:
1047         shortcuts_remove_rows: code should not be reached
1048
1049         * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem 
1050         signals when we are destroyed, in order to avoid nasty surprises.
1051         Patch by Claudio Saavedra
1052
1053 2008-09-22  Emmanuele Bassi  <ebassi@linux.intel.com>
1054
1055         Bug 552789 – Show size column in the search and recently used
1056         files modes
1057
1058         * gtk/gtkfilechooserdefault.c: Display the file size column
1059         when in OPERATION_MODE_SEARCH. This removes a stat() call
1060         and simplifies the code a little bit by changing the query
1061         for file informations for each search engine hit.
1062
1063 2008-09-22  Michael Natterer  <mitch@imendio.com>
1064
1065         * gtk/gtksignal.[ch]
1066         * gtk/gtkclist.c
1067         * gtk/gtklist.c
1068         * gtk/gtkmain.c
1069         * gtk/gtktext.c
1070         * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
1071         GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
1072
1073 2008-09-22  Frederic Crozat  <fcrozat@mandriva.com>
1074
1075         * gtk/gtkfilesystem.c: use the correct gi18n header.
1076         Fixes bug #553000.
1077
1078 2008-09-22  Michael Natterer  <mitch@imendio.com>
1079
1080         * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
1081         append(), prepend() and insert() functions and recommend to use
1082         gtk_toolbar_insert() instead. Use GCallback instead of
1083         GtkSignalFunc even in deprecated API.
1084
1085 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
1086
1087         * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
1088         leak a GFile.
1089
1090 2008-09-19  Owen Taylor  <otaylor@redhat.com>
1091
1092         Small cleanups to debug messages for GtkPlug/GtkSocket
1093
1094         * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
1095         * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
1096         messages.
1097
1098 2008-09-19  Carlos Garnacho  <carlos@imendio.com>
1099
1100         Bug 83935 – GtkEntry's default invisible char should be U+25CF
1101
1102         * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
1103         more suitable invisible char than '*' based on the used font.
1104         (gtk_entry_class_init) (gtk_entry_set_property)
1105         (gtk_entry_get_property): Add a "invisible-char-set" property.
1106         (gtk_entry_unset_invisible_char): New function, needed now that the
1107         default invisible char isn't fixed.
1108         * gtk/gtkentry.h:
1109         * gtk/gtk.symbols:
1110         * docs/reference/gtk/gtk-sections.txt: Add the new function.
1111
1112 2008-09-19  Christian Persch  <chpe@gnome.org>
1113  
1114         Bug 552837 – mem leak in gtkimmulticontext
1115  
1116         * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
1117         leak.
1118  
1119 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
1120
1121         * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
1122         visibility state with the rest of the FileChooser settings.
1123
1124 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
1125
1126         Bug 325095 – show a 'size' column
1127
1128         * gtk/gtkfilechooserdefault.c:
1129         * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
1130         the visibility of the file size column. This works only for the
1131         browse mode, and the column is not visible by default.
1132
1133         * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
1134         settings file.
1135
1136 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
1137
1138         * modules/engines/ms-windows/*: Revert most of previous patch, as
1139         it didn't work as expected; Some work toward #531086 - the new
1140         GtkTooltip widget doesn't theme properly on win32. Now, at least
1141         the background color seems okay
1142         
1143 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
1144
1145         * modules/engines/ms-windows/*: MS Windows style should use
1146         pango_win32_font_description_from_logfont; Allows us to rip out a
1147         lot of potentially buggy code, and also get the font specification
1148         from the XP theme (#434987)
1149         
1150 2008-09-18  Matthias Clasen  <mclasen@redhat.com>
1151
1152         * configure.in: updated version number to 2.15.0 for development.
1153
1154         * ChangeLog.pre-2-14: rotate ChangeLog
1155
1156 === Branch for 2.14 ===