summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Forgot to remove stray g_print()Alexander Larsson2000-11-071-2/+0
|
* use g_object_new() instead of g_type_create_instance() which is a privateAlexander Larsson2000-11-0717-149/+369
| | | | | | | | | | | | | | | | | | | | | | 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.
* Derive from GtkDialog, and use stock buttons. Should be 100% sourceHavoc Pennington2000-11-0620-960/+1233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Forgot to cvs add gtkiconfactory.sgml, gtkstock.sgmlHavoc Pennington2000-11-052-0/+429
|
* documented some of the object argsHavoc Pennington2000-11-054-49/+67
| | | | | | | | 2000-11-05 Havoc Pennington <hp@pobox.com> * gtk/tmpl/gtktexttag.sgml: documented some of the object args * gtk/text_widget.sgml: fixups
* provide a toggle button to temporarily disable position recording in theTim Janik2000-11-0512-34/+226
| | | | | | | | | | | | | | | Sun Nov 5 05:32:39 2000 Tim Janik <timj@gtk.org> * gtk/testgtk.c (uposition_stop_configure): provide a toggle button to temporarily disable position recording in the "saved position" test. Sat Nov 4 05:37:17 2000 Tim Janik <timj@gtk.org> * gtk/gtkthemes.c: added compat code that temporarily implements GtkThemeEnginePlugin as a GObject exporting GTypePlugin. this is going to be revamped by owen's upcoming GtkModule patches, but untill then people want gtk to build, right? ;)
* Translations from KeldKenneth Christiansen2000-11-041-9/+50
| | | | ggv/po/da.po gnumeric/po/da.po gtk+/po/da.po
* Added a bunch of stuff from unusedHavoc Pennington2000-11-0426-840/+1705
| | | | | | | | | | | | | | | | | | | | 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
* When doing sanity checking on ACLOCAL_FLAGS, look for glib-2.0.m4 notOwen Taylor2000-11-048-1/+36
| | | | | | | 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)
* Docs (gtk_text_tag_table_size): return a signed intHavoc Pennington2000-11-0314-189/+748
| | | | | | | | | | | | | | | | | | | | | | 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.
* fixed big5 handling bugPablo Saratxaga2000-11-0311-18/+73
|
* Get widgets working on the btree/buffer side. Display of them stillHavoc Pennington2000-11-0322-199/+970
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* _g_signal_handlers_destroy() is prefixed with '_' now.Tim Janik2000-11-039-17/+66
| | | | | | | | | 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.
* Fix a bunch of functions that should have been marked static.Owen Taylor2000-11-028-10/+45
| | | | | | | 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.
* had a test backwardHavoc Pennington2000-11-0210-2/+91
| | | | | | | | | | | 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.
* Add last argument to t_type_register_static call.Alexander Larsson2000-11-0219-17/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use GTK_TYPE_TEXT_ITER and BOXED marshallersHavoc Pennington2000-11-0213-30/+144
| | | | | | | | | | | | | | | | 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
* Test set_markup_with_accel()Havoc Pennington2000-11-0110-38/+105
| | | | | | | | | 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.
* Clip the rectangle to be rendered to the drawable, sinceHavoc Pennington2000-11-018-1/+73
| | | | | | | | 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
* Um, don't randomly subtract 4 from coordinates.Havoc Pennington2000-11-018-4/+41
| | | | | | | 2000-11-01 Havoc Pennington <hp@redhat.com> * gtk/gtkimage.c (gtk_image_expose): Um, don't randomly subtract 4 from coordinates.
* Check in these docs, I seem to have written them a while ago thenHavoc Pennington2000-11-012-13/+64
| | | | | | | 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.
* Only ref the window if it isn't NULL.Owen Taylor2000-11-018-1/+37
| | | | | | | 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.
* New function to create a pixbuf pointing to a subregion of another pixbuf.Havoc Pennington2000-11-0122-78/+613
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* make use of g_signal_handlers_block_matched,Tim Janik2000-11-018-11/+66
| | | | | | | | | | 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).
* New function.Jonathan Blandford2000-10-3033-24/+2324
| | | | | | | | | | | | | | | | | | 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.
* s/utf-8/UTF-8/Robert Brady2000-10-302-1/+5
|
* Updated russian translation.Valek Frob2000-10-302-209/+87
|
* Rename delete_at_cursor delete_from_cursor, and move to move_cursor.Havoc Pennington2000-10-309-36/+84
| | | | | | | | 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.
* Massive reindentation and reformatting. Arg alignment and comments stillHavoc Pennington2000-10-3032-5051/+5156
| | | | | | | | | | | | | | | | | 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.
* Change run action signals to be named insert_at_cursor andHavoc Pennington2000-10-309-32/+76
| | | | | | | | 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.
* Updated Polish translationChyla Zbigniew2000-10-302-242/+109
|
* Updating some pt_BR translations. (Update-Gnome.sh script)Jorge Godoy2000-10-301-117/+117
| | | | any problem ricardo@conectiva.com.br please
* fix stray entityOwen Taylor2000-10-291-1/+0
|
* Minor tweaks to get things to work cleanlyOwen Taylor2000-10-292-1/+58
|
* Updates to new gtk-doc, gsignal, causing quite a bit of diffs but littleOwen Taylor2000-10-2948-2349/+2069
| | | | | | | Sun Oct 29 02:59:50 2000 Owen Taylor <otaylor@redhat.com> * **: Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little real changes.
* Another test commit TODO.xmlOwen Taylor2000-10-291-1/+1
|
* Another test commit TODO.xmlOwen Taylor2000-10-291-1/+1
|
* Another test commit TODO.xmlOwen Taylor2000-10-291-1/+1
|
* update, mostly to test rebuild scriptsOwen Taylor2000-10-291-1/+1
|
* Make sure not to get a double directory separator in case the homeTor Lillqvist2000-10-288-6/+82
| | | | | | | | | | | 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.
* Add en@IPA and ia.Tor Lillqvist2000-10-282-0/+12
| | | | | | 2000-10-28 Tor Lillqvist <tml@iki.fi> * makefile.mingw: Add en@IPA and ia.
* And fix the marshaller for GtkTextView::delete.Robert Brady2000-10-2810-15/+17
|
* add new marshaller for GtkTextView.Robert Brady2000-10-2810-1/+45
| | | | | | | | Sat Oct 28 02:33:09 2000 Robert Brady <robert@suse.co.uk> * gtk/gtkmarshal.list: add new marshaller for GtkTextView. * gtk/gtktextview.c: Use correct marshaller.
* Not sure how this ever worked. Fixed it to use new iter stuff, and addedJonathan Blandford2000-10-2725-675/+922
| | | | | | | | | | Fri Oct 27 17:56:26 2000 Jonathan Blandford <jrb@redhat.com> * gtk/gtkliststore.c: Not sure how this ever worked. Fixed it to use new iter stuff, and added all the appropriate signals et al. * gtk/gtktreedatalist.h: s/gtk/_gtk to further reinforce that this code is internal to gtk only.
* Actually use glib-genmarshal.Tor Lillqvist2000-10-271-6/+5
|
* gtk/gtk.def Adjust to Tim's changes. Use glib-genmarshal etc.Tor Lillqvist2000-10-278-64/+60
| | | | | | | | 2000-10-28 Tor Lillqvist <tml@iki.fi> * gtk/gtk.def * gtk/makefile.{mingw,msc}.in: Adjust to Tim's changes. Use glib-genmarshal etc.
* Adjust to Tim's changes. Use glib-genmarshal etc.Tor Lillqvist2000-10-279-18/+88
| | | | | | | 2000-10-28 Tor Lillqvist <tml@iki.fi> * gtk/makefile.{mingw,msc}.in: Adjust to Tim's changes. Use glib-genmarshal etc.
* added dependancies for testtextbuffer which broke parallel builds.Tim Janik2000-10-278-0/+37
| | | | | | | Fri Oct 27 20:15:00 2000 Tim Janik <timj@gtk.org> * gtk/Makefile.am: added dependancies for testtextbuffer which broke parallel builds.
* adapt to GSignal signature changes.Tim Janik2000-10-2712-12/+38
| | | | | | Fri Oct 27 18:51:44 2000 Tim Janik <timj@gtk.org> * gtk/gtksignal.[hc]: adapt to GSignal signature changes.
* Added translations for British, English (Phonetic), and Interlingua.Robert Brady2000-10-2713-1/+993
|