Commit Graph

1794 Commits

Author SHA1 Message Date
Tim Janik
3a3a0ef97b don't add extra width or height if the requested size is mandatory (i.e.
Thu Feb 25 09:50:38 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): don't add
        extra width or height if the requested size is mandatory (i.e. set
        through child->usize).
1999-02-25 08:58:23 +00:00
CST 1999 Shawn T. Amundson
cf7888fdaf New function gtk_menu_reorder_child() from Tim Janik.
Thu Feb 25 02:13:20 CST 1999 Shawn T. Amundson <amundson@gtk.org>

	* gtk/gtkmenu.[ch]: New function gtk_menu_reorder_child()
	  from Tim Janik.

This will be used in GIMP, so it is tested there.
1999-02-25 08:17:13 +00:00
Tim Janik
c9cda15e70 removed bogus line 1999-02-25 06:53:27 +00:00
Owen Taylor
b515672a1e Don't access *bitmapped_sizes if nbitmapped_sizes == 0. (Pointed out by
Thu Feb 25 00:48:51 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfontsel.c: Don't access *bitmapped_sizes
	if nbitmapped_sizes == 0. (Pointed out by
	zucchi@zedzone.fsi.com.au (Michael Zucchi))
1999-02-25 05:52:00 +00:00
Owen Taylor
b1135416f2 Make prototypes for drag_data_get and drag_data_received handlers match
Wed Feb 24 23:12:09 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.h gtk/gtkclist.c: Make prototypes
	for drag_data_get and drag_data_received handlers
	match the types used for gtk_singal_new; time needs
	to be a uint, not a uint32.
1999-02-25 04:06:15 +00:00
Owen Taylor
f9a27ad6fd Changed bug reporting instructions to describe using the GNOME bug
Wed Feb 24 20:34:59 1999  Owen Taylor  <otaylor@redhat.com>

	* README: Changed bug reporting instructions to
	describe using the GNOME bug tracking system.
1999-02-25 01:28:31 +00:00
Owen Taylor
da219872d8 Unset the clip mask for the GC if we set it. (Patch from Lars Hamann
Wed Feb 24 19:08:51 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c (draw_cell_pixmap): Unset the clip
	mask for the GC if we set it. (Patch from
	Lars Hamann <lars@gtk.org>)
1999-02-25 00:04:18 +00:00
Tim Janik
6333998df4 added function to check if a specific signal handler connection exists
Thu Feb 24 23:58:44 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtksignal.c (gtk_signal_handler_pending_by_id): added function
        to check if a specific signal handler connection exists (similar to
        gtk_signal_handler_pending_by_func). and yes, this is a neccessary
        addition, since without this function, signal handlers can not be
        (un)blocked or disconnected in a generic fashion without producing
        g_warnings().
        made gtk_signal_get_handlers() an inline function since it's used in
        a lot of places, especially within signal emission.
1999-02-24 23:34:14 +00:00
Kjartan Maraas
59c4671866 Updated translation. (monospaced is still missing)
1999-02-25  Kjartan Maraas  <kmaraas@fib.hl.no>

		* Updated translation. (monospaced is still missing)
1999-02-24 23:23:06 +00:00
Tim Janik
3ae4d004ca if the widget is not editable, don't silently eat up GDK_Return, GDK_Home
Wed Feb 24 19:35:15 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtktext.c (gtk_text_key_press): if the widget is not editable,
        don't silently eat up GDK_Return, GDK_Home and GDK_End, return FALSE
        instead so the user can still hook up key bindings.
1999-02-24 18:47:49 +00:00
Tim Janik
c4fe78345e warn about &widget->requisition, even for toplevels.
Wed Feb 24 11:19:12 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_size_request): warn about
        &widget->requisition, even for toplevels.

        * gtk/gtkwindow.c (gtk_window_move_resize): request size into an
        automatic variable and check if our size has changed.
        when we decide to reallocate everything, we need to resize our
        own GdkWindow as well.

        * gtk/gtkmain.c:
        * gtk/gtkobject.c: hack time, make --gtk-debug=objects work even
        after gtk_type_init(), this is to "fix" gnome's arg parsing oddities.

        * gtk/gtktypeutils.h: don't segfault in GTK_CHECK_CLASS_TYPE and
        GTK_CHECK_TYPE upon NULL pointers.

        * gtk/gtklayout.c: removed bogus prototypes of gtk_layout_gravity_works,
        gtk_layout_set_static_gravity, gtk_layout_add_child_cb and
        gtk_layout_remove_child_cb to shut up compiler.

        * gtk/Makefile.am: added an empty rule
        gtkrc:
                :
        so make doesn't try to "update" gtkrc from gtkrc.c.
