summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-8
Commit message (Collapse)AuthorAgeFilesLines
* Add a demo showing combo box variations.Matthias Clasen2005-05-251-0/+4
| | | | | | | | 2005-05-25 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/Makefile.am (demos): * demos/gtk-demo/combobox.c: Add a demo showing combo box variations.
* Add a demo showing all picker widgets.Matthias Clasen2005-05-251-0/+5
| | | | | | | 2005-05-25 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/Makefile.am (demos): * demos/gtk-demo/pickers.c: Add a demo showing all picker widgets.
* Fix a typo.Matthias Clasen2005-05-251-0/+4
| | | | | | 2005-05-24 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/iconview.c (do_iconview): Fix a typo.
* Handle gtk-alternative-button-order (setting it to TRUE).Tor Lillqvist2005-05-241-0/+5
| | | | | | | 2005-05-24 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Handle gtk-alternative-button-order (setting it to TRUE).
* Remove an unused variable. (#305130, Jaap A. Haitsma)Matthias Clasen2005-05-231-0/+3
| | | | | | | 2005-05-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_search_init): Remove an unused variable. (#305130, Jaap A. Haitsma)
* Don't grab the focus away from the file list when operating the filterMatthias Clasen2005-05-231-0/+6
| | | | | | | | 2005-05-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (filter_create): Don't grab the focus away from the file list when operating the filter combo with the pointer. (#304844, Sven Neumann)
* Map VK_APPS to GDK_Menu. (#172383, Ivan Wong)Tor Lillqvist2005-05-221-0/+3
| | | | | | | 2005-05-23 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkkeys-win32.c (handle_special): Map VK_APPS to GDK_Menu. (#172383, Ivan Wong)
* Typo.Tor Lillqvist2005-05-221-1/+1
|
* If the keysym isn't one of the special cases this function takes care of,Tor Lillqvist2005-05-221-0/+7
| | | | | | | | | 2005-05-23 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkkeys-win32.c (handle_dead): If the keysym isn't one of the special cases this function takes care of, us it as such. This takes care of for instance the Bengali Virama, see bug #165723.
* Avoid a possible buffer overrun. (#142444, Leonard Michlmayr)Matthias Clasen2005-05-201-0/+3
| | | | | | | 2005-05-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c (check_table): Avoid a possible buffer overrun. (#142444, Leonard Michlmayr)
* Remove C99-isms (#304879, Kazuki IWAMOTO)Matthias Clasen2005-05-201-0/+5
| | | | | | | 2005-05-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesystem.c: Remove C99-isms (#304879, Kazuki IWAMOTO)
* Use the correct function to conver the uri to a path. (#304565, IsmaelMatthias Clasen2005-05-181-0/+4
| | | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri): Use the correct function to conver the uri to a path. (#304565, Ismael Juma)
* Handle the Cancel button properly. (#304234, Sven Neumann)Matthias Clasen2005-05-181-2/+7
| | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the Cancel button properly. (#304234, Sven Neumann)
* If the horizontal adjustment changes because of a change in the layoutAnders Carlsson2005-05-181-0/+9
| | | | | | | | | | | 2005-05-18 Anders Carlsson <andersca@imendio.com> * gtk/gtktextview.c: (gtk_text_view_flush_scroll), (gtk_text_view_update_adjustments), (gtk_text_view_value_changed): * gtk/gtktextview.h: If the horizontal adjustment changes because of a change in the layout width, then do a complete redraw. This is because there might be right-aligned or centered text that needs to be redrawn.
* Try harder to set the event masks of descendent windows. (#169821, TommiMatthias Clasen2005-05-181-0/+3
| | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set the event masks of descendent windows. (#169821, Tommi Komulainen)
* Fix some errors in the handling of drop columns. (#143355, John Finlay)Matthias Clasen2005-05-181-0/+4
| | | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_get_drop_column) (gtk_tree_view_set_column_drag_info): Fix some errors in the handling of drop columns. (#143355, John Finlay)
* Remove the no longer needed workaround.Matthias Clasen2005-05-181-0/+6
| | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Remove the no longer needed workaround.
* Add a bug referenceMatthias Clasen2005-05-181-0/+5
|
* gdk/win32/gdkevents-win32.c gdk/win32/gdkkeys-win32.c Check theTor Lillqvist2005-05-181-0/+10
| | | | | | | | | | | | 2005-05-18 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkevents-win32.c * gdk/win32/gdkkeys-win32.c * gdk/win32/gdkprivate-win32.h: Check the KF_EXTENDED bit in lParam of WM_KEY* messages to distinguish between left and right Control and Alt keys. Unfortunately, the right Shift key doesnt set KF_EXTENDED, so to distinguish between left and right Shift keys, check the scan code. (#304584)
* Warn if length overflows. (#161520, Ian Wienand)Matthias Clasen2005-05-181-0/+3
| | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkproperty-x11.c (gdk_property_get): Warn if length overflows. (#161520, Ian Wienand)
* Fix parameter names to make gtk-doc happy.Matthias Clasen2005-05-181-0/+3
| | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name): Fix parameter names to make gtk-doc happy.
* Fix the default values of draw-value and value-pos to be the values weMatthias Clasen2005-05-181-0/+4
| | | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkscale.c (gtk_scale_class_init): Fix the default values of draw-value and value-pos to be the values we actually use in _init. (#304547, Mikael Hallendal)
* Support named icons in cells by adding a icon-name property. (#165777,Matthias Clasen2005-05-181-1/+6
| | | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrendererpixbuf.c: Support named icons in cells by adding a icon-name property. (#165777, Anders Carlsson)
* Support named icons in tool buttons by adding a icon-name property.Matthias Clasen2005-05-181-0/+6
| | | | | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtktoolbutton.h: * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name) (gtk_tool_button_get_icon_name): Support named icons in tool buttons by adding a icon-name property.
* New functions to support themed drag icons. (#116577, Christian Neumair)Matthias Clasen2005-05-181-0/+8
| | | | | | | | | | 2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkdnd.h: * gtk/gtkdnd.c (gtk_drag_source_set_icon_name) (gtk_drag_set_icon_name): New functions to support themed drag icons. (#116577, Christian Neumair)
* Update to changed cairo interface.Owen Taylor2005-05-171-0/+13
| | | | | | | | | | | | | | | 2005-05-17 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkdrawable-x11.c (gdk_x11_ref_cairo_surface): Update to changed cairo interface. * gdk/x11/gdkdrawable-x11.[ch]: Add _gdk_x11_drawable_update_size() * gdk/x11/gdkwindow-x11.c (gdk_window_resize) (gdk_window_move_resize) * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call _gdk_x11_drawable_update_size().
* Don't blink the cursor if the text view is not editable.Matthias Clasen2005-05-171-0/+3
| | | | | | | 2005-05-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextview.c (cursor_blinks): Don't blink the cursor if the text view is not editable.
* Keep the popup posted if the button is released over the cellview. ThisMatthias Clasen2005-05-171-0/+5
| | | | | | | | | 2005-05-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Keep the popup posted if the button is released over the cellview. This matches the behaviour of other combo box implementations. (#171378)
* Adjust offsets when recursing. (#153682, Felipe Heidrich)Matthias Clasen2005-05-171-0/+5
| | | | | | | 2005-05-17 Matthias Clasen <mclasen@redhat.com> * gdk/gdkwindow.c (gdk_window_set_bg_pattern): Adjust offsets when recursing. (#153682, Felipe Heidrich)
* Don't bind GDK_Page_Up and GDK_Page_Down twice. (#168333, Hazael MaldonadoMatthias Clasen2005-05-171-1/+4
| | | | | | | 2005-05-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkscale.c (gtk_scale_class_init): Don't bind GDK_Page_Up and GDK_Page_Down twice. (#168333, Hazael Maldonado Torres)
* Don't blink the cursor if the entry is not editable. (#304171,NikosMatthias Clasen2005-05-161-0/+3
| | | | | | | 2005-05-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if the entry is not editable. (#304171,Nikos Kouremenos)
* Make sure the action of the button and the dialog are in sync, when theMatthias Clasen2005-05-161-0/+4
| | | | | | | | 2005-05-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor): Make sure the action of the button and the dialog are in sync, when the dialog is provided by the app. (#303987, David A Knight)
* Fix a typo in the docs. (#303940, Masao Mutoh)Matthias Clasen2005-05-161-0/+3
| | | | | | | 2005-05-16 Matthias Clasen <mclasen@redhat.com> * gdk/gdkpango.c (gdk_pango_renderer_get_default): Fix a typo in the docs. (#303940, Masao Mutoh)
* Use gtk-doc abbrevs instead of spelled out links.Matthias Clasen2005-05-161-0/+2
| | | | | | | | | | | 2005-05-16 Matthias Clasen <mclasen@redhat.com> * gtk/tree_widget.sgml: Use gtk-doc abbrevs instead of spelled out links. * gtk/gtk-docs.sgml: Included the processed file xml/tree_widget.sgml. * gtk/Makefile.am (expand_content_files): Add tree_widget.sgml.
* Be more careful when casting. (#304089, Philip Langdale)Matthias Clasen2005-05-161-0/+3
| | | | | | | 2005-05-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoggleaction.c (connect_proxy): Be more careful when casting. (#304089, Philip Langdale)
* Only shrink the label if we need to. (#169390, Felix Riemann)Matthias Clasen2005-05-161-0/+5
| | | | | | | 2005-05-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shrink the label if we need to. (#169390, Felix Riemann)
* gdk/gdkdraw.c #include gdkcairo.h for gdk_cairo_create() declaration.Manish Singh2005-05-141-0/+14
| | | | | | | | | | | | | | | | Sat May 14 00:07:46 2005 Manish Singh <yosh@gimp.org> * gdk/gdkdraw.c * gdk/gdkpango.c: #include gdkcairo.h for gdk_cairo_create() declaration. * gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): actually call gdk_cairo_set_source_color() with a color. * gtk/gtkimage.c (gtk_image_expose): remove unused stock_id variable. * tests/testiconview.c (main): cast args of drag functions to the appropriate type.
* Update for cairo-xlib API change.Owen Taylor2005-05-141-0/+7
| | | | | | | | | 2005-05-13 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkdrawable-x11.c: Update for cairo-xlib API change. * gdk/x11/gdkpixmap-x11.[ch] gdk/gdk.symbols: Export gdk_pixmap_impl_x11_get_type(), needed in gdkdrawable-x11.c.
* Use a GtkAlignment rather than a GtkDrawingArea to draw the swatch in toOwen Taylor2005-05-121-0/+6
| | | | | | | 2005-05-11 Owen Taylor <otaylor@redhat.com> * gtk/gtkcolorbutton.c: Use a GtkAlignment rather than a GtkDrawingArea to draw the swatch in to avoid having an extraneous window.
* Use a GtkAlignment rather than a GtkDrawingArea to draw the swatch in toOwen Taylor2005-05-111-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-11 Owen Taylor <otaylor@redhat.com> * gtk/gtkcolorbutton.c: Use a GtkAlignment rather than a GtkDrawingArea to draw the swatch in to avoid having an extraneous window. * gtk/gtkcolorsel.c (color_sample_draw_sample): Actually se tthe color when !has_opacity. 2005-05-10 Owen Taylor <otaylor@redhat.com> * gdk/gdkcairo.[ch] gdk/gdkcolor.[ch] gdk/Makefile.am: Add source files for Cairo convenience functionality. * gdk/gdkcairo.h (gdk_cairo_rectangle, gdk_cairo_region): Add a convenience functions to add GdkRectangle, GdkRegion to a cairo path. * gdk/gdkwindow.c gdk/gdkgc.c gtk/gtkcolorsel.c gtk/gtkiconview.c gtk/gtkstyle.c: Use gdk_cairo_rectangle/region(). * gdk/gdkcairo.[ch] gdk/gdkdrawable.h gdk/gdkdraw.c: Rename gdk_drawable_create_cairo_context() to gdk_cairo_create(). * gdk/gdkcairo.c gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Rename gdk_pixbuf_set_as_cairo_source() to gdk_cairo_set_source_pixbuf(). * gdk/gdkdraw.c gdk/gdkpango.c gtk/gtkcolorsel.c gtk/gtkhruler.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkstyle.c gtk/gtkvruler.c: Adjust for renames. * gdk/gdk.symbols: Update. * gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): Fix coordinate system problem that was causing the wrong portions to be invalidated. * gtk/gtkcellrenderer.c (gtk_cell_renderer_render) gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render) gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render) gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render) gtk/gtkcellview.c (gtk_cell_view_expose) gtk/gtkdnd.c (gtk_drag_highlight_expose) gtk/gtkentry.c (gtk_entry_draw_text) gtk/gtktextview.c (text_window_invalidate_rect): Some cairoization. * gtk/gtkcalendar.[ch]: Beat into something roughly resembling GTK+ style ... use instance-private data and standard names for private structure, etc. Move function docs inline. * gtk/gtkcalendar.[ch]: Switch to drawing everything in expose. Switch drawing to Cairo. * gtk/gtkcalendar.c (gtk_calendar_freeze): Deprecate gtk_calendar_freeze/thaw
* Check that GDK_IS_SCREEN(screen) (like the X11 backend does), not screenTor Lillqvist2005-05-101-0/+7
| | | | | | | | | 2005-05-10 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Check that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen == gdk_screen_get_default(), as that might return NULL when this function is called.
* Flip the paddingMatthias Clasen2005-05-101-0/+5
|
* Fill in unused bits so they can be used for the depth-32 target case.Owen Taylor2005-05-091-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-09 Owen Taylor <otaylor@redhat.com> * gdk/gdkrgb.c (gdk_rgb_convert_0888_br, gdk_rgb_convert_8880_br): Fill in unused bits so they can be used for the depth-32 target case. Rewrite so that that gives a marginal speedup rather than a marginal slowdown. (on x86) * gdk/gdkscreen.h gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkvisual-x11.c: Add gdk_screen_get_rgba_colormap/visual to get a visual for windows with an alpha channel, if one exists. * gdk/win32/gdkscreen-win32.c gdk/linux-fb/gdkscreen-fb.c: Stub out gdk_screen_get_rgba_colormap/visual. * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): computation of "unused" wasn't right for depth == 32, since it depended on shifting by 32. * gdk/gdkrgb.c: Fill in alpha bits with 1s. (Based on patch from Keith Packard, http://mail.gnome.org/archives/gtk-devel-list/2004-June/msg00080.html) * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture): Implement again, without using Xft. * tests/testgtk.c: Add a test for windows with an alpha channel.
* Revert accidental commitMatthias Clasen2005-05-091-0/+4
|
* Small documentation additions.Matthias Clasen2005-05-081-0/+9
| | | | | | | | | | | 2005-05-08 Matthias Clasen <mclasen@redhat.com> * gdk/gdkcolor.c (gdk_cairo_set_source_color): * gdk/gdkimage.h: * gdk/gdkdraw.c: * gdk/gdkcolor.h: * gdk/gdkcursor.h: * gdk/x11/gdkcolor-x11.c: Small documentation additions.
* Change the return type to GtkWidget*, proposed by Owen Taylor.Matthias Clasen2005-05-081-0/+5
| | | | | | | | | 2005-05-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkscrolledwindow.h: * gtk/gtkscrolledwindow.c (gtk_scrolled_window_get_hscrollbar): (gtk_scrolled_window_get_cscrollbar): Change the return type to GtkWidget*, proposed by Owen Taylor.
* Fix typos in the docs. (#303389, Masao Mutoh)Matthias Clasen2005-05-081-0/+6
| | | | | | | | 2005-05-07 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkscreen-x11.c (gdk_screen_get_width_mm) (gdk_screen_get_height_mm): Fix typos in the docs. (#303389, Masao Mutoh)
* Fix a copy-and-paste accidentMatthias Clasen2005-05-081-0/+5
|
* Get the foreground color, not the background color.Owen Taylor2005-05-071-0/+5
| | | | | | | 2005-05-07 Owen Taylor <otaylor@redhat.com> * gdk/gdkgc.c (gc_get_foreground): Get the foreground color, not the background color.
* Change prototype to match cairo_set_source_surface().Owen Taylor2005-05-071-0/+8
| | | | | | | | | | 2005-05-07 Owen Taylor <otaylor@redhat.com> * gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h (gdk_pixbuf_set_as_cairo_source): Change prototype to match cairo_set_source_surface(). * gdk/gdkdraw.c gdk/gdkgc.c gdk/gdkpixbuf-render.c gdk/gdkwindow.c gtk/gtkhsv.c tests/testcairo.c.