]> Pileus Git - ~andy/gtk/log
~andy/gtk
23 years agofix silly bug reported by "Padraig O'Briain" <Padraig.Obriain@Sun.COM>.
Jonathan Blandford [Thu, 7 Jun 2001 15:34:06 +0000 (15:34 +0000)]
fix silly bug reported by "Padraig O'Briain" <Padraig.Obriain@Sun.COM>.

Wed Jun  6 19:31:11 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_set_model): fix silly bug
reported by "Padraig O'Briain" <Padraig.Obriain@Sun.COM>.

23 years agoUpdated Azeri and Walloon files
Pablo Saratxaga [Thu, 7 Jun 2001 15:21:09 +0000 (15:21 +0000)]
Updated Azeri and Walloon files

23 years agoHandle key bindings to expand and collapse rows.
Jonathan Blandford [Thu, 7 Jun 2001 00:07:32 +0000 (00:07 +0000)]
Handle key bindings to expand and collapse rows.

Wed Jun  6 20:01:38 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c
(gtk_tree_view_real_expand_collapse_cursor_row): Handle key
bindings to expand and collapse rows.
(gtk_tree_view_real_select_cursor_parent): New key binding.
(gtk_tree_view_real_toggle_cursor_row): New key binding.

* gtk/gtkmarshal.list: new
marshaller. (VOID__BOOLEAN_BOOLEAN_BOOLEAN)

23 years agoadd "inverted" property
Havoc Pennington [Wed, 6 Jun 2001 20:39:02 +0000 (20:39 +0000)]
add "inverted" property

2001-06-06  Havoc Pennington  <hp@redhat.com>

* gtk/gtkrange.c (gtk_range_class_init): add "inverted" property

* gtk/gtkscale.c (gtk_scale_class_init): Change Page Up and Page
Down to move visually rather than logically, since it confuses
people. Add -/+ and Ctrl--/+ bindings for logical movement.

23 years agoFix up error messages.
Alex Larsson [Wed, 6 Jun 2001 16:20:18 +0000 (16:20 +0000)]
Fix up error messages.

2001-06-06  Alex Larsson  <alexl@redhat.com>

* gdk/linux-fb/gdkmain-fb.c (_gdk_windowing_init_check):
Fix up error messages.

23 years agoInclude gtkwidget.h (#55798, Karl Nelson)
Owen Taylor [Wed, 6 Jun 2001 14:35:58 +0000 (14:35 +0000)]
Include gtkwidget.h (#55798, Karl Nelson)

Wed Jun  6 10:34:42 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktooltips.h: Include gtkwidget.h
(#55798, Karl Nelson)

* gdk/x11/gdkwindow-x11.c (utf8_is_latin1): 0xff is
a valid latin-1 character. (Marc Lehmann, #35467)

* gdk/x11/gdkwindow-x11.c: Fix minor typo in comment.
(Marc Lehmann, #35467)

23 years agoDon't swap the order of the args to gtk_widget_destroyed.
Alex Larsson [Wed, 6 Jun 2001 00:05:52 +0000 (00:05 +0000)]
Don't swap the order of the args to gtk_widget_destroyed.

2001-06-05  Alex Larsson  <alexl@redhat.com>

* demos/gtk-demo/appwindow.c (do_appwindow):
Don't swap the order of the args to gtk_widget_destroyed.

23 years agorename from gtk_text_iter_reorder
Havoc Pennington [Tue, 5 Jun 2001 21:53:56 +0000 (21:53 +0000)]
rename from gtk_text_iter_reorder

2001-06-05  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextiter.c (gtk_text_iter_order): rename from
gtk_text_iter_reorder

23 years agoDon't crash when the properties window is destroyed.
Alex Larsson [Tue, 5 Jun 2001 21:48:24 +0000 (21:48 +0000)]
Don't crash when the properties window is destroyed.

2001-06-05  Alex Larsson  <alexl@redhat.com>

* tests/testgtk.c (destroy_properties):
Don't crash when the properties window is destroyed.

* gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock):
Use with_mnemonics to handle the case of stock items with
underscores in them.

23 years agorename from gtk_text_iter_reorder
Havoc Pennington [Tue, 5 Jun 2001 21:43:37 +0000 (21:43 +0000)]
rename from gtk_text_iter_reorder

2001-06-05  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextiter.c (gtk_text_iter_order): rename from
gtk_text_iter_reorder

23 years agonew function
Havoc Pennington [Tue, 5 Jun 2001 20:45:33 +0000 (20:45 +0000)]
new function

2001-06-05  Havoc Pennington  <hp@redhat.com>

* gtk/gtktoolbar.c (gtk_toolbar_remove_space): new function

23 years agoclamp the value to the range that was set
Havoc Pennington [Tue, 5 Jun 2001 20:07:02 +0000 (20:07 +0000)]
clamp the value to the range that was set

2001-06-05  Havoc Pennington  <hp@redhat.com>

* gtk/gtkspinbutton.c (gtk_spin_button_set_range): clamp the value
to the range that was set

* gtk/gtkrange.c: add value_changed signal, primarily
intended for use with GtkScale
(gtk_range_set_increments): new function
(gtk_range_set_range): new function with weird name
(gtk_range_set_value): new function
(gtk_range_get_value): new function

* gtk/gtkspinbutton.c (gtk_spin_button_get_value): rename
from gtk_spin_button_get_value_as_float(). Compat #define
added for get_value_as_float.

* gtk/gtkhscale.c (gtk_hscale_new_with_range): new function

* gtk/gtkvscale.c (gtk_vscale_new_with_range): new function

2001-06-05  Havoc Pennington  <hp@redhat.com>

* test-loaders.c (main): use putenv not setenv, reported by
 Armin Theissen

23 years agoFix bug #55573
Jonathan Blandford [Tue, 5 Jun 2001 19:01:30 +0000 (19:01 +0000)]
Fix bug #55573

Tue Jun  5 14:57:18 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_size): Fix bug #55573

23 years agoDeprecate gtk_widget_set().
Owen Taylor [Tue, 5 Jun 2001 18:51:52 +0000 (18:51 +0000)]
Deprecate gtk_widget_set().

Mon Jun  4 12:41:25 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.h: Deprecate gtk_widget_set().

* tests/testgtk.c (create_tooltips): Remove usage of
gtk_widget_set().

23 years agoUse new mnemonic convenience functions
Havoc Pennington [Tue, 5 Jun 2001 18:22:30 +0000 (18:22 +0000)]
Use new mnemonic convenience functions

2001-06-05  Havoc Pennington  <hp@redhat.com>

* gtk/gtkcolorsel.c: Use new mnemonic convenience functions

Applying patch from Jeff Franks, with function docs added.

* gtk/gtkcheckbutton.c (gtk_check_button_new_with_mnemonic):
remove call to set_mnemonic_widget, change docs a bit.

* gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_with_mnemonic):
new function

* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_new_with_mnemonic):
new function

* gtk/gtkmenuitem.c (gtk_menu_item_new_with_mnemonic): new function

* gtk/gtkradiobutton.c (gtk_radio_button_new_with_mnemonic): new
function
(gtk_radio_button_new_with_mnemonic_from_widget): new function

* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_with_mnemonic):
new function