1999-02-24 16:29:47 +00:00
CST 1999 Shawn T. Amundson
082c0c8975 removed gtkrc rule added by Sergey Panov, because GTK+ no longer built. We
Wed Feb 24 05:53:15 CST 1999 Shawn T. Amundson <amundson@gtk.org>

        * gtk/Makefile.am: removed gtkrc rule added by
          Sergey Panov, because GTK+ no longer built.  We
          don't need to install an empty gtkrc anyway.
1999-02-24 11:56:10 +00:00
CST 1999 Shawn T. Amundson
279e878bdd Added notice to look in AUTHORS and ChangeLog files for a list of changes.
Wed Feb 24 01:22:39 CST 1999 Shawn T. Amundson <amundson@gtk.org>

        * *.[ch]: Added notice to look in AUTHORS and ChangeLog files
	  for a list of changes.
1999-02-24 07:37:18 +00:00
Tim Janik
26ffb00362 fix implicit branch creation, we need the *real* parent path for this and
Tue Feb 23 17:52:37 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkitemfactory.c (gtk_item_factory_create_item): fix implicit
        branch creation, we need the *real* parent path for this and
        gtk_item_factory_parse_path() only returns the parent path with "_?"
        stripped off.
1999-02-23 19:42:53 +00:00
Pavel Machek
e3eedba2f9 You don't need to check one variable twice (trivial bugfix). 1999-02-23 14:18:38 +00:00
Owen Taylor
148e766334 When sending events to windows with a proxy, set the window field in the
Mon Feb 22 19:06:30 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkdnd.c (xdnd_send_*): When sending events to
	 windows with a proxy, set the window field in the
	 sent event to the original window, not to the proxy.
	 (This gives consistency with Motif, and also provides
	  information to the destination that it wouldn't have
	  otherwise).

	* gtk/gtkdnd.c: Fixed some refcount leaks for windows.

	* gdk/gdkdnd.c (xdnd_send_xevent): When sending
	 Xdnd event to the root window, set the event mask
	 to ButtonPressMask. Hopefully, this should give us
	 compatibility with kfm, if it uses the Qt style
	 of root window drops.
1999-02-23 00:43:26 +00:00
GMT 1999 Tony Gale
d5aed59bbc - Complete the ProgressBar API - Fix the CList example code
Mon Feb 22 08:45:10 GMT 1999 Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml:
          - Complete the ProgressBar API
          - Fix the CList example code

        * examples/clist/clist.c, examples/progressbar/progressbar.c:
           Update from tutorial
1999-02-22 08:51:02 +00:00
Owen Taylor
619ca57c5a Removed check-y/check-n backgrounds - the effect looked like a bug.
Sun Feb 21 17:44:52 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/testgtkrc: Removed check-y/check-n backgrounds -
	 the effect looked like a bug.
1999-02-21 22:38:59 +00:00
Owen Taylor
16561707f8 Always set the max width or height to at least 1, since 0 triggers bugs in
Sun Feb 21 17:14:44 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_set_geometry_hints): Always
	 set the max width or height to at least 1, since 0
	 triggers bugs in some window managers. (The window
	"pops out" of the frame in fvwm)
1999-02-21 22:12:00 +00:00
Owen Taylor
039d738e3b Changed warnings from g_message() to g_warning().
Sun Feb 21 16:16:22 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkscrolledwindow.c gdk/gdkfont.c gdk/gdkim.c:
	 Changed warnings from g_message() to g_warning().

	* gdk/gdkim.c (gdk_ic_destroy): Changed g_print
	 to g_message within GDK_NOTE()

	* gtk/gtkcolorsel.c  gtk/gtkhandlebox.c:
	 Removed some leftover debugging printfs.
