summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* Make right-clicks not pop up the menu.Soeren Sandmann2005-03-191-3/+15
| | | | | | | Fri Mar 18 23:59:49 2005 Soeren Sandmann <sandmann@redhat.com> * gtk/gtkmenutoolbutton.c (arrow_button_button_press_event_cb): Make right-clicks not pop up the menu.
* Fix formatting in example in the docs. (#170611, Jianfei Wang)Matthias Clasen2005-03-171-1/+1
| | | | | | | 2005-03-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.c (gtk_label_set_markup): Fix formatting in example in the docs. (#170611, Jianfei Wang)
* Clamp adjustment values on resize. (#170567, Tomislav Jonjic)Matthias Clasen2005-03-171-13/+25
| | | | | | | 2005-03-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp adjustment values on resize. (#170567, Tomislav Jonjic)
* Don't crash if there is no cache. (#170652, Diego Gonzalez)Matthias Clasen2005-03-171-1/+1
| | | | | | | 2005-03-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c (theme_lookup_icon): Don't crash if there is no cache. (#170652, Diego Gonzalez)
* Make inline completion insert the prefix at the right spot. (#170146, DougMatthias Clasen2005-03-171-1/+2
| | | | | | | | 2005-03-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix): Make inline completion insert the prefix at the right spot. (#170146, Doug Quale)
* Typo fix in the docs.Matthias Clasen2005-03-173-14/+145
| | | | | | | | | | | | | | | | | | | | | 2005-03-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprogressbar.c (gtk_progress_bar_get_ellipsize): Typo fix in the docs. * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_set_arrow_tooltip): Typo fix in the docs. * gtk/gtkiconview.c (gtk_icon_view_get_columns) (gtk_icon_view_set_columns, gtk_icon_view_set_item_width) (gtk_icon_view_get_item_width, gtk_icon_view_set_spacing) (gtk_icon_view_get_spacing, gtk_icon_view_set_row_spacing) (gtk_icon_view_set_column_spacing, gtk_icon_view_get_row_spacing) (gtk_icon_view_get_column_spacing, gtk_icon_view_set_margin) (gtk_icon_view_get_margin): Add docs. * gtk/gtkcellview.c (gtk_cell_view_get_displayed_row): Add docs.
* Switch set_cairo_target() virtual function to ref_cairo_surface()Owen Taylor2005-03-179-873/+650
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-15 Owen Taylor <otaylor@redhat.com> * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c gdk/gdkwindow.c gdk/x11/gdkdrawable-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkwindow-x11.c gdk/gdkinternals.h: Switch set_cairo_target() virtual function to ref_cairo_surface() * gdk/gdkdrawable.h gdk/gdkdraw.h: Switch set_cairo_target() virtual function to create_cairo_context() * gdk/gdkwindow.c: Clear double buffer pixmaps with Cairo. * gdk/x11/gdkwindow-x11.c: Keep all components in GdkWindowObject.bg_color, not just the pixel. * tests/testcairo.c: Update for create_cairo_context() * gdk/gdkdraw.c (gdk_draw_trapezoids, gdk_draw_glyphs[_transformed]): Reimplement in terms of Cairo, bypass the vtable entries. * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkgc-x11.c gdk/x11/gdkpango-x11.c gdk/x11/gdkprivate-x11.h gdk/x11/Makefile.am: Remove implementation of draw_trapezoids / draw_glyphs[_transformed]. * gdk/gdkpango.c: Switch GdkPangoRenderer to use Cairo * gdk/gdkpango.c gdk/x11/gdkpango-x11.c: Move gdk_pango_context_get_for_screen() into the backend independent code. * gdk/x11/gdkdrawable-x11.[ch]: Remove Xft use, use RENDER directly for drawing images. * gdk/gdkdrawable.h gdk/x11/gdkdrawable-x11.c: Remove gdk_draw_rectangle_alpha_libgtk_only. * gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Add gdk_pixbuf_set_as_cairo_source() * gdk/gdk.symbols: Update * gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkruler.[ch] gtk/gtk[hv]ruler.c: Convert to Cairo rendering. * gtk/gtkstyle.c (gtk_default_draw_check, gtk_default_draw_focus, gtk_default_draw_option): Switch to Cairo. Simplify the checkbutton, radio button style for now to get something more scalable. * gtk/gtksettings.c: #if 0 out the code to use PangoXft for hinting/ antialiasing/dpi settings.
* Add an example for manually setting up a group of actions.Matthias Clasen2005-03-151-1/+19
| | | | | | | 2005-03-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkradioaction.c (gtk_radio_action_get_group): Add an example for manually setting up a group of actions.
* Document that inline completion requires text-column to be set.Matthias Clasen2005-03-152-2/+9
| | | | | | | | | | | | | | 2005-03-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init): Document that inline completion requires text-column to be set. (gtk_entry_completion_compute_prefix): Return NULL if text-column is not set. * gtk/gtkentry.c (check_completion_callback): Call gtk_entry_completion_complete() before inserting the prefix, otherwise the prefix may depend on (random) state of the filter model.
* Update spec.Anders Carlsson2005-03-154-36/+600
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-15 Anders Carlsson <andersca@imendio.com> * docs/iconcache.txt: Update spec. * gtk/gtkiconcache.c: (find_image_offset), (_gtk_icon_cache_get_icon_flags), (_gtk_icon_cache_add_icons), (_gtk_icon_cache_get_icon), (_gtk_icon_cache_get_icon_data): * gtk/gtkiconcache.h: Update to be able to fetch pixbuf data and icon metadata. * gtk/gtkicontheme.c: (theme_lookup_icon), (gtk_icon_info_free), (icon_info_ensure_scale_and_pixbuf): Use new cache functions. * gtk/updateiconcache.c: (foreach_remove_func), (load_icon_data), (maybe_cache_image_data), (scan_directory), (write_pixdata), (get_image_meta_data_size), (get_image_pixel_data_size), (get_image_data_size), (get_single_node_size), (get_bucket_size), (write_bucket), (main): Update to write pixbuf data as well as information from .icon files.
* Make it compileMatthias Clasen2005-03-121-1/+1
|
* Don't crash on style changes. (#169334, Yury Puzis)Matthias Clasen2005-03-121-2/+2
| | | | | | | 2005-03-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on style changes. (#169334, Yury Puzis)
* Fix the doc comments. (#169967, Masao Mutoh)Matthias Clasen2005-03-121-2/+3
| | | | | | | 2005-03-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix the doc comments. (#169967, Masao Mutoh)
* Fix a doc typo. (#169873, Johan Dahlin)Matthias Clasen2005-03-111-1/+1
| | | | | | | 2005-03-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkliststore.c (gtk_list_store_insert_with_valuesv): Fix a doc typo. (#169873, Johan Dahlin)
* Don't try to focus the default_widget if there is none. (#169881, ThomasMatthias Clasen2005-03-111-7/+7
| | | | | | | | 2005-03-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdialog.c (gtk_dialog_map): Don't try to focus the default_widget if there is none. (#169881, Thomas Leonard)
* Typo fixes. (#169728, Morten Welinder, Owen Taylor)Matthias Clasen2005-03-091-7/+7
| | | | | | | 2005-03-09 Matthias Clasen <mclasen@redhat.com> * gtk/tmpl/gtkwidget.sgml: Typo fixes. (#169728, Morten Welinder, Owen Taylor)
* Fix a typo in the docs. (#169729, Morten Welinder)Matthias Clasen2005-03-091-1/+1
| | | | | | | 2005-03-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): Fix a typo in the docs. (#169729, Morten Welinder)
* Fix a typo.Matthias Clasen2005-03-091-1/+1
| | | | | | 2005-03-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimage.c (gtk_image_class_init): Fix a typo.
* Queue a resize when the model is unset. (#169528, Tomislav Jonjic)Matthias Clasen2005-03-091-2/+7
| | | | | | | 2005-03-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_set_model): Queue a resize when the model is unset. (#169528, Tomislav Jonjic)
* More canonical property names.Matthias Clasen2005-03-0954-199/+199
|
* xMatthias Clasen2005-03-0920-187/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): * gtk/gtkrange.c (gtk_range_class_init): * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): * gtk/gtktexttag.c (gtk_text_tag_class_init): * gtk/gtktextview.c (gtk_text_view_class_init): * gtk/gtkscrollbar.c (gtk_scrollbar_class_init): * gtk/gtknotebook.c (gtk_notebook_class_init): * gtk/gtkentry.c (gtk_entry_class_init): * gtk/gtkexpander.c (gtk_expander_class_init): * gtk/gtkarrow.c (gtk_arrow_class_init): * gtk/gtkalignment.c (gtk_alignment_class_init): * gtk/gtkbutton.c (gtk_button_class_init): * gtk/gtklabel.c (gtk_label_class_init): * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): x * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): * gtk/gtktreeview.c (gtk_tree_view_class_init): * gtk/gtkbox.c (gtk_box_class_init): * gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init): * gtk/gtkcontainer.c (gtk_container_class_init): * gtk/gtkwidget.c (gtk_widget_class_init): * gtk/gtkobject.c (gtk_object_class_init): Use canonical names when registering param specs.
* Add the new attributes to the .symbols files.Matthias Clasen2005-03-081-20/+20
|
* Use G_GNUC_NULL_TERMINATED where appropriate. (#165682, Marc Meissner)Matthias Clasen2005-03-0810-21/+21
| | | | | | | | | | | | | | | | 2005-03-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.h: * gtk/gtktreeview.h: * gtk/gtktreeviewcolumn.h: * gtk/gtktextbuffer.h: * gtk/gtkobject.h: * gtk/gtkfilechooserdialog.h: * gtk/gtkdialog.h: * gtk/gtkcontainer.h: * gtk/gtkcelllayout.h: * gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where appropriate. (#165682, Marc Meissner)
* Document ownership of filters. (#169101, Sebastian Rittau)Matthias Clasen2005-03-071-1/+4
| | | | | | | 2005-03-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooser.c (gtk_file_chooser_add_filter): Document ownership of filters. (#169101, Sebastian Rittau)
* Document which parameters may be NULL. (#166855, Frank Naumann)Matthias Clasen2005-03-071-57/+76
| | | | | | | 2005-03-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstyle.c: Document which parameters may be NULL. (#166855, Frank Naumann)
* Don't leak the values here. (#169047, Philip Langdale)Matthias Clasen2005-03-032-3/+3
| | | | | | | | 2005-03-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtksettings.c (gtk_settings_get_property): * gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak the values here. (#169047, Philip Langdale)
* Don't warn if a stock icon cannot be found. (#168830, Sven Neumann)Matthias Clasen2005-03-031-21/+16
| | | | | | | | 2005-03-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Don't warn if a stock icon cannot be found. (#168830, Sven Neumann)
* Avoid warnings if gtk_widget_reparent() is called at unusual times.Matthias Clasen2005-03-031-12/+18
| | | | | | | | 2005-03-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.c (gtk_widget_reparent_subwindows): Avoid warnings if gtk_widget_reparent() is called at unusual times. (#168966, Christian Persch)
* revert previous change, maintain ABI.Manish Singh2005-03-012-2/+2
| | | | | | Tue Mar 1 13:53:56 2005 Manish Singh <yosh@gimp.org> * gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
* Fix prelighting. (#157392, Vincent Noel, patch by Christian Persch)Matthias Clasen2005-03-011-1/+7
| | | | | | * gtk/gtkmenutoolbutton.c (button_state_changed_cb): Fix prelighting. (#157392, Vincent Noel, patch by Christian Persch)
* Make icon data caching work again. (#168851, Alexander Larsson)Matthias Clasen2005-03-011-4/+8
| | | | | | | 2005-03-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c (theme_lookup_icon): Make icon data caching work again. (#168851, Alexander Larsson)
* gdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.cMatthias Clasen2005-03-0120-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-01 Matthias Clasen <mclasen@redhat.com> * gdk/gdkkeyuni.c * gdk/gdkpixbuf-drawable.c * gdk/gdkrgb.c * gdk/x11/gdkdnd-x11.c * gdk/x11/gdkevents-x11.c * gdk/x11/gdkproperty-x11.c * gdk/x11/gdkvisual-x11.c * gdk-pixbuf/gdk-pixbuf.c * gtk/gtkaction.c * gtk/gtkbindings.c * gtk/gtkcolorbutton.c * gtk/gtkcombo.c * gtk/gtkcontainer.c * gtk/gtkfilechooserdefault.c * gtk/gtkfilesel.c * gtk/gtkgamma.c * gtk/gtkiconview.c * gtk/gtkinputdialog.c * gtk/gtkitemfactory.c * gtk/gtkmenu.c * gtk/gtktextview.c * gtk/gtktooltips.c * gtk/gtktreedatalist.c * gtk/gtkuimanager.c * gtk/tree_minus.xpm * gtk/tree_plus.xpm * gtk/xdgmime/xdgmime.c * gtk/xdgmime/xdgmime.h: Move constant data to .rodata.
* Improve the handling of buttons as action proxys. (#165534, MiloszMatthias Clasen2005-02-281-9/+34
| | | | | | | 2005-02-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaction.c (connect_proxy): Improve the handling of buttons as action proxys. (#165534, Milosz Derezynski)
* Fix a typo. (#168646, Vincent Untz)Matthias Clasen2005-02-281-1/+1
| | | | | | | 2005-02-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.c (gtk_label_size_request): Fix a typo. (#168646, Vincent Untz)
* Unset "focus-on-click" for the save folder combo. (#168688, Sven Neumann)Matthias Clasen2005-02-281-1/+4
| | | | | | | | 2005-02-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (save_folder_combo_create): Unset "focus-on-click" for the save folder combo. (#168688, Sven Neumann)
* Don't leak a path here. (#168443, Morten Welinder)Matthias Clasen2005-02-251-0/+1
| | | | | | | 2005-02-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a path here. (#168443, Morten Welinder)
* Don't leak parent_path. (#168435, Morten Welinder)Matthias Clasen2005-02-241-0/+1
| | | | | | | 2005-02-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path): Don't leak parent_path. (#168435, Morten Welinder)
* AddSøren Sandmann2005-02-241-0/+21
| | | | | | | | | | Thu Feb 24 14:20:16 2005 Søren Sandmann <sandmann@redhat.com> * gtk/gtkstyle.c: Add g_return_if_fail (style->depth == gdk_drawable_get_depth(window)); all over the place.
* Consistently use gtk_tree_row_reference_valid().Matthias Clasen2005-02-241-42/+42
| | | | | | | | 2005-02-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid(). (gtk_combo_box_model_row_deleted): Update the displayed row in the cell_view. (#167842, Gustavo Carneiro)
* Fix #167259, reported by Christian Persch:Matthias Clasen2005-02-241-3/+24
| | | | | | | | | | | | 2005-02-24 Matthias Clasen <mclasen@redhat.com> Fix #167259, reported by Christian Persch: * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented widget, even if we avoid the unrealizing. (gtk_widget_reparent_subwindows): Make reparenting work for !NO_WINDOW widgets which have other windows which are siblings of widget->window (as e.g. GtkSpinButton).
* Don't emit a warning if a parent node is filtered out. (#164726, OlivierMatthias Clasen2005-02-241-2/+5
| | | | | | | | 2005-02-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): Don't emit a warning if a parent node is filtered out. (#164726, Olivier Sessink)
* Revert the last change, since gtk_widget_set_style_internal() alreadyMatthias Clasen2005-02-241-1/+3
| | | | | | | | 2005-02-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.c (gtk_label_style_set): Revert the last change, since gtk_widget_set_style_internal() already queues a resize.
* Queue a resize, since fonts may have changed. (#164128, Phil Blundell)Matthias Clasen2005-02-241-0/+1
| | | | | | | 2005-02-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since fonts may have changed. (#164128, Phil Blundell)
* Move initialization code from _new to _init. (#168249, Murray Cumming)Matthias Clasen2005-02-241-10/+8
| | | | | | | | 2005-02-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaboutdialog.c (gtk_about_dialog_init) (gtk_about_dialog_new): Move initialization code from _new to _init. (#168249, Murray Cumming)
* Patch from jorn@nl.linux.org (Jorn Baayen) to notice changes toJonathan Blandford2005-02-231-1/+1
| | | | | | | | Wed Feb 23 17:34:01 2005 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Patch from jorn@nl.linux.org (Jorn Baayen) to notice changes to fixed-height widgets.
* #include <config.h>Manish Singh2005-02-221-0/+2
| | | | | | Tue Feb 22 13:49:09 2005 Manish Singh <yosh@gimp.org> * gtk/updateiconcache.c: #include <config.h>
* Fix links to freedesktop.org specs in the documentation.Matthias Clasen2005-02-212-10/+12
| | | | | | | | 2005-02-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwindow.c: * gtk/gtkclipboard.c: Fix links to freedesktop.org specs in the documentation.
* Use the timestamp of the last user interaction when focusing the window.Matthias Clasen2005-02-211-0/+9
| | | | | | | | 2005-02-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwindow.c (gtk_window_present): Use the timestamp of the last user interaction when focusing the window. (#166379, Elijah Newren)
* make sure expand is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.Manish Singh2005-02-171-2/+3
| | | | | | | Thu Feb 17 14:58:16 2005 Manish Singh <yosh@gimp.org> * gtk/gtkuimanager.c (start_element_handler): make sure expand is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.
* Pass gtk_widget_get_toplevel() a GTK_WIDGET.Manish Singh2005-02-171-2/+2
| | | | | | Thu Feb 17 14:52:57 2005 Manish Singh <yosh@gimp.org> * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.