1. 07 Nov, 2000 2 commits
    • Alexander Larsson's avatar
      Forgot to remove stray g_print() · 163dc54d
      Alexander Larsson authored
      163dc54d
    • Alexander Larsson's avatar
      use g_object_new() instead of g_type_create_instance() which is a private · 224f6ec5
      Alexander Larsson authored
      2000-11-07  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
      	gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkimage-fb.c,
      	gdk/linux-fb/gdkpango-fb.c, gdk/linux-fb/gdkpixmap-fb.c,
      	gdk/linux-fb/gdkwindow-fb.c:
      	use g_object_new() instead of g_type_create_instance() which
      	is a private function for fundamental type implementations.
      
      	* gdk/linux-fb/gdkinput-ps2.c:
      	Use MEDIUMRAW instead of RAW keycodes. Remove keyboard state-table
      	instead just store the current modifier state. Add a (somewhat broken)
      	keyboard input parser for XLATE mode too, if we couldn't use MEDIUMRAW.
      	Rename exported function gdk_input_ps2_get_mouseinfo to
      	gdk_input_get_mouseinfo.
      
      	* gdk/linux-fb/gdkmain-fb.c, gdk/linux-fb/gdkprivate-fb.h,
      	gdk/linux-fb/gdkwindow-fb.c:
      	gdk_input_ps2_get_mouseinfo was renamed to gdk_input_get_mouseinfo.
      224f6ec5
  2. 06 Nov, 2000 1 commit
    • Havoc Pennington's avatar
      Derive from GtkDialog, and use stock buttons. Should be 100% source · 69f42512
      Havoc Pennington authored
      2000-11-02  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkfilesel.h, gtk/gtkfilesel.c: Derive from GtkDialog, and
      	use stock buttons. Should be 100% source compatible, appropriate
      	filesel fields now point to dialog->vbox and dialog->action_area.
      	On the bizarre side, dialog->action_area and filesel->action_area
      	are not the same widget.
      	(gtk_file_selection_init): Put some padding around the selection
      	entry, so it isn't touching the GtkDialog separator.
      
      	* gtk/gtkfontsel.h, gtk/gtkfontsel.c: Derive from GtkDialog,
      	use stock buttons, etc. Should also be source compatible.
      	Set the dialog default title in _init not _new().
      
      	* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init):
      	Use stock buttons; don't put a button box inside the existing
      	dialog button box. Don't bother with push/pop colormap anymore.
      
      	* gtk/gtkdialog.h (GtkResponseType): Add a bunch of more
      	specific GTK_RESPONSE_* values. This is clearer than ACCEPT/REJECT
      	for message dialog, and necessary for the font selection and color
      	selection with help and apply buttons.
      
      	* gtk/gtkdialog.c (gtk_dialog_add_button): Return a pointer
      	to the created button widget. Set GTK_CAN_DEFAULT on the button.
      	(gtk_dialog_init): Default to GTK_BUTTONBOX_END, put less spacing
      	between buttons, put less padding around the action area.
      	(gtk_dialog_run): Exit on unmap rather than on destroy.
      	This will also exit the loop if the widget is hidden.
      	(gtk_dialog_delete_event_handler): Use GTK_RESPONSE_DELETE_EVENT
      	instead of GTK_RESPONSE_NONE; since we're already adding a bunch
      	of GTK_RESPONSE_* stuff, this seems cleaner, and lets you
      	special-case delete event.
      
      	* gtk/gtktexttagtable.c, gtk/gtktextview.c: Fix doc comment
      	formatting
      69f42512
  3. 05 Nov, 2000 3 commits
  4. 04 Nov, 2000 3 commits
    • Kenneth Christiansen's avatar
      Translations from Keld · acf4b21e
      Kenneth Christiansen authored
      ggv/po/da.po gnumeric/po/da.po gtk+/po/da.po
      acf4b21e
    • Havoc Pennington's avatar
      Added a bunch of stuff from unused · 5f91b6fc
      Havoc Pennington authored
      2000-11-04  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtk-sections.txt: Added a bunch of stuff from unused
      
      
      2000-11-04  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtkenums.h: remove trailing comma from GtkDeleteType member
      list
      
      * docs/Changes-2.0.txt: Add note about
      gtk_container_get_toplevels()
      
      * gtk/gtktextview.h: formatting
      
      * gtk/gtktextview.c: don't start descriptions with "Returns",
      confuses gtk-doc
      5f91b6fc
    • Owen Taylor's avatar
      When doing sanity checking on ACLOCAL_FLAGS, look for glib-2.0.m4 not · ae9dbe51
      Owen Taylor authored
      Sat Nov  4 10:12:27 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* autogen.sh: When doing sanity checking on ACLOCAL_FLAGS,
      	look for glib-2.0.m4 not glib.m4. (Ali Abdin)
      ae9dbe51
  5. 03 Nov, 2000 4 commits
    • Havoc Pennington's avatar
      Docs (gtk_text_tag_table_size): return a signed int · 6c9d8adc
      Havoc Pennington authored
      2000-11-03  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktexttagtable.c: Docs
      	(gtk_text_tag_table_size): return a signed int
      
      	* gtk/gtktexttag.c: s/tkxt/text/g; write documentation
      	(gtk_text_tag_event): make the event_object a GObject
      
      	* gtk/gtktextview.c: Write API docs for all functions.
      
      	* gtk/gtktextview.h: add GTK_TEXT_WINDOW_PRIVATE as return value
      	for gtk_text_view_get_window_type() called on one of the private
      	windows.
      
      	* gtk/gtktextview.c: Instead of accessing text_view->buffer
      	directly, call get_buffer() which demand-creates a default
      	buffer. So gtk_text_view_new() can be used to create a view with a
      	default buffer in it, if you just want an empty text box users can
      	put data in. Useful for GUI builders also.
      6c9d8adc
    • Pablo Saratxaga's avatar
      fixed big5 handling bug · 42c51962
      Pablo Saratxaga authored
      42c51962
    • Havoc Pennington's avatar
      Get widgets working on the btree/buffer side. Display of them still · ca83d0a3
      Havoc Pennington authored
      2000-11-03  Havoc Pennington  <hp@redhat.com>
      
              Get widgets working on the btree/buffer side. Display of them
      	still doesn't work.
      
      	* gtk/gtktextview.c: start implementing child widget stuff
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_child_anchor): new function
      
      	* gtk/gtktextlayout.c: handle embedded widgets
      
      	* gtk/gtktextdisplay.c: handle embedded widgets
      
      	* gtk/gtktextchild.c: Implement all the child anchor goo
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_create_child_anchor): New
      	function
      
      	* gtk/gtktextbtree.c: Add child anchor table to the btree struct
      	(insert_pixbuf_or_widget_segment): abstract out common portions of
      	creating a child anchor or a pixbuf segment.
      	(gtk_text_btree_create_child_anchor): new function
      	(gtk_text_btree_unregister_child_anchor): new function
      
      	* gtk/gtkmarshal.list: added VOID:OBJECT,INT,INT for the
      	allocate_child signal on GtkTextLayout
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): fix bogus return
      	values
      	(gtk_text_iter_get_child_anchor): new function
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_real_changed): Add a
      	default handler for the changed signal, which calls
      	gtk_text_buffer_set_modified(), instead of just always emitting
      	changed then calling set_modified() manually. I guess this is
      	maybe more flexible. It seems logical.
      ca83d0a3
    • Tim Janik's avatar
      _g_signal_handlers_destroy() is prefixed with '_' now. · b506b461
      Tim Janik authored
      Fri Nov  3 08:58:38 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkobject.c: _g_signal_handlers_destroy() is prefixed with '_'
              now.
      
              * gtk/gtksignal.c: use g_signal_connect_closure_by_id() now.
      b506b461
  6. 02 Nov, 2000 4 commits
    • Owen Taylor's avatar
      Fix a bunch of functions that should have been marked static. · 78ae775e
      Owen Taylor authored
      Thu Nov  2 14:10:51 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkdnd-x11.c: Fix a bunch of functions that should have
      	been marked static.
      78ae775e
    • Havoc Pennington's avatar
      had a test backward · 0ee86faa
      Havoc Pennington authored
      2000-11-02  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/testgtk.c (create_labels): had a test backward
      
      	* gdk/x11/gdkgc-x11.c (gdk_gc_copy): Copy the client-side GC
      	fields, so the dest GC ends up with the correct clip origin,
      	etc. Fixes a bug where colored labels didn't redraw
      	properly.
      0ee86faa
    • Alexander Larsson's avatar
      Add last argument to t_type_register_static call. · 214c61d5
      Alexander Larsson authored
      2000-11-02  Alexander Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkcolor-fb.c, gdk/linux-fb/gdkdnd-fb.c,
      	gdk/linux-fb/gdkgc-fb.c, gdk/linux-fb/gdkpango-fb.c,
      	gdk/linux-fb/gdkpixmap-fb.c, gdk/linux-fb/gdkwindow-fb.c:
      	Add last argument to t_type_register_static call.
      
      	* gdk/linux-fb/gdkdrawable-fb2.c:
      	Add last argument to t_type_register_static call.
      	export the get_image drawable virtual function.
      
      	* gdk/linux-fb/gdkimage-fb.c:
      	Add last argument to t_type_register_static call.
      	rename gtk_image_get to _gdk_fb_get_image and
      	export it for use by gdkdrawable-fb2.
      
      	* gdk/linux-fb/gdkprivate-fb.h:
      	export _gdk_fb_get_image.
      
      	* gdk/linux-fb/gdkselection-fb.c:
      	Add new api call stubs.
      
      	* gtk/Makefile.am:
      	Missing ( in linux-fb part.
      
      	* modules/linux-fb/Makefile.am:
      	Must link with gdk_pixbuf or get unresolved symbol.
      214c61d5
    • Havoc Pennington's avatar
      Use GTK_TYPE_TEXT_ITER and BOXED marshallers · 820e79a4
      Havoc Pennington authored
      2000-11-01  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Use
      GTK_TYPE_TEXT_ITER and BOXED marshallers
      
      * gtk/gtktexttagtable.c (gtk_text_tag_table_class_init): ditto
      
      * gtk/gtktexttag.c (gtk_text_tag_class_init): ditto
      
      * gtk/gtk-boxed.defs: add GtkTextIter
      
      * gtk/gtkmarshal.list: Add marshallers for text widget that
      properly use OBJECT and BOXED
      820e79a4
  7. 01 Nov, 2000 7 commits
    • Havoc Pennington's avatar
      Test set_markup_with_accel() · e667f049
      Havoc Pennington authored
      2000-11-01  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/testgtk.c (create_labels): Test set_markup_with_accel()
      
      	* gtk/gtklabel.c (set_markup): Convert the unichar to a GDK keyval
      	before returning it.
      e667f049
    • Havoc Pennington's avatar
      Clip the rectangle to be rendered to the drawable, since · fcaa719b
      Havoc Pennington authored
      2000-11-01  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	Clip the rectangle to be rendered to the drawable, since
      	get_from_drawable() requires a region within the drawable
      fcaa719b
    • Havoc Pennington's avatar
      Um, don't randomly subtract 4 from coordinates. · 15767742
      Havoc Pennington authored
      2000-11-01  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4
      	from coordinates.
      15767742
    • Havoc Pennington's avatar
      Check in these docs, I seem to have written them a while ago then · b90d773c
      Havoc Pennington authored
      2000-11-01  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/tmpl/gtkmessagedialog.sgml: Check in these docs, I seem to
      	have written them a while ago then forgotten about them.
      b90d773c
    • Owen Taylor's avatar
      Only ref the window if it isn't NULL. · b2e180ce
      Owen Taylor authored
      Wed Oct 25 20:10:57 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkevents.c (gdk_event_copy): Only ref the window if
      	it isn't NULL.
      b2e180ce
    • Havoc Pennington's avatar
      New function to create a pixbuf pointing to a subregion of another pixbuf. · fe9f9d03
      Havoc Pennington authored
      2000-11-01  Havoc Pennington  <hp@pobox.com>
      
      * gdk-pixbuf.c (gdk_pixbuf_new_subpixbuf): New function to create
      a pixbuf pointing to a subregion of another pixbuf.
      
      2000-11-01  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList
      on a label
      (gtk_label_finalize): unref the attr list if any.
      
      * gtk/testgtk.c (create_get_image): close test on second click
      (make_message_dialog): close dialog if it exists
      
      * gdk/gdkpango.c (gdk_draw_layout): Handle rise attribute
      
      * gdk-2.0.pc.in (Requires): Make it require gdk-pixbuf-2.0 not
      gdk-pixbuf
      
      * gtk/gtklabel.c (gtk_label_set_markup): new function to set label
      from Pango markup format
      (gtk_label_set_markup_with_accel): ditto but with accelerator
      parsing
      
      * gtk/gtkimage.c (gtk_image_expose): reformatting.
      
      * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): Hack to
      reflect current state of GDK - use gdk_drawable_get_colormap, etc.
      Check GDK_IS_WINDOW() not !GDK_IS_PIXMAP() to decide whether to
      call gdk_window_get_origin().
      
      * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      implement GDK_PIXBUF_ALPHA_FULL
      fe9f9d03
    • Tim Janik's avatar
      make use of g_signal_handlers_block_matched, · da5fdc13
      Tim Janik authored
      Wed Nov  1 03:43:42 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.c (gtk_signal_compat_matched): make use of
              g_signal_handlers_block_matched, g_signal_handlers_unblock_matched and
              g_signal_handlers_disconnect_matched to block/unblock and disconnect
              multiple handlers respectively, instead of only treating the
              first handler found (bug reported by owen).
      da5fdc13
  8. 30 Oct, 2000 8 commits
    • Jonathan Blandford's avatar
      New function. · c42cee3e
      Jonathan Blandford authored
      Mon Oct 30 19:23:50 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_expand_row): New function.
      
      	* gtk/gtktreeview.c (gtk_tree_view_collapse_row): New function.
      
      	* gtk/gtktreeview.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c
      	gtk/gtktreestore.h, gtk/gtktreeview.h, gtk/gtktreeviewcolumn.c,
      	gtk/gtktreeviewcolumn.h: Fixed inline docs.
      
      	* docs/reference/gtk/tree_widget.sgml: Proto intro to the tree
      	widget.  Needs writing someday.
      
      	* docs/reference/gtk/tmpl/gtktree*sgml: Added the tree widget to
      	the docs.
      c42cee3e
    • Robert Brady's avatar
      s/utf-8/UTF-8/ · 72284e34
      Robert Brady authored
      72284e34
    • Valek Frob's avatar
      Updated russian translation. · 242b4755
      Valek Frob authored
      242b4755
    • Havoc Pennington's avatar
      Rename delete_at_cursor delete_from_cursor, and move to move_cursor. · 94110fac
      Havoc Pennington authored
      2000-10-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.h, gtk/gtktextview.c:
      	Rename delete_at_cursor delete_from_cursor, and
      	move to move_cursor.
      94110fac
    • Havoc Pennington's avatar
      Massive reindentation and reformatting. Arg alignment and comments still · 5190c739
      Havoc Pennington authored
      2000-10-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtktextbtree.c, gtktextbtree.h, gtktextbuffer.c,
      	gtktextbuffer.h, gtktextchild.c, gtktextchild.h,
      	gtktextchildprivate.h, gtktextdisplay.c, gtktextdisplay.h,
      	gtktextiter.c, gtktextiter.h, gtktextiterprivate.h,
      	gtktextlayout.c, gtktextlayout.h, gtktextmark.c, gtktextmark.h,
      	gtktextmarkprivate.h, gtktextsegment.c, gtktextsegment.h,
      	gtktexttag.c, gtktexttag.h, gtktexttagprivate.h,
      	gtktexttagtable.c, gtktexttagtable.h, gtktexttypes.c,
      	gtktexttypes.h, gtktextview.c, gtktextview.h:
      
      	Massive reindentation and reformatting. Arg alignment and comments
      	still need fixing in various places.
      5190c739
    • Havoc Pennington's avatar
      Change run action signals to be named insert_at_cursor and · ad8cdea4
      Havoc Pennington authored
      2000-10-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.h, gtk/gtktextview.c: Change run action signals
      	to be named insert_at_cursor and delete_at_cursor so C++ can
      	handle them.
      ad8cdea4
    • Chyla Zbigniew's avatar
      Updated Polish translation · d556aaa2
      Chyla Zbigniew authored
      d556aaa2
    • Jorge Godoy's avatar
      Updating some pt_BR translations. (Update-Gnome.sh script) · 5d295bc4
      Jorge Godoy authored
       any problem ricardo@conectiva.com.br please
      5d295bc4
  9. 29 Oct, 2000 7 commits
  10. 28 Oct, 2000 1 commit
    • Tor Lillqvist's avatar
      Make sure not to get a double directory separator in case the home · d8dd345e
      Tor Lillqvist authored
      2000-10-28  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkrc.c (gtk_rc_append_default_module_path): Make sure not
      	to get a double directory separator in case the home directory
      	ends with one. This would cause trouble especially on Windows,
      	where the path will be confused with the syntax for an an UNC
      	(network share) path \\server\share\path.
      	(gtk_rc_add_initial_default_files): Ditto.
      d8dd345e