GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

  1. 25 May, 2001 6 commits
    • Havoc Pennington's avatar
      fix so that default icons are created if you call gtk_stock_list_ids() · e0547220
      Havoc Pennington authored
      2001-05-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkiconfactory.c: fix so that default icons are created if
      	you call gtk_stock_list_ids()
      
      	* demos/gtk-demo/stock_browser.c (create_model): sort stock items
      	in list
      e0547220
    • Havoc Pennington's avatar
      forgot to add stock_browser.c · fe14698f
      Havoc Pennington authored
      fe14698f
    • Havoc Pennington's avatar
      get sizes an icon set can render without falling back to missing image · 87684f95
      Havoc Pennington authored
      2001-05-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): get sizes an icon
      	set can render without falling back to missing image icon
      
      	* gtk/gtktextview.c (gtk_text_view_size_request): request full
      	size of text, instead of random values
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_request): request full
      	size of tree view, instead of random values
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): render fallback
      	image in an appropriate size
      
              * gtk/gtkstock.h: Rename the stock items including _BUTTON_,
      	etc. not to include that. i.e. s/GTK_STOCK_BUTTON_OK/GTK_STOCK_OK/
      
              Throughout: fix GTK_STOCK_BUTTON_ instances
      
      	* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
      	gtk/gtkiconfactory.c, gtk/stock-icons/Makefile.am:
      	Add a bunch of new stock items/icons
      
      	* gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
      	new function, convenience for inserting columns with a data func
      
      	* gtk/gtkiconfactory.c: keep a list of all existing icon factories
      	(_gtk_icon_factory_list_ids): use list of all factories to
      	generate a list of all known IDs
      
      	* gtk/gtkstock.c (gtk_stock_list_ids): replace
      	gtk_stock_list_items() with a function that returns all IDs known
      	including those for GtkIconFactory.
      87684f95
    • Hans Breuer's avatar
      made fil mode GDK_STIPPLED actually work -> check boxes and radio buttons · b5db5d51
      Hans Breuer authored
      2001-05-25  Hans Breuer  <hans@breuer.org>
      
      	* gdk/win32/gdkgc-win32.c : made fil mode GDK_STIPPLED actually
      	work -> check boxes and radio buttons are drawn now, even on win9x.
      	Improved line settings a bit, still no clue how to get really dotted
      	lines on win9x, on NT it's PS_ALTERNATE.
      
      	* gdk/win32/gdkwindow-win32.c : use SafeAdjustWindowRect for
      	GDK_HINT_MIN_SIZE as well
      
      	* gdk/win32/makefile.am : added gdkkeys-win32.c to EXTRA_DIST
      
      	* gtk/gtk.def : updated
      
      	* gtk/gtktreeprivate.h : change column_drop_func to be a function
      	pointer not a function pointer pointer
      
      	* tests/testdnd.c : include <stdlib.h> for putenv prototype
      
      	* tests/testsocket.c : made it compile on win32 again
      
      	* tests/makefile.msc : one more test-app uses prop-editor.obj
      b5db5d51
    • Hans Breuer's avatar
      reflect Havoc's recent api change · c436d8e2
      Hans Breuer authored
      2001-05-25  Hans Breuer  <hans@breuer.org>
      
      	* gdk_pixbuf.def : reflect Havoc's recent api change
      c436d8e2
    • Havoc Pennington's avatar
      New function · b995aae4
      Havoc Pennington authored
      2001-05-22  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkbin.c (gtk_bin_get_child): New function
      b995aae4
  2. 24 May, 2001 1 commit
  3. 22 May, 2001 5 commits
    • Joe Shaw's avatar
      Simplify as suggested by Havoc. Just get the last iter and work backward · f508a7b7
      Joe Shaw authored
      2001-05-22  Joe Shaw  <joe@ximian.com>
      
      	* gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_last_toggle):
      	Simplify as suggested by Havoc. Just get the last iter and work
      	backward to the tag instead of getting a line and working back from
      	there. Fixes passing in an invalid offset to
      	iter_init_from_byte_offset().
      f508a7b7
    • Jonathan Blandford's avatar
      Added patch from Jeff Franks <jcf@tpg.com.au> to add GET_CLASS macros to · 04af1586
      Jonathan Blandford authored
      Tue May 22 16:25:27 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview*.h:
      	* gtk/gtkcell*.h:
      	* gtk/gtk*store.h:
      	Added patch from Jeff Franks <jcf@tpg.com.au> to add GET_CLASS
      	macros to all objects.
      04af1586
    • Jonathan Blandford's avatar
      Evil function to deal with very large (TM) amounts of text. May be moved · 66152ab6
      Jonathan Blandford authored
      Tue May 22 15:13:52 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderertext.c
      	(gtk_cell_renderer_text_set_fixed_size): Evil function to deal
      	with very large (TM) amounts of text.  May be moved to
      	GtkCellRenderer in the future, though I'm not sure it wants to be
      	this accessible.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
      	More sanity brought to this class.  I like it.
      
      	* tests/testtreecolumns.c (ViewColumnModel): Amazingly scary test
      	case.  Kids, don't try this at home.
      
      	* gtk/gtktreemodel.c (gtk_tree_model_get_iter_root): new
      	convenience function.
      
      	* gtk/gtkwindow.c (gtk_window_set_geometry_hints): Fix typo in docs.
      66152ab6
    • Kjartan Maraas's avatar
      Updated Norwegian translation. · e8d54ce0
      Kjartan Maraas authored
      2001-05-22  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian translation.
      e8d54ce0
    • Alexander Larsson's avatar
      Added properties. Based on patch by Lee Mallabone. · 811543ce
      Alexander Larsson authored
      2001-05-21  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkfontsel.c:
      	Added properties. Based on patch by Lee Mallabone.
      
      	* gtk/gtkruler.c:
      	* gtk/gtkhruler.c:
      	* gtk/gtkvruler.c:
      	* gtk/gtktext.c:
      	* gtk/gtktextview.c:
      	Converted GtkArg to GParam. Based on patches by John Margaglione.
      
      	* tests/Makefile.am:
      	* tests/testtext.c:
      	Add a property editor to testtext.
      811543ce
  4. 21 May, 2001 2 commits
  5. 20 May, 2001 3 commits
  6. 18 May, 2001 8 commits
    • Alexander Larsson's avatar
      Convert GtkArgs to GParams. Based on patch by John Margaglione. Also do · 7e1acba0
      Alexander Larsson authored
      2001-05-18  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkspinbutton.c:
      	Convert GtkArgs to GParams. Based on patch by John Margaglione.
      	Also do size request reasonable for MAXDOUBLE. Previously it printed
      	the limits to a buffer and overran it. Instead do it using log10() and
      	limit the width to 10 digits.
      
      	* gtk/gtkwidget.c (gtk_widget_get_property):
      	Correctly handle setting the parent property to NULL.
      7e1acba0
    • Owen Taylor's avatar
      Reset style attributes even if the widget isn't realized. · aa4a41fa
      Owen Taylor authored
      Fri May 18 15:26:26 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_style_set): Reset
      	style attributes even if the widget isn't realized.
      
      	* demos/gtk-demo/main.c: Use a slightly smaller font.
      aa4a41fa
    • Owen Taylor's avatar
      Remove reallocate-redraws property. This is something that only a widget · 50512ddc
      Owen Taylor authored
      Fri May 18 14:25:20 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcontainer.c: Remove reallocate-redraws property.
      	This is something that only a widget writer would ever want
      	to change.
      
      	* gtk/gtksignal.c: Handle G_SIGNAL_TYPE_STATIC_SCOPE for
      	gtk_signal_emit_by_name().
      
      	* gtk/gtkviewport.c: Fix some warnings.
      
      	* gtk/gtkwidget.c gtk/gtksizegroup.c: Add "size group" facility
      	allowing the requisitions of multiple widgets to be grouped
      	together.
      
      	* tests/testgtk.c: Add GtkSizeGroup test
      
      	* demos/gtk-demo/sizegroup.c: Add GtkSizeGroup demo.
      
      	* demos/gtk-demo/main.c demos/gtk-demo/pixbufs.c: Fix some
      	warnings.
      
      	* configure.in: Switch to using AM_GLIB_GNU_GETTEXT.
      50512ddc
    • Owen Taylor's avatar
      Add documentation about GtkSizeGroup. · 02d5f41c
      Owen Taylor authored
      Fri May 18 12:28:08 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/tmpl/gtksizegroup.sgml gtk/gtk-sections.txt gtk/gtk.types:
      	Add documentation about GtkSizeGroup.
      02d5f41c
    • Martin Baulig's avatar
      Renamed gtk_image_menu_item_add_icon() to gtk_image_menu_item_set_icon() · 60530b8a
      Martin Baulig authored
      2001-04-28  Martin Baulig  <baulig@suse.de>
      
      	* gtk/gtkimagemenuitem.[ch]: Renamed gtk_image_menu_item_add_icon()
      	to gtk_image_menu_item_set_icon() and made it work if there's already
      	an image.
      	(gtk_image_menu_item_new): This function doesn't take any arguments anymore.
      	(gtk_image_menu_item_new_with_label): New function.
      60530b8a
    • Kenneth Christiansen's avatar
      small changes · 8be15042
      Kenneth Christiansen authored
      8be15042
    • Jonathan Blandford's avatar
      It's the worlds ugliest highlighting code!!!! The result is okay so long · 009212ad
      Jonathan Blandford authored
      Thu May 17 16:20:04 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* demos/gtk-demo/main.c (fontify): It's the worlds ugliest
      	highlighting code!!!!  The result is okay so long as you don't try
      	to stress it.  It also highlights a bug in the TextView so it's in
      	an unproportional font right now until it's fixed.
      
      	*demos/gtk-demo/*.c: Clean up code a bit to make it
      	ugly-parser(TM) friendly. (-:
      009212ad
    • Joe Shaw's avatar
      Remove the assertions that x_offset and y_offset must be >= 0. Clip the · 288ff7e0
      Joe Shaw authored
      2001-05-17  Joe Shaw  <joe@ximian.com>
      
      	* gtk/gtktextdisplay.c (gtk_text_layout_draw): Remove the assertions
      	that x_offset and y_offset must be >= 0. Clip the cursor being drawn
      	if it is only partially onscreen.
      288ff7e0
  7. 17 May, 2001 6 commits
  8. 16 May, 2001 4 commits
    • Owen Taylor's avatar
      un May 13 12:01:12 2001 Owen Taylor <otaylor@redhat.com> · be277ae4
      Owen Taylor authored
              * autogen.sh (have_automake): Require libtool-1.4,
              automake-1.4p1.
      
              * acinclude.m4: Remove libtool macros.
      
              * gdk-pixbuf/Makefile.am: Add dependencies to loade
              modules.
      
              * gdk/Makefile.am: Add dependency on libgdk_pixbuf.la
              for libgdk.
      
              * gtk/Makefile.am: Add dependency on libgdk_pixbuf.la
              libgdk.la for libgtk.
      
              * modules/input/Makefile.am: Make modules have full
              dependencies.
      be277ae4
    • Owen Taylor's avatar
      Require libtool-1.4, automake-1.4p1. · 55b115ac
      Owen Taylor authored
      Sun May 13 12:01:12 2001  Owen Taylor  <otaylor@redhat.com>
      
              * autogen.sh (have_automake): Require libtool-1.4,
              automake-1.4p1.
      
              * acinclude.m4: Remove libtool macros.
      
              * gdk-pixbuf/Makefile.am: Add dependencies to loade
              modules.
      
              * gdk/Makefile.am: Add dependency on libgdk_pixbuf.la
              for libgdk.
      
              * gtk/Makefile.am: Add dependency on libgdk_pixbuf.la
              libgdk.la for libgtk.
      
              * modules/input/Makefile.am: Make modules have full
              dependencies.
      55b115ac
    • Jonathan Blandford's avatar
      fix bug #54699 where paths weren't being checked for correctness. · 97fb7b78
      Jonathan Blandford authored
      Wed May 16 14:06:01 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): fix bug
      	#54699 where paths weren't being checked for correctness.
      97fb7b78
    • Jonathan Blandford's avatar
      You can now set all sorts of properties in any order you wan, whether or · 2970a2fe
      Jonathan Blandford authored
      Tue May 15 20:13:24 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c: You can now set all sorts of properties
      	in any order you wan, whether or not the column is added to the
      	tree, or the tree is realized.  Yay!
      
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_setup_sort_column_id_callback): handle
      	sorting columns a lot saner
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_reorderable):
      	new function to actually set wether or not a column is
      	reorderable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_unrealize): Only destroy things
      	if we have 'em.
      
      	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_set_tree_view):
      	Fix nasty bug where we were showing the button just before
      	realizing it.  As a result, the parent window was
      	tree_view->window instead of tree_view->priv->header_window.
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_reorderable): new property
      	to let you easily reorder a list or tree.
      2970a2fe
  9. 15 May, 2001 5 commits