]> Pileus Git - ~andy/gtk/log
~andy/gtk
25 years agoset RECEIVES_DEFAULT on init, and a button press on the widget doesn't
George Lebl [Mon, 25 Jan 1999 19:05:58 +0000 (19:05 +0000)]
set RECEIVES_DEFAULT on init, and a button press on the widget doesn't

Mon Jan 25 11:05:10 1999  George Lebl  <jirka@5z.com>

        * gtk/gtkbutton.c: set RECEIVES_DEFAULT on init, and a
          button press on the widget doesn't grab default anymore

        * gtk/gtkcheckbutton.c,gtk/gtkoptionmenu.c,gtk/gtkradiobutton.c:
          unset RECEIVES_DEFAULT on init

        * gtk/gtkwidget.[ch]: add a RECEIVES_DEFAULT flag to widget
          flags

        * gtk/gtkwindow.c,gtk/gtkplug.c: on pressing <enter>, activate
          the focused widget if it is a RECEIVES_DEFAULT widget,
          no matter what the current default_widget is

        * gtk/gtkwindow.c: on focus change, migrate the HAS_DEFAULT
          flag to CAN_DEFAULT widgets if they RECEIVE_DEFAULT as well
          or migrate it back to the default_widget if the focus widget
          doesn't "RECEIVE_DEFAULT"

25 years agoByteswap
Owen Taylor [Sun, 24 Jan 1999 23:07:33 +0000 (23:07 +0000)]
Byteswap

Sun Jan 24 18:09:24 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkdnd.c (motif_read_initiator_info): Byteswap

