Wed Oct 21 17:44:27 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_read_rcfiles): Reset
all toplevel widgets, not toplevel windows. (I.e.,
plugs should be reset)
* gtk/gtkwindow.c (gtk_window_read_rcfiles): Yes, we
_do_ need to notify the other toplevels - by the time
the get the client messages, the RC file dates will
have been updated.
* gtk/gtkcontainer.h: Added a function call to list
every toplevel widget.
* gdk/gdk.c (gdk_event_send_client_message_to_all_recurse):
Don't send client messages to _every_ window on display!
Tue Oct 20 16:21:04 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_source_event_cb): Don't start drags
when dragging across widgets, only in drags
starting in widget.
Tue Oct 20 15:59:49 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_source_info_destroy):
Emit "drag_end" signal at end of drag.
Tue Oct 20 14:53:28 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c: Always send "drag_leave" to dests
without GTK_DEST_DEFAULT_MOTION.
Tue Oct 20 12:43:04 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_selection_data_set):
Maintain the null-termintation guarantee, even when
data = NULL, length = 0. (Warn on data = NULL,
length > 0)
Mon Oct 19 08:31:36 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_selection_received): Fixed
typo - look for right atom on transfer failures.
Tue Oct 20 11:55:24 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_event_translate): Handle DestroyNotify
on destroyed windows so we clear the XID table properly.
Finish up restructure of return value handling that
was half-done before.
Mon Oct 19 16:41:44 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h (struct _GtkWidgetClass): Add in coordinates
into function prototype for drag_data_received.
Mon Oct 19 16:41:44 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h (struct _GtkWidgetClass): Add in coordinates
into function prototype for drag_data_received.
Mon Oct 19 16:40:40 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdnd.c (get_client_window_at_coords_recurse): Modify
client window finding code so that it works with
WM's other than fvwm.
Sun Oct 18 22:48:27 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdrawwindow.c (gtk_draw_window_get_type): Added
the "GtkDrawWindow" class, which is a descendent
of the Window class which leaves its background alone.
Essentially, a toplevel drawing area, though it does
allow adding a child.
Sun Oct 18 22:48:27 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdrawwindow.c (gtk_draw_window_get_type): Added
the "GtkDrawWindow" class, which is a descendent
of the Window class which leaves its background alone.
Essentially, a toplevel drawing area, though it does
allow adding a child.
Sat Oct 17 00:40:51 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c (gtk_rc_style_init): Duplicate bg_pixmap_name when
merging RC styles. Report new share/themes path for
themes directory. Deref theme engines when appropriate.
* gtk/gtkclist.c: Set all backgrounds in _style_set().
Make sure that pixel for xor_gc is never 0.
* gtk/gtkctree.c: Choose colors for plus/minus more
carefully, in a hopefully style-independent fashion.
(Still needs a bit more work)
* gtk/gtkwidget.c: Don't send expose events to widgets
which are about to be resized and redrawn. (Needs a
bit more thought.)
* gtk/gtknotebook.c (gtk_notebook_draw_tab): Avoid
drawing on tabs for newly allocated, un-sized
pages - we'll get the size wrong.
Thu Oct 1 14:25:43 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c: When handling queued resizes, account
for handleboxes, where the widget heirarchy is different
than the window heirarchy by just queueing a resize on
the entire handlebox if the detached child is changed.
- Remove widgets from the redraw queue when reparenting,
even if not unrealizing. We queue a resize/redraw in
any case.
Mon Sep 28 21:07:01 EDT 1998 The Rasterman <raster@redhat.com>
* gtk/gtkstyle.c: added check to see if the widget has been shaped
byt the app via gtk_widget_shape_combine_mask and if it has does
not reset the shape on theme change.
Tue Sep 15 11:30:03 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c: Keep a list of directories in which we never
want to stat the entries (like /afs), and assume everything in
those directories is a subdirectory.
- When following a path, try to open components even when
we don't find them in their parent's directory to
support automounters.
Mon Sep 14 14:28:24 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.c (adjust_adj): Change the way we
set the adjustments on resize so that it tries to
keep the beginning of the text in approximately
the same place.
Removed assertion that the above change made invalid.
Fri Sep 11 15:36:33 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkinputgxi.h (gdk_input_gxi_grab_pointer): Hopefully
now at least compiles again.
* gdk/gdk.c (gdk_event_translate): Don't pass events
on destroyed widgets to the gdk_input layer.
Sat Sep 5 16:01:19 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkinputxfree.h gdk/gdk.c gdk/gdkinputgxi.h:
When the pointer is grabbed on an input window,
either explicitely, or through press-grab, and
then grabbed on a non-input window, ungrab the
devices.
Thu Sep 3 19:45:34 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkthemes.c: Use g_module instead of dlopen()
Thu Sep 3 19:30:11 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_expose): Check
if we've changed widgets since the expose event
was queued.
Tue Sep 1 14:52:10 EDT 1998 The Rasterman <raster@redhat.com>
* several files - basically drawing and code cleanups, few
minor fixes - basically maintinence.
Tue Sep 1 10:53:52 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkprogress.c (gtk_progress_finalize): Unref
the adjustment.
* gtk/gtkmenu.c: Modified reference counting so
that the reference count from the toplevel that
the menu creates to the menu is invisible to the
application.
Mon Aug 31 15:33:13 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.h (struct _GtkStyle): Reordered a bit
to restore approximate bin compatibility with the
non-themes branch. (This does break bin compat
within the themes branch.)
Sun Aug 30 16:48:27 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtklabel.c (gtk_label_set): Eliminate a
gdk_window_clear_area() that snuck in with the
menu underlines merge.
Tue Aug 25 16:52:47 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.c (recompute_geometry): Make sure the
mark we pass to line start is the beginning of a
real line, not a wrapped one.
Mon Aug 24 10:55:51 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_draw_tab): Don't
dereference NULL focus tab.
* gtk/gtkscale.c (gtk_scale_[un]map): Add map/unmap
functions since we need to both show/hide and
queue a redraw. (There's some duplication of drawing here,
we probably should only be queuing a redraw on the
"value" portion of the scale.)
Fri Aug 21 19:02:30 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.[ch] gtk/gtkhscale.c gtk/gtkvscale.[ch]: Fit scales
into the theme-drawing framework. We do this by making them,
like check/radio-buttons, no-window widgets with subwindows. We
then move the value by calling gtk_widget_queue_clear() and only
redraw the value in our draw() / expose() handler. A virtual
function clear_background is added which queues a clear on the
"background" portion of the widget.
Fri Aug 21 13:04:27 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.c (mark_bg_gc): Make background colors work
again. (We can't always paint the background with a
paint() function - only do that for selected text)
Mon Aug 17 20:31:01 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktearoffmenuitem.c gtk/gtkclist.[ch] gtk/gtkctree.[ch]
gtk/gtklabel.c gtk/gtkmenu.c: Merges from main branch.
* Makefile.am (SRC_SUBDIRS): Removed themes from SRC_SUBDIRS.
the themes can't be built as part of the same build since
they depend on gdk_imlib.
Fri Aug 14 12:44:30 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkthemes.c (gtk_theme_engine_get): Removed sample engine code
from gtkthemes.c.
* configure.in ltconfig.in ltmain.sh gdk/Makefile.am gtk/Makefile.am
gtk/
- Upgrade to libtool-1.2b + patch to add shared library dependencies
for Linux. (Needs to be extended to other platforms where they
are safe)
- Check for -ldl so this branch should build on all platforms, though
themes will work on all platforms they could work on.
- Use -version and -release simultaneously: sonames stay as they are
in the current scheme, but -lgtk-1.1 changes to -lgtk.
- Added in extra -l flags to library LDFLAGS so we get shared library
dependencies against X libs and -ldl. (But not libgtk against
libgdk or libglib yet, since dependencies against uninstalled
libraries aren't portable)
Fri Aug 21 19:08:25 1998 Owen Taylor <otaylor@redhat.com>
* Makefile.am: Added support for metal theme.
Install/distribute gtkrc's for each theme.
Mon Aug 17 20:32:53 1998 Owen Taylor <otaylor@redhat.com>
* Makefile.am, pixmap/Makefile.am: Switch back to using automake,
fix things up to make dist properly.
* pixmap_theme.h: Rationalized.
* win95_theme.h motif_theme.h: Removed
* Started ChangeLog.
Fri Aug 21 16:10:38 EDT 1998 The Rasterman <raster@redhat.com>
* gtkrc.c - added api calls to find module and theme paths from gtk.
nuked gtk_install_prefix global.
Thu Aug 20 18:25:07 EDT 1998 The Rasterman <raster@redhat.com>
* added metal theme, fixed pixmap theme now to use pixmap path - and
removed lots of annoying print's, added gtkr's for each
theme data.. all your rc needs to do is include these rc's.
Mon Aug 10 23:03:55 1998 The Rasterman <raster@redhat.com>
* Fixed minor problem in gtkhandlebox.c with drawing, and some
notebook stuff. Also pixmap theme is now "clean" again.
Mon Aug 10 23:09:30 EDT 1998
* Added a few drawing fixes for notebook and other widgets. finished
pixmap theme up to the level that can be supported so far. (need to
add path discovery 9ie where is the rc fiel from - add to pixmap
path so we can get theimages from there too). then we can package
themes. After that need to add to theme seartch path stuff in users
home dir.
Thu Aug 6 16:49:25 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_expose): Draw into a
drawing area, draw in an expose handler.
* gtk/gtknotebook.c (gtk_notebook_expose): Check for
empty current page.
Wed Aug 5 16:13:15 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel): Moved
creation of GC's so that they will be set before
they are used for map events (why are they used there?)
* gtk/gtkwidget.c: Fixed mistake that caused widgets to
be queued in multiple times in the queue.
Tue Aug 4 19:12:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_idle_draw): Fixed up
handling of partially clipped areas.
Merges from main branch.
Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
* hopefulyl fixed problem wiht togglebuttons acting like
radiobuttons in gtktogglebutton.c
Fri Jul 31 13:23:50 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_queue_clear_area): Added
missed case into draw code. (Thanks Tim!)
* gtk/gtkrc.c gtk/gtkstyle.c: When unrealizing/destroying
call engine-specific code first. Misc cleanups.
* themes/Makefile.in themes/configure.in: Fixups with
GTK_CFLAGS.
Thu Jul 30 18:09:21 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c gtk/gtkstyle.c: More mm fixups
* gtk/gtktooltips.c: Pass a widget (the window) to the
drawing function instead of the GtkTooltips.
Thu Jul 30 17:27:10 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c: Abstract out checking for shape
extension into a function.
* gtk/gtkwindow.c: Fix up gtk_window_expose()/draw().
Remove extra callls to gtk_window_draw().