summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* Make interpretation of misc->xpad/ypad consistent with GtkLabel. DoOwen Taylor2001-12-273-23/+42
| | | | | | | | | | Thu Dec 27 16:05:30 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation of misc->xpad/ypad consistent with GtkLabel. Do directional flipping when interpreting misc->xalign/yalign. Fix off-by-one error for negative x,y. (#67472, reported by Mathieu Lacage)
* Remove optimization that was causing problems because we calledOwen Taylor2001-12-271-12/+1
| | | | | | | | | | | | Thu Dec 27 15:45:41 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c (gtk_widget_set_style_internal): Remove optimization that was causing problems because we called gtk_widget_size_request() before we called gtk_widget_queue_resize() so RESIZE_NEEDED was not set. Optimization shouldn't mattter now that we are smart about needlessly size requesting or allocating widgets. (#67598, reported by Jacob Berkman)
* Call gdk_window_get_pointer() on menu->bin_window not menu->window, so weOwen Taylor2001-12-271-1/+1
| | | | | | | | | Thu Dec 27 15:38:20 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb): Call gdk_window_get_pointer() on menu->bin_window not menu->window, so we get the correct window for the menu item. (#65213, Guillermo S. Romero)
* Allow unsetting the title by setting to NULL. Move docs inline. Update theOwen Taylor2001-12-271-23/+51
| | | | | | | | | | Thu Dec 27 15:13:44 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting the title by setting to NULL. Move docs inline. Update the title if the tearoff window already exists. Code cleanup. (Fixes #65190, reported by Vitaly Tishkov.)
* gtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of keyOwen Taylor2001-12-272-5/+10
| | | | | | | | | Thu Dec 27 14:04:22 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtksocket.c (gtk_socket_key_press_event): gtk/gtkplug.c (gtk_plug_key_press_event): Don't do special handling of key presses unless we are doing iter-app embedding. (Fixes #67590, Anders Carlsson)
* fix a few places where I was confused between modelsort iters and otherKristian Rietveld2001-12-271-6/+0
| | | | | | | | | | Thu Dec 27 16:37:04 2001 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted), (gtk_tree_model_sort_sort_level), (gtk_tree_model_sort_insert_value): fix a few places where I was confused between modelsort iters and other iters. This was really going to happen someday ;)
* ensure we are unprelighted before reorderingKristian Rietveld2001-12-263-111/+158
| | | | | | | | | | | | | | Wed Dec 26 23:41:41 2001 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): ensure we are unprelighted before reordering * gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): we need to break out of the for loop, not return * gtk/gtktreemodelsort.c: more fixage and cleanups. It seems to be pretty stable now, though it still needs some more code cleanups.
* Document the fact that gtk_paned_set_handle_size() has been removed.Owen Taylor2001-12-261-1/+0
| | | | | | | | | | | Wed Dec 26 12:32:31 2001 Owen Taylor <otaylor@redhat.com> * docs/Changes-2.0.txt: Document the fact that gtk_paned_set_handle_size() has been removed. * gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro, since it pointed to gtk_paned_set_handle_size(), which was removed. (#66760, Matt Wilson)
* Connect gtk_drag_hightlight_expose _after_, so it works with widgets thatOwen Taylor2001-12-261-3/+3
| | | | | | | | Wed Dec 26 12:28:24 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_highlight): Connect gtk_drag_hightlight_expose _after_, so it works with widgets that paint there entire background. (#66735)
* Assign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.)Owen Taylor2001-12-261-0/+2
| | | | | | | | Wed Dec 26 12:17:06 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkplug.c (gtk_plug_size_allocate): Assign the allocation to widget->allocation. (Fixes #67290, Chris Phelps.)
* (#67542, reported by Anders Carlsson)Owen Taylor2001-12-262-6/+8
| | | | | | | | | | | | | | Wed Dec 26 11:49:01 2001 Owen Taylor <otaylor@redhat.com> (#67542, reported by Anders Carlsson) * gtk/gtkstyle.c (gtk_style_real_init_from_rc): Merge rc_style->font_desc with defaul style instead of replacing it. * gtk/gtkrc.c (gtk_rc_style_real_merge): Allow partial font descriptions in RC styles by calling pango_font_description_merge().
* s/<!>/<!-- -->/ to make the doc valid with both SGML and XML.James Henstridge2001-12-241-2/+2
| | | | | | | 2001-12-24 James Henstridge <james@daa.com.au> * gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc valid with both SGML and XML.
* 1.3.12, interface, binary age 0.Owen Taylor2001-12-237-39/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Dec 22 12:38:03 2001 Owen Taylor <otaylor@redhat.com> * configure.in: 1.3.12, interface, binary age 0. * configure.in: Require new versions of Glib, Pango, ATK. * NEWS: Updated. * configure.in: Make explicit what libtool we are executing. (Tomas Ogren) * gdk/gdkcolor.c gdk/gdkgc.c gdk/gdkwindow.c: Doc fixes. * gtk/gtkwidget.c (gtk_widget_[class]path) gtkrc.h : Fix parameter names for docs. Sat Dec 22 22:35:29 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.c (gtk_window_realize) gtk/gtkplug.c (gtk_plug_realize): Include GDK_KEY_RELEASE_MASK. * gtk/gtkentry.c (gtk_entry_key_release) gtk/gtktextview.c (gtk_text_view_key_release_event): Pass key release events to the input method. * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Handle release of Control/Shift to end hex sequence. * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress): Handle key releases as well as presses.
* Trivial doc adjustment.Matthias Clasen2001-12-201-2/+3
|
* More precise documentation about underscores and mnemonics. (#66380)Matthias Clasen2001-12-204-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gtk/gtklabel.c (gtk_label_new_with_mnemonic), gtk/gtkbutton.c (gtk_button_new_with_mnemonic): More precise documentation about underscores and mnemonics. (#66380) * gtk/gtktextiter.c (gtk_text_iter_backward_word_starts): Fix cyclic reference in docs. * gtk/gtklabel.c (gtk_label_set_justify): Correct documentation of default value. (#65402) * gtk/gtkmain.c (gtk_set_locale, gtk_disable_set_locale): Markup fixes. * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c, gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c, gdk-pixdata.c: Markup fixes. * gtk/text_widget.sgml: More precise wording. (#63388) * gtk/tmpl/gtksignal.sgml (GTK_SIGNAL_OFFSET): Add docs. * gtk/resources.sgml: Fix markup of mail URLs. * gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkobject.sgml: Markup fixes. * gtk/tmpl/gtktoolbar.sgml (gtk_toolbar_{prepend,append}_element): Expand documentation. (#60471) * gtk/tmpl/gtkmain.sgml: Remove misleading information about gtk_set_locale(). (#65758)
* Don't call map here.Anders Carlsson2001-12-201-3/+0
| | | | | | | 2001-12-20 Anders Carlsson <andersca@gnu.org> * gtk/gtktreeview.c (gtk_tree_view_realize): Don't call map here.
* Fix typo (list->data becomes list->next)Padraig O'Briain2001-12-181-1/+1
| | | | | * gtk/gtktreeview.c (gtk_tree_view_get_expander_column): Fix typo (list->data becomes list->next)
* Add Unicode control char menu, based on patch from Dov. Bug #63495Havoc Pennington2001-12-175-14/+243
| | | | | | | | | | | | | | | | | | 2001-12-06 Havoc Pennington <hp@redhat.com> Add Unicode control char menu, based on patch from Dov. Bug #63495 * gtk/gtkentry.c (gtk_entry_commit_cb): share code via gtk_entry_enter_text (gtk_entry_enter_text): function to do "typing in text" (popup_targets_received): add the Unicode menu items * gtk/gtktextview.c (popup_targets_received): add missing mnemonic on Input Methods item, and add the unicode menu items. * gtk/gtktextutil.h, gtk/gtktextutil.c: private utilities to be used in GtkEntry and GtkTextView - may become public later.
* Fix a typo. Fix a typo.Kjartan Maraas2001-12-162-2/+2
| | | | | | | 2001-12-16 Kjartan Maraas <kmaraas@gnome.org> * gtk/gtkprogressbar.c: Fix a typo. * gtk/gtkpaned.c: Fix a typo.
* Fix some warnings.Darin Adler2001-12-153-3/+2
| | | | | | | | | | | * gdk/x11/gdkproperty-x11.c: (gdk_property_get): Fix wrong type in g_new -- bug if sizeof (GtkAtom) != sizeof (GtkAtom *). * gdk/x11/gdkwindow-x11.c: (create_moveresize_window): FALSE -> NULL * gtk/gtkaccellabel.c: (gtk_accel_label_refetch): Remove unused local. * gtk/gtklistitem.c: (gtk_list_item_expose): Remove unused local. * gtk/gtktextiter.c: (_gtk_text_iter_backward_indexable_segment): Restructure loop to get rid of uninitialized variable warning. Also gives a tiny efficiency gain.
* Fixed first arg type of GtkScale's format_value signal's function pointer.Murray Cumming2001-12-151-1/+1
| | | | | * Fixed first arg type of GtkScale's format_value signal's function pointer.
* free path at the endKristian Rietveld2001-12-131-0/+2
| | | | | | | Thu Dec 13 22:02:41 2001 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (validate_visible_area): free path at the end
* Markup fixes.Matthias Clasen2001-12-133-35/+33
| | | | | | | | | | | | | | | | | | | | | | | | * gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes. * gdk-pixbuf-io.c: Markup fixes. * gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml, gdk/tmpl/general.sgml, gdk/tmpl/rgb.sgml, gdk/tmpl/visuals.sgml, gdk/tmpl/windows.sgml, gtk/gtk-docs.sgml, gtk/tmpl/gtkaccellabel.sgml, gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkeditable.sgml, gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkfontseldlg.sgml, gtk/tmpl/gtkimage.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml, gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkobject.sgml, gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkradiobutton.sgml, gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkspinbutton.sgml, gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtktooltips.sgml, gtk/tmpl/gtkwindow.sgml, gdk/tmpl/regions.sgml, gtk/tmpl/gtkfontsel.sgml, gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkprogress.sgml, gtk/tmpl/gtkselection.sgml, gtk/tmpl/gtktable.sgml, gtk/tmpl/gtktipsquery.sgml: Markup fixes (mainly examples).
* do not try to find the clicked node in the tree when tree == NULLKristian Rietveld2001-12-131-1/+2
| | | | | | | Thu Dec 13 20:37:27 2001 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_button_press): do not try to find the clicked node in the tree when tree == NULL
* Compare event->state with the default mod mask.Anders Carlsson2001-12-131-1/+1
| | | | | | | 2001-12-13 Anders Carlsson <andersca@gnu.org> * gtk/gtktreeview.c (gtk_tree_view_button_press): Compare event->state with the default mod mask.
* s/obj/klass/ where appropriatejacob berkman2001-12-1211-11/+11
| | | | | | 2001-12-12 jacob berkman <jacob@ximian.com> * gtk/gtk*.h (GTK_IS_*_CLASS): s/obj/klass/ where appropriate
* Reset the existing slave before removing it to give it a chance to commitOwen Taylor2001-12-121-7/+16
| | | | | | | | Wed Dec 12 17:22:45 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave): Reset the existing slave before removing it to give it a chance to commit and emit "preedit_changed" in case there was still a preedit string.
* Typo fixes Typo fix. (#66746)Matthias Clasen2001-12-124-16/+10
| | | | | | | | | | | | | | | | | * gtk/gtktextlayout.c: Typo fixes * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746) * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel, gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744) * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467) * gtk/tmpl/gtklist.sgml: Markup fixes. * gdk/tmpl/selections.sgml, gtk/tmpl/gtksocket.sgml: s/succesful/successful/g. * gtk/gtk-sections.txt, gtk/tmpl/gtkstyle.sgml: Remove GTK_STYLE_NUM_STYLECOLORS. (#66467)
* Remove validate_rows_timer in unrealize. Reported by Matthew Wilson.Jonathan Blandford2001-12-121-0/+6
| | | | | | | Wed Dec 12 16:43:10 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_unrealize): Remove validate_rows_timer in unrealize. Reported by Matthew Wilson.
* Remove support for "prepainting" the menu before realizing other than viaOwen Taylor2001-12-121-17/+18
| | | | | | | | | | | Wed Dec 12 16:18:26 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenu.c (gtk_menu_realize): Remove support for "prepainting" the menu before realizing other than via gtk_style_set_background() - this was broken when we added menu scroll support. * gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the window in the expose event -- fixes problem with border flashing during scrolling.
* Support using names/nicks for the gdk_settings values for enum valuedOwen Taylor2001-12-121-1/+8
| | | | | | | Wed Dec 12 15:11:49 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtksettings.c (gtk_settings_get_property): Support using names/nicks for the gdk_settings values for enum valued types. (#57678, reported by Anders Carlsson)
* keep in sync with insert_page_menu. Code duplication is bad.Jonathan Blandford2001-12-122-1/+9
| | | | | | | | | | Wed Dec 12 15:01:33 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtknotebook.c (gtk_notebook_set_tab_label): keep in sync with insert_page_menu. Code duplication is bad. * gtk/gtklabel.c (gtk_label_mnemonic_activate): Whoops -- got the wrong fix yesterday.
* Fix check for modifiers.Owen Taylor2001-12-121-1/+2
| | | | | | Wed Dec 12 14:27:30 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmenubar.c (window_key_press_handler): Fix check for modifiers.
* check GTK_MENU_ITEM (menu_item)->accel_path first when looking up theJames Henstridge2001-12-121-1/+3
| | | | | | | 2001-12-12 James Henstridge <james@daa.com.au> * gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM (menu_item)->accel_path first when looking up the accel path.
* Small fix to let mnemonics work with notebooks.Jonathan Blandford2001-12-111-0/+4
| | | | | | | Tue Dec 11 18:55:16 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtklabel.c (gtk_label_mnemonic_activate): Small fix to let mnemonics work with notebooks.
* Change bin_window to be located at y=TREE_VIEW_HEADER_HEIGHT(tree_view).Jonathan Blandford2001-12-111-20/+12
| | | | | | | | Tue Dec 11 15:25:06 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_size_allocate): Change bin_window to be located at y=TREE_VIEW_HEADER_HEIGHT(tree_view). Makes some flicker while scrolling go away.
* Fix wrong ChangeLog entry Fix drawing of top right cornerSoeren Sandmann2001-12-111-1/+1
| | | | | | | | Tue Dec 11 15:39:08 2001 Soeren Sandmann <sandmann@daimi.au.dk> * ChangeLog: Fix wrong ChangeLog entry * gtk/gtkstyle.c (gtk_default_draw_shadow_gap): Fix drawing of top right corner
* stupid bug where I didn't reset the timer.Jonathan Blandford2001-12-111-6/+6
| | | | | | | Mon Dec 10 19:42:29 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (validate_rows_handler): stupid bug where I didn't reset the timer.
* Close comment.Matthias Clasen2001-12-102-0/+47
| | | | | | * gtk/gtkcontainer.c (gtk_container_child_type): Close comment. * gtk/gtkviewport.c: Add docs.
* New function to fixup parity. RBTree corruption bug--Jonathan Blandford2001-12-101-56/+53
| | | | | | | Mon Dec 10 16:21:38 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkrbtree.c (_fixup_parity): New function to fixup parity. RBTree corruption bug--
* Return if edited_column is NULL, also grab focus before removing theAnders Carlsson2001-12-101-2/+6
| | | | | | | | 2001-12-10 Anders Carlsson <andersca@gnu.org> * gtk/gtktreeview.c (gtk_tree_view_remove_widget): Return if edited_column is NULL, also grab focus before removing the cell_editable.
* check for 0 value on the denominator in the horizontal case just like weGeorge Lebl2001-12-091-4/+5
| | | | | | | | | Sun Dec 09 15:06:51 2001 George Lebl <jirka@5z.com> * gtk/gtkrange.c (gtk_range_calc_layout): check for 0 value on the denominator in the horizontal case just like we do in the vertical case (why I didn't notice that there were two cases the first time around is beyond me:). Also fix indentation in the vertical case.
* Update xsettings name.Anders Carlsson2001-12-092-5/+19
| | | | | | | | | | | | 2001-12-09 Anders Carlsson <andersca@gnu.org> * gdk/x11/gdkevents-x11.c: Update xsettings name. * gtk/gtkdnd.c (gtk_drag_check_threshold): Use the gtk-dnd-drag-threshold GtkSetting. * gtk/gtksettings.c (gtk_settings_class_init): Add setting for dnd drag threshold.
* Add docs.Matthias Clasen2001-12-091-6/+68
| | | | | | | | | * gtk/gtkcontainer.c: Add docs. * gtk/tmpl/gtkmain.sgml: Markup fixes. * gtk/gtk-docs.sgml: Add an empty entity to suppress crossreferencing in programlistings.
* Doc markup fix.Matthias Clasen2001-12-085-82/+90
| | | | | | | | | | | | | | | | * gtk/gtkwidget.c: Doc markup fix. * gtk/gtktreeviewcolumn.c: Markup fixes. (#66447) * gtk/gtktreestore.c: Typo fixes. (#66445) * gtk/gtkaccelgroup.c: Misc doc markup. (#66425) * gtk/gtkclipboard.c (gtk_clipboard_get_owner): Fix reference to gtk_clipboard_set_with_owner(). (#66424) * gtk/tmpl/gtkclipboard.sgml: Fix references to get_clipboard_set_with_owner(). (#66424)
* Add debug spew to lots of places, so that people with crashy trees canJonathan Blandford2001-12-081-5/+31
| | | | | | | | Sat Dec 8 10:04:54 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew): Add debug spew to lots of places, so that people with crashy trees can just run their program with GTK_DEBUG=TREE.
* nuke the stamp++, per jrb's requestKristian Rietveld2001-12-081-1/+0
| | | | | | | Sat Dec 8 20:57:24 2001 Kristian Rietveld <kristian@planet.nl> * gtk/gtkliststore.c (gtk_list_store_remove): nuke the stamp++, per jrb's request
* remove g_return_if_fail.Jonathan Blandford2001-12-081-3/+5
| | | | | | | | | | | Fri Dec 7 23:42:50 2001 Jonathan Blandford <jrb@webwynk.net> * gtk/gtktreeview.c (validate_rows_handler): remove g_return_if_fail. * gtk/gtktreeview.c (validate_visible_area): Patch from Manish Singh <yosh@gimp.org> to fix bug when rendering Tree with an empty model.
* get logic right, #66249Jonathan Blandford2001-12-084-117/+305
| | | | | | | | | | | | | | Fri Dec 7 20:06:14 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (validate_visible_area): get logic right, #66249 * gtk/gtkrbtree.c (_gtk_rbtree_remove_node): fix bug where removing a node ended up with a corrupt tree. Really really nasty bug. (_gtk_rbtree_debug_spew): new debug helper function (_fixup_validation): new inline function to clean up code readability a lot.
* Close comment.Owen Taylor2001-12-081-1/+1
| | | | | | Fri Dec 7 19:34:51 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Close comment.