1999-02-21 21:24:02 +00:00
Michael Fulbright
f3f493abbb I've made the spec file autogenerated and I updated the file list
Dr Mike <drmike@redhat.com>
1999-02-21 21:00:23 +00:00
Owen Taylor
25cdbd3560 Account for the fact that Xlib expects format == 32 to be a long, even on
Sun Feb 21 15:59:55 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/MwmUtil.h gdk/gdkwindow.c: Account for the
	fact that Xlib expects format == 32 to be a long,
	even on 64-bit architectures.

	[ patch from George Lebl (jirka@5z.com) ]
1999-02-21 20:55:04 +00:00
Owen Taylor
295e763b4d removed debugging statements about embedded XID's. They could have been
Sun Feb 21 14:21:46 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c: removed debugging statements
	about embedded XID's. They could have been
	moved to the new PLUGSOCKET debug key, but they weren't
	really useful anyways.

	* gdk/gdk.h: Added gdk_error_trap_push/pop to provide
	a clean interface to the gdk_error_code functionality
	of trapping X errors.

	* gtk/gtkplug.c gtk/gtksocket.c: Add error
	traps around accesses to foreign windows.
1999-02-21 19:25:53 +00:00
Tim Janik
e8cfe9062f marked gtk_window_set_focus, gtk_window_set_default,
Sun Feb 21 15:37:25 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkwindow.h: marked gtk_window_set_focus, gtk_window_set_default,
        gtk_window_remove_embedded_xid and gtk_window_add_embedded_xid as
        internal functions.
1999-02-21 19:01:08 +00:00
Owen Taylor
58e63f08ae Revise algorithm for scrolling backwards. This one might actually work
Sun Feb 21 11:39:06 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c (find_line_containing_point): Revise
	algorithm for scrolling backwards. This one might actually
	work with one-line-high	Text widgets.

	* gtk/gtkmain.c: Removed a misplaced comment, a few
	formatting cleanups.
1999-02-21 18:02:14 +00:00
Tim Janik
b0558e089e hm, set_modal doesn't really work with random gtk_grab_add/gtk_grab_remove
Sat Feb 20 20:59:25 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkwindow.c: hm, set_modal doesn't really work with random
        gtk_grab_add/gtk_grab_remove calls. either the window user uses
        the set_modal interface or he places grab_add/grab_remove on his own.
        (gtk_window_set_modal): enforce modality state either way.
        (gtk_window_hide): revert previous change.
1999-02-20 20:11:23 +00:00
Tim Janik
32b008bf56 increment years and months by two not three on double clicks, patch
Sat Feb 20 20:04:48 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkcalendar.c (gtk_calendar_button_press): increment years and
        months by two not three on double clicks, patch provided by Nick Lamb
        <njl98r@ecs.soton.ac.uk>.
1999-02-20 19:09:21 +00:00
Tim Janik
e0e893da8f added ::modal argument. (gtk_window_hide): reset window->modal from the
Sat Feb 20 19:44:36 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkwindow.c: added ::modal argument.
        (gtk_window_hide): reset window->modal from the current grab state
        (this is only relevant when grab_add/grab_remove is called on the
        window by bypassing gtk_window_set_modal).
        (gtk_window_remove_embedded_xid):
        (gtk_window_add_embedded_xid): don't use g_print() but g_message()
        within #ifdef G_ENABLE_DEBUG. when the hack got these functions
        added (ChangeLog doesn't know them)?
1999-02-20 19:00:53 +00:00
Sergey I. Panov
af1efabafb Collecttion of the locale dependent gtkrc files and
* gtk/gtkrc,gtk/gtkrc.ja, gtk/gtkrc.ko,
        gtk/gtkrc.ru: Collecttion of the locale dependent
        gtkrc files and

        * gtk/Makefile.am: patched to get that collection
        installed in to $(prefix)/etc/gtk/
1999-02-19 20:09:53 +00:00
Tim Janik
03d9f983de grouped function names into application-level, widget-level and
Fri Feb 19 17:52:28 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtksignal.h: grouped function names into application-level,
        widget-level and non-public.

        * gtk/gtktreeitem.c (gtk_tree_item_size_request): use auto
        pix_requisition instead of item->pixmaps_box->requisition.
1999-02-19 18:07:29 +00:00
Owen Taylor
b60c8a83d7 When queueing clears relative to widget->window, actually store
Thu Feb 18 17:26:09 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_queue_clear_area):
	 When queueing clears relative to widget->window,
	 actually store widget->window so we know that
	 the coordinates are window-relative.
