Commit Graph

2079 Commits

Author SHA1 Message Date
Owen Taylor
b269eb0874 Don't show the tab_label unless it itself is visible.
Wed Jan 26 23:12:28 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_map): Don't
	  show the tab_label unless it itself is visible.

	  gtk/gtknotebook.c (gtk_notebook_size_request):
	  Do a better job of making sure that the visibility
	  of the tab label corresponds to whether it should
	  be mapped or not.
2000-01-26 04:29:01 +00:00
Owen Taylor
9770128fb9 Use the requisition, not the allocation, since the allocation has not
Wed Jan 26 21:17:03 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkoptionmenu.c (gtk_option_menu_position):
	  Use the requisition, not the allocation, since the
	  allocation has not necessarily been computed yet.
	  (Pointed out by Eugene Osintsev)
2000-01-26 02:33:04 +00:00
Owen Taylor
c1f4231af6 Dont' set style/base[GTK_STATE_INSENSITIVE] both to
Wed Jan 26 19:44:25 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c (gtk_style_new): Dont' set
	  style/base[GTK_STATE_INSENSITIVE] both to
	  gtk_default_insensitive_bg!
	  (Bug #2187, reported by Jonathan Blandford)

	* gtk/gtkaccelgroup.c (gtk_accelerator_valid):
	  Add Alt_L, Alt_R to list of invalid accelerators.
 	  (Bug #3736, reported by Vlad Harchev)
2000-01-26 01:03:28 +00:00
Owen Taylor
f86f2a2944 Fix several bugs which occured after an attempt to open invalid home
Wed Jan 26 19:01:56 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfilesel.c (open_ref_dir): Fix several
	bugs which occured after an attempt to open
	invalid home directory left cmpl_state->reference_dir == NULL.

	 - completion on files in home directory didn't work
	 - completion on an empty string caused  segfault

	 (Bug #3768, reported by Steve Ratcliffe)

	* gtk/gtkscale.c (gtk_scale_get_value_width): Fix
	cut and paste error that was causing scales to
	be incorrectly positioned.
	(Bug #2956,
	 patch from Steve Ratcliffe <steve@parabola.demon.co.uk>)
2000-01-26 00:44:30 +00:00
Shirasaki Yasuhiro
04d6ead184 check dcgettext with libintl, if it's specified.
2000-01-27  Shirasaki Yasuhiro  <yasuhiro@gnome.gr.jp>

        * acinclude.m4 (AM_GTK_WITH_NLS): check dcgettext
        with libintl, if it's specified.
2000-01-26 00:14:43 +00:00
Owen Taylor
4249864c0d Ignore queue_clear on NO_WINDOW widgets during a reparent, since at that
Wed Jan 26 18:06:07 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_queue_clear_area): Ignore
	queue_clear on NO_WINDOW widgets during a reparent,
	since at that point the window and widget heirarchies
	are out of sync. This stops crashing in some cases
	(the scrolled window reparent test, for instance), and
	_probably_ won't cause drawing errors.

	* gtk/testgtk.c: Make the reparenting-a-scrolled-window
	test do what it was supposed to do and be robust against
	window closings, etc. (Bug #2443)
2000-01-25 23:48:45 +00:00
Owen Taylor
cc7b995f66 Fix return values on mouse events. (Bug #2686, Sky <seb_sky@yahoo.com>)
Wed Jan 26 16:56:54 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c: Fix return values on mouse events.
	(Bug #2686, Sky <seb_sky@yahoo.com>)

	* gtk/genmarshal.pl: Fix up handling of FOREIGN.
	(pointed out by George Lebl)

 	* gdk/gdkcolor.c (gdk_color_copy): Made const-safe.
	(From Ettore Perazzoli  <ettore@helixcode.com>)
2000-01-25 22:20:20 +00:00
Owen Taylor
03fc238e46 Tiny update from Stanislav Brabec <utx@k332.feld.cvut.cz> (closes Bug
Tue Jan 25 16:46:23 2000  Owen Taylor  <otaylor@redhat.com>

	* cs.po: Tiny update from  Stanislav Brabec <utx@k332.feld.cvut.cz>
	(closes Bug #2406)
2000-01-25 21:26:28 +00:00
Owen Taylor
911ced17c2 Handle clicks between rows or outside calender area correctly. (Patch from
Mon Jan 24 10:44:48 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_main_button): Handle
	clicks between rows or outside calender area correctly.
	(Patch from Damon Chaplin)

	* gtk/gtkclist.c (gtk_clist_set_row_data_full):
	* gtk/gtkctree.c (gtk_ctree_node_set_row_data_full):
	  Call destroy function when overwriting existing data.
	  (Pointed out by Damon Chaplin)
2000-01-25 15:18:19 +00:00
Owen Taylor
67dbd575c2 Remove useless #include of <X11/Xmu/WinUtil.h>, which was causing problems
Tue Jan 25 09:55:41 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c: Remove useless #include of <X11/Xmu/WinUtil.h>,
	  which was causing problems on various systems with Xmu.
	  This hasn't been needed for a very long time.
	  (Fixes #1185 3167)
2000-01-25 14:42:27 +00:00
Owen Taylor
c3bf3122da Include <ctype.h> when defining gdk_isw* in terms of is* as a fallback.
Sun Jan 23 22:27:36 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdki18n.h: Include <ctype.h> when defining
	  gdk_isw* in terms of is* as a fallback.
	  (Bug #4106 - Dan Winship <danw@MIT.EDU>)
2000-01-24 02:58:21 +00:00
Owen Taylor
1175039476 Don't realize the widget when it is size allocated! (old, old bug)
Sun Jan 23 22:12:36 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkviewport.c (gtk_viewport_size_allocate): Don't
	  realize the widget when it is size allocated!
	  (old, old bug)

	* gtk/gtkviewport.c (gtk_viewport_adjustment_value_changed):
	  Removed unused call to gdk_window_get_size() that
	  showed up when the above was fixed.
2000-01-24 02:41:59 +00:00
Owen Taylor
373c75d574 Added short note about setting LDFLAGS and CPPFLAGS to find libraries not
Sun Jan 23 20:52:40 2000  Owen Taylor  <otaylor@redhat.com>

	* INSTALL: Added short note about setting LDFLAGS
	  and CPPFLAGS to find libraries not in the default
	  install path. Fixed env/setenv confusion for csh.
2000-01-24 01:21:20 +00:00
Owen Taylor
fcd4498506 Correctly fix up widget->window when the widget is a NO_WINDOW container
Sat Jan 22 15:44:30 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_reparent): Correctly
	  fix up widget->window when the widget is a
	  NO_WINDOW container widget.
2000-01-22 21:48:49 +00:00
Owen Taylor
7c1abc5f73 Rewrite to account for the fact that feof() does _not_ return TRUE on
Sat Jan 22 12:40:48 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkpixmap.c (gdk_pixmap_seek_string): Rewrite
	  to account for the fact that feof() does _not_
	  return TRUE on errors, and thus avoid infinite loops
	  when trying to use gdk_pixmap_create_from_xpm()
	  on unreadable values.
2000-01-22 17:43:44 +00:00
Owen Taylor
25b47b88cd s/gint/gboolean/.
Fri Jan 21 18:32:43 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkaspectframe.h (struct _GtkAspectFrame): s/gint/gboolean/.
2000-01-21 23:34:54 +00:00
Owen Taylor
638080f28a Change from gdk_gc_set_dashes to take gint8 instead of gchar to make it
Fri Jan 21 16:24:08 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkgc.c (gdk_gc_set_dashes): Change from
	  gdk_gc_set_dashes to take gint8 instead of gchar to
	  make it clearer that it is _not_ a NULL terminated string.

	* gdk/gdk.h gdk/gdkfont.c gdk/gdkgc.c gdk/gdkselection.c
	  gdk/gdkwindow.c gtk/gtkprogress.[ch] gtk/gtkthemes.[ch]
	  gtk/gtktreeitem.[ch] gtk/gtkwidget.[ch]: Constify string
	  arguments.
2000-01-21 23:22:51 +00:00
Elliot Lee
087eed88f3 Add note about gtk_tooltips_set_colors().
2000-01-13 Elliot Lee <sopwith@redhat.com>
	* gtk/gtktooltips.c: Add note about gtk_tooltips_set_colors().
2000-01-13 21:17:40 +00:00
Pablo Saratxaga
ecc7096f83 updated es.po 2000-01-09 17:42:09 +00:00
Jesus Bravo Alvarez
29edc1802f Added Galician to ALL_LINGUAS 2000-01-08 10:11:18 +00:00
Kjartan Maraas
bd063a8f9a And this file too 2000-01-03 23:57:26 +00:00
Kjartan Maraas
bc36a3cdb0 A little script that lets people update the .pot file without makefiles
2000-01-04  Kjartan Maraas  <kmaraas@online.no>

	* update.sh: A little script that lets people
	update the .pot file without makefiles etc.
2000-01-03 23:56:24 +00:00
Jesus Bravo Alvarez
cb0c6a6943 Updated Galician translation 2000-01-03 12:47:22 +00:00
Tim Janik
ddd28f9d4c when calculating the background size relative to our allocation, guard
Thu Dec 30 04:51:05 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkvscale.c (gtk_vscale_pos_background):
        * gtk/gtkhscale.c (gtk_hscale_pos_background): when calculating the
        background size relative to our allocation, guard against small
        allocations, we may have not yet been size allocated.
1999-12-30 03:57:47 +00:00
Tim Janik
4ff91a04c0 reverted sopwith's changes to Makefile.am, the builddir != srcdir case was
Fri Dec 24 03:41:33 1999  Tim Janik  <timj@gtk.org>

        * gtk/Makefile.am: reverted sopwith's changes to Makefile.am,
        the builddir != srcdir case was already handled fine, and his
        "fix" would produce multiple copies of the built sources.
        for development you just need a writable srcdir.
1999-12-24 02:46:23 +00:00
Elliot Lee
1b1ea194a5 And add .c to a filename, DOH!
And add .c to a filename, DOH!
1999-12-21 23:41:14 +00:00
Elliot Lee
d74b6b56e6 (Tagalong to previous commit) Trailing \'s on previous lines were
(Tagalong to previous commit) Trailing \'s on previous lines were
preventing CWD going back to $builddir
1999-12-21 23:39:31 +00:00
Elliot Lee
822fab280f Fix builddir != srcdir for generation of gtktypebuiltins*.[ch]
* gtk/Makefile.am: Fix builddir != srcdir for
  generation of gtktypebuiltins*.[ch]
1999-12-21 23:36:07 +00:00
Owen Taylor
7b31d00ddf Allow version >= 3, not just version == 3. We implement all 3 + most of 4
Thu Dec  2 10:59:14 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkdnd.c (xdnd_check_dest): Allow version >= 3,
	not just version == 3. We implement all 3 + most of 4 -
	(we don't support matching text/plain;charset=iso-8859-1
	to a dest that expects text/plain). We'll still advertise
	3 to be safe, but any client implementing version >= 3
	must interoperate with 3.
1999-12-02 17:03:55 +00:00
Owen Taylor
f6e398fa53 Reverted pending mail to developers explaining patch gtk-1-2-merge-to-head-1 1999-11-20 14:32:35 +00:00
Dietmar Maurer
6eb684bebc *** empty log message *** 1999-11-20 14:16:34 +00:00
Owen Taylor
d8ebd2d78a If translation does not include a '/', use entire translation instead of
Tue Nov 16 10:15:54 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkitemfactory.c (gtk_item_factory_parse_path):
	If translation does not include a '/', use entire
	translation instead of crashing.
1999-11-16 15:25:48 +00:00
GMT 1999 Tony Gale
0d4c279b4b s/gtk_main_iteration/g_main_iteration/
Mon Nov 15 17:17:51 GMT 1999 Tony Gale  <gale@gtk.org>

        * docs/gtkfaq.sgml: s/gtk_main_iteration/g_main_iteration/
1999-11-15 17:21:26 +00:00
Pablo Saratxaga
6c70ce7260 updated el.po 1999-11-14 18:48:20 +00:00
GMT 1999 Tony Gale
828b8b8600 New example code files.
Sat Nov 13 23:18:42 GMT 1999  Tony Gale  <gale@gtk.org>

New example code files.
1999-11-13 23:02:30 +00:00
GMT 1999 Tony Gale
bcb86b752f threads example from Erik Mouw. New question on GtkLabel background
Sat Nov 13 22:30:29 GMT 1999 Tony Gale  <gale@gtk.org>

        * docs/gtkfaq.sgml: threads example from Erik Mouw.
        New question on GtkLabel background colors.

        * docs/gtk_tut.sgml:
          - Correct the example code callback
            function definitions.
          - Update the gtkdial example code, from Frans van Schaik.
          - Update setselection.c to current API.
          - Merge the various versions of this document.

        * examples/Makefile examples/*/*.c: Update to code
        listed in tutorial.
1999-11-13 23:01:18 +00:00
Pablo Saratxaga
0a4ea40510 updated danish file 1999-11-13 20:39:28 +00:00
Sven Neumann
43f31b2e7d gdk/gdkinputcommon.h Call XFreeDeviceState() on results of
* gdk/gdkinputcommon.h
        * gdk/gdkinputxfree.h: Call XFreeDeviceState() on results of
        XQueryDeviceState(). (Ported from HEAD)

--Sven
1999-11-12 21:27:10 +00:00
GMT 1999 Tony Gale
10b03b35c0 Fix off-by-one bug in parameter check.
Wed Nov 10 17:26:49 GMT 1999 Tony Gale  <gale@gtk.org>

        * gtk/gtkclist.c: Fix off-by-one bug in parameter
        check.
1999-11-10 17:31:11 +00:00
Pablo Saratxaga
ab3a70ee16 completed the gtkrc (when declaring arial for the native charset it works
better if it is used for iso8859-1 in the fontset too...)
1999-11-09 18:00:27 +00:00
Pablo Saratxaga
b0e81d06c0 added arial to the various gtkrc fontsets; so on systems that have those
fonts installed the can be used (and in some cases they are currently the
only good fonts available at no cost for some charset encodings)
1999-11-09 17:52:45 +00:00
Owen Taylor
6ed6b20570 Remove files that leaked in from head branch due to CVS magic 1999-11-08 20:16:42 +00:00
Tim Janik
9230dc1470 s/gtk_accel_group_attach/gtk_window_add_accel_group/.
Sun Oct 31 22:21:11 1999  Tim Janik  <timj@gtk.org>

        * docs/gtk_tut.sgml:
        s/gtk_accel_group_attach/gtk_window_add_accel_group/.
1999-10-31 22:46:16 +00:00
BST 1999 Tony Gale
47e15bdf5f FAQ update
Sat Oct 30 13:17:18 BST 1999 Tony Gale <gale@gtk.org>

        * docs/gtkfaq.sgml: FAQ update
1999-10-30 12:04:35 +00:00
Owen Taylor
e9c55bc8ce Use g_list_remove_link, not g_list_remove.
Sat Oct 30 09:09:09 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkselection.c (gtk_target_list_remove): Use
	g_list_remove_link, not g_list_remove.

	[ From Geert Bevin <gbevin@thunderstorms.org> ]
1999-10-25 00:05:26 +00:00
Tim Janik
703f17ec05 commented out g_print() statement upon unselection (how the heck did that
Sun Oct 24 07:41:40 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkclist.c (real_undo_selection): commented out g_print()
        statement upon unselection (how the heck did that slip in?).
1999-10-24 06:27:11 +00:00
Tim Janik
3b3891191e undraw/draw cursor here to avoid unnecessary scrolling in frozen state
Sat Oct 23 03:03:08 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtktext.c (gtk_text_freeze):
        (gtk_text_thaw): undraw/draw cursor here to avoid unnecessary scrolling
        in frozen state (and aparently crashes). patch provided by Anders
        Melchiorsen <and@kampsax.dtu.dk>.

Sat Oct 23 02:53:20 1999  Tim Janik  <timj@gtk.org>

        * fix insensitive default/focus widget activation,
        reported by Matt Goodall <mgg@isotek.co.uk>.

        * gtk/gtkwindow.c (gtk_window_key_press_event):
        (gtk_window_activate_default):
        (gtk_window_activate_focus):
        return handled=FALSE for actiavtion of insensitive default
        widgets. return handled=TRUE for activation of insensitive
        focus widgets. don't activate in either case.
1999-10-23 01:32:26 +00:00
Owen Taylor
ae1f478285 Switch order of @x_cflags@ and $glib_cflags to match library order and in
Tue Oct 19 09:55:08 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk-config.in (lib_gtk): Switch order of @x_cflags@
	and $glib_cflags to match library order and in the
	theory that an old version of GLib is more likely to
	be in the include directory for X then vice-versa.
	(Bug #2776)
1999-10-19 14:56:55 +00:00
Owen Taylor
1e8e510300 Always use LC_CTYPE to determine the locale for fontsets, not LC_MESSAGES;
Tue Oct 19 09:46:49 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE
	to determine the locale for fontsets, not LC_MESSAGES;
	the user may want English messages with a handling
	for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR
	will still be broken)
1999-10-19 14:49:44 +00:00
Changwoo Ryu
d7e9880433 Fixed the wrong number of "*"'s.
* gtk/gtkrc.ko: Fixed the wrong number of "*"'s.
1999-10-19 11:39:25 +00:00