summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* Right-justify labels in rtl mode. (#129071, chinen@jp.ibm.com)Matthias Clasen2004-02-032-3/+27
| | | | | | | | | | | | | Tue Feb 3 02:04:44 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtklabel.c (gtk_label_ensure_layout): Right-justify labels in rtl mode. (#129071, chinen@jp.ibm.com) Tue Feb 3 02:01:25 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Exchange the meaning GTK_MENU_DIR_PARENT/CHILD and GTK_MENU_DIR_PREV/NEXT in rtl mode. (#107528)
* Clip narrow columns in rtl-oriented tree views (#128089,Matthias Clasen2004-02-034-8/+26
| | | | | | | | | | | | | | | | | | | | | Tue Feb 3 01:38:06 2004 Matthias Clasen <maclas@gmx.de> Clip narrow columns in rtl-oriented tree views (#128089, chinen@jp.ibm.com): * gtk/gtkstyle.c (gtk_default_draw_option): * gtk/gtkstyle.c (gtk_default_draw_check): Clip to the given area. * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): Use the right clip area when calling gtk_cell_renderer_render(). * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_draw_focus): Use the right clip area when calling gtk_paint_focus(). * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): Use the right clip area when calling gtk_paint_toggle() or gtk_paint_check(). * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Clip to the expose_area when drawing the background rectangle.
* Add init_hadjust_value and prev_width. Initialize them here. ...and here.Matthias Clasen2004-02-022-2/+31
| | | | | | | | | | | | | Tue Feb 3 00:15:17 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): Add init_hadjust_value and prev_width. * gtk/gtktreeview.c (gtk_tree_view_init): Initialize them here. * gtk/gtktreeview.c (gtk_tree_view_update_size): ...and here. * gtk/gtktreeview.c (gtk_tree_view_size_allocate): Use them here to properly handle the initial position of rtl-oriented tree views. (#127581, chinen@jp.ibm.com)
* Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.Federico Mena Quintero2004-02-021-3/+3
| | | | | | | | | | 2004-01-20 Federico Mena Quintero <federico@ximian.com> Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>. * gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when we handle an event in the colums, and FALSE at the end if the event is not handled at all.
* Don't access the level after removing the node, since that may kill theMatthias Clasen2004-02-021-1/+2
| | | | | | | | Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): Don't access the level after removing the node, since that may kill the level. (#132615, Crispin Flowerday)
* The latest in menu separation technology.Matthias Clasen2004-02-021-29/+6
| | | | | | | Mon Feb 2 22:05:36 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkseparatormenuitem.c (gtk_separator_menu_item_init): The latest in menu separation technology.
* Only start sliding when using the new API.Soeren Sandmann2004-02-011-1/+1
| | | | | | | Sun Feb 1 16:34:07 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Only start sliding when using the new API.
* Make sure item_area is positioned correctly. Fix #133070, reported bySoeren Sandmann2004-02-011-2/+2
| | | | | | | | Sun Feb 1 16:03:39 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure item_area is positioned correctly. Fix #133070, reported by Jeroen Zwartepoorte.
* Don't crash when finalizing an unused GtkTextChildAnchor. (#132260,Matthias Clasen2004-01-311-14/+17
| | | | | | | | Sat Jan 31 23:13:43 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktextchild.c (gtk_text_child_anchor_finalize): Don't crash when finalizing an unused GtkTextChildAnchor. (#132260, muppet)
* Correct the documentation for new_order. (#124790, Tim-Philipp Müller)Matthias Clasen2004-01-312-4/+5
| | | | | | | | | * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Correct the documentation for new_order. (#124790, Tim-Philipp Müller) * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width): Reset use_resized_width when setting fixed_width. (#108612, Felipe Heidrich)
* Don't leak the GtkKeySnooperData. (#132038, R. McFarland)Matthias Clasen2004-01-311-2/+5
| | | | | | | Sat Jan 31 16:27:44 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkmain.c (gtk_key_snooper_remove): Don't leak the GtkKeySnooperData. (#132038, R. McFarland)
* Fixes #132975.Federico Mena Quintero2004-01-305-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-30 Federico Mena Quintero <federico@ximian.com> Fixes #132975. * gtk/gtkfilesystem.c (gtk_file_system_make_path): Return NULL, not FALSE. (gtk_file_system_volume_render_icon): Likewise. * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path): Likewise. * gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Return 0, not FALSE. * gtk/gtktoolbar.c (gtk_toolbar_get_drop_index): Return -1, not FALSE. * gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): Return 0, not FALSE. (gtk_text_iter_get_bytes_in_line): Likewise. * gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size): Likewise. * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Return FALSE, not 0.
* Fixes #132929.Not Zed2004-01-301-2/+6
| | | | | | | | | 2004-01-30 Not Zed <NotZed@Ximian.com> Fixes #132929. * gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout handler when we clear the timeout id.
* Fix #129872, based on a patch by Jan Arne Petersen <jpetersen@uni-bonn.de>Federico Mena Quintero2004-01-302-48/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-30 Federico Mena Quintero <federico@ximian.com> Fix #129872, based on a patch by Jan Arne Petersen <jpetersen@uni-bonn.de> * gtk/gtkfilesystemunix.c (gtk_file_system_unix_list_bookmarks): Implement. (gtk_file_system_unix_add_bookmark): Implement. (gtk_file_system_unix_remove_bookmark): Implement. 2004-01-29 Federico Mena Quintero <federico@ximian.com> Fixes #132693. * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_parent): Don't use filename_from_path(). Also, check that the filename is absolute. (gtk_file_system_unix_get_folder): Likewise. (gtk_file_system_unix_create_folder): Likewise. (gtk_file_system_unix_make_path): Likewise. (gtk_file_system_unix_parse): Likewise. (gtk_file_folder_unix_get_info): Likewise. (filename_from_path): Removed.
* Remove C++ comment; reported by Damien Carbery <damien.carbery@sun.com>.Federico Mena Quintero2004-01-301-1/+1
| | | | | | | 2004-01-30 Federico Mena Quintero <federico@ximian.com> * gtk/gtkcalendar.c (arrow_action): Remove C++ comment; reported by Damien Carbery <damien.carbery@sun.com>. Fixes #132956.
* Add properties to GtkAdjustment. (#64601, Murray Cumming)Matthias Clasen2004-01-291-12/+179
| | | | | | | Fri Jan 30 00:45:46 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkadjustment.c: Add properties to GtkAdjustment. (#64601, Murray Cumming)
* gtk/gtktextlayout.c (line_display_iter_to_index) Only adjust the preeditOwen Taylor2004-01-291-7/+13
| | | | | | | | | | | | | | | | | | | Thu Jan 29 18:08:06 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtktextlayout.c (line_display_iter_to_index) * gtk/gtktextlayout.c (line_display_index_to_iter): Only adjust the preedit position for lines that include the preedit string. (#132353, Yao Zhang). How the heck did this work as well as it did?!?! * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): Reverse change to change of XNFilterEvents event mask from #110493 -- it's documented and in the Xlib code an unsigned long. * modules/input/gtkimcontextxim.c (preedit_start_callback): Return -1 rather than void to indicate no length limit. (#129548)
* Allow NULL for strings to clear the list. (#105386, Marco Pesenti Gritti)Matthias Clasen2004-01-291-2/+2
| | | | | | | Fri Jan 30 00:13:46 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcombo.c (gtk_combo_set_popdown_strings): Allow NULL for strings to clear the list. (#105386, Marco Pesenti Gritti)
* Free font_desc. Fixes #132805.Richard Hult2004-01-291-1/+3
| | | | | | | 2004-01-28 Richard Hult <richard@imendio.com> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): Free font_desc. Fixes #132805.
* Free the GError. Patch provided by Christian PerschFederico Mena Quintero2004-01-291-0/+1
| | | | | | | 2004-01-29 Federico Mena Quintero <federico@ximian.com> * gtk/gtkiconfactory.c (render_icon_name_pixbuf): Free the GError. Patch provided by Christian Persch <chpe@stud.uni-saarland.de>
* nul-terminate the target atoms. (#132656, Christian Persch)Owen Taylor2004-01-291-2/+5
| | | | | | | Thu Jan 29 11:00:18 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtkselection.c (gtk_selection_default_handler): nul-terminate the target atoms. (#132656, Christian Persch)
* Don't leak path if we bail out early. (#132505, Christian Persch)Matthias Clasen2004-01-281-1/+4
| | | | | | | Thu Jan 29 00:59:03 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered): Don't leak path if we bail out early. (#132505, Christian Persch)
* Do reference counting on the user_data that is shared between multipleMatthias Clasen2004-01-281-6/+59
| | | | | | | | | Thu Jan 29 00:48:47 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkactiongroup.c (gtk_action_group_add_toggle_actions_full): * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): Do reference counting on the user_data that is shared between multiple signal handlers, to avoid calling the destroy notify multiple times. (#132447, Adam Hooper)
* new GTK_STOCK_NETWORK ... gtk/gtkstock.[hc] : ... define ...Hans Breuer2004-01-289-65/+79
| | | | | | | | | | | | | | | | | | 2004-01-28 Hans Breuer <hans@breuer.org> * gtk/stock-icons/stock_network_(16|24).png : new GTK_STOCK_NETWORK ... gtk/gtkstock.[hc] : ... define ... gtk/gtkiconfactory.c : ... register ... gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc : ... compile ... * gtk/gtkfilesystemwin32.c : ... and use. Also adapt to recent IFace changes. * gtk/gtk.def : added a bunch of new exported symbols * tests/testfilechooser.c (no_backup_files_filter) : don't crash on filter_info->display_name being NULL * tests/testgtk.c : make testgtk --bench=all work again
* Don't leak string. (#132482, Christian Persch)Matthias Clasen2004-01-281-0/+2
| | | | | | | Wed Jan 28 21:40:47 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkentrycompletion.c (gtk_entry_completion_action_data_func): Don't leak string. (#132482, Christian Persch)
* Fix #132314.Federico Mena Quintero2004-01-273-239/+219
| | | | | | | | | | | | | | | | 2004-01-27 Federico Mena Quintero <federico@ximian.com> Fix #132314. * gtk/gtkfilesystem.h: Removed the #ifdef-ed out, old icon API. * gtk/gtkfilesystem.c: Likewise. * gtk/gtkfilesystemunix.c (filename_get_info): Removed the old icon-type code. (gtk_file_system_unix_render_icon): Moved the icon-rendering code from GtkFileInfo to here. (gtk_file_system_unix_volume_render_icon): Implement.
* Remove obsolete comment.Soeren Sandmann2004-01-271-29/+48
| | | | | | | | | | | | | | | | | | | Tue Jan 27 01:56:46 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c: Remove obsolete comment. * gtk/gtktoolbar.c (DEFAULT_SPACE_SIZE, SPACE_LINE_START, SPACE_LINE_END): Make separators wider and taller, so they are easier to pick up when editing the toolbar. * gtk/gtktoolbar.c (slide_idle_handler): Add a comment, simplify a bit, * gtk/gtktoolbar.c (rect_within): Formatting fix * gtk/gtktoolbar.c (gtk_toolbar_set_drop_highlight_item): Make sliding feel more responsive by only restarting sliding when the placeholder actually changes its goal allocation.
* Avoid a compiler warning. (#122725, Kjartan Maraas)Matthias Clasen2004-01-271-2/+2
| | | | | | | Tue Jan 27 02:00:37 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktreeitem.c (gtk_tree_item_add_pixmaps): Avoid a compiler warning. (#122725, Kjartan Maraas)
* Make menus work better on Xinerama (#126150):Matthias Clasen2004-01-272-5/+5
| | | | | | | | | | | | Tue Jan 27 01:46:54 2004 Matthias Clasen <maclas@gmx.de> Make menus work better on Xinerama (#126150): * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Calculate the monitor_num on the screen of the menu, not of the attach widget. * gtk/gtkmenu.c (menu_change_screen): Forget the stored monitor_num. (gtk_menu_window_size_request): Remember the monitor_num.
* Fix #105497; constify uses of GdkColor.Federico Mena Quintero2004-01-2614-73/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-26 Federico Mena Quintero <federico@ximian.com> Fix #105497; constify uses of GdkColor. * gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify. (gdk_gc_set_rgb_bg_color): Constify. (gdk_gc_set_foreground): Constify. * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify. * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify. * gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify. * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify. * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify. * gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify. * gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify. * gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify. * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify. * gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify. (gdk_draw_layout_with_colors): Constify. * gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify. (gdk_pixmap_colormap_create_from_xpm): Constify. (gdk_pixmap_create_from_xpm): Constify. (gdk_pixmap_colormap_create_from_xpm_d): Constify. (gdk_pixmap_create_from_xpm_d): Constify. * gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify. * gtk/gtkclist.c (gtk_clist_set_foreground): Constify. (gtk_clist_set_background): Constify. * gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify. (gtk_color_button_set_color): Constify. * gtk/gtkcolorsel.c (gtk_color_selection_set_current_color): Constify and add a check for color != NULL. (gtk_color_selection_get_current_color): Add a check for color != NULL. (gtk_color_selection_set_previous_color): Constify and add a check for color != NULL. (gtk_color_selection_get_previous_color): Add a check for color != NULL. * gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify. (gtk_ctree_node_set_background): Constify. * gtk/gtktext.c (gtk_text_insert): Constify. (insert_text_property): Constify. (text_properties_equal): Constify. (new_text_property): Constify. * gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify. (gtk_widget_modify_fg): Constify. (gtk_widget_modify_bg): Constify. (gtk_widget_modify_text): Constify. (gtk_widget_modify_base): Constify.
* Base the decision to map/unmap items on whether they are actuallySoeren Sandmann2004-01-251-38/+73
| | | | | | | | | | | | | | | | | | | | Sun Jan 25 15:14:46 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Base the decision to map/unmap items on whether they are actually allocated outside the toolbar, not on whether that will eventually happen. Improves animation in the presence of overflown items. * gtk/gtktoolbar.c (gtk_toolbar_begin_sliding): Add a queue_resize() to so that the items will get their new goal values and the idle handler will not immediately return FALSE. * gtk/gtktoolbar.c (slide_idle_handler): simplify the logic and make sure that a placeholder becoming invisible doesn't cause a return TRUE. * gtk/gtktoolbar.c (get_item_size): Don't special case placeholders here.
* Only try to pack icon if there actually is one.Soeren Sandmann2004-01-242-16/+55
| | | | | | | | | | | | | | | Sat Jan 24 23:17:27 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only try to pack icon if there actually is one. * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure OVERFLOWN items get an allocation even when they are unmapped. This ensures they will slide in properly. * gtk/gtktoolbar.c (slide_idle_handler): Make sure we return TRUE when there are overflown items that need to slide in. Also add comments and make formatting more readable.
* Add a write-only property ::group to be consistent with GtkRadioAction andSoeren Sandmann2004-01-241-2/+62
| | | | | | | | | Sat Jan 24 17:38:48 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkradiotoolbutton.c (gtk_radio_tool_button_class_init): Add a write-only property ::group to be consistent with GtkRadioAction and GtkRadioButton. (#132159, Patch from Olivier Andrieu)
* Don't leak the font description. (#132168)Matthias Clasen2004-01-231-0/+2
| | | | | | | Fri Jan 23 23:46:12 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the font description. (#132168)
* Fix #132247.Federico Mena Quintero2004-01-231-24/+44
| | | | | | | | | | | | | | | | | | | | | 2004-01-23 Federico Mena Quintero <federico@ximian.com> Fix #132247. * gtk/gtkfilechooserdefault.c (set_select_multiple): Handle folder mode. (set_select_multiple): Optionally notify about changes to the select-multiple property. (list_selection_changed): Change the condition for the editable row to test for save mode; this is more clear than testing for not being in multiple selection mode. (gtk_file_chooser_default_get_paths): Get impl->action directly rather than calling gtk_file_chooser_get_action(). (entry_activate): Likewise. (set_select_multiple): Annotate about #133255. (update_chooser_entry): Likewise. (check_preview_change): Likewise. (tree_selection_changed): Likewise.
* Don't crash when there are no columns, or all columns are hidden, #131402Jonathan Blandford2004-01-231-6/+16
| | | | | | | Fri Jan 23 14:56:18 2004 Jonathan Blandford <jrb@gnome.org> * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): Don't crash when there are no columns, or all columns are hidden, #131402
* Changing to 200 was a mistake. Change back to 225.Soeren Sandmann2004-01-231-1/+1
| | | | | | | Fri Jan 23 16:58:28 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): Changing to 200 was a mistake. Change back to 225.
* Check if the completion is the same one as the old one.Anders Carlsson2004-01-233-2/+5
| | | | | | | | | | | | 2004-01-23 Anders Carlsson <andersca@gnome.org> * gtk/gtkentry.c: (gtk_entry_set_completion): Check if the completion is the same one as the old one. * gtk/gtkentrycompletion.c: * gtk/gtkentrycompletion.h: Move GET_PRIVATE macro into .c file, fix a trivial spelling error.
* Patch from Christian Neumair to make warning string more translatorOwen Taylor2004-01-225-18/+18
| | | | | | | | | | | | | | | | Thu Jan 22 18:45:26 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtkicontheme.c: Patch from Christian Neumair to make warning string more translator friendly. * gtk/gtktreemodelfilter.h gtkseparatortoolitem.[ch] gtk/gtktoolbar.c: Parameter name fixes to keep gtk-doc happy. * configure.in: Require GLib-2.3.2, version 2.3.2, interface age 0, binary age 302. * NEWS: Organized, added some names.
* Doc fix.Jonathan Blandford2004-01-221-1/+1
| | | | | | Thu Jan 22 16:59:36 2004 Jonathan Blandford <jrb@gnome.org> * gtk/gtkliststore.c (gtk_list_store_reorder): Doc fix.
* Added documentation for GtkWidget::popup_menu.Federico Mena Quintero2004-01-221-0/+12
| | | | | | | 2004-01-22 Federico Mena Quintero <federico@ximian.com> * gtk/gtkwidget.c (gtk_widget_class_init): Added documentation for GtkWidget::popup_menu.
* Remove the attach info after calling gtk_menu_do_remove(), since thatMatthias Clasen2004-01-221-3/+4
| | | | | | | | | | | Thu Jan 22 21:45:24 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkmenu.c (gtk_menu_remove): Remove the attach info after calling gtk_menu_do_remove(), since that function uses the attach info. Doh! * gtk/gtkmenu.c (gtk_menu_do_remove): Don't check priv->columns for being 1 directly after setting it to 0.
* Free the path fields.Federico Mena Quintero2004-01-223-1/+24
| | | | | | | | | | | | | | | | | 2004-01-21 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): Free the path fields. * gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): Free the root_path, reported by <scott@asofyet.org> (gtk_file_system_model_finalize): Unref the file system. * gtk/gtkfilefilter.c (filter_rule_free): default: g_assert_not_reached(). (gtk_file_filter_finalize): Free the filter->name, reported by <scott@asofyet.org> (gtk_file_filter_finalize): Free the rules list.
* redraw the color button when an alpha is set.Jonathan Blandford2004-01-211-1/+13
| | | | | | | | | Wed Jan 21 18:10:40 2004 Jonathan Blandford <jrb@gnome.org> * gtk/gtkcolorbutton.c (gtk_color_button_set_color):redraw the color button when an alpha is set. (gtk_color_button_set_alpha): redraw the color button when an alpha is set.
* Fix #131869:Matthias Clasen2004-01-212-6/+19
| | | | | | | | | | | | | Wed Jan 21 23:27:14 2004 Matthias Clasen <maclas@gmx.de> Fix #131869: * gtk/gtkaction.c (_gtk_action_emit_activate): Hold a reference to the group while emitting the signals. * gtk/gtkactiongroup.c (gtk_action_group_init): Use a destroy notify which does not only unref, but also resets the action_group property of the action.
* Sync from upstreamJonathan Blandford2004-01-213-10/+17
| | | | | | | Wed Jan 21 09:33:13 2004 Jonathan Blandford <jrb@gnome.org> * libgnomevfs/xdgmimeglob.c: * libgnomevfs/xdgmimemagic.c: Sync from upstream
* Fix #99425, add accessor functions for GtkPaned's children.Federico Mena Quintero2004-01-202-0/+39
| | | | | | | | | 2004-01-20 Federico Mena Quintero <federico@ximian.com> Fix #99425, add accessor functions for GtkPaned's children. * gtk/gtkpaned.c (gtk_paned_get_child1): New function. (gtk_paned_get_child2): New function.
* Fixes for #130370, based on a patch by Michael Meeks:Matthias Clasen2004-01-201-21/+58
| | | | | | | | | | | | | | | | | | Tue Jan 20 22:11:31 2004 Matthias Clasen <maclas@gmx.de> Fixes for #130370, based on a patch by Michael Meeks: * gtk/gtkmenu.c (gtk_menu_do_remove): New auxiliary function to adjust cell positions and recalculate row and column counts after removing an item. * gtk/gtkmenu.c (gtk_menu_remove): Call gtk_menu_do_remove. * gtk/gtkmenu.c (gtk_menu_do_insert): Don't leave empty rows when appending items. * gtk/gtkmenu.c (gtk_menu_attach): Don't call gtk_menu_shell_append, to avoid an unintended recursion.
* resync with upstream sources.Jonathan Blandford2004-01-209-74/+146
| | | | | | Tue Jan 20 13:07:04 2004 Jonathan Blandford <jrb@gnome.org> * xdgmime.c: resync with upstream sources.
* add stock indent, unindent I would have prefered outdent, butJody Goldberg2004-01-209-2/+52
| | | | | | | | | | | | | | | | | | | | | | 2004-01-05 Jody Goldberg <jody@gnome.org> * gtk/gtkiconfactory.c (get_default_icons) : add stock indent, unindent I would have prefered outdent, but compatibility seems more important. * gtk/gtkstock.c (builtin_items) : ditto. * gtk/gtkstock.h : ditto. * gtk/stock-icons/Makefile.am : ditto. * gtk/stock-icons/stock_text_indent_16.png : * gtk/stock-icons/stock_text_indent_24.png : * gtk/stock-icons/stock_text_unindent_16.png : * gtk/stock-icons/stock_text_unindent_24.png : from gnome-icon-theme 2003-12-18 Jody Goldberg <jody@gnome.org> * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon)) : Add a sanity test to ensure that the base hicolor theme is installed. Silently failing to produce icons that apps assume exist in the theme seems like a bad idea.