1. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  2. 31 Aug, 2005 2 commits
  3. 26 Aug, 2005 1 commit
  4. 15 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Add some more tests for menu placement. · 24a55633
      Matthias Clasen authored
      2005-08-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testtoolbar.c: Add some more tests for menu placement.
      
      	* gtk/gtkmenutoolbutton.c (menu_position_func):
      	* gtk/gtktoolbar.c (menu_position_func): Improve positioning
      	of toolbutton menus and of the overflow menu.  (#312937,
      	#153870, Christian Persch, Paolo Borelli)
      24a55633
  5. 10 Jun, 2005 1 commit
    • Matthias Clasen's avatar
      · 80bf176f
      Matthias Clasen authored
      2005-06-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand):
      	* gtk/gtktoolbar.c (gtk_toolbar_get_show_arrow):
      	* gtk/gtktextview.c (gtk_text_view_get_iter_at_position):
      	* gtk/gtkstock.c (gtk_stock_set_translate_func):
      	* gtk/gtkspinbutton.c (gtk_spin_button_get_adjustment):
      	* gtk/gtkscrolledwindow.h:
      	* gtk/gtkmenushell.c (gtk_menu_shell_get_take_focus):
      80bf176f
  6. 16 May, 2005 1 commit
  7. 04 Apr, 2005 1 commit
  8. 26 Mar, 2005 1 commit
  9. 22 Mar, 2005 1 commit
  10. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  11. 09 Mar, 2005 1 commit
  12. 23 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Add a deprecation note. · 5c47de58
      Matthias Clasen authored
      2004-11-22  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size): Add a deprecation
      	note.
      5c47de58
  13. 14 Sep, 2004 1 commit
    • Søren Sandmann's avatar
      Call gtk_tool_item_rebuild_menu(). · 59207896
      Søren Sandmann authored
      Tue Sep 14 23:20:56 2004  Søren Sandmann  <sandmann@redhat.com>
      
      	* gtk/gtkaction.c (connect_proxy): Call
      	gtk_tool_item_rebuild_menu().
      
      	* gtk/gtktoolitem.c (gtk_tool_item_class_init): Update
      	documentation for GtkToolItem::create_menu_proxy.
      
      	* gtk/gtktoolitem.c (gtk_tool_item_rebuild_menu): New
      	API to make the toolbar update itself when the proxy menu item
      	for a tool item changes.
      
      	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Call
      	gtk_tool_item_rebuild_menu here()
      
      	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
      	Remove redundant check for need_label.
      59207896
  14. 08 Sep, 2004 1 commit
    • Soeren Sandmann's avatar
      Make dropping of expandable items look nicer. · e0b2ead3
      Soeren Sandmann authored
      Wed Sep  8 18:38:08 2004  Soeren Sandmann  <sandmann@redhat.com>
      
      	Make dropping of expandable items look nicer.
      
      	* gtk/gtktoolbar.c (gtk_toolbar_set_drop_highlight_item): Make
      	placeholder expand if highlight item is expanding.
      
      	* gtk/gtktoolbar.c (toolbar_content_set_expand): New function.
      
      	* gtk/gtktoolbar.c (toolbar_content_get_expand): Return TRUE only
      	if the item is not disappering.
      e0b2ead3
  15. 04 Sep, 2004 1 commit
  16. 01 Sep, 2004 1 commit
  17. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  18. 24 Jul, 2004 1 commit
  19. 22 Jul, 2004 1 commit
  20. 21 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Remove trailing commas from enumerations. (#148035) · 44663458
      Matthias Clasen authored
      Tue Jul 20 22:26:29 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooserutils.h:
      	* gtk/gtktoolbutton.c:
      	* gtk/gtktoolbar.c:
      	* gtk/gtkicontheme.c:
      	* gtk/gtkcalendar.c:
      	* demos/gtk-demo/ui_manager.c:
      	* demos/gtk-demo/appwindow.c: Remove trailing commas
      	from enumerations.  (#148035)
      44663458
  21. 05 Jun, 2004 1 commit
    • Soeren Sandmann's avatar
      Add a checkbox to queue an merge/unmerge. Patch from Matthias Clasen. · e47c0d46
      Soeren Sandmann authored
      Sat Jun  5 20:05:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* tests/testmerge.c: Add a checkbox to queue an
      	merge/unmerge. Patch from Matthias Clasen.
      
      	* gtk/gtktoolbar.c (struct _GtkToolbarPrivate): Add a new flag
      	"need_rebuild"
      	(rebuild_menu): New function that rebuilds the overflow menu and
      	makes sure it doesn't start or end with a separator.
      	(toolbar_content_new_tool_item)
      	(toolbar_content_remove)
      	(toolbar_content_new_compatibility): Set the rebuild_needed flag
      	(gtk_toolbar_size_allocate): Only show the overflow arrow when we
      	have actually overflown an item with a proxy menu item. Also make
      	sure we rebuild the menu if needed.
      
      	Fix #125504, #142377, #143463
      
      	* gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose):
      	Obey the "priv->draw" flag. (#143692)
      e47c0d46
  22. 02 Jun, 2004 1 commit
  23. 19 Apr, 2004 1 commit
  24. 12 Mar, 2004 1 commit
    • Owen Taylor's avatar
      Swap GTK_ARROW_LEFT and GTK_ARROW_RIGHT for GTK_TEXT_DIR_LTR. (#129159, · dcb6900c
      Owen Taylor authored
      Fri Mar 12 17:20:15 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkarrow.c (gtk_arrow_expose): Swap GTK_ARROW_LEFT
              and GTK_ARROW_RIGHT for GTK_TEXT_DIR_LTR. (#129159,
              Semion Chichelnitsky)
      
              * gtk/gtkpathbar.c gtk/gtktoolbar.c: Remove no-longer-needed
              gtk_toolbar_direction-changed handlers and explicit
              flipping of GtkArrow widgets.
      dcb6900c
  25. 09 Mar, 2004 1 commit
    • Soeren Sandmann's avatar
      Add boolean destroying (gtk_menu_destroy): Set priv->destroying · db6cc5f7
      Soeren Sandmann authored
      Tue Mar  9 02:11:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkmenu.c Fix bug 136446.
      	(struct _GtkMenuPrivate): Add boolean destroying
      	(gtk_menu_destroy): Set priv->destroying
      	(gtk_menu_remove): don't update the table information when the
      	menu is being destroyed.
      
      	* gtk/gtkmenu.c (gtk_menu_set_monitor): Formatting fix
      
      	* gtk/gtktoolbar.[ch]: Some formatting fixes
      db6cc5f7
  26. 06 Mar, 2004 2 commits
  27. 26 Feb, 2004 1 commit
    • Soeren Sandmann's avatar
      New function. Use resize cursors for resize grips. (Bug #129621) · dc0718bd
      Soeren Sandmann authored
      Thu Feb 26 23:26:00 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkstatusbar.c (set_grip_cursor): New function. Use resize
      	cursors for resize grips. (Bug #129621)
      
      	* gtk/gtktoolbar.c (gtk_toolbar_get_relief_style): Documentation
      	fix - patch by Torsten Schoenfeld.
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_size_request): don't request
      	space between the items. (Bug #110775)
      
      	* gtk/gtkrc.c (_gtk_rc_init): Provide extra horizontal padding
      	inside menu items that are inside a menu bar. (Bug #110775)
      
      	* configure.in (HAVE_XCURSOR): Make XCurosr part of GDK_EXTRA_,
      	not GDK_PACKAGES, to prevent applications from getting linked to
      	it (Bug #119804)
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Put the vertical
      	ipadding inside the item. (Bug #61843)
      dc0718bd
  28. 16 Feb, 2004 1 commit
  29. 12 Feb, 2004 1 commit
  30. 06 Feb, 2004 1 commit
  31. 04 Feb, 2004 1 commit
  32. 01 Feb, 2004 2 commits
  33. 30 Jan, 2004 1 commit
    • 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
  34. 27 Jan, 2004 1 commit
    • 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
  35. 25 Jan, 2004 1 commit
    • 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
  36. 24 Jan, 2004 1 commit
    • 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
  37. 22 Jan, 2004 1 commit
    • Owen Taylor's avatar
      Patch from Christian Neumair to make warning string more translator · 1b2ff84c
      Owen Taylor authored
      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.
      1b2ff84c