* gtk/gtktogglebutton.c (gtk_toggle_button_new_with_mnemonic): new
function

* gtk/gtklabel.c (gtk_label_new_with_mnemonic): Improve docs on
auto-selection of mnemonic widget.

23 years agofile testmultidisplaysimple.c was initially added on branch gtk-multihead.
Erwann Chenede [Tue, 5 Jun 2001 16:10:23 +0000 (16:10 +0000)]
file testmultidisplaysimple.c was initially added on branch gtk-multihead.

23 years agoFix segfault found by Vitaly Tishkov <tvv@sparc.spb.su>.
Jonathan Blandford [Tue, 5 Jun 2001 15:30:53 +0000 (15:30 +0000)]
Fix segfault found by Vitaly Tishkov <tvv@sparc.spb.su>.

Mon Jun  4 15:05:24 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_max_width):
Fix segfault found by Vitaly Tishkov <tvv@sparc.spb.su>.
(gtk_tree_view_column_set_min_width): ditto.

23 years agos/GdkPixmapClass/GdkPixmapObjectClass/. (#51890, Jeff Franks)
Owen Taylor [Tue, 5 Jun 2001 15:05:21 +0000 (15:05 +0000)]
s/GdkPixmapClass/GdkPixmapObjectClass/. (#51890, Jeff Franks)

Tue Jun  5 11:04:06 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkpixmap.h (GDK_PIXMAP_GET_CLASS):
s/GdkPixmapClass/GdkPixmapObjectClass/. (#51890, Jeff Franks)

Mon Jun  4 12:50:11 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkctree.c (gtk_ctree_insert_gnode): Add a missing
gtk_clist_thaw().

23 years agoImprove docs for GtkStateType. (Fixes #55751, among other things.)
Owen Taylor [Tue, 5 Jun 2001 14:55:53 +0000 (14:55 +0000)]
Improve docs for GtkStateType. (Fixes #55751, among other things.)

Tue Jun  5 10:54:48 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/tmpl/gtkenums.sgml: Improve docs for GtkStateType.
(Fixes #55751, among other things.)

23 years agoIgnore releases for buttons 6, 7
Havoc Pennington [Tue, 5 Jun 2001 01:18:15 +0000 (01:18 +0000)]
Ignore releases for buttons 6, 7

2001-06-04  Havoc Pennington  <hp@pobox.com>

* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
releases for buttons 6, 7

23 years agoFix a search-and-replace screwup (s/CHECK/SEPARATOR/ gone awry). Patch
Havoc Pennington [Tue, 5 Jun 2001 00:20:21 +0000 (00:20 +0000)]
Fix a search-and-replace screwup (s/CHECK/SEPARATOR/ gone awry). Patch

2001-06-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtkseparatormenuitem.h: Fix a search-and-replace screwup
(s/CHECK/SEPARATOR/ gone awry). Patch from Jeff Franks, bug
#55562

23 years agohandle case where text_view->layout == NULL by assuming its size is 0,
Havoc Pennington [Mon, 4 Jun 2001 23:53:43 +0000 (23:53 +0000)]
handle case where text_view->layout == NULL by assuming its size is 0,

2001-06-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (gtk_text_view_size_request): handle case
where text_view->layout == NULL by assuming its size is 0,
i.e. same as if we haven't done any reflow. Reported by
Hidetoshi Tajima #55448

23 years agosupport button 6 and 7 for scroll left/right, from Thomas Broyer
Havoc Pennington [Mon, 4 Jun 2001 23:46:14 +0000 (23:46 +0000)]
support button 6 and 7 for scroll left/right, from Thomas Broyer

2001-06-04  Havoc Pennington  <hp@redhat.com>

* gdk/x11/gdkevents-x11.c (gdk_event_translate): support button 6
and 7 for scroll left/right, from Thomas Broyer

23 years agoHandle case where we need to parse the xsetting as if it were an RC file
Havoc Pennington [Mon, 4 Jun 2001 23:15:51 +0000 (23:15 +0000)]
Handle case where we need to parse the xsetting as if it were an RC file

2001-05-10  Havoc Pennington  <hp@redhat.com>

* gtk/gtksettings.c (gtk_settings_get_property): Handle case where
we need to parse the xsetting as if it were an RC file string.

* gtk/gtkcolorsel.c (gtk_color_selection_class_init): load initial
value of palette from settings, not from static variable

* gdk/x11/gdkevents-x11.c: add color palette, toolbar mode to
xsettings translation table

* gtk/gtktoolbar.c (gtk_toolbar_new): Remove arguments, because
hardcoding the toolbar style conflicts with new customizable
toolbar style philosophy
(gtk_toolbar_class_init): add settings for default toolbar style;
these are used unless the app specifically forces a toolbar style

* gtk/gtksettings.c (settings_install_property_parser): only
return at the start if we warn and parser == NULL

* gtk/gtkcolorsel.c (gtk_color_selection_finalize): disconnect the
palette changed handler so we don't notify dead color selections

* gtk/gtkstyle.c (gtk_default_draw_shadow): handle
xthickness/ythickness of 0 or 1 properly
(gtk_default_draw_resize_grip): clear the background behind the
resize grips, and align to bottom right if we square the
area to be drawn.

* gtk/gtkstatusbar.c (gtk_statusbar_init): set horizontal usize on
statusbar label to 1, so it doesn't make toplevels resize oddly
(gtk_statusbar_size_request): add grip size to request
(gtk_statusbar_size_allocate): hack so the hbox still works with
the grip size in the request

* gtk/gtktoolbar.c (gtk_toolbar_show_all): override to fix
bug where showing all on a toplevel makes the toolbar
button text appear despite the toolbar mode

* gtk/gtkmenubar.c: add internal padding style property

* gtk/gtktoolbar.c: Add internal padding style property; add
shadow type style property

* gtk/gtkmenubar.c (gtk_menu_bar_paint): paint box with widget
state; and put Container::border_width outside the frame

* gtk/gtktextview.c: don't draw focus rectangle if we're in
interior focus mode, we just use blinking cursor

23 years agoMake gdk-pixbuf have same version number as GTK
Havoc Pennington [Mon, 4 Jun 2001 22:39:17 +0000 (22:39 +0000)]
Make gdk-pixbuf have same version number as GTK

2001-06-04  Havoc Pennington  <hp@redhat.com>

* configure.in: Make gdk-pixbuf have same version number as GTK

23 years agoGet rid of stupid g_return_if_fail on digits greater than 6. If there
Havoc Pennington [Mon, 4 Jun 2001 22:32:10 +0000 (22:32 +0000)]
Get rid of stupid g_return_if_fail on digits greater than 6. If there

2001-06-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtkspinbutton.c: Get rid of stupid g_return_if_fail on
digits greater than 6. If there actually are limits (which there
likely aren't), should clamp to them not warn.
(gtk_spin_button_new_with_range): don't take log of 0
(gtk_spin_button_size_request): use digits to compute size
request, rather than step increment.

* tests/testgtk.c (create_spins): test larger values of digits

* gtk/gtkfontsel.c (gtk_font_selection_init): scroll to selected
font on map not expose, so we don't get weirdness during scrolling

23 years agoApply fix from Sam Solon, bug #54577, update value even if not drawable.
Havoc Pennington [Mon, 4 Jun 2001 21:55:20 +0000 (21:55 +0000)]
Apply fix from Sam Solon, bug #54577, update value even if not drawable.

2001-06-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtkclist.c (vadjustment_value_changed): Apply fix from
Sam Solon, bug #54577, update value even if not drawable.

23 years agoremove C++ comment, reported by Dan McNichol
Havoc Pennington [Mon, 4 Jun 2001 20:33:37 +0000 (20:33 +0000)]
remove C++ comment, reported by Dan McNichol

2001-06-04  Havoc Pennington  <hp@redhat.com>

* gdk-pixbuf-xlibrgb.c (xlib_rgb_init): remove C++ comment,
reported by Dan McNichol

23 years agopatch from Szekeres Istvan, bug #52560
Havoc Pennington [Mon, 4 Jun 2001 20:31:51 +0000 (20:31 +0000)]
patch from Szekeres Istvan, bug #52560

2001-06-04  Havoc Pennington  <hp@redhat.com>

* io-pnm.c (pnm_skip_whitespace): patch from Szekeres Istvan,
bug #52560

23 years agochange SCROLL_RIGHT to SCROLL_LEFT, reported by Thomas Broyer.
Havoc Pennington [Mon, 4 Jun 2001 19:47:35 +0000 (19:47 +0000)]
change SCROLL_RIGHT to SCROLL_LEFT, reported by Thomas Broyer.

2001-06-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtkrange.c (gtk_range_scroll_event): change SCROLL_RIGHT to
SCROLL_LEFT, reported by Thomas Broyer.

23 years agoProcess updates immediately, to prevent funny lag effect when scrolling,
Havoc Pennington [Mon, 4 Jun 2001 19:43:15 +0000 (19:43 +0000)]
Process updates immediately, to prevent funny lag effect when scrolling,

2001-06-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtkrange.c (gtk_range_adjustment_value_changed):
Process updates immediately, to prevent funny lag effect
when scrolling, at some mild potential efficiency cost.

23 years agoon middle click, center slider on the click.
Havoc Pennington [Mon, 4 Jun 2001 19:29:25 +0000 (19:29 +0000)]
on middle click, center slider on the click.

2001-06-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtkrange.c (gtk_range_button_press): on middle click, center
slider on the click.

23 years agoRemove GtkArgSetFunc, GtkArgGetFunc.
Owen Taylor [Mon, 4 Jun 2001 19:08:59 +0000 (19:08 +0000)]
Remove GtkArgSetFunc, GtkArgGetFunc.

Mon Jun  4 15:08:21 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtk-overrides.txt: Remove GtkArgSetFunc, GtkArgGetFunc.

23 years agomake this special-case hscale/vscale details, so we can use it for
Havoc Pennington [Mon, 4 Jun 2001 02:31:12 +0000 (02:31 +0000)]
make this special-case hscale/vscale details, so we can use it for

2001-06-03  Havoc Pennington  <hp@pobox.com>

* gtk/gtkstyle.c (gtk_default_draw_slider): make this special-case
hscale/vscale details, so we can use it for scrollbar as well.

* tests/testgtk.c (reformat_value): honor digits from GtkScale

* gtk/gtkenums.h (GtkTroughType): Remove this enum
(GtkScrollType): add START and END from GtkTroughType

* gtk/gtkstyle.c (gtk_default_draw_slider): was not properly using
its x/y arguments

* gtk/gtkrange.h, gtk/gtkrange.c, gtk/gtkscrollbar.h,
gtk/gtkscrollbar.c, gtk/gtkscale.h, gtk/gtkscale.c,
gtk/gtkhscrollbar.h, gtk/gtkhscrollbar.c, gtk/gtkvscrollbar.h,
gtk/gtkvscrollbar.c, gtk/gtkhscale.h, gtk/gtkhscale.c,
gtk/gtkvscale.h, gtk/gtkvscale.c: Rewrite GtkRange and subclasses.

Notable changes in the process:

- stepper_size style property is the height for vertical
  ranges, width for horizontal; the other dimension matches
  the trough size
- add ability to do NeXT-style steppers (and several other styles
  that don't make any sense)
- added min_slider_length, fixed_slider_length properties to
          GtkScrollbar
        - cleaned some private (or at least useless) functions out of
          gtkscale.h
        - moved bindings to GtkScale from subclasses, even arrow keys,
  since blind users don't know scale orientation.
        - change move_slider action signal to use new GtkScrollType,
  remove GtkTroughType argument
- digits rounds the values a range will input to the given
  number of decimals, but will not try to force adjustment
  values set by other controllers. That is, we no longer
  modify adjustment->value inside a value_changed handler.
- added getters for GtkScale setters
        - middle-click begins a slider drag

23 years agoInitial stab at getting the focus code to work.
Jonathan Blandford [Fri, 1 Jun 2001 23:05:46 +0000 (23:05 +0000)]
Initial stab at getting the focus code to work.

Fri Jun  1 18:54:47 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c: (gtk_tree_view_focus): Initial stab at
getting the focus code to work.
(gtk_tree_view_class_init): Add a bunch of keybindings.

* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_set_cell_data_func):
s/GtkCellDataFunc/GtkTreeCellDataFunc.
(_gtk_tree_view_column_set_tree_view): Use "notify::model" instead
of "properties_changed" to help justify the death of the latter
signal. (-:

* tests/testtreefocus.c (main): Let some columns be focussable to
test focus better.

23 years agoInitial stab at getting the focus code to work.
Jonathan Blandford [Fri, 1 Jun 2001 22:57:30 +0000 (22:57 +0000)]
Initial stab at getting the focus code to work.

Fri Jun  1 18:54:47 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c: (gtk_tree_view_focus): Initial stab at
getting the focus code to work.
(gtk_tree_view_class_init): Add a bunch of keybindings.

* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_set_cell_data_func):
s/GtkCellDataFunc/GtkTreeCellDataFunc.
(_gtk_tree_view_column_set_tree_view): Use "notify::model" instead
of "properties_changed" to help justify the death of the latter
signal. (-:

* tests/testtreefocus.c (main): Let some columns be focussable to
test focus better.

23 years agoimplement overwrite mode
Havoc Pennington [Fri, 1 Jun 2001 19:26:01 +0000 (19:26 +0000)]
implement overwrite mode

2001-06-01  Havoc Pennington  <hp@redhat.com>

* gtk/gtkentry.c (gtk_entry_commit_cb): implement overwrite mode

* gtk/gtktextview.c (gtk_text_view_commit_handler): don't
overwrite in overwrite mode if we already deleted the selection
and replaced it with new text.

* gtk/gtklabel.c (gtk_label_select_region_index): if you set the
selection to an empty range, clear the clipboard if we owned it.
(gtk_label_set_selectable): give up selection if we become
unselectable.
(gtk_label_state_changed): override state changed to unselect text
when insensitive
(get_text_callback): add paranoia check that indexes aren't
outside of label->text
(gtk_label_select_region): make -1 for start_offset mean "end of
label," for consistency with GtkEditable

* gtk/gtkmessagedialog.c (gtk_message_dialog_new): honor
GTK_DIALOG_NO_SEPARATOR flag

23 years agoFix notifications on non-existant "enable_arrow_keys". (#53753, Skip
Owen Taylor [Fri, 1 Jun 2001 17:46:45 +0000 (17:46 +0000)]
Fix notifications on non-existant "enable_arrow_keys". (#53753, Skip

Fri Jun  1 11:47:11 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcombo.c (gtk_combo_set_use_arrows_always): Fix
notifications on non-existant "enable_arrow_keys".
(#53753, Skip Montanaro)

23 years agoAdd GDK_TYPE_RECTANGLE.
Owen Taylor [Fri, 1 Jun 2001 15:44:13 +0000 (15:44 +0000)]
Add GDK_TYPE_RECTANGLE.

Fri Jun  1 11:31:55 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkrectangle.c (gdk_rectangle_get_type): Add
GDK_TYPE_RECTANGLE.

* gtk/gtkwidget.c (gtk_widget_class_init): Fix type
of allocation argument be GDK_TYPE_RECTANGLE.

23 years agoAccount for the fact that the border width is _outside_ the window. (Fixes
Owen Taylor [Thu, 31 May 2001 19:11:16 +0000 (19:11 +0000)]
Account for the fact that the border width is _outside_ the window. (Fixes

Thu May 31 12:43:57 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkoptionmenu.c: Account for the fact that the border
width is _outside_ the window. (Fixes #54585, bug found
        by Bastien Nocera.)

23 years agoCorrect typoe when describing order of composition. (#53371, Skip
Owen Taylor [Wed, 30 May 2001 20:58:07 +0000 (20:58 +0000)]
Correct typoe when describing order of composition. (#53371, Skip

Wed May 30 16:56:07 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/tmpl/gtkrc.sgml (pattern): Correct typoe when
describing order of composition. (#53371, Skip Montanaro)

23 years agoValidate value from GDK settings against parameter spec.
Owen Taylor [Wed, 30 May 2001 20:40:28 +0000 (20:40 +0000)]
Validate value from GDK settings against parameter spec.

Wed May 30 15:56:30 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtksettings.c (gtk_settings_get_property): Validate
value from GDK settings against parameter spec.

* gdk/x11/gdkevents-x11.c (gdk_setting_get): Add assignments
to temporary values and use g_value_transform(), since
thinking that GValue was going to be easy or efficient
to use was, of course, a mistake.

        * gtk/gtksettings.c: Add cursor blink setting.

* gdk/x11/gdkevents-x11.c: Add cursor blink X settings.

* gtk/gtkentry.c: Add cursor blinking.

* gtk/gtktextview.c (gtk_text_view_check_cursor_blink): Use
cursor blink global settings.

* gtk/gtkentry.c (gtk_entry_button_press): Add notification
for :text_position in places where it is missing.

23 years agoFix prototype to use "(void)" instead of "()".
Darin Adler [Tue, 29 May 2001 23:28:28 +0000 (23:28 +0000)]
Fix prototype to use "(void)" instead of "()".

* gdk-pixbuf.h: Fix prototype to use "(void)" instead of "()".

23 years agoFix GNU sedism (#55430)
Owen Taylor [Tue, 29 May 2001 22:18:48 +0000 (22:18 +0000)]
Fix GNU sedism (#55430)

Tue May 29 18:17:11 2001  Owen Taylor  <otaylor@redhat.com>

* autogen.sh (have_libtool): Fix GNU sedism (#55430)

23 years agoUse $PKG_CONFIG, not pkg-config. (#51032)
Owen Taylor [Tue, 29 May 2001 21:42:20 +0000 (21:42 +0000)]
Use $PKG_CONFIG, not pkg-config. (#51032)

Tue May 29 17:40:29 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in (GTK_DEP_CFLAGS): Use $PKG_CONFIG,
not pkg-config. (#51032)

* gdk/gdkproperty.h: Remove inappropriate G_GNUC_CONST
(fixes #51952, James Henstridge)

23 years agoPatch from Helmethead <hoshem@mel.comcen.com.au> to fix up bmp decoder to:
Jonathan Blandford [Mon, 28 May 2001 18:28:16 +0000 (18:28 +0000)]
Patch from Helmethead <hoshem@mel.comcen.com.au> to fix up bmp decoder to:

Mon May 28 14:21:35 2001  Jonathan Blandford  <jrb@redhat.com>

* io-bmp.c: Patch from Helmethead <hoshem@mel.comcen.com.au> to
fix up bmp decoder to:
 - adds 16 bpp bmp support (bug #53884)
 - adds OS/2 1.x format bmp support (bug #54964)
 - adds 4 bpp RLE compressed bmp support
 - adds 1 bpp colormap support
 - fixes negative height (top down) bmp support.

23 years agoRename to the more correct gtk-go-up.
Alexander Larsson [Sun, 27 May 2001 21:43:09 +0000 (21:43 +0000)]
Rename to the more correct gtk-go-up.

2001-05-27  Alexander Larsson  <alla@lysator.liu.se>

* gtk/gtkstock.h (GTK_STOCK_GO_UP):
Rename to the more correct gtk-go-up.

* gtk/stock-icons/stock_menu_sort_ascending.png:
Added new file.

* gtk/stock-icons/stock_menu_sort_descending.png:
Changed to show descending instead of ascending.

* gtk/gtkiconfactory.c:
Added menu size icon to sort ascending.

* gtk/stock-icons/Makefile.am:
Added stock_menu_sort_ascending.png.

* gtk/gtkseparatormenuitem.c:
Use correct typenames.

23 years agomake hanlder id a gulong as in GSignal.
Tim Janik [Sun, 27 May 2001 18:30:30 +0000 (18:30 +0000)]
make hanlder id a gulong as in GSignal.

Sun May 20 20:07:35 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtksignal.[hc] (gtk_signal_connect_full): make hanlder id a
        gulong as in GSignal.

23 years agoUpdated Swedish translation.
Christian Rose [Sun, 27 May 2001 00:44:46 +0000 (00:44 +0000)]
Updated Swedish translation.

2001-05-27  Christian Rose  <menthos@menthos.com>

* po/sv.po: Updated Swedish translation.

23 years agorevert test harmless commit of po check script
Owen Taylor [Sat, 26 May 2001 23:59:34 +0000 (23:59 +0000)]
revert test harmless commit of po check script

23 years agotest harmless commit of po check script
Owen Taylor [Sat, 26 May 2001 23:53:13 +0000 (23:53 +0000)]
test harmless commit of po check script

23 years agoRemove almost all instances of GtkCellRenderer in code (all but dnd icon
Jonathan Blandford [Fri, 25 May 2001 23:10:49 +0000 (23:10 +0000)]
Remove almost all instances of GtkCellRenderer in code (all but dnd icon

Fri May 25 19:04:17 2001  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_calc_size): Remove almost all
instances of GtkCellRenderer in code (all but dnd icon code).
Virtualized in GtkTreeViewColumn.  Now I need to move focus in
there, and I can do multiple Cells per column.

* gtk/gtktreeviewcolumn.c: Proxy all cell calls correctly

* gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): fix bug
when model was unreffed prior to removing the row reference.

23 years agofix so that default icons are created if you call gtk_stock_list_ids()
Havoc Pennington [Fri, 25 May 2001 22:08:53 +0000 (22:08 +0000)]
fix so that default icons are created if you call gtk_stock_list_ids()

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

23 years agoforgot to add stock_browser.c
Havoc Pennington [Fri, 25 May 2001 21:56:34 +0000 (21:56 +0000)]
forgot to add stock_browser.c

23 years agoget sizes an icon set can render without falling back to missing image
Havoc Pennington [Fri, 25 May 2001 20:41:46 +0000 (20:41 +0000)]
get sizes an icon set can render without falling back to missing image

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.

23 years agomade fil mode GDK_STIPPLED actually work -> check boxes and radio buttons
Hans Breuer [Fri, 25 May 2001 15:43:53 +0000 (15:43 +0000)]
made fil mode GDK_STIPPLED actually work -> check boxes and radio buttons

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

23 years agoreflect Havoc's recent api change
Hans Breuer [Fri, 25 May 2001 15:40:09 +0000 (15:40 +0000)]
reflect Havoc's recent api change

2001-05-25  Hans Breuer  <hans@breuer.org>

* gdk_pixbuf.def : reflect Havoc's recent api change

23 years agoNew function
Havoc Pennington [Fri, 25 May 2001 03:42:40 +0000 (03:42 +0000)]
New function

2001-05-22  Havoc Pennington  <hp@pobox.com>

* gtk/gtkbin.c (gtk_bin_get_child): New function

23 years agoAdd Mode_Switch to list of keys to ignore when doing compose processing.
Owen Taylor [Thu, 24 May 2001 00:16:49 +0000 (00:16 +0000)]
Add Mode_Switch to list of keys to ignore when doing compose processing.

Wed May 23 20:07:53 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkimcontextsimple.c: Add Mode_Switch to list of keys
to ignore when doing compose processing.

23 years agoSimplify as suggested by Havoc. Just get the last iter and work backward
Joe Shaw [Tue, 22 May 2001 20:38:18 +0000 (20:38 +0000)]
Simplify as suggested by Havoc. Just get the last iter and work backward

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().

23 years agoAdded patch from Jeff Franks <jcf@tpg.com.au> to add GET_CLASS macros to
Jonathan Blandford [Tue, 22 May 2001 20:30:48 +0000 (20:30 +0000)]
Added patch from Jeff Franks <jcf@tpg.com.au> to add GET_CLASS macros to

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.

23 years agoEvil function to deal with very large (TM) amounts of text. May be moved
Jonathan Blandford [Tue, 22 May 2001 19:18:47 +0000 (19:18 +0000)]
Evil function to deal with very large (TM) amounts of text. May be moved

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.

23 years agoUpdated Norwegian translation.
Kjartan Maraas [Tue, 22 May 2001 15:01:25 +0000 (15:01 +0000)]
Updated Norwegian translation.

2001-05-22  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

23 years agoAdded properties. Based on patch by Lee Mallabone.
Alexander Larsson [Tue, 22 May 2001 00:11:10 +0000 (00:11 +0000)]
Added properties. Based on patch by Lee Mallabone.

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.

23 years agoOnly show the separator if both children are present and visible.
Owen Taylor [Mon, 21 May 2001 15:56:19 +0000 (15:56 +0000)]
Only show the separator if both children are present and visible.

Mon May 21 11:29:21 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtk{h,v,}paned.c: Only show the separator if both children
are present and visible.

* configure.in: Fixed reversed conditional causing all image
libraries to be linked in.

23 years agoRemove the assertion that top_y needs to be >= 0.
Joe Shaw [Mon, 21 May 2001 05:35:03 +0000 (05:35 +0000)]
Remove the assertion that top_y needs to be >= 0.

2001-05-21  Joe Shaw  <joe@ximian.com>

* gtk/gtklayout.c (gtk_text_layout_get_lines): Remove the assertion
that top_y needs to be >= 0.

23 years agoImprove error messages for X errors and losing connection to the X server.
Havoc Pennington [Sun, 20 May 2001 22:48:40 +0000 (22:48 +0000)]
Improve error messages for X errors and losing connection to the X server.

2001-05-11  Havoc Pennington  <hp@pobox.com>

* gdk/x11/gdkmain-x11.c: Improve error messages for X errors and
losing connection to the X server.

23 years agoStart checks for X from pangox/pangoxft CFLAGS to avoid duplicate
Owen Taylor [Sun, 20 May 2001 18:25:34 +0000 (18:25 +0000)]
Start checks for X from pangox/pangoxft CFLAGS to avoid duplicate

Sun May 20 13:59:20 2001  Owen Taylor  <otaylor@redhat.com>

* configure.in: Start checks for X from pangox/pangoxft
CFLAGS to avoid duplicate libraries.

* gdk/Makefile.am (LDFLAGS): Remove extra -lm.

* configure.in (GDK_PIXBUF_PACKAGES): Fix GDK_PIXBUF_PACKAGES
to include gobject.

23 years agoRemove an excess $(GLIB_LIBS).
Owen Taylor [Sun, 20 May 2001 18:24:37 +0000 (18:24 +0000)]
Remove an excess $(GLIB_LIBS).

Sun May 20 12:53:49 2001  Owen Taylor  <otaylor@redhat.com>

        * Makefile.am (libgdk_pixbuf_1_3_la_LDFLAGS): Remove an
        excess $(GLIB_LIBS).

23 years agoConvert GtkArgs to GParams. Based on patch by John Margaglione. Also do
Alexander Larsson [Fri, 18 May 2001 22:31:02 +0000 (22:31 +0000)]
Convert GtkArgs to GParams. Based on patch by John Margaglione. Also do

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.

23 years agoReset style attributes even if the widget isn't realized.
Owen Taylor [Fri, 18 May 2001 20:56:55 +0000 (20:56 +0000)]
Reset style attributes even if the widget isn't realized.

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.

23 years agoRemove reallocate-redraws property. This is something that only a widget
Owen Taylor [Fri, 18 May 2001 18:30:59 +0000 (18:30 +0000)]
Remove reallocate-redraws property. This is something that only a widget

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.

23 years agoAdd documentation about GtkSizeGroup.
Owen Taylor [Fri, 18 May 2001 18:28:52 +0000 (18:28 +0000)]
Add documentation about GtkSizeGroup.

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.

23 years agoRenamed gtk_image_menu_item_add_icon() to gtk_image_menu_item_set_icon()
Martin Baulig [Fri, 18 May 2001 17:35:20 +0000 (17:35 +0000)]
Renamed gtk_image_menu_item_add_icon() to gtk_image_menu_item_set_icon()

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.

23 years agosmall changes
Kenneth Christiansen [Fri, 18 May 2001 17:34:39 +0000 (17:34 +0000)]
small changes

23 years agoIt's the worlds ugliest highlighting code!!!! The result is okay so long
Jonathan Blandford [Fri, 18 May 2001 16:28:30 +0000 (16:28 +0000)]
It's the worlds ugliest highlighting code!!!! The result is okay so long

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. (-:

23 years agoRemove the assertions that x_offset and y_offset must be >= 0. Clip the
Joe Shaw [Fri, 18 May 2001 03:41:30 +0000 (03:41 +0000)]
Remove the assertions that x_offset and y_offset must be >= 0. Clip the

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.

23 years agoMake logical motion and deletion by graphemes, not by characters.
Owen Taylor [Thu, 17 May 2001 21:13:12 +0000 (21:13 +0000)]
Make logical motion and deletion by graphemes, not by characters.

Thu May 17 17:10:13 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c: Make logical motion and deletion by graphemes,
not by characters.

* gtk/gtkentry.c: Handle "trailing" returns from Pango when they
are not zero or one; that is, when graphemes of multiple characters
are involved.

* gtk/gtktextlayout.c (line_display_index_to_iter): Remove unnecessary
FIXME.

23 years agofile gdkdisplaymgr-x11.c was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:33 +0000 (20:23 +0000)]
file gdkdisplaymgr-x11.c was initially added on branch gtk-multihead.

23 years agofile gdkdisplaymgr-x11.h was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:33 +0000 (20:23 +0000)]
file gdkdisplaymgr-x11.h was initially added on branch gtk-multihead.

23 years agofile gdkdisplaymgr.c was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:32 +0000 (20:23 +0000)]
file gdkdisplaymgr.c was initially added on branch gtk-multihead.

23 years agofile gdkdisplaymgr.h was initially added on branch gtk-multihead.
Erwann Chenede [Thu, 17 May 2001 20:23:32 +0000 (20:23 +0000)]
file gdkdisplaymgr.h was initially added on branch gtk-multihead.

23 years agoAdd properties, based on patch by Lee Mallabone.
Alexander Larsson [Thu, 17 May 2001 16:22:06 +0000 (16:22 +0000)]
Add properties, based on patch by Lee Mallabone.

2001-05-17  Alexander Larsson  <alla@lysator.liu.se>

* gtk/gtkbbox.c:
Add properties, based on patch by Lee Mallabone.

* gtk/gtknotebook.c:
* gtk/gtktoolbar.c:
Convert from GtkArg to GParam, based on patch by John Margaglione.

* gtk/gtkhscale.c:
* gtk/gtkvscale.c:
* gtk/gtkhscrollbar.c:
* gtk/gtkvscrollbar.c:
* gtk/gtkrange.c:
Move adjustment property to GtkRange.

* gtk/gtklabel.c:
Setup mnemonics on property changes

* gtk/gtkwidget.c (gtk_widget_get_property):
GdkExtensionMode is an enum, not a flag. Set it with
g_value_set_enum ().

* tests/prop-editor.c:
Better propery editor.

* tests/testgtk.c:
Add new property test. Pass zero to the property editor to
get properties from all derived types.

23 years agoun May 13 12:01:12 2001 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Wed, 16 May 2001 18:51:28 +0000 (18:51 +0000)]
un 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.

23 years agoRequire libtool-1.4, automake-1.4p1.
Owen Taylor [Wed, 16 May 2001 18:51:07 +0000 (18:51 +0000)]
Require libtool-1.4, automake-1.4p1.

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.

23 years agofix bug #54699 where paths weren't being checked for correctness.
Jonathan Blandford [Wed, 16 May 2001 18:16:57 +0000 (18:16 +0000)]
fix bug #54699 where paths weren't being checked for correctness.

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.

23 years agoYou can now set all sorts of properties in any order you wan, whether or
Jonathan Blandford [Wed, 16 May 2001 00:23:30 +0000 (00:23 +0000)]
You can now set all sorts of properties in any order you wan, whether or

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.

23 years agoFixed encoding
Matthias Warkus [Tue, 15 May 2001 17:48:31 +0000 (17:48 +0000)]
Fixed encoding

23 years agoUpdated German translations for Glib and GTK+ HEAD. Phew.
Matthias Warkus [Tue, 15 May 2001 17:47:47 +0000 (17:47 +0000)]
Updated German translations for Glib and GTK+ HEAD. Phew.

23 years agoApply patch from John Margaglione that converts from args to properties.
Alexander Larsson [Tue, 15 May 2001 15:31:45 +0000 (15:31 +0000)]
Apply patch from John Margaglione that converts from args to properties.

2001-05-15  Alexander Larsson  <alla@lysator.liu.se>

* gtk/gtkpacker.c: Apply patch from John Margaglione that converts
from args to properties.

23 years agoUpdated Ukrainian transaltion
Yuri Syrota [Tue, 15 May 2001 14:52:55 +0000 (14:52 +0000)]
Updated Ukrainian transaltion

23 years agoApply patch from John Margaglione converting from args to properties.
Owen Taylor [Tue, 15 May 2001 14:14:19 +0000 (14:14 +0000)]
Apply patch from John Margaglione converting from args to properties.

Tue May 15 10:11:59 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkpreview.c: Apply patch from John Margaglione converting
from args to properties. (#51957)

* gtk/gtkscale.c (gtk_scale_class_init): Move install property
calls to after ->set_property call.

23 years agoUpdated Ukrainian transaltion
Yuri Syrota [Tue, 15 May 2001 11:08:39 +0000 (11:08 +0000)]
Updated Ukrainian transaltion

23 years agoBlock against redundant changes.
Owen Taylor [Mon, 14 May 2001 19:14:57 +0000 (19:14 +0000)]
Block against redundant changes.

Mon May 14 14:56:21 2001  Owen Taylor  <otaylor@redhat.com>

* tests/prop-editor.c: Block against redundant changes.

* gtk/gtkpaned.c gtk/gtk[hv]paned.c: Add position, position_set
properties.

23 years agoMissed from last commit.
Owen Taylor [Sun, 13 May 2001 22:43:26 +0000 (22:43 +0000)]
Missed from last commit.

23 years agoRemove creative formatting.
Owen Taylor [Sun, 13 May 2001 22:41:30 +0000 (22:41 +0000)]
Remove creative formatting.

Sun May 13 18:40:04 2001  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkpixmap.h: Remove creative formatting.

Thu May 10 19:22:28 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktogglebutton.c:  Patch from John Margaglione converting to
property API. (#51669)

* gtk/gtkscale.c: Patch from John Margaglione converting to
property API. (#51891)

* gtk/gtkaccellabel.c: Applied patch from Lee Mallabone, converting
to property API. (#50985)

23 years agoremember widget's double buffering state across expose event, so we still
Tim Janik [Sat, 12 May 2001 13:16:40 +0000 (13:16 +0000)]
remember widget's double buffering state across expose event, so we still

Fri May 11 20:13:44 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkmain.c (gtk_main_do_event): remember widget's double
        buffering state across expose event, so we still call end_paint().

23 years agoPeek strike-through setting (gdk_draw_layout_line_with_colors): Render
ERDI Gergo [Fri, 11 May 2001 23:29:37 +0000 (23:29 +0000)]
Peek strike-through setting (gdk_draw_layout_line_with_colors): Render

2001-05-05  ERDI Gergo  <cactus@cactus.rulez.org>

* gdk/gdkpango.c (gdk_pango_get_item_properties): Peek
strike-through setting
(gdk_draw_layout_line_with_colors): Render strike-through

23 years agoExpose the ring in the triangle at the correct place when exposing just a
Alexander Larsson [Fri, 11 May 2001 22:24:59 +0000 (22:24 +0000)]
Expose the ring in the triangle at the correct place when exposing just a

2001-05-11  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkhsv.c (paint_triangle):
Expose the ring in the triangle at the correct place when
exposing just a part of the triangle.

23 years agoReturn FALSE, or window focusing will not work.
Alexander Larsson [Fri, 11 May 2001 21:57:33 +0000 (21:57 +0000)]
Return FALSE, or window focusing will not work.

2001-05-11  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkwindow-decorate.c (gtk_decorated_window_focus_change):
Return FALSE, or window focusing will not work.