summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* Add gtkcolorbutton.c and gtkfontbutton.c.Matthias Clasen2003-07-111-1/+1
| | | | | | | | | | | 2003-07-11 Matthias Clasen <maclas@gmx.de> * POTFILES.in: Add gtkcolorbutton.c and gtkfontbutton.c. 2003-07-11 Matthias Clasen <maclas@gmx.de> * gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents vertically. (#109823, Joe Shaw)
* Landing GtkTreeModelFilter and the completion code. (Test program andKristian Rietveld2003-07-1113-113/+4724
| | | | | | | | | | | | | | | | | | | | | Fri Jul 11 14:32:43 2003 Kristian Rietveld <kris@gtk.org> Landing GtkTreeModelFilter and the completion code. (Test program and documentation will follow next week). * gtk/gtkcellayout.[ch], gtk/gtkentrycompletion.[ch], gtk/gtktreemodelfilter.[ch], gtk/gtkentryprivate.h: new files. * gtkentry.[ch]: added gtk_entry_{get,set}_completion, wrote necessary code to hook up completion. * gtktreeviewcolumn.c: made GtkTreeViewColumn implement the new GtkCellLayout interface. * gtkmarshalers.list: added BOOLEAN:OBJECT,BOXED. * gtk/gtk.h, gtk/Makefile.am, po/POTFILES.in: all updated for the new source files.
* Consider the text direction when sorting children. (#116540, SoerenMatthias Clasen2003-07-081-3/+9
| | | | | | | 2003-07-09 Matthias Clasen <maclas@gmx.de> * gtk/gtkcontainer.c (gtk_container_focus_sort_tab): Consider the text direction when sorting children. (#116540, Soeren Sandmann)
* Doc addition. (#116501, Doug Quale)Matthias Clasen2003-07-081-1/+4
| | | | | | 2003-07-08 Matthias Clasen <maclas@gmx.de> * gtk/gtkcontainer.c (gtk_container_remove): Doc addition. (#116501, Doug Quale)
* remove strange #define fix cut'n'paste error use instance private data useSoeren Sandmann2003-07-085-12/+8
| | | | | | | | | | | | | Tue Jul 8 21:35:22 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoggletoolbutton.h: remove strange #define * gtk/gtktoolbutton.h: fix cut'n'paste error * gtk/gtktoolbutton.c (gtk_tool_button_init): use instance private data * gtk/gtktoolitem.c (gtk_tool_item_class_init): use instance private data instead of g_new0() * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): use instance private data
* remove GDK_EXPOSURE_MASK for INPUT_ONLY window same same same sameSoeren Sandmann2003-07-086-13/+4
| | | | | | | | | | | | | Tue Jul 8 21:10:14 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK for INPUT_ONLY window * gtk/gtkmenuitem.c (gtk_menu_item_realize): same * gtk/gtknotebook.c (gtk_notebook_realize): same * gtk/gtkexpander.c (gtk_expander_realize): same * gtk/gtkrange.c (gtk_range_realize): same Fix #116303
* remove correction on x when detail is "menuitem". With the new menu lookSoeren Sandmann2003-07-0810-146/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Jul 8 19:57:14 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x when detail is "menuitem". With the new menu look is isn't needed anymore. * gtk/gtktoolitem.c (gtk_tool_item_toolbar_reconfigured): queue a resize here, so that tool items will get a chance to relayout themselves based on the toolbar configuration. change DEFAULT_SPACE_SIZE to 4 instead of 5 * gtk/gtktoolbar.c Get rid of "!GTK_BIN (item)->child means separator". Separators are widgets in their own right change DEFAULT_SPACE_SIZE to 4 instead of 5 (get_space_size): remove this function (toolbar_item_is_homogeneous): new function * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_size_request): new function. Tue Jul 8 14:10:35 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoggletoolbutton.h: use private data, add new internal function _gtk_toggle_tool_button_get_button() * gtk/gtktoolbutton.h: move to private data * gtk/gtkradiotoolbutton.c, gtk/gtktoolbutton.c: updates for new private data.
* fix a type check, (#116947, Krasimir Angelov)Soeren Sandmann2003-07-084-102/+192
| | | | | | | | | | | | | | | | | | Tue Jul 8 12:50:20 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbutton.c (gtk_tool_button_get_icon_widget): fix a type check, (#116947, Krasimir Angelov) * gtk/gtktoolbar.c: Use new GtkToolItem accessors. * gtk/gtktoolitem.[ch]: Use a private struct to hold the instance data. Not instance private data yet, because of bug 116921. * gtk/gtktoolitem.h: new accessors: gtk_tool_item_get_homogeneous () gtk_tool_item_get_expand () gtk_tool_item_get_pack_end () gtk_tool_item_get_use_drag_window ()
* remove accidentally committed debugging spewSoeren Sandmann2003-07-073-64/+101
| | | | | | | | | | | | | | | | | | Mon Jul 7 16:50:32 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): remove accidentally committed debugging spew * gtk/gtktoolbar.c (gtk_toolbar_paint_space_line): remove this function (gtk_toolbar_expose): always propagate expose, even if the item is a separator item * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose): moved here from gtktoolbar.c (get_space_size): new function. (get_space_style): new function
* gtk/gtkdnd.c (_gtk_drag_source_handle_event) Remove use ofOwen Taylor2003-07-061-55/+79
| | | | | | | | | | | | | | | | | Sun Jul 6 13:00:20 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (_gtk_drag_source_handle_event) * gtk/gtkdnd.c (gtk_drag_begin_internal): Remove use of GDK_POINTER_MOTION_HINT_MASK. * gtk/gtkdnd.c (gtk_drag_update_idle): Move updating of the drag into an idle as a superior form of expose compression. * gtk/gtkdnd.c (gtk_drag_begin_internal): Move default icon creation here, so that we have an icon at the start of the drag (e.g., when retrieving the window cache information.)
* Move default icon creation here, so that we have an icon at the start ofOwen Taylor2003-07-061-59/+80
| | | | | | | | | Sun Jul 6 11:56:48 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_begin_internal): Move default icon creation here, so that we have an icon at the start of the drag (e.g., when retrieving the window cache information.)
* better drawing of GtkMenuItem add notes about GtkMenu remove leftoverSoeren Sandmann2003-07-061-1/+0
| | | | | | | | Sun Jul 6 17:21:23 2003 Soeren Sandmann <sandmann@daimi.au.dk> * docs/widget_geometry.txt: better drawing of GtkMenuItem * docs/widget_geometry.txt: add notes about GtkMenu * gtk/gtkstyle.c: remove leftover "#include "gtkhandlebox.h""
* add vertical_padding style property.Soeren Sandmann2003-07-069-72/+327
| | | | | | | | | | | | | | | | | | | | | | | | Sat Jul 5 10:34:00 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c: add vertical_padding style property. * gtk/gtkmenuitem.c: add style properties toggle_spacing, arrow_spacing and horizontal_padding. Also center separators and make them a bit taller. * gtk/*menuitem.c: use new style properties. * docs/widget_geometry.txt: Add note about GtkMenuItem * gtk/gtkstyle.c (gtk_default_draw_vline, gtk_default_draw_hline): fix +/-1 errors. (gtk_default_draw_shadow): draw a black border around menus. * gtk/gtkvseparator, gtk/gtkhseparator.c, gtk/gtkmenuitem.c: fix calls to gtk_paint_hline() and gtk_paint_vline() (they take x1, x2 and y1, y2 respectively, not x, width and y, height).
* Move the grabs up earlier, so we don't get a big pile of uncompressedOwen Taylor2003-07-051-25/+33
| | | | | | | | | | | | | | | | | | | | Sat Jul 5 00:49:32 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_begin): Move the grabs up earlier, so we don't get a big pile of uncompressed motion events before the grab takes effect. * gtk/gtkdnd.c (gtk_drag_update_icon): Call gdk_window_process_all_updates() so that the area we are dragging over gets a change to redraw. * gtk/gtkdnd.c (_gtk_drag_dest_handle_event): Use gdk_window_get_position(), not gdk_window_get_origin(). * gdk/x11/gdkwindow-x11.[ch] (gdk_window_have_shape_ext) gdkdisplay-x11.h: use XShapeQueryExtension to avoid duplicate XQueryExtension when we actually use it. Remove unnecessary caching in GdkDisplayX11.
* new test for removing itemsSoeren Sandmann2003-07-046-41/+76
| | | | | | | | | | | | | | | | | | Fri Jul 4 19:06:31 2003 Soeren Sandmann <sandmann@daimi.au.dk> * tests/stresstest-toolbar.c: new test for removing items * tests/testtoolbar.c: add a popup menu * gtk/gtkcontainer.c (gtk_container_remove): add hack to avoid assert widget->parent == container when the container is a toolbar. * gtk/gtktoolbar.c (gtk_toolbar_remove_tool_item): Make much simpler. Also make correct. * gtk/gtktoolbar.c (gtk_toolbar_button_press): make popup_context_menu a boolean handled signal.
* Use the theme colours for rubber bandingRoss Burton2003-07-031-7/+43
|
* Insert cast to fix warning. Assign something to old_value to quiet gccSoeren Sandmann2003-07-036-53/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Jul 3 03:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkpaned.c (gtk_paned_set_child_property): Insert cast to fix warning. Assign something to old_value to quiet gcc * gtk/gtkcalendar.c (start_spinning): gtk_timeout_add->g_timeout_add * gtk/gtkicontheme.c (theme_lookup_icon): Make it compile (remove double semicolon) * gtk/gtktoolbutton.c (gtk_tool_button_class_init): Long comment about properties. (gtk_tool_button_class_init): Improve text for "use_underline" property (gtk_tool_button_create_menu_proxy): Fix up to use_mnemonic based on whether the passed-in label has use_mnemonic set (gtk_tool_button_create_menu_proxy): Split image cloning out in new function. Make that function also handle image with pixbuf storage. (gtk_tool_button_construct_contents): Use gtk_widget_destroy() instead of gtk_container_remove(). (gtk_tool_button_construct_contents): Fix eliding bug * gtk/gtktoolbar.c (gtk_toolbar_finalize): New function. Unref tooltips, pointed out by Morten Welinder (gtk_toolbar_button_press): Make popup_context_menu signal provide coordinates and button number * tests/testtoolbar.c (main): Add new pixbuf toolbutton * tests/apple-red.png: new file
* Implement a loader for named themed icon based on from gnome-desktopOwen Taylor2003-07-0211-602/+4343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Jul 2 18:00:56 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkicontheme.[ch]: Implement a loader for named themed icon based on from gnome-desktop library by Alex Larsson. * gtk/gtkiconthemeparser.[ch]: .ini file parsing code from gnome-desktop. * gtk/gtkiconfactory.[ch]: Add gtk_icon_source_set/get_icon_name() to allow stock icons to be based off of named theme icons. * gtk/gtkiconfactory.c: Rework sources so that the source is *either* a pixbuf, or a filename, or an icon name, instead of the pixbuf/filename mix it was before. Put a workaround for get_pixbuf() so that it can return the filename pixbuf, e.g, for render_icon(). * gtk/gtkiconfactory.c: Make the default setup use themed icons, and add builtin icons to the default icon theme for all the standard pixbufs, so we don't rely on actually having an icon theme on disk. * gtk/gtkrc.c: Add support for @"icon-name" to specify a themed icon for a stock icon source. * tests/Makefile.am test/testicontheme.c: Add a test program from gnome-desktop. * gdk/x11/gdkevents-x11.c gtk/gtksettings.c: Add Net/IconThemeName / gtk-icon-theme-name setting. * gtk/gtkiconfactory.c (ensure_cache_up_to_date): Actually update the icon cache serial so we don't continually * gtk/gtkwidget.c: Fix a couple of references in doc comments to ::direction_set that should have been to ::direction-changed
* Attach the style to the widget.Owen Taylor2003-07-021-0/+1
| | | | | | | Wed Jul 2 14:45:41 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the style to the widget.
* Add new toolbar headersSoeren Sandmann2003-07-026-153/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Jul 2 15:42:26 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtk.h: Add new toolbar headers * tests/testtoolbar.c: new file * tests/Makefile.am (noinst_PROGRAMS): Add testtoolbar.c * gtk/gtkexpander.c (gtk_expander_class_init): Make it compile Tue Jul 1 22:49:25 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c: (gtk_toolbar_remove_tool_item): Fix bug where list is changed inside a for loop (pointed out by Morten Welinder). (gtk_toolbar_focus_home_or_end): Minor formatting change Comments from Owen: * gtk/gtktoolbutton.c: remove copy of elide_underscores(). Use gtk_toolbar_elide_underscores instead. * gtk/gtktoolbar.c: rename signal from focus_ends to focus_home_or_end. (_gtk_toolbar_elide_underscores): export this as an internal function. (gtk_toolbar_move_focus): add comment explaining difference to gtk_toolbar_focus(); (gtk_toolbar_list_children_in_focus_order): Make TAB_FORWARD and TAB_BACKWARD focus the right widgets in RTL mode * gtk/gtktoolbutton.c (gtk_tool_button_new): Change to take "label" and "icon" parameters * gtk/gtktoolbutton.[ch]: remove icon_set property.
* Improve docs. (116364, Morten Welinder)Matthias Clasen2003-07-011-1/+1
| | | | | | 2003-07-01 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (gtk_spin_button_set_digits): Improve docs. (116364, Morten Welinder)
* Add color and font picker widgets.Matthias Clasen2003-07-015-0/+2142
|
* Add GtkExpander docs.Matthias Clasen2003-07-012-5/+57
|
* kill some stray characters breaking the build.Mark McLoughlin2003-06-301-3/+3
| | | | | | | 2003-06-30 Mark McLoughlin <mark@skynet.ie> * gtk/gtkexpander.h: kill some stray characters breaking the build.
* Add GtkExpander. See discussion in bug #60553.Mark McLoughlin2003-06-303-0/+1521
| | | | | | | | | | | | | 2003-06-30 Mark McLoughlin <mark@skynet.ie> Add GtkExpander. See discussion in bug #60553. * gtk/gtkexpander.[ch]: add. * gtk/Makefile.am: build gtk-expander.[ch]. * docs/widget_geometry.txt: add info on the layout of GtkExpander.
* gtkradiotoolbutton.c gtkradiotoolbutton.h gtktoggletoolbutton.cSoeren Sandmann2003-06-2914-1259/+4569
| | | | | | | | | | | | | | | | | | | Mon Jun 30 01:20:19 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtkradiotoolbutton.c * gtkradiotoolbutton.h * gtktoggletoolbutton.c * gtktoggletoolbutton.h * gtktoolbutton.c * gtktoolbutton.h * gtktoolitem.c * gtktoolitem.h * gtktoolbar.c * gtktoolbar.h * gtkseparatortoolitem.c * gtkseparatortoolitem.h New toolbar.
* More formatting fixes for docs.Matthias Clasen2003-06-291-13/+14
|
* Doc comment fix.Matthias Clasen2003-06-291-1/+0
|
* Make it compile with C89 compilers.Soeren Sandmann2003-06-271-1/+6
| | | | | | | | | | | | | Fri Jun 27 03:56:59 2003 Soeren Sandmann <sandmann@daimi.au.dk> * io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): Make it compile with C89 compilers. Thu Jun 26 21:41:16 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_cell_data): only set "is_expander" and "is_expanded" if the new value is different fromt he old one.
* Add a blurb for shadow_type.Matthias Clasen2003-06-243-13/+15
| | | | | | | | | | | | 2003-06-24 Matthias Clasen <maclas@gmx.de> * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type. * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): (gtk_widget_class_list_style_properties): Use same parameter names as in header (to silence gtk-doc). * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments.
* Document new properties as 2.4 additions.Matthias Clasen2003-06-146-76/+193
| | | | | | | | | | | | | | | | 2003-06-15 Matthias Clasen <maclas@gmx.de> * gtk/gtkcalendar.c (gtk_calendar_class_init): * gtk/gtknotebook.c (gtk_notebook_class_init): * gtk/gtkalignment.c (gtk_alignment_class_init): * gtk/gtkpaned.c (gtk_paned_class_init): Document new properties as 2.4 additions. * gtk/gtkwidget.c (gtk_widget_class_init): Move inline signal docs to the proper place, immediately before the g_signal_new() call. * gtk/gtktextiter.h: Make the flags-nature of GtkTextSearchFlags more obvious. (#115122, Jeff Franks)
* Special case pixmaps. (#114880)Anders Carlsson2003-06-121-0/+7
| | | | | | | 2003-06-12 Anders Carlsson <andersca@codefactory.se> * gtk/gtkwidget.c: (event_window_is_still_viewable): Special case pixmaps. (#114880)
* Document child-notify and drag-data-received signals. Owen, we need toMatthias Clasen2003-06-111-0/+71
| | | | | | | | | 2003-06-12 Matthias Clasen <maclas@gmx.de> * gtk/gtkwidget.c: Document child-notify and drag-data-received signals. Owen, we need to figure out where the best place for these comments in the source is. I currently put them in front of the signals enum.
* silly typo fix. s/seperator/separator/. This gets rid of the assert spamKristian Rietveld2003-06-111-1/+1
| | | | | | | | Thu Jan 12 01:01:19 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): silly typo fix. s/seperator/separator/. This gets rid of the assert spam when using TreeView.
* Merged from stable.Kristian Rietveld2003-06-091-1/+1
| | | | | | | | | Mon Jun 10 01:12:31 2003 Kristian Rietveld <kris@gtk.org> Merged from stable. * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size): check if width is !null, not *width. Doh.
* Merged from stable.Kristian Rietveld2003-06-091-15/+15
| | | | | | | | | | | Tue Jun 10 01:09:33 2003 Kristian Rietveld <kris@gtk.org> Merged from stable. * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): Remove the weird dx logic, get all cell_area and background_area calculations right. Not sure what was up with it before. (Fixes #110989, testcase from Vasco Alexandre da Silva Costa).
* Install boolean property "overwrite". (gtk_text_view_[gs]et_property):Matthias Clasen2003-06-092-0/+63
| | | | | | | | | | 2003-06-10 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c (gtk_text_view_class_init): Install boolean property "overwrite". (gtk_text_view_[gs]et_property): Handle "overwrite". * gtk/gtktextview.[hc] (gtk_text_view_[gs]et_overwrite): Getter and setter for "overwrite" property. (#110241, Jeroen Zwartepoorte)
* Install boolean child properties "resize" and "shrink".Matthias Clasen2003-06-091-0/+112
| | | | | | | | | | | | 2003-06-09 Matthias Clasen <maclas@gmx.de> * gtk/gtkpaned.c (gtk_paned_class_init): Install boolean child properties "resize" and "shrink". (gtk_paned_[gs]et_child_property): Implementations of GtkContainer::[gs]et_child_property. * tests/testgtk.c (toggle_resize, toggle_shrink): Use the new paned child properties instead of remove/add hacks. (#114667, Soeren Sandmann)
* Back out event->window test - it wasn't needed because of the call toOwen Taylor2003-06-091-4/+1
| | | | | | | | | | | | Mon Jun 9 16:18:11 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.c (gtk_notebook_button_press): Back out event->window test - it wasn't needed because of the call to get_widget_coordinates(). * gtk/gtknotebook.c (gtk_notebook_button_press): Remove call to gtk_widget_grab_focus() when not clicking on any tabs. (Real fix for #114534)
* Use application/x-rootwindow-drop for root window drops. (#108670, AlexOwen Taylor2003-06-091-3/+7
| | | | | | | | | | | Sun Jun 8 22:03:09 2003 Owen Taylor <otaylor@redhat.com> * tests/testdnd.c: Use application/x-rootwindow-drop for root window drops. (#108670, Alex Larsson) * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop): Accept either application/x-rootwin-drop (what GTK+ has always used) or application/x-rootwindow-drop (what the XDND standard specifies).
* Before delivering an event to a widget, check that (if relevant), theOwen Taylor2003-06-091-0/+48
| | | | | | | | | | | | | | | | | Fri Jun 6 11:07:33 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c (event_window_still_viewable): Before delivering an event to a widget, check that (if relevant), the event's window is still viewable. (#105642, Dennis Björklund) * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): NULL out private->parent, since after destruction it might not be valid any more. * gdk/gdkwindow.c (gdk_window_is_viewable): Fix some accesses before g_return_val_if_fail(). Treat DESTROYED windows as unmapped.
* Recompute unconditionally in gtk_entry_style_set, and in a newOwen Taylor2003-06-081-7/+20
| | | | | | | | | | Thu Jun 5 09:28:03 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c: Recompute unconditionally in gtk_entry_style_set, and in a new gtk_label_screen_changed(). Protect the guts of recompute_idle_func() with gtk_widget_has_screen(). (#114040, Morten Welinder) Fix FALSE/0 confusion.
* Fix bug with set_adjustment (viewport, NULL);Owen Taylor2003-06-081-1/+1
| | | | | | | Sun Jun 8 11:27:29 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkviewport.c (viewport_set_adjustment): Fix bug with set_adjustment (viewport, NULL);
* Add rtl variants of undo, redo, undelete and revert. (#96633)Matthias Clasen2003-06-0710-20/+44
| | | | | | | | | 2003-06-07 Matthias Clasen <maclas@gmx.de> * gtk/gtkiconfactory.c (get_default_icons): * gtk/stock-icons/stock_{undo,redo,undelete,revert}_rtl_{16,24}.png: * gtk/stock-icons/Makefile.am: Add rtl variants of undo, redo, undelete and revert. (#96633)
* Many fixes, along with extensive cleanups and refactoring of code toOwen Taylor2003-06-061-227/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | Fri Jun 6 16:25:44 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkviewport.c: Many fixes, along with extensive cleanups and refactoring of code to reduce duplication; fixes include: - gtk_viewport_realize(): Position the window correct from adjustment values. (#110737, Michael Natterer) - Remove some division-by-zero checks in places where there is no longer division. (#110737) - gtk_viewport_class_init: Make the hadjustment/vadjustment properties G_PARAM_CONSTRUCT, so that there will always be adjustments, even if gtk_viewport_new isn't used (#101135, Thomas Leonard). - Switch over to encapsulated lazy-creation for hadjustment/ vadjustment; even with the CONSTRUCT property, we need this after destroy. - When updating the adjustment, immediate set their values to match the the current range of the viewport, and update the viewport position to match the value of the new adjustments. (Part of #1165
* Merged from stable.Kristian Rietveld2003-06-061-8/+16
| | | | | | | | | | | | | Fri Jun 6 23:38:23 2003 Kristian Rietveld <kris@gtk.org> Merged from stable. * gtk/gtktreeview.c (do_expand_collapse), (expand_collapse_timeout), (cancel_arrow_animation): made expand_collapse_timeout a wrapper with locks around do_expand_collapse, made cancel_arrow_animation use do_expand_collapse. Fixes threadlock. (Fixes #111286, patch from Peter Bloomfield).
* Ignore button presses that are not on the tab (#114534).Noah Levitt2003-06-061-1/+2
| | | | | | | 2003-06-05 Noah Levitt <nlevitt@columbia.edu> * gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button presses that are not on the tab (#114534).
* Conditionalize deendencies for gdk-pixbuf-csource on cross-compilationOwen Taylor2003-06-061-1/+3
| | | | | | | | | | | | | | Thu Jun 5 20:35:40 2003 Owen Taylor <otaylor@redhat.com> * demos/Makefile.am: Conditionalize deendencies for gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlowe). Buildtest-inline-pixbufs.h in srcdir. Don't try to build test-inline-pixbufs.h if we don't have libpng. * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Add a dependency on gdk-pixbuf.loaders when not cross-compiling, remove the dependency on gdk-pixbuf-csource when not cross compiling.
* Handle gtk_window_get_geometry_info() returning NULL. (#107311, JohnOwen Taylor2003-06-061-2/+2
| | | | | | | | Thu Jun 5 20:12:51 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.c (gtk_window_get_default_size): Handle gtk_window_get_geometry_info() returning NULL. (#107311, John Finlay)
* Subtract off twice the border width from the width/height, not 1x theOwen Taylor2003-06-051-2/+2
| | | | | | | | Thu Jun 5 19:24:33 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtktoolbar.c (gtk_toolbar_expose): Subtract off twice the border width from the width/height, not 1x the border width. (#106336, Rodney Dawes)