1. 24 Oct, 2000 5 commits
    • Jorge Godoy's avatar
      updating pt_BR translations · 873b316f
      Jorge Godoy authored
      873b316f
    • Jorge Godoy's avatar
      updating translations · 2b81e358
      Jorge Godoy authored
      2b81e358
    • Jorge Godoy's avatar
      ng some potfile translations and adding some translations... · bb3d6338
      Jorge Godoy authored
      
       ng some potfile translations and adding some translations...
      
       <!--
      bb3d6338
    • Christopher R. Gabriel's avatar
      Updated Italian translation · 83316aa4
      Christopher R. Gabriel authored
      2000-10-24  Christopher R. Gabriel  <cgabriel@softwarelibero.org>
      
              * it.po: Updated Italian translation
      83316aa4
    • Havoc Pennington's avatar
      Re-enable the "find" dialog · 86b5c82a
      Havoc Pennington authored
      2000-10-23  Havoc Pennington  <hp@redhat.com>
      
              * gtk/testtext.c: Re-enable the "find" dialog
      
      	* gtk/testgtk.c: Add test for gdk_drawable_get_image
      
      	* gdk/gdkwindow.c (gdk_window_begin_paint_region): Fix bug where
      	the arguments to gdk_draw_drawable were in the wrong order
      	(gdk_window_paint_init_bg): This function was ignoring the
      	init_region, instead of clipping to it, so the entire backing
      	pixmap was cleared on every begin_paint()
      	(gdk_window_begin_paint_region): Hmm, the same list-walking bug
      	was in here again, the loop kept using the same GtkWindowPaint
      	over and over.
      	(gdk_window_begin_paint_region): Fix a bug where we had two
      	x_offset instead of x_offset and y_offset
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): get composite drawable
      	before we get the image.
      	(gdk_draw_drawable): get the composite before we draw the drawable.
      	(gdk_drawable_real_get_composite_drawable): default
      	get_composite_drawable implementation that returns the drawable
      	itself
      
      	* gdk/gdkdrawable.h (struct _GdkDrawableClass ): Add
      	get_composite_drawable virtual function
      
      	* gdk/gdkwindow.c (gdk_window_begin_paint_region): Fix a cheesy
      	list-walking bug
      
      	* gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_drawable): Add a hack to
      	make this work if the source drawable is a GdkDrawableImplX11
      	instead of a public drawable type. This is really broken; the
      	problem is that GdkDrawable needs a virtual method get_xid(), but
      	of course that doesn't work in practice. Enter RTTI.
      
      	Also, improve mismatched depth message.
      
      	* gdk/gdkpixmap.c (gdk_pixmap_get_image): Implement get_image for
      	GdkPixmap
      
      	* gdk/x11/gdkdrawable-x11.c (gdk_drawable_impl_x11_class_init):
      	install _gdk_x11_get_image as our implementation of get_image
      
      	* gdk/x11/gdkimage-x11.c (gdk_image_get): Rename to
      	_gdk_x11_get_image and export for use in gdkdrawable-x11.c
      
      	* gdk/gdkimage.c (gdk_image_get): Make this just a wrapper around
      	gdk_drawable_get_image
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): call virtual get_image
      
      	* gdk/gdkdrawable.h (struct _GdkDrawableClass ): Virtualize
      	get_image
      
      	* gtk/gtktreestore.c (gtk_tree_store_get_node): remove weird
      	trailing semicolon after for loop
      86b5c82a
  2. 23 Oct, 2000 4 commits
  3. 22 Oct, 2000 4 commits
    • Tor Lillqvist's avatar
      Typo. · fdd1f5ee
      Tor Lillqvist authored
      fdd1f5ee
    • Tor Lillqvist's avatar
      gdk/win32/gdkgc-win32.c Remove gcc -Wall warnings. · f49a2a00
      Tor Lillqvist authored
      2000-10-22  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkgc-win32.c
      	* gdk/win32/gdkimage-win32.c: Remove gcc -Wall warnings.
      
      	Patches by Hans Breuer:
      
      	* gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_glyphs): Call
      	SetBkMode() and SetTextAlign() before calling
      	pango_win32_render().
      
      	* gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values):
      	Set hcliprgn to NULL after destroying it.
      	(gdk_gc_set_clip_rectangle): Delete hcliprgn and set to NULL.
      
      	* gdk/win32/gdkgeometry-win32.c
      	(_gdk_windowing_window_queue_antiexpose): More effective
      	implementation.
      
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new): Use drawable's
      	depth as default, not the visual's.
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Guard
      	against empty title.
      
      	* gdk/win32/gdkprivate-win32.h: Define a helper macro,
      	IMAGE_PRIVATE_DATA.
      
      	* gdk/win32/gdkimage-win32.c (gdk_image_get_type): Use it.
      f49a2a00
    • Tor Lillqvist's avatar
      gtk/makefile.mingw.in Updates. · 5fd61965
      Tor Lillqvist authored
      2000-10-22  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/makefile.mingw.in
      	* gtk/gtk.def: Updates.
      
      	* gtk/testgtk.c: sleep() is called _sleep in MS's C
      	library.
      
      	* gtk/gtkimcontextsimple.c: Include <stdlib.h> for bsearch().
      
      	* gtk/makefile.msc: Remove
      
      	* gtk/makefile.msc.in: New file, like makefile.mingw.in.
      
      	* gtk/Makefile.am: Add it.
      
      	* configure.in: Generate it.
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_create_child_anchor)
      	* gtk/gtktextbtree.c (gtk_text_line_char_to_byte): Return
      	something even if not implemented, to satisfy picky MSVC.
      5fd61965
    • Robert Brady's avatar
      Check for bind_textdomain_codeset · 2f9aee8d
      Robert Brady authored
      2000-10-22  Robert Brady  <robert@suse.co.uk>
      
      	* configure.in: Check for bind_textdomain_codeset
      
      	* gtk/gtkmain.c (gtk_init_check): If bind_textdomain_codeset
      	present, make use of it.
      
      	Add a translatable string "default:LTR" which, if translated
      	to "default:RTL", will cause the default direction to be
      	Right-to-Left.
      
      	* gtk/gtkrange.h, gtk/gtkrange.c: Take into account the widget
      	direction if marked as flippable.
      
      	* gtk/gtkhscale.c: Mark widget as flippable.
      2f9aee8d
  4. 21 Oct, 2000 1 commit
    • Kenneth Christiansen's avatar
      Translations from Keld · b687405d
      Kenneth Christiansen authored
      bug-buddy/po/da.po gdm2/po/da.po gimp/po/da.po
      gnome-applets/po/da.po gnorpm/po/da.po gtk+/po/da.po
      gtkhtml/po/da.po mc/po/da.po oaf/po/da.po
      b687405d
  5. 20 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      create some stock buttons with the default accel group (create_image): · 1c9f0c0b
      Havoc Pennington authored
      2000-10-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/testgtk.c (create_buttons): create some stock buttons
      	with the default accel group
      	(create_image): test some new GtkImage features
      	(make_message_dialog): test GtkMessageDialog
      	(create_modal_window): fix someone's bizzarro indentation
      
              * gtk/gtkwindow.h, gtk/gtkwindow.c: Implement
      	GTK_WIN_POS_CENTER_ON_PARENT.
      	Add "destroy with parent" setting, which means the window goes
      	away with its transient parent.
      	(gtk_window_get_default_accel_group): get the default accel group
      	for the window.
      	(gtk_window_set_destroy_with_parent): set/unset destroy with
      	parent flag
      	(gtk_window_read_rcfiles): invalidate icon set caches
      	after reloading rcfiles
      
      	* gtk/gtkenums.h (GtkWindowPosition): add
      	GTK_WIN_POS_CENTER_ON_PARENT, which centers a dialog
      	on its parent window when the dialog is mapped for the first time.
      
              * gtk/gtkmessagedialog.h, gtk/gtkmessagedialog.c: Add
      	a simple message dialog class
      
      	* gtk/gtkdialog.c (gtk_dialog_init): Connect delete event
      	handler to emit response signal, and maybe later it would
      	honor a hide_on_delete flag - though that isn't there yet.
      	Set border width on the vbox to 2, so we get some padding.
      	Use a button box for the action area.
      	(gtk_dialog_key_press): synthesize a delete event if Esc
      	is pressed and the GtkWidget key press handler didn't
      	handle the escape key.
      	(gtk_dialog_new_with_buttons): new function creates a dialog
      	with some default buttons in it.
      	(gtk_dialog_add_action_widget): add an activatable widget
      	as a button in the dialog - you can also add a non-activatable
      	widget by accessing the action area directly.
      	(gtk_dialog_add_button): add a simple button - stock ID or
      	label - to the action area
      	(gtk_dialog_response): emit response signal
      	(gtk_dialog_run): block waiting for the dialog, return
      	the response. Override normal delete_event behavior, so that
      	delete_event does nothing inside gtk_dialog_run().
      
      	* gtk/gtkdialog.h, gtk/gtkdialog.c: Add "response" signal
      	emitted when an action widget is clicked or the dialog gets
      	delete_event
      
      	* gtk/gtk.h: add gtkmessagedialog.h
      
      	* gtk/Makefile.am: add gtkmessagedialog.[hc]
      
      2000-10-20  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-sections.txt: Add dialog docs
      1c9f0c0b
  6. 19 Oct, 2000 2 commits
  7. 18 Oct, 2000 6 commits
    • Havoc Pennington's avatar
      Some updates · 7a4c6893
      Havoc Pennington authored
      2000-10-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-sections.txt: Some updates
      
      	* gdk/gdk-sections.txt: remove GdkPixbufAlphaMode
      
      	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add new API, remove
      	GdkPixbufClass/GdkAnimationClass since those are private
      
      	* gdk-pixbuf/Makefile.am (IGNORE_HFILES): ignore more headers
      
      2000-10-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (gtk_text_iter_forward_to_newline): Fix a bug
      	where any number of empty lines would get skipped
      
      	* gtk/gtktextiter.h: Remove padding from GtkTextIter; live on the
      	edge.
      
      	* gtk/gtktextiter.c (gtk_text_iter_make_surreal): enhance the
      	warning about invalid iterators (explain more thoroughly)
      	(gtk_text_iter_in_region): rename gtk_text_iter_in_range
      
      	* gtk/gtktextview.c (FOCUS_EDGE_WIDTH): Make focus rectangle less
      	big
      
      	* demos/*.c: Add error handling
      
      	* gtk/gtktextbuffer.c: don't modify const iterators
      
      	* gtk/gdk-pixbuf-loader.c: Add full error handling here
      
      	* gtk/gtkimage.c (gtk_image_set_from_file): ignore errors
      	on file load
      
      	* gtk/gtkiconfactory.c: Update to reflect addition of error
      	handling to gdk-pixbuf loaders
      
      2000-10-16  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_get_module)
      	(gdk_pixbuf_get_named_module) (gdk_pixbuf_load_module):
      	add error reporting here also
      
      	* make-inline-pixbuf.c (main): use GError
      
      	* io-xpm.c: include unistd.h
      
      	* gdk-pixbuf-util.c: include string.h
      
      	* io-*.c: add error reporting
      
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): add
      	error reporting
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file): Add error reporting
      
      	* gdk-pixbuf-io.h: Add GError** to load_increment and load
      	methods
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_save) (gdk_pixbuf_savev): return
      	a G_FILE_ERROR if we fail to write or close the file.
      
      	* gdk-pixbuf.h: remove GDK_PIXBUF_ERROR_IO, instead we'll use
      	G_FILE_ERROR_*. Rename enum to GdkPixbufError, properly following
      	the GError naming rules. Add GError** to load functions.
      7a4c6893
    • Owen Taylor's avatar
      Start of work to move to new modularized testgtk. · 74209088
      Owen Taylor authored
      Wed Oct 18 11:14:05 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in demos/Makefile.am demos/testgtk/*: Start of work to
      	move to new modularized testgtk.
      74209088
    • Jonathan Blandford's avatar
      Add my name to the ChangeLog. · 92bbfd05
      Jonathan Blandford authored
      92bbfd05
    • Owen Taylor's avatar
      cvsignore updates · 3f908d03
      Owen Taylor authored
      3f908d03
    • Owen Taylor's avatar
      remove generated files · a1a44c99
      Owen Taylor authored
      a1a44c99
    • Owen Taylor's avatar
      1bb41ea9
  8. 17 Oct, 2000 3 commits
    • 7's avatar
      Draw the arrows correctly. · 3b42e087
      7 authored
      2000-10-17    <jrb@redhat.com>
      
      	* gtk/gtktreeview.c: Draw the arrows correctly.
      
      Also, commit a few minor fixes so Havoc can make a model.
      3b42e087
    • 7's avatar
      Added user docs. · 10e9727a
      7 authored
      2000-10-17    <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c: Added user docs.
      
      	* gtk/gtk.h: remove gtktreedatalist.h.
      10e9727a
    • 7's avatar
      Get the correct parent when generating my type. · 77d01658
      7 authored
      2000-10-17    <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_get_type): Get the correct
      	parent when generating my type.
      
      	* gtk/gtkmarshal.list: Added four more marshallers: INT:NONE,
      	POINTER:NONE, POINTER:POINTER, and POINTER:POINTER,INT.
      77d01658
  9. 16 Oct, 2000 5 commits
  10. 15 Oct, 2000 3 commits
    • Robert Brady's avatar
      s/utf-8/UTF-8 · 25734b92
      Robert Brady authored
      25734b92
    • 5's avatar
      Fix GtkTreeNode *node ->GtkTreeNode node issue. · e6b9f291
      5 authored
      2000-10-15    <jrb@redhat.com>
      
      	* gtk/gtktreeview.c, gtk/gtktreeview.h, gtk/gtktreestore.h,
      	gtk/gtktreestore.c, gtk/gtkliststore.h, gtk/gtkliststore.c,
      	gtk/gtkmodelsimple.c, gtk/gtkmodelsimple.h, gtk/gtktreedatalist.c,
      	gtk/gtktreemodel.h, gtk/gtktreeselection.c,
      	gtk/gtktreeselection.h: Fix GtkTreeNode *node ->GtkTreeNode node
      	issue.
      e6b9f291
    • Tor Lillqvist's avatar
      Remove leftover CVS conflict indicator lines (>>>>>>>). · 3cd1330d
      Tor Lillqvist authored
      2000-10-15  Tor Lillqvist  <tml@iki.fi>
      
      	* ChangeLog: Remove leftover CVS conflict indicator lines (>>>>>>>).
      
      	* makefile.mingw: Add rules for fa, he, sp and sr.
      3cd1330d
  11. 14 Oct, 2000 1 commit
  12. 13 Oct, 2000 3 commits
  13. 10 Oct, 2000 1 commit
  14. 09 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Update. · 658b4b1d
      Tor Lillqvist authored
      2000-10-09  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Update.
      
      	* gdk/win32/gdkgeometry-win32.c (gdk_window_clip_changed): Add two
      	lines that had been deleted by mistake (?).
      
      	* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Handle
      	also the case fg==white and bg==black (but still not randomly
      	coloured cursors). Thanks to Wolfgang Sourdeau.
      
      	* gdk/win32/*.c: Silence gcc -Wall.
      
      	* gtk/gtk.def: Add missing entry points.
      
      	Fixes by Hans Breuer:
      
      	* gdk/makefile.msc
      	* gdk/win32/makefile.msc: Update.
      
      	* gdk/testgdk.c: If compiling with debugging (with _DEBUG defined,
      	some MSVC thing, presumably), cause breakpoint on failures. Add
      	GDK_NOR case. Call g_log_set_always_fatal.
      
      	* gdk/win32/gdkwin32id.c (gdk_win32_handle_table_insert): Handle
      	should be pased by reference.
      
      	* gdk/win32/gdkprivate-win32.h: Correct declaration accordingly.
      
      	* gdk/win32/*.c: Correct calls to gdk_win32_handle_table_insert.
      
      	* gdk/win32/gdkevents-win32.c
      	* gdk/win32/gdkwindow-win32.c: Handle WM_CREATE.
      
      	* gdk/win32/gdkgc-win32.c: Fix mixups of drawable and
      	implementation object.
      
      	* gdk/win32/gdkimage-win32.c (gdk_image_get): Handle drawables,
      	not just windows.
      
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize):
      	Use the wrapper object.
      658b4b1d