1999-02-18 22:36:40 +00:00
Owen Taylor
213c516091 Fix glib_config_args gtk_config_args confusion. (pointed out by Roland
Thu Feb 18 11:46:57 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk.m4: Fix glib_config_args gtk_config_args
	  confusion. (pointed out by
	  Roland Dreier <droland@mail.math.okstate.edu>)

	* gtk/gtksocket.c gtk/gtkmain.c gtk/gtkdebug.h
	  (gtk_socket_filter_func): Move the plug-socket
	  debugging code to a new "plugsocket" debug keys
	  from the previous hardcoded DPRINTF.
1999-02-18 16:43:42 +00:00
Tim Janik
63e669a75f added widget arg ::titles_active.
Thu Feb 18 00:54:46 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkclist.c: added widget arg ::titles_active.
1999-02-18 00:35:11 +00:00
Tim Janik
432be67c9d only translate widget relative coordinates to window relative if the
Thu Feb 18 00:27:46 1999  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_queue_clear_area): only translate widget
        relative coordinates to window relative if the widget is not a toplevel
        (i.e. it has ->parent != NULL), otherwise the area size gets screwed up
        for toplevels.
1999-02-17 23:31:34 +00:00
Szabolcs Ban
cb54775dab Shooby Ban <bansz@szif.hu>
* Commited missing Changelog entry
1999-02-17 07:19:53 +00:00
Nuno Ferreira
666bb6e1bf Updated.
1999-02-17  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

	* pt.po: Updated.
1999-02-17 01:25:37 +00:00
Szabolcs Ban
b46aed94c3 Shooby Ban <bansz@szif.hu>
* Added lang hu
1999-02-16 22:25:54 +00:00
Szabolcs Ban
db2f396bfc Shooby Ban <bansz@szif.hu>
* Added hungarian translations
1999-02-16 22:08:54 +00:00
CST 1999 Shawn T. Amundson
f15ea7024b version = 1.1.16
Tue Feb 16 14:25:44 CST 1999 Shawn T. Amundson <amundson@gtk.org>

        * INSTALL
          README
          configure.in
          gtk+.spec
          docs/gtk-config.1: version = 1.1.16

        * Makefile.am: removed colorsel example since it
          doesn't actually exist.

        * Released GTK+ 1.1.16
1999-02-16 21:25:25 +00:00
Vincent Renardias
89b9ff8b2b Tue, 16 Feb 1999 12:51:56 +0100
* Complete translation + some contributed fixes.
1999-02-16 11:51:41 +00:00
Owen Taylor
bf39d4cda9 Use a ScrolledWindow test how Text widgets work within ScrolledWindow.
Mon Feb 15 23:55:27 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/testgtk.c (create_text): Use a ScrolledWindow
	 test how Text widgets work within ScrolledWindow.
	 (POLICY_AUTOMATIC drew very badly, so it uses
	  POLICY_ALWAYS for the vscrollbar)

	* gtk/gtktext.c (gtk_text_unrealize): Free the cache
	 in the unrealize handler. Some code in gtktext.c
	 assumes that if text->line_start_cache is non-NULL,
	 the widget is realized. We'll recompute it again
	 anyways if we later re-realize.
1999-02-16 04:52:21 +00:00
Owen Taylor
fd2c0c5651 When setting styles, remove unecessary explicits draws and clears.
Fri Feb 12 15:47:20 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcalender.c gtk/gtkentry.c gtk/gtkhandlebox.c
	  gtk/gtknotebook.c gtk/gtktext.c  gtk/gtkviewport.c
	  gtk/gtkwidget.c:

	 When setting styles, remove unecessary explicits draws
	 and clears.

	* gtk/gtkrange.c: Ugly fix so the steps get the
	 correct background.
