1. 30 Jan, 2004 5 commits
    • Federico Mena Quintero's avatar
      Fixes #132975. · a9fbfc99
      Federico Mena Quintero authored
      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.
      a9fbfc99
    • Not Zed's avatar
      Fixes #132929. · ca644c41
      Not Zed authored
      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.
      ca644c41
    • Federico Mena Quintero's avatar
      Fix #129872, based on a patch by Jan Arne Petersen <jpetersen@uni-bonn.de> · 275cf046
      Federico Mena Quintero authored
      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.
      275cf046
    • Federico Mena Quintero's avatar
      Remove C++ comment; reported by Damien Carbery <damien.carbery@sun.com>. · c43721c8
      Federico Mena Quintero authored
      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.
      c43721c8
    • Owen Taylor's avatar
      Revert changes from #113476 and go back to using XftDrawSetClip, because · 1378322f
      Owen Taylor authored
      Fri Jan 30 11:37:37 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdrawable-x11.c: Revert changes from
              #113476 and go back to using XftDrawSetClip, because
              XftDrawSetClipRectangles is buggy in XFree86-4.3.
      1378322f
  2. 29 Jan, 2004 5 commits
  3. 28 Jan, 2004 6 commits
    • Matthias Clasen's avatar
      Don't leak path if we bail out early. (#132505, Christian Persch) · 026542e2
      Matthias Clasen authored
      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)
      026542e2
    • Matthias Clasen's avatar
      Do reference counting on the user_data that is shared between multiple · b3ecd290
      Matthias Clasen authored
      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)
      b3ecd290
    • Hans Breuer's avatar
      new GTK_STOCK_NETWORK ... gtk/gtkstock.[hc] : ... define ... · 2d19ee19
      Hans Breuer authored
      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
      2d19ee19
    • Matthias Clasen's avatar
      Don't leak string. (#132482, Christian Persch) · 4f672856
      Matthias Clasen authored
      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)
      4f672856
    • Manish Singh's avatar
      quote AC_DEFUN macro names so automake 1.8 won't whine at us. · 575702f5
      Manish Singh authored
      Tue Jan 27 18:45:47 2004  Manish Singh  <yosh@gimp.org>
      
              * m4macros/gtk-2.0.m4: quote AC_DEFUN macro names so automake
              1.8 won't whine at us.
      575702f5
    • Tor Lillqvist's avatar
      Don' generate enter or leave events if the pointer is grabbed with · 4263ea15
      Tor Lillqvist authored
      2004-01-28  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (synthesize_leave_event,
      	synthesize_enter_event): Don' generate enter or leave events if
      	the pointer is grabbed with owner_events off, and the grab event
      	mask doesn't ask for them. (#129242)
      
      	(gdk_event_translate): Ditto for focus change events.
      4263ea15
  4. 27 Jan, 2004 6 commits
    • Federico Mena Quintero's avatar
      Fix #132314. · 7af769f9
      Federico Mena Quintero authored
      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.
      7af769f9
    • Changwoo Ryu's avatar
      Remove broken hangul input module. · 1e8cb462
      Changwoo Ryu authored
      	* modules/input/imhangul-defs.h:
      	* modules/input/imhangul.c:
      	* modules/input/Makefile.am: Remove broken hangul input module.
      1e8cb462
    • Soeren Sandmann's avatar
      Remove obsolete comment. · 55b5211d
      Soeren Sandmann authored
      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.
      55b5211d
    • Matthias Clasen's avatar
      Avoid a compiler warning. (#122725, Kjartan Maraas) · a2beab83
      Matthias Clasen authored
      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)
      a2beab83
    • Matthias Clasen's avatar
      Removed conflict markers. · edaa4182
      Matthias Clasen authored
      edaa4182
    • Matthias Clasen's avatar
      Make menus work better on Xinerama (#126150): · 519a586a
      Matthias Clasen authored
      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.
      519a586a
  5. 26 Jan, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #105497; constify uses of GdkColor. · 5ebb6b04
      Federico Mena Quintero authored
      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.
      5ebb6b04
  6. 25 Jan, 2004 3 commits
    • Christian Rose's avatar
      Added "mi" to ALL_LINGUAS. Added Maori translation by John C Barstow · 80a1e0de
      Christian Rose authored
      2004-01-26  Christian Rose  <menthos@menthos.com>
      
      	* configure.in: Added "mi" to ALL_LINGUAS.
      	* po/mi.po, po-properties/mi.po: Added Maori translation by
      	John C Barstow <jbowtie@amathaine.com>.
      80a1e0de
    • Tor Lillqvist's avatar
      If the WM_TRANSIENT_FOR property is being deleted, set the owner of the · 15567341
      Tor Lillqvist authored
      2004-01-25  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkproperty-win32.c (gdk_property_delete): If the
      	WM_TRANSIENT_FOR property is being deleted, set the owner of the
      	window to the root window (i.e., effectively unset it). (#132411)
      
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkglobals-win32.c
      	* gdk/win32/gdkmain-win32.c: Declare, define and initialize
      	_wm_transient_for, a GdkAtom for WM_TRANSIENT_FOR.
      
      	* acconfig.h: Remove HAVE_WINSOCK_H, not used any longer.
      15567341
    • Soeren Sandmann's avatar
      Base the decision to map/unmap items on whether they are actually · 27070f14
      Soeren Sandmann authored
      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.
      27070f14
  7. 24 Jan, 2004 2 commits
    • Soeren Sandmann's avatar
      Only try to pack icon if there actually is one. · 63f37a9e
      Soeren Sandmann authored
      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.
      63f37a9e
    • Soeren Sandmann's avatar
      Add a write-only property ::group to be consistent with GtkRadioAction and · c2afbf79
      Soeren Sandmann authored
      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)
      c2afbf79
  8. 23 Jan, 2004 5 commits
    • Matthias Clasen's avatar
      Don't leak the font description. (#132168) · 01129468
      Matthias Clasen authored
      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)
      01129468
    • Federico Mena Quintero's avatar
      Fix #132247. · 07de5917
      Federico Mena Quintero authored
      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.
      07de5917
    • Jonathan Blandford's avatar
      Don't crash when there are no columns, or all columns are hidden, #131402 · 65e277c5
      Jonathan Blandford authored
      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
      65e277c5
    • Soeren Sandmann's avatar
      Changing to 200 was a mistake. Change back to 225. · e133455a
      Soeren Sandmann authored
      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.
      e133455a
    • Owen Taylor's avatar
      === Released 2.3.2 === · 0d4709d4
      Owen Taylor authored
      Thu Jan 22 18:46:05 2004  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.3.2 ===
      0d4709d4
  9. 22 Jan, 2004 6 commits
    • Jonathan Blandford's avatar
      Doc fix. · e2551adb
      Jonathan Blandford authored
      Thu Jan 22 16:59:36 2004  Jonathan Blandford  <jrb@gnome.org>
      
              * gtk/gtkliststore.c (gtk_list_store_reorder): Doc fix.
      e2551adb
    • Federico Mena Quintero's avatar
      Added documentation for GtkWidget::popup_menu. · 2361bd9f
      Federico Mena Quintero authored
      2004-01-22  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): Added documentation for
      	GtkWidget::popup_menu.
      2361bd9f
    • Matthias Clasen's avatar
      Remove the attach info after calling gtk_menu_do_remove(), since that · d49500e4
      Matthias Clasen authored
      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.
      d49500e4
    • Soeren Sandmann's avatar
      Updates · 6a3e3b20
      Soeren Sandmann authored
      Thu Jan 22 21:38:52 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* NEWS: Updates
      6a3e3b20
    • Alexander Larsson's avatar
      Fix typo · 465d6e35
      Alexander Larsson authored
      2004-01-22  Alexander Larsson  <alexl@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (WINDOW_IS_TOPLEVEL):
      	Fix typo
      465d6e35
    • Federico Mena Quintero's avatar
      Free the path fields. · 56913b4b
      Federico Mena Quintero authored
      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.
      56913b4b
  10. 21 Jan, 2004 1 commit
    • Jonathan Blandford's avatar
      redraw the color button when an alpha is set. · 92362986
      Jonathan Blandford authored
      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.
      92362986