25 years agoFix reversed assertion. (Pointed out by Austin Donnelly
Owen Taylor [Sun, 24 Jan 1999 17:19:21 +0000 (17:19 +0000)]
Fix reversed assertion. (Pointed out by Austin Donnelly

Sun Jan 24 12:17:39 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix
 reversed assertion.
 (Pointed out by Austin Donnelly <austin@greenend.org.uk>)

* gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary
 and harmful call to gtk_paint_box(). We are going
 to paint onto the backing store later anyways.

25 years agotiny style corrections
Sergey I. Panov [Sun, 24 Jan 1999 16:12:22 +0000 (16:12 +0000)]
tiny style corrections

25 years agoX expects longs, not uint32 for XChangeProperty, when format == 32.
Owen Taylor [Sat, 23 Jan 1999 20:32:20 +0000 (20:32 +0000)]
X expects longs, not uint32 for XChangeProperty, when format == 32.

Sat Jan 23 11:15:39 1999  Owen Taylor  <otaylor@gtk.org>

* gdk/gdkdnd.c (gdk_window_register_dnd): X expects
 longs, not uint32 for XChangeProperty, when
 format == 32.

* gdk/gdkdnd.c (motif_read_initiator_info): Byte-swap
 the MotifInitiatorInfo structure if necessary.

  * gdk/gdkdnd.c: When extracting and constructing
         Motif DND messages, don't use data.s[], data.l[]
 since on 64bit architectures, these won't necessarily
 be in the same place with data.b[].

  * gtk/testdnd.c (target_drag_drop): Return TRUE for
 drag_drop within the drop zone.

* gtk/gtkdnd.c (gtk_drag_dest_handle_event): Only send
 a XmTRANSFER_FAILURE if no drop site is found, not
 on every drop!

25 years agoAdd flags field to GtkTargetEntry table.
Owen Taylor [Sat, 23 Jan 1999 20:31:42 +0000 (20:31 +0000)]
Add flags field to GtkTargetEntry table.

Fri Jan 22 19:22:39 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkeditable.c: Add flags field to
 GtkTargetEntry table.

* gdk/gdkwindow.c (gdk_window_is_viewable): Treat foreign
 windows as always viewable, since we can't track their
 map-state reliably without speed problems. (Fixes
 problem where updating didn't occur properly within
 GtkPlug)

25 years agoDon't search selection list twice. (real_select_row): Remove extra ';',
Jeff Garzik [Sat, 23 Jan 1999 18:44:36 +0000 (18:44 +0000)]
Don't search selection list twice. (real_select_row): Remove extra ';',

Sat Jan 23 13:41:00 1999  Jeff Garzik  <jgarzik@pobox.com>

        * gtk/gtkctree.c
        (tree_delete): Don't search selection list twice.
        (real_select_row): Remove extra ';', add default for clarity.

25 years agoremoved extra gtk_spin_button_update calls again. unblock dnd signal
Lars Hamann [Sat, 23 Jan 1999 01:04:33 +0000 (01:04 +0000)]
removed extra gtk_spin_button_update calls again. unblock dnd signal

Sat Jan 23 01:44:43 1999  Lars Hamann  <lars@gtk.org>

* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
(gtk_spin_button_get_value_as_float): removed extra
  gtk_spin_button_update calls again.
* gtk/gtkclist.c (gtk_clist_unmap): unblock dnd signal handler if
neccessary
* gtk/gtknotebook.c (gtk_notebook_button_press): grab_focus before
switch_page
(gtk_notebook_set_shape): don't use cur_page if it's NULL.

25 years agoFix recent change to match existing coding style.
Jeff Garzik [Fri, 22 Jan 1999 17:23:55 +0000 (17:23 +0000)]
Fix recent change to match existing coding style.

Fri Jan 22 12:20:54 1999  Jeff Garzik  <jgarzik@pobox.com>

        * gtk/gtktooltips.c:
        Fix recent change to match existing coding style.

25 years agotake value_spacing into account for GTK_POS_LEFT.
Tim Janik [Fri, 22 Jan 1999 08:12:00 +0000 (08:12 +0000)]
take value_spacing into account for GTK_POS_LEFT.

Fri Jan 22 07:33:44 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into
        account for GTK_POS_LEFT.

        * gtk/gtkradiobutton.c (gtk_radio_button_set_group): use
        gtk_toggle_button_set_active () to set the new state.
        (gtk_radio_button_new): only _set_group if group != NULL.
        (gtk_radio_button_clicked): reference the widget.
        (gtk_radio_button_init): make radio buttons active upon
        startup.

25 years agoA few updates.
Sergey I. Panov [Fri, 22 Jan 1999 03:59:16 +0000 (03:59 +0000)]
A few updates.

25 years agoCheck args for NULL. (gtk_selection_default_handler): Replace manual list
Jeff Garzik [Thu, 21 Jan 1999 22:29:58 +0000 (22:29 +0000)]
Check args for NULL. (gtk_selection_default_handler): Replace manual list

Thu Jan 21 17:13:12 1999  Jeff Garzik  <jgarzik@pobox.com>

        * gtk/gtkselection.c:
        (gtk_selection_property_notify): Check args for NULL.
        (gtk_selection_default_handler):
        Replace manual list count with call to g_list_length.
        Remove signedness of temp var 'count' to agree with usage.
        Slight spacing adjustment for readability.

        * gtk/gtkbox.c, gtk/gtklayout.c, gtk/gtkselection.c:
        Init a few ptrs to NULL, to quiet warnings.

25 years agoShut up cvs
Manish Singh [Thu, 21 Jan 1999 21:52:53 +0000 (21:52 +0000)]
Shut up cvs

-Yosh

25 years ago[ Tried to commit wrong file last time ]
Owen Taylor [Thu, 21 Jan 1999 21:09:03 +0000 (21:09 +0000)]
[ Tried to commit wrong file last time ]

Thu Jan 21 16:03:02 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktreeitem.c: Add a paint routine, fix up bugs
in drawing where if the expose area was contained
completely in the right side of the tree the background
wasn't redraw, etc.

25 years agoCode cleanup.
Owen Taylor [Thu, 21 Jan 1999 21:06:13 +0000 (21:06 +0000)]
Code cleanup.

Thu Jan 21 16:03:02 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkbutton.c (gtk_button_expose): Code cleanup.

* gtk/gtktree.c: Add a paint routine, fix up bugs
in drawing where if the expose area was contained
completely in the right side of the tree the background
wasn't redraw, etc.

* gtk/gtkwidget.c (gtk_widget_clip_rect): Fix a bug
in clipping draw regions while propagating them
upwards.

25 years agoPushing and popping the visual/cmap in the init() function does no good,
Owen Taylor [Thu, 21 Jan 1999 17:27:23 +0000 (17:27 +0000)]
Pushing and popping the visual/cmap in the init() function does no good,

Thu Jan 21 12:20:51 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcolorsel.c (gtk_color_selection_dialog_new):
Pushing and popping the visual/cmap in the init()
function does no good, because the window itself needs
to be create with that visual/cmap.

So do it in the new() function instead.

This will require people doing gtk_widget_new() to do
the push/pop themselves, but I don't see any way around
it other than digging in and tweaking the window
widget's colormap and visual ourselves, which
is highly non-kosher, but would be safe...

25 years agoUpdated Italian texts
Tristan Tarrant [Thu, 21 Jan 1999 15:16:06 +0000 (15:16 +0000)]
Updated Italian texts

25 years agoIt was reported by Owen Taylor <otaylor@redhat.com>, that LC_ALL produce
Timur Bakeyev [Thu, 21 Jan 1999 13:26:35 +0000 (13:26 +0000)]
It was reported by Owen Taylor <otaylor@redhat.com>, that LC_ALL produce

Thu Jan 21 16:04:35 1999  Timur Bakeyev <mc@bat.ru>

* gtk/gtkrc.c (gtk_rc_init): It was reported by Owen Taylor
<otaylor@redhat.com>, that LC_ALL produce unparsable garbage
on some glibc'ed systems and HP/UX. So, falling to LC_CTYPE.

25 years agoSet and read the XdndActionList property defined in the Xdnd spec. We do
Owen Taylor [Thu, 21 Jan 1999 07:08:25 +0000 (07:08 +0000)]
Set and read the XdndActionList property defined in the Xdnd spec. We do

Thu Jan 21 02:11:44 1999  Owen Taylor  <otaylor@redhat.com>

* Set and read the XdndActionList property defined
in the Xdnd spec. We do this always, not just for
XdndActionAsk like the spec says, but if we don't
find it, we fall back to actions = suggested_action,
which is compatible with the language of the spec.

25 years agoMove not-null assertion before pointer de-ref.
Jeff Garzik [Thu, 21 Jan 1999 06:24:09 +0000 (06:24 +0000)]
Move not-null assertion before pointer de-ref.

        * gdk/gdkdnd.c (gdk_drag_context_unref):
        Move not-null assertion before pointer de-ref.

        * gdk/gdkevents.c (gdk_event_queue_find_first):
        Fix infinite loop bug.  Someone should look at this further to
        make sure the events_pending tests are correct.

25 years agoDefault handling for drops should be keyed on GTK_DRAG_DEFAULT_DROP not
Owen Taylor [Thu, 21 Jan 1999 05:59:04 +0000 (05:59 +0000)]
Default handling for drops should be keyed on GTK_DRAG_DEFAULT_DROP not

Thu Jan 21 00:44:47 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
for drops should be keyed on GTK_DRAG_DEFAULT_DROP
not GTK_DRAG_DEFAULT_MOTION.

25 years agoDon't search entire row list twice for element being removed.
Jeff Garzik [Thu, 21 Jan 1999 03:46:32 +0000 (03:46 +0000)]
Don't search entire row list twice for element being removed.

        * gtk/gtkclist.c (real_remove_row):
        Don't search entire row list twice for element being removed.

        * gtk/gtkmenushell.c (gtk_menu_shell_insert):
        Replaced hand-coded implementation of g_list_insert with
        call to g_list_insert.

        * gtk/gtktooltips.c
          (gtk_tooltips_destroy_data, gtk_tooltips_layout_text):
        tooltipsdata->row test not-null test now properly encompasses
        both g_list_* calls.

25 years agofew cleanups. (gtk_notebook_key_press): call select page function for
Lars Hamann [Thu, 21 Jan 1999 02:13:13 +0000 (02:13 +0000)]
few cleanups. (gtk_notebook_key_press): call select page function for

Thu Jan 21 02:47:36 1999  Lars Hamann  <lars@gtk.org>

* gtk/gtknotebook.c (gtk_notebook_focus): few cleanups.
(gtk_notebook_key_press): call select page function for
GDK_DOWN key in case of tab_pos == TOP. Changed other
positions accordingly.

25 years agoStart off with the cursor for "no drop" since if we'll get a status if we
Owen Taylor [Thu, 21 Jan 1999 01:03:27 +0000 (01:03 +0000)]
Start off with the cursor for "no drop" since if we'll get a status if we

Wed Jan 20 19:57:14 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_begin): Start off with the
cursor for "no drop" since if we'll get a status
if we are over a drag window, but none if we aren't
over one.

25 years ago. Free 'nprefix', closing a memory leak. Spaced out the code a bit to make
Jeff Garzik [Thu, 21 Jan 1999 00:37:48 +0000 (00:37 +0000)]
. Free 'nprefix', closing a memory leak. Spaced out the code a bit to make

.
        * gtk/gtkcombo.c (gtk_combo_entry_key_press):
        Free 'nprefix', closing a memory leak.
        Spaced out the code a bit to make it more readable.

        * gtk/gtkhbox.[ch] (gtk_hbox_new),
          gtk/gtkvbox.[ch] (gtk_vbox_new):
        Change 'homogenous' arg from gint to gboolean.

        * gtk/gtktogglebutton.[ch]:
        New function gtk_toggle_button_get_active().

25 years agoAllow button 2 to act as GDK_ACTION_ASK. Also, allow MOD1 to specify
Federico Mena Quintero [Wed, 20 Jan 1999 23:53:29 +0000 (23:53 +0000)]
Allow button 2 to act as GDK_ACTION_ASK. Also, allow MOD1 to specify

1999-01-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtkdnd.c (gtk_drag_get_event_action): Allow button 2 to act
as GDK_ACTION_ASK.  Also, allow MOD1 to specify GDK_ACTION_ASK
only if that action is enabled in the actions argument.

25 years agoNew variable. Define to $prefix/$DATADIRNAME/locale. This will point to
Raja R Harinath [Wed, 20 Jan 1999 23:43:08 +0000 (23:43 +0000)]
New variable. Define to $prefix/$DATADIRNAME/locale. This will point to

* configure.in (gtklocaledir): New variable.  Define to
$prefix/$DATADIRNAME/locale.  This will point to the directory
where po/Makefile actually installs the message translation
tables.
* gtk/Makefile.am (INCLUDES): Define GTK_LOCALEDIR to
$(gtklocaledir) rather than $prefix/share/locale.

25 years agoUnder some systems (notably, BSDI), there is no LC_MESSAGES category in
Timur I. Bakeyev [Wed, 20 Jan 1999 18:35:53 +0000 (18:35 +0000)]
Under some systems (notably, BSDI), there is no LC_MESSAGES category in

Under some systems (notably, BSDI), there is no LC_MESSAGES category in
locale.h. In this case it is good guess to relay on the value of LC_ALL
(in fact, LC_CTYPE will be more precise).

25 years agoInstead of drawing a background pixmap in with gdk_draw_pixmap(), set it
Owen Taylor [Wed, 20 Jan 1999 18:06:31 +0000 (18:06 +0000)]
Instead of drawing a background pixmap in with gdk_draw_pixmap(), set it

Wed Jan 20 13:06:51 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
a background pixmap in with gdk_draw_pixmap(), set
it as a tile pixmap for a GC. This should speed
up things considerably and also will hide a bug
where text->first_onscreen_ver_pixel is being
corrupted, causing the bg pixmap drawing code to generate
graphics exposes.

25 years agoonly call grab_add if pointer_grab succeeds. (gtk_list_unmap): remove
Lars Hamann [Wed, 20 Jan 1999 01:09:16 +0000 (01:09 +0000)]
only call grab_add if pointer_grab succeeds. (gtk_list_unmap): remove

Tue Jan 19 22:15:10 1999  Lars Hamann  <lars@gtk.org>

* gtk/gtklist.c
(gtk_list_button_press):  only call grab_add if pointer_grab succeeds.
(gtk_list_unmap): remove pointer/widget grabs if needed.
(gtk_list_signal_focus_lost): removed.
(gtk_list_focus) (gtk_list_set_focus_child): set last_focus_child.
(gtk_list_remove_items_internal) (gtk_list_clear_items): unset
  undo_focus_child if necessary. In case of SELECTION_BROWSE/EXTENDED
  select a new item if selection is empty.

25 years agoadd compatibility define for gtk_ctree_set_reorderable.
Tim Janik [Mon, 18 Jan 1999 23:51:43 +0000 (23:51 +0000)]
add compatibility define for gtk_ctree_set_reorderable.

Tue Jan 19 00:21:15 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkcompat.h: add compatibility define for
        gtk_ctree_set_reorderable.

25 years agoadd a sanity check [from Todd Dukes <todddukes@netscape.net>]
Lars Hamann [Mon, 18 Jan 1999 23:09:50 +0000 (23:09 +0000)]
add a sanity check [from Todd Dukes <todddukes@netscape.net>]

Tue Jan 19 00:02:10 1999  Lars Hamann  <lars@gtk.org>

* gtk/gtkctree.c (gtk_ctree_node_set_row_data_full):
add a sanity check [from Todd Dukes <todddukes@netscape.net>]

25 years agoonly call grab_add if pointer_grab succeeds. (gtk_clist_unmap): remove
Lars Hamann [Mon, 18 Jan 1999 23:02:08 +0000 (23:02 +0000)]
only call grab_add if pointer_grab succeeds. (gtk_clist_unmap): remove

Mon Jan 18 22:54:11 1999  Lars Hamann  <lars@gtk.org>

* gtk/gtkclist.c (gtk_clist_button_press): only call grab_add
if pointer_grab succeeds.
(gtk_clist_unmap): remove pointer/widget grabs if needed.

25 years agoInitialize label->label_wc. (We allocate labels from a memchunk)
Owen Taylor [Mon, 18 Jan 1999 20:46:51 +0000 (20:46 +0000)]
Initialize label->label_wc. (We allocate labels from a memchunk)

Mon Jan 18 15:46:14 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtklabel.c (gtk_label_init): Initialize
label->label_wc. (We allocate labels from
a memchunk)

25 years agoCLAMP digits into a meaningfull range (we need to stay below a certain
Tim Janik [Mon, 18 Jan 1999 19:42:59 +0000 (19:42 +0000)]
CLAMP digits into a meaningfull range (we need to stay below a certain

Mon Jan 18 18:53:08 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a
        meaningfull range (we need to stay below a certain limit anyways
        to avoid string buffer overflows).

        * gtk/gtkvscale.c (gtk_vscale_pos_background): fixed up background
        area calculations for GTK_POS_RIGHT and GTK_POS_BOTTOM.
        * gtk/gtkhscale.c (gtk_hscale_pos_background): likewise.
        (gtk_hscale_draw_value): safety CLAMP the value's x position for
        GTK_POS_TOP and GTK_POS_BOTTOM, so we don't paint strings outside of
        our allocation.

        * gtk/gtkscale.c: implemented GtkScale::digits, GtkScale::draw_value
        and GtkScale::value_pos arguments.

25 years agoSome editing, a little more detail.
Owen Taylor [Mon, 18 Jan 1999 19:27:43 +0000 (19:27 +0000)]
Some editing, a little more detail.

Mon Jan 18 14:26:17 1999  Owen Taylor  <otaylor@redhat.com>

* docs/Changes-1.2.txt: Some editing, a little more
detail.

25 years agoAdded gtk_menu_set_title() to set the title of a menu in the torn-off
Owen Taylor [Mon, 18 Jan 1999 18:48:09 +0000 (18:48 +0000)]
Added gtk_menu_set_title() to set the title of a menu in the torn-off

Mon Jan 18 13:25:14 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmenu.[ch]: Added gtk_menu_set_title() to
set the title of a menu in the torn-off state.

* gtk/gtkthemes.c (gtk_theme_engine_get): When loading
of theme engine fails, just warn and do without -
don't error out.

* gtk/gtkmain.c (gtk_check_version): s/to/too/.

25 years agoadd Russian translations
Sergey I. Panov [Mon, 18 Jan 1999 05:47:11 +0000 (05:47 +0000)]
add Russian translations

25 years agoFirst draft of the Russian translations.
Sergey I. Panov [Mon, 18 Jan 1999 05:45:41 +0000 (05:45 +0000)]
First draft of the Russian translations.

25 years agofixed auto resize bug.
Lars Hamann [Mon, 18 Jan 1999 00:36:33 +0000 (00:36 +0000)]
fixed auto resize bug.

Mon Jan 18 01:21:03 1999  Lars Hamann  <lars@gtk.org>

* gtk/gtkctree.c (draw_row): fixed auto resize bug.

25 years agoReleased GTK+ 1.1.13
CST 1999 Shawn T. Amundson [Mon, 18 Jan 1999 00:27:59 +0000 (00:27 +0000)]
Released GTK+ 1.1.13

Sun Jan 17 17:35:28 CST 1999 Shawn T. Amundson <amundson@gtk.org>

        * Released GTK+ 1.1.13

        * README:
          INSTALL:
          docs/gtk-config.1: ver=1.1.13

25 years agoadded a section about GtkArgGetFunc and GtkArgSetFunc
Tim Janik [Sun, 17 Jan 1999 23:54:22 +0000 (23:54 +0000)]
added a section about GtkArgGetFunc and GtkArgSetFunc

25 years agoblock drag source signal handler during column resizes.
Lars Hamann [Sun, 17 Jan 1999 23:44:18 +0000 (23:44 +0000)]
block drag source signal handler during column resizes.

Mon Jan 18 00:22:54 1999  Lars Hamann  <lars@gtk.org>

* gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release):
block drag source signal handler during column resizes.
(gtk_clist_set_column_visibility): resize clist if needed.
(gtk_clist_map): raise resize windows to make resize
  cursor visible again.

25 years agoremoved deprecated functions: gtk_clist_set_border,
Tim Janik [Sun, 17 Jan 1999 23:12:18 +0000 (23:12 +0000)]
removed deprecated functions: gtk_clist_set_border,

Sun Jan 17 22:47:15 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.[hc]:
        * gtk/gtkspinbutton.[hc]:
        * gtk/gtkscrolledwindow.[hc]:
        * gtk/gtkprogressbar.[hc]:
        * gtk/gtkpreview.[hc]:
        * gtk/gtkobject.[hc]:
        * gtk/gtkentry.[hc]:
        * gtk/gtkctree.[hc]:
        * gtk/gtkcontainer.[hc]:
        * gtk/gtkclist.[hc]:
        removed deprecated functions: gtk_clist_set_border,
        gtk_container_block_resize, gtk_container_unblock_resize,
        gtk_container_need_resize, gtk_ctree_set_reorderable,
        gtk_ctree_show_stub, gtk_ctree_set_use_drag_icons,
        gtk_entry_adjust_scroll, gtk_object_class_add_user_signal,
        gtk_preview_put_row, gtk_progress_bar_construct,
        gtk_scrolled_window_construct, gtk_spin_button_construct,
        gtk_widget_freeze_accelerators, gtk_widget_thaw_accelerators.

        * gtk/gtkcheckmenuitem.c: removed binary variant of
        gtk_check_menu_item_set_state, this is still defined in gtkcompat.h
        though.

        * docs/Changes-1.2.txt:
        removed section about gtk_idle_remove_by_data vs.
        gtk_timeout_remove_by_data, we actually don't even provide a
        gtk_timeout_remove_by_data() function.
        added a table with removed functions and their replacements.

        * NEWS: updates for 1.1.13.

25 years agoPatch from Felix Bellaby <felix@pooh.u-net.com>
Owen Taylor [Sun, 17 Jan 1999 22:58:59 +0000 (22:58 +0000)]
Patch from Felix Bellaby <felix@pooh.u-net.com>

Sun Jan 17 17:56:33 1999  Owen Taylor  <otaylor@redhat.com>

Patch from Felix Bellaby <felix@pooh.u-net.com>

* gdk/gdk.c: Use XmbSetWMProperties to set
the class/command on the loader window so that the
client machine is also set in the same place.
(For X11R5 sesssion management compatibility)

* gdk/gdk.c: (gdk_set_sm_client_id) Implementation
of function to set the session manager client ID.

* gdk/gdkwindow.c (gdk_window_new): Set
WM_CLIENT_LEADER propertiy on all windows pointing
back to GDK's leader window.

25 years agoAllow a bg_pixmap of "<none>", as there was no way to set the background
Owen Taylor [Sun, 17 Jan 1999 22:38:05 +0000 (22:38 +0000)]
Allow a bg_pixmap of "<none>", as there was no way to set the background

Sun Jan 17 12:01:57 1999  Owen Taylor  <otaylor@gtk.org>

* gtk/gtkrc.c (gtk_rc_style_init): Allow a bg_pixmap
of "<none>", as there was no way to set the background
on all widget but some widgets. This is important
because Text widgets with background images are
slow and possibly ugly.

25 years agoAdded a g_return_val_if_fail() in gtk_label_parse_uline() to
Guillaume Laurent [Sun, 17 Jan 1999 19:02:53 +0000 (19:02 +0000)]
Added a g_return_val_if_fail() in gtk_label_parse_uline() to
prevent from 'string' arg being NULL.

25 years agoNew macro. Changed the spacing from 5 to 3.
Nat Friedman [Sun, 17 Jan 1999 19:01:49 +0000 (19:01 +0000)]
New macro. Changed the spacing from 5 to 3.

1999-01-17  Nat Friedman  <nat@nat.org>

* gtk/gtkscrolledwindow.c (DEFAULT_SCROLLBAR_SPACING): New macro.
   Changed the spacing from 5 to 3.

* gtk/gtkmenubar.c (BORDER_SPACING): Changed the extra spacing on
  the menubar from 2 to 0.

25 years agos/1.1.3/1.1.13/
Christopher Blizzard [Sun, 17 Jan 1999 17:06:21 +0000 (17:06 +0000)]
s/1.1.3/1.1.13/

25 years ago- GNU autoconf 2.13 - GNU automake 1.4 (Beta releases are at
Tim Janik [Sun, 17 Jan 1999 16:54:58 +0000 (16:54 +0000)]
- GNU autoconf 2.13 - GNU automake 1.4 (Beta releases are at

        - GNU autoconf 2.13
        - GNU automake 1.4
                (Beta releases are at ftp://ftp.cygnus.com/pub/tromey)
        - GNU libtool 1.2d
        - indent (GNU indent 1.9.1 is known good)
        - GNU gettext 10.35
                Available in ftp://alpha.gnu.org/gnu

25 years agoFix typo [ gtk-mailund-990116-0: Thomas Mailund Jensen
Owen Taylor [Sun, 17 Jan 1999 16:51:20 +0000 (16:51 +0000)]
Fix typo [ gtk-mailund-990116-0: Thomas Mailund Jensen

Sun Jan 17 11:51:17 1999  Owen Taylor  <otaylor@gtk.org>

* gtk/gtktext.c (gtk_text_move_cursor): Fix typo
[ gtk-mailund-990116-0: Thomas Mailund Jensen <mailund@daimi.au.dk> ]

25 years agoUpdate to version 1.1.3, change packager address.
Christopher Blizzard [Sun, 17 Jan 1999 16:25:20 +0000 (16:25 +0000)]
Update to version 1.1.3, change packager address.

Sun Jan 17 11:15:05 1999 Christopher Blizzard  <blizzard@appliedtheory.com>

        * gtk+.spec: Update to version 1.1.3, change packager address.

25 years agodeprecated gtk_check_menu_item_set_state, people should use
Tim Janik [Sun, 17 Jan 1999 14:52:22 +0000 (14:52 +0000)]
deprecated gtk_check_menu_item_set_state, people should use

Sun Jan 17 14:52:29 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkcompat.h:
        * gtk/gtkcheckmenuitem.[hc]:
        deprecated gtk_check_menu_item_set_state, people should use
        gtk_check_menu_item_set_active instead.

        * gtk/testgtk.c:
         s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/.

25 years agoincremented version number to 1.1.13, bin age 0, interface age 0.
Tim Janik [Sun, 17 Jan 1999 04:50:13 +0000 (04:50 +0000)]
incremented version number to 1.1.13, bin age 0, interface age 0.

Sun Jan 17 05:19:14 1999  Tim Janik  <timj@gtk.org>

        * configure.in: incremented version number to 1.1.13, bin age 0,
        interface age 0.

        * gtk/gtkmain.c (gtk_idle_remove_by_data): use g_idle_remove_by_data to
        remove idles, so `data' cannot conflict with other sources.

        * gtk/gtkcompat.h: define gtk_style_apply_default_pixmap here.

        * gtk/gtkstyle.[hc]: removed gtk_style_apply_default_pixmap.
        (struct _GtkStyle): reordered GtkStyleClass*klass; member.

25 years agofor NO_WINDOW widgets, add their allocation.y to the position of the
George Lebl [Sun, 17 Jan 1999 03:49:31 +0000 (03:49 +0000)]
for NO_WINDOW widgets, add their allocation.y to the position of the

Sat Jan 16 19:42:48 1999  George Lebl  <jirka@5z.com>

        * gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
          to the position of the tooltip. This fixes tooltip positioning
          problems with some widgets such as a checkbox.

25 years agoUpdated.
Tomas Ogren [Sun, 17 Jan 1999 03:04:45 +0000 (03:04 +0000)]
Updated.

1999-01-17  Tomas Ogren  <stric@ing.umu.se>

* sv.po: Updated.

25 years agoupdated
Nam SungHyun [Sun, 17 Jan 1999 02:19:33 +0000 (02:19 +0000)]
updated

25 years agoSat, 16 Jan 1999 23:32:33 +0100 [Vincent]
Vincent Renardias [Sat, 16 Jan 1999 21:32:10 +0000 (21:32 +0000)]
Sat, 16 Jan 1999 23:32:33 +0100  [Vincent]
* fr.po: Updated.

25 years agocheck for child widget being NULL
Stuart Parmenter [Sat, 16 Jan 1999 19:04:06 +0000 (19:04 +0000)]
check for child widget being NULL

Sat Jan 16 14:01:53 1999  Stuart Parmenter <pavlov@gtk.org>

* gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL

25 years agofixed double click bug.
Lars Hamann [Sat, 16 Jan 1999 04:21:46 +0000 (04:21 +0000)]
fixed double click bug.

Sat Jan 16 05:02:22 1999  Lars Hamann  <lars@gtk.org>

* gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.

25 years agoMention libtool 1.2d
Manish Singh [Sat, 16 Jan 1999 03:44:08 +0000 (03:44 +0000)]
Mention libtool 1.2d

-Yosh

25 years agoUpdated translation.
Kjartan Maraas [Fri, 15 Jan 1999 23:59:44 +0000 (23:59 +0000)]
Updated translation.

1999-01-16  Kjartan Maraas  <kmaraas@fib.hl.no>

* Updated translation.

25 years agodefine GTK_DISABLE_COMPAT_H for compilation of gtk code.
Tim Janik [Fri, 15 Jan 1999 18:41:43 +0000 (18:41 +0000)]
define GTK_DISABLE_COMPAT_H for compilation of gtk code.

Fri Jan 15 19:16:42 1999  Tim Janik  <timj@gtk.org>

        * gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk
        code.

        * gtk/gtkrc.c (gtk_rc_style_unref): added an assertment.

        * gtk/gtkcompat.h:
        * gtk/gtklabel.h:
        don't provide compatibility defines if GTK_DISABLE_COMPAT_H is defined.

        * gtk/gtkstyle.h:
        * gtk/gtkstyle.c: coding style, indentation and alignment fixups.
        (gtk_draw_string):
        (gtk_paint_string):
        (gtk_draw_polygon):
        (gtk_style_set_background): fixed assertments.
        (gtk_default_draw_ramp):
        (gtk_default_draw_cross):
        (gtk_default_draw_oval): issue warnings since these functions aren't
        yet implemented.

        * gdk/gdkwindow.c:
        (gdk_window_hide): only unmap window if already mapped.
        (gdk_window_show): only map window if !mapped.
        (gdk_window_internal_destroy): destroyed windows can't be mapped.

        * gtk/gtkwidget.c (gtk_widget_event): don't ignore expose events just
        because a resize is queued on a widget, we rely on the expose events
        now.

25 years agonparams for selection_get should be 3, not 2. [ From Damon Chaplin
Owen Taylor [Fri, 15 Jan 1999 16:00:39 +0000 (16:00 +0000)]
nparams for selection_get should be 3, not 2. [ From Damon Chaplin

Fri Jan 15 10:22:21 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_class_init):
nparams for selection_get should be 3, not 2.
[ From Damon Chaplin <damon@karuna.freeserve.co.uk> ]

* gtk/gtkeventbox.c (gtk_event_box_paint): Add a paint
routine so queued redraws work inside event boxes.

Thu Jan 14 17:47:37 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): Only
   redraw character under cursor when not displaying
highlighted selection.

* gdk/gdkrgb.c (gdk_rgb_init): Add in a cast to
gpointer to make IRIX cc happy.

Thu Jan 14 12:29:50 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcheckbutton.c (gtk_check_button_draw): Restructure
the drawing code to remove a bit of duplication -
and to remove a call to gtk_widget_draw_focus()
that queues a redraw when an expose occurs.

* gtk/gtklabel.c (gtk_label_expose): Fix up handling
  of ypadding.

* gtk/gtknotebook.c (gtk_notebook_draw): If we redraw
  the whole widget, also redraw the corresponding
  areas of the child widget. (have_visible_child
  still has some problems)

* gdk/gdkpixmap.c: Change some g_new's to g_new0 so
  that fields unused for pixmaps get initialzized
  sanely.

        * gdk/gdk.h gdk/gdkwindow.c gdk/gdkprivate.h: Add new calls
  gdk_window_is_visible() and gdk_window_is_viewable()
  and a mapped flag to the window private structure.

        * gtk/gtkbin.c gtk/gtkclist.c gtk/gtkfixed.c gtk/gtkitem.c
  gtk/gtklayout.c gtk/gtklist.c gtk/gtkmenushell.c
  gtk/gtknotebook.c gtk/gtkpaned.c gtk/gtktree.c
  gtk/gtktreeitem.c gtk/gtkviewport.c:
Map windows after mapping children.

* gtk/gtkwidget.c (gtk_widget_clip_rect): Handle
rectangles completely clipped away correctly.

* gtk/gtkwidget.c (gtk_widget_idle_draw): Don't
call gtk_widget_draw if width or height is 0.

* gtk/gtkwidget.c (gtk_widget_idle_draw): Don't
rely on GTK_REDRAW_PENDING after we've cleared
it. (This was causing draw-combining to not
happen at all).

* gtk/gtkbin.c gtk/gtkscale.c: Remove uneccessary calls
to gtk_widget_queue_draw() when mapping.

25 years agoMake MOD1-drag also do action ask.
Owen Taylor [Fri, 15 Jan 1999 15:58:17 +0000 (15:58 +0000)]
Make MOD1-drag also do action ask.

Thu Jan 14 11:29:53 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c (gtk_drag_get_event_action): Make
MOD1-drag also do action ask.

* gtk/gtkdnd.c (gtk_drag_button_release_cb): Send the
button-release event we simulate to get grabs released,
with a window of GDK_ROOT_PARENT instead of the actual
widget. This is a bad hack in some sense, but seems
to work nicely. (It's sort of like what you would
if you grabbed on button press, then the user
released outside of the widget.)

25 years agoDo all event processing in dispatch() instead of prepare() and check().
Owen Taylor [Fri, 15 Jan 1999 15:56:32 +0000 (15:56 +0000)]
Do all event processing in dispatch() instead of prepare() and check().

Thu Jan 14 19:19:51 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkevents.c: Do all event processing in
dispatch() instead of prepare() and check().

25 years agoChange copy_area => !set_bg. Use tile instead of gdk_window_copy_area when
Owen Taylor [Fri, 15 Jan 1999 15:54:39 +0000 (15:54 +0000)]
Change copy_area => !set_bg. Use tile instead of gdk_window_copy_area when

Thu Jan 14 20:29:16 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkstyle.[ch] (gtk_style_apply_default_background):
Change copy_area => !set_bg. Use tile instead of
gdk_window_copy_area when drawing without !set_bg.

This does mess up timj's neat check-button example,
but is consistent with how we interpret background
pixmaps everywhere else in the default scheme.

Restructure code for clarity.

25 years agogtk/gtkbutton.c gtk/gtkclist.c gtk/gtkhandlebox.c gtk/gtkframe.c
Owen Taylor [Thu, 14 Jan 1999 06:04:55 +0000 (06:04 +0000)]
gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkhandlebox.c gtk/gtkframe.c

Wed Jan 13 22:34:29 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkhandlebox.c
gtk/gtkframe.c gtk/gtk[hv]box.c gtk[hv]paned.c gtk/gtklist.c
gtkmenu.c gtkmenuitem.c gtkmenubar.c gtknotebook.c
gtk/gtkscrolledwindow.c gtk/gtktable.c gtk/gtktree.c
gtk/gtktreeeitem.c gtk/gtkviewport.c

Fix up comparisons of signed and unsigned ints to avoid
assigning negative widths/heigths.

25 years agoUnset CATOBJEXT so that the macros and Makefiles correctly handle
Owen Taylor [Thu, 14 Jan 1999 02:16:49 +0000 (02:16 +0000)]
Unset CATOBJEXT so that the macros and Makefiles correctly handle

Wed Jan 13 21:18:41 1999  Owen Taylor  <otaylor@redhat.com>

* acinclude.m4 (ac_result): Unset CATOBJEXT so
that the macros and Makefiles correctly handle
disabling NLS when no gettext is found.

25 years agoin comparisions with GTK_TYPE_STRING, use the fundamental type to catch
Tim Janik [Wed, 13 Jan 1999 20:36:23 +0000 (20:36 +0000)]
in comparisions with GTK_TYPE_STRING, use the fundamental type to catch

Wed Jan 13 20:14:32 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkarg.c (gtk_arg_copy): in comparisions with GTK_TYPE_STRING, use
        the fundamental type to catch GTK_TYPE_IDENTIFIER as well.

        * gtk/gtkmenushell.c:
        (gtk_real_menu_shell_activate_current):
        (gtk_menu_shell_button_release): asure that we only activate sensitive
        menu items, reported by Dave Cole <dave@dccs.com.au>.

25 years agoupdated spanish language file
Pablo Saratxaga [Wed, 13 Jan 1999 19:24:20 +0000 (19:24 +0000)]
updated spanish language file

25 years agocvs be quiet
Jeff Garzik [Wed, 13 Jan 1999 19:17:08 +0000 (19:17 +0000)]
cvs be quiet

25 years agoeliminate queue_clears or queue_draws where we know that expose events
Tim Janik [Wed, 13 Jan 1999 12:39:17 +0000 (12:39 +0000)]
eliminate queue_clears or queue_draws where we know that expose events

Wed Jan 13 13:28:00 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c: eliminate queue_clears or queue_draws where we know
        that expose events will be generated.
        (gtk_widget_map): only queue_draw for NO_WINDOW widgets.
        (gtk_widget_unmap): only queue_clear_child for NO_WINDOW widgets.
        (gtk_widget_size_allocate): we don't need a queue_clear on changing
        allocations of !NO_WINDOW widgets, we do still need a full redraw for
        them though.

        * gtk/gtklabel.c (gtk_label_set_text): check whether the new string
        actually differs from the original.

25 years agoremove autogened files
Manish Singh [Wed, 13 Jan 1999 08:52:03 +0000 (08:52 +0000)]
remove autogened files

-Yosh

25 years agoDoah. libtool isn't the only thing in here.
Manish Singh [Wed, 13 Jan 1999 08:44:21 +0000 (08:44 +0000)]
Doah. libtool isn't the only thing in here.

-Yosh

25 years agoacinclude.m4 ltconfig upgrade to libtool 1.2d (with fixes for irix6 and
Manish Singh [Wed, 13 Jan 1999 06:53:26 +0000 (06:53 +0000)]
acinclude.m4 ltconfig upgrade to libtool 1.2d (with fixes for irix6 and

* acinclude.m4
* ltconfig
* ltmain.sh: upgrade to libtool 1.2d (with fixes for irix6 and osf)

-Yosh

25 years agoadd GTK_HAVE_FEATURES_1_1_13 for the toggle button name changes
Stuart Parmenter [Wed, 13 Jan 1999 03:34:53 +0000 (03:34 +0000)]
add GTK_HAVE_FEATURES_1_1_13 for the toggle button name changes

25 years agoUpdated, did make update-po
Tomas Ogren [Wed, 13 Jan 1999 02:30:55 +0000 (02:30 +0000)]
Updated, did make update-po

1999-01-13  Tomas Ogren  <stric@ing.umu.se>

* sv.po: Updated, did make update-po

25 years agoAdd a drag_data_received handler for the label.
Owen Taylor [Tue, 12 Jan 1999 23:27:30 +0000 (23:27 +0000)]
Add a drag_data_received handler for the label.

Tue Jan 12 18:30:51 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/testdnd.c (label_drag_data_received): Add
a drag_data_received handler for the label.

Tue Jan 12 15:01:50 1999  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkevents.c: Removed the putback_events queue,
since it was causing problems with event ordering -
just keep a single queue. If we need it, we can
add priorities to events.

* gdk/gdkevents.c: Annotate events with flags - we allocate
a GdkEventPrivate structure in gdk_event_new() and use these
flags to mark an event being translated as "pending" -
I.e., not yet ready to be dequeued. So we can put
the event on the queue and get the order of the
events right. (This solves the double-click problems)

* gdk/gdk.h gdk/gdkevents.h: Add gdk_event_peek() to get a copy
of the next event on the event queue.

* gtk/gtkmain.c (gtk_main_do_event): Use gdk_event_peek()
to check the next event without causing event queue
reordering.

25 years agoMinor fix to handling of misc->[x/y]pad
Owen Taylor [Tue, 12 Jan 1999 20:45:37 +0000 (20:45 +0000)]
Minor fix to handling of misc->[x/y]pad

Tue Jan 12 15:41:20 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtklabel.c (gtk_label_expose): Minor fix
to handling of misc->[x/y]pad

25 years agoAdd back as wrapper function to restore source/binary compatibility.
Owen Taylor [Tue, 12 Jan 1999 19:40:21 +0000 (19:40 +0000)]
Add back as wrapper function to restore source/binary compatibility.

Tue Jan 12 14:31:43 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkstyle.[ch] (gtk_style_apply_default_pixmap):
Add back as wrapper function to restore source/binary
compatibility. grrrr.

25 years agoupdates
Tim Janik [Tue, 12 Jan 1999 19:35:00 +0000 (19:35 +0000)]
updates

25 years agoreworked the redrawing heuristics somewhat, this fixed a bunch of existing
Tim Janik [Tue, 12 Jan 1999 15:12:14 +0000 (15:12 +0000)]
reworked the redrawing heuristics somewhat, this fixed a bunch of existing

Tue Jan 12 13:47:07 1999  Tim Janik  <timj@gtk.org>

        * reworked the redrawing heuristics somewhat, this fixed a bunch of
        existing redrawing problems and majorly reduces overall redrawing needs
        during normal operation. basically we now only queue redraws when
        neccessary and much rely on the draw_area coalescing code in gtkwidget.c
        to optimize the queued portions. widgets will now upon reallocation only
        get redrawed if their allocation has changed. upon hide/show only the
        area allocated by the child will be queued for the parent, this has the
        side effect that parents which change their appearance in dependance on
        the numer of visible children have to keep track of their children's
        visiblity and eventually fully redraw themselves. this is a minor
        constrain with great benefits in terms of redraw reduction, and only got
        triggered by the notebook widget.

        * gtk/gtkwidget.c:
        (gtk_widget_queue_clear): don't bother if width and height == 0.
        (gtk_widget_queue_clear_child): new static function to queue a redraw of
        the area obscured by a child on a parent.
        (gtk_widget_queue_resize): queue_clear the widget if it is drawable.
        (gtk_widget_show): queue resize on the widget before showing.
        (gtk_widget_hide): queue resize on the widget after hiding.
        (gtk_widget_map): queue_draw the widget after mapping.
        (gtk_widget_unmap): queue_clear_child the widget.
        (gtk_widget_size_allocate): queue_clear_child and queue_draw if the
        widget's allocation changed.
        (gtk_widget_unparent): queue_clear_child so the parent redraws obscured
        portions.
        (gtk_widget_real_show):
        (gtk_widget_real_hide):
        (gtk_widget_real_map):
        (gtk_widget_real_unmap):
        (gtk_widget_real_size_allocate): don't bother with redraw queueing,
        descendants that override these functions don't do either and we handle
        all redrawing/resizing related stuff before or after the signal emission
        now.

        * gtk/gtkcontainer.c:
        (gtk_container_resize_children): don't bother about redrawing anymore
        since gtk_widget_size_allocate handles that for us now.

        * gtk/gtknotebook.h:
        * gtk/gtknotebook.c:
        added a flag have_visible_child to indicate whether we need to draw
        non child related portions at all, e.g. shadows etc.
        (gtk_notebook_draw): if have_visible_child changed, do a full paint
        instead of updating a small area only.

Mon Jan 11 20:44:35 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkstyle.c: changed gtk_style_apply_default_pixmap to
        gtk_style_apply_default_background which takes an extra argument
        copy_area to determine NO_WINDOW widget pixmap copying.
        changed callers accordingly.

        * gtk/gtktogglebutton.c:
        (gtk_toggle_size_allocate):
        (gtk_toggle_button_expose):
        (gtk_toggle_button_paint): avoid messing with our parent's window if
        toggle_button->draw_indicator == TRUE and we are a NO_WINDOW widget.

        * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): draw
        the draw_indicator with GTK_STATE_ACTIVE if the toggle button is active.

        * gtk/check-n.xpm:
        * gtk/check-y.xpm:
        * gtk/testgtkrc: set pixmaps for ACTIVE and NORMAL check button
        bg_pixmaps.

25 years agoend drag selections if necessary.
Lars Hamann [Mon, 11 Jan 1999 23:24:41 +0000 (23:24 +0000)]
end drag selections if necessary.

Mon Jan 11 23:52:58 1999  Lars Hamann  <lars@gtk.org>

* gtk/gtklist.c (gtk_list_signal_drag_begin)
(gtk_list_drag_begin): end drag selections if necessary.

* gtk/gtkspinbutton.c/h (gtk_spin_button_update): made function
public. Manually force synchronization of spin button text and
  adjustment value.

25 years agoeliminated some queue_draws when invoking gtk_widget_set_state, since that
Tim Janik [Mon, 11 Jan 1999 18:49:54 +0000 (18:49 +0000)]
eliminated some queue_draws when invoking gtk_widget_set_state, since that

Mon Jan 11 15:23:32 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtktogglebutton.c: eliminated some queue_draws when invoking
        gtk_widget_set_state, since that cares about redrawing already.
        some code cleanups.

        * gtk/gtktogglebutton.[hc]:
        * gtk/gtkfontsel.c:
        * gtkgamma.c:
        s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/ since
        set_state is already taken by gtkwidget.h.

        * gtk/gtkcompat.h: #define gtk_toggle_button_set_state
        gtk_toggle_button_set_active.

        * gtk/gtkstyle.c: some indentation cleanups.

25 years agoOnly remove handlers for motion/button_release at drop, remove
Owen Taylor [Mon, 11 Jan 1999 16:07:47 +0000 (16:07 +0000)]
Only remove handlers for motion/button_release at drop, remove

Mon Jan 11 10:45:28 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkdnd.c: Only remove handlers for motion/button_release
at drop, remove "selection_get" handler later.

25 years agoremoved Paolo Molaro's type creation hooks again, since they 1) don't care
Tim Janik [Mon, 11 Jan 1999 12:43:07 +0000 (12:43 +0000)]
removed Paolo Molaro's type creation hooks again, since they 1) don't care

Mon Jan 11 13:31:49 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
        again, since they 1) don't care about infinite recursion (likely
        to achive), 2) we are in feature freeze for 1.2. this definitely
        deserves a sane implementation in 1.3 though (but without a hook
        return value, without seq_id hackery and with recursion checks).

25 years agoonly pass key events to the focus widget if it is sensitive.
Tim Janik [Mon, 11 Jan 1999 12:22:52 +0000 (12:22 +0000)]
only pass key events to the focus widget if it is sensitive.

Mon Jan 11 13:18:37 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkwindow.c:
        (gtk_window_key_release_event):
        (gtk_window_key_press_event): only pass key events to the focus widget
        if it is sensitive.

        * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): don't popup the
        submenu if it isn't sensitive.
        (gtk_menu_item_paint): state_type doesn't need to be reset to
        GTK_STATE_INSENSITIVE if the widget is insensitive anyways.

        * gtk/gtkcontainer.c (gtk_container_real_focus):
        * gtk/gtklist.c (gtk_list_focus):
        * gtk/gtkmenushell.c (gtk_menu_shell_move_selected):
        * gtk/gtknotebook.c (gtk_notebook_focus):
        s/GTK_WIDGET_SENSITIVE/GTK_WIDGET_IS_SENSITIVE/ since a widgets
        sensitivity is determined through the parent as well,
        GTK_WIDGET_SENSITIVE is only of interest inside gtkwidget.c, everywhere
        else GTK_WIDGET_IS_SENSITIVE (widget) needs to be used to check for
        sensitivity.

        * gtk/gtkaccelgroup.c (gtk_accel_group_activate): don't activate
        object if it is an insensitive widget.

25 years agoMon, 11 Jan 1999 08:09:08 +0100 Paolo Molaro <lupus@debian.org>
Paolo Molaro [Mon, 11 Jan 1999 07:09:07 +0000 (07:09 +0000)]
Mon, 11 Jan 1999 08:09:08 +0100 Paolo Molaro <lupus@debian.org>

        * gtk/gtktypeutils.[ch]: add gtk_type_{add,remove}_creation_hook().
        You can have a notification when a type is created.

25 years agoadded an assertement.
Tim Janik [Mon, 11 Jan 1999 06:35:41 +0000 (06:35 +0000)]
added an assertement.

1999-01-11  Tim Janik  <timj@gtk.org>

        * gtk/gtkmain.c (gtk_propagate_event): added an assertement.

25 years agoFixed cut and paste bug when comparing text property bg colors. [ Matt
Owen Taylor [Sun, 10 Jan 1999 19:49:24 +0000 (19:49 +0000)]
Fixed cut and paste bug when comparing text property bg colors. [ Matt

Sun Jan 10 14:45:37 1999  Owen Taylor  <otaylor@gtk.org>

* gtk/gtktext.c (text_properties_equal): Fixed
cut and paste bug when comparing text property
bg colors.
[ Matt Aubury <Matt.Aubury@comlab.ox.ac.uk> ]

25 years agoif the lookup failed, try to initialize the object class and reattempt the
Tim Janik [Sun, 10 Jan 1999 19:05:36 +0000 (19:05 +0000)]
if the lookup failed, try to initialize the object class and reattempt the

1999-01-10  Tim Janik  <timj@gtk.org>

        * gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
        to initialize the object class and reattempt the lookup, reported
        by Paolo Molaro <lupus@lettere.unipd.it>.

25 years agoadded spanish language file
Pablo Saratxaga [Sun, 10 Jan 1999 18:32:14 +0000 (18:32 +0000)]
added spanish language file

25 years agoAdded cs to ALL_LINGUAS.
Owen Taylor [Sat, 9 Jan 1999 22:34:28 +0000 (22:34 +0000)]
Added cs to ALL_LINGUAS.

Sat Jan  9 17:36:20 1999  Owen Taylor  <otaylor@redhat.com>

* configure.in (ALL_LINGUAS): Added cs to ALL_LINGUAS.

Sat Jan  9 17:27:49 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkfilesel.c (gtk_file_selection_populate):
Mark another string for internationalization.
[ Stanislav Brabec <utx@k332.feld.cvut.cz> ]

25 years agoAdded Czech translation by Stanislav Brabec <utx@k332.feld.cvut.cz>
Owen Taylor [Sat, 9 Jan 1999 22:32:58 +0000 (22:32 +0000)]
Added Czech translation by Stanislav Brabec <utx@k332.feld.cvut.cz>

Sat Jan  9 17:35:19 1999  Owen Taylor  <otaylor@redhat.com>

* cs.po: Added Czech translation by
  Stanislav Brabec <utx@k332.feld.cvut.cz>

25 years agoSet name "gtk-tooltips" on tip window so that a style can be set for
Owen Taylor [Sat, 9 Jan 1999 19:02:06 +0000 (19:02 +0000)]
Set name "gtk-tooltips" on tip window so that a style can be set for

Sat Jan  9 14:02:08 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktooltips.c (gtk_tooltips_force_window): Set
name "gtk-tooltips" on tip window so that a style
can be set for tooltips.

25 years agoMore strings translated. Not finished yet.
Nuno Ferreira [Sat, 9 Jan 1999 13:08:32 +0000 (13:08 +0000)]
More strings translated. Not finished yet.

1999-01-09  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

* pt.po: More strings translated. Not finished yet.

25 years agoFixed some list-manipulation breakage.
Owen Taylor [Sat, 9 Jan 1999 00:21:37 +0000 (00:21 +0000)]
Fixed some list-manipulation breakage.

Fri Jan  8 19:00:17 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
some list-manipulation breakage.

* gdk/gdkdnd.c (gdk_window_cache_destroy): Free
window cache structure.

* gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
event mask on the drag window so clicking on it
doesn't pop up root menus, etc.

* gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
signal handlers at button release.

25 years agocall gtk_spin_button_update before returning a value
Lars Hamann [Fri, 8 Jan 1999 00:21:36 +0000 (00:21 +0000)]
call gtk_spin_button_update before returning a value

Fri Jan  8 00:42:00 1999  Lars Hamann  <lars@gtk.org>

* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
(gtk_spin_button_get_value_as_float): call gtk_spin_button_update
before returning a value

* gtk/gtkclist.c (gtk_clist_motion): don't allow 'drag selections'
if clist is a drag source.
(gtk_clist_drag_begin): remove pointer grabs, end ongoing selections.

* gtk/gtkctree.c (remove_grab): copy of clist function.
(gtk_ctree_drag_begin): let clists drag_begin method set the
source info struct.

25 years agoFixes to drawing the background of the bin window so that clearing and
Owen Taylor [Fri, 8 Jan 1999 00:12:43 +0000 (00:12 +0000)]
Fixes to drawing the background of the bin window so that clearing and

Thu Jan  7 19:10:21 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkviewport.c (gtk_viewport_style_set): Fixes
to drawing the background of the bin window
so that clearing and redrawing of child
widgets work properly.

* gtk/gtkwidget.c (gtk_widget_idle_draw): Juggle around
data so that if somebody triggers more redraw queuing
from a expose_event handler, it doesn't confuse the
heck out of GTK+. (But is highly liable to cause
an infinite loop...)