1999-02-16 04:29:00 +00:00
Owen Taylor
3a5883b7e4 Updated for 1.1.16.
Mon Feb 15 22:55:50 1999  Owen Taylor  <otaylor@redhat.com>

	* NEWS: Updated for 1.1.16.
1999-02-16 03:50:09 +00:00
Owen Taylor
0101a46dcd Free label->label_wc.
Mon Feb 15 19:36:57 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c (gtk_label_finalize): Free
	 label->label_wc.
1999-02-16 00:31:24 +00:00
Owen Taylor
f1a61ecc75 Some coding style fixups.
Mon Feb 15 18:02:22 1999  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkdnd.c: Some coding style fixups.

	* gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set a flag
	 so that we destroy the icon window that we created
	 when the drag ends.
1999-02-16 00:19:13 +00:00
Owen Taylor
0c9af82e97 When we find a match, stop searching. (Because we assume pspec != NULL in
Thu Feb 11 18:43:12 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkbindings.c (gtk_binding_set_add_path): When
	  we find a match, stop searching. (Because we
	  assume pspec != NULL in the search).

Wed Feb 10 01:18:22 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkhandlebox.c (gtk_handle_box_draw_ghost): Fix
	  up painting of "ghosts".

	* gtk/gtkhandlebox.c (gtk_handle_box_button_changed):
	  Add double-click reattachment.

	* gtk/gtkhandlebox.c: Grab on widget->window,
	  not on handlebox->bin_window. This means we don't
	  have to worry about ungrabbing while reparenting.

	  Don't make a GTK+ grab - that wasn't necessary.

	* gtk/gtkhandlebox.c: Only compute the root -> desk
	  offset once, when starting the drag, instead
	  of continuously. This should solve the *Bad Window*
	  errors that were occurring because of race conditions
	  with the WM.

	* gtk/gtkhandlebox.c: Completely reworked the
	  the logic of reattachment. We introduce the
	  concept of the "snap edge", which is an edge
	  that needs to be aligned for reattachmed.
	  We set a reasonable default from
	  handlebox->handle_position, but an application
	  might want to change this in some circumstances.

	* gtk/gtkhandlebox.[ch]: Add settors:
            gtk_handle_box_set_handle_position  ();
            gtk_handle_box_set_snap_edge        ();
1999-02-15 21:05:51 +00:00
Owen Taylor
063bad00a2 gtk/gtkwidget.c (gtk_widget_real_grab_focus):
Mon Feb 15 11:13:01 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_focus):
	  gtk/gtkwidget.c (gtk_widget_real_grab_focus):

	If the focus widget is the same, but does not currently
	have the focus, call gtk_window_set_focus(). This is needed
	so that click focusing with GtkPlug works correctly.
1999-02-15 20:50:47 +00:00
Tim Janik
3d23ab250e default to yes for development trees.
Mon Feb 15 07:45:28 1999  Tim Janik  <timj@gtk.org>

        * configure.in (--enable-debug): default to yes for development trees.
1999-02-15 06:51:28 +00:00
Lars Hamann
1f85d83ef3 don't autoselect focus_row in case of GTK_SELECTION_EXTENDED
Fri Feb 12 00:08:01 1999  Lars Hamann  <lars@gtk.org>

        * gtk/gtklist.c (gtk_list_remove_items_internal): don't autoselect
        focus_row in case of GTK_SELECTION_EXTENDED

        * gtk/testgtk.c : few changes in list example.

        * gtk/gtklistitem.c (gtk_list_item_class_init):
        * gtk/gtkctree.c (gtk_ctree_class_init):
        * gtk/gtkclist.c (gtk_clist_class_init):
        fixed indentation, removed unused key bindings
1999-02-11 23:47:48 +00:00
Pablo Saratxaga
ed219818b1 updated spanis hlanguage file 1999-02-11 01:15:42 +00:00