1. 17 Mar, 1998 5 commits
    • Tim Janik's avatar
      changed some debugging messages to be prefixed by "Gdk:". · a783d668
      Tim Janik authored
      Tue Mar 17 16:19:47 1998  Tim Janik  <timj@gimp.org>
      
              * gdk/gdk.c:
                      * gdk/gdkvisual.c: changed some debugging messages to be prefixed
                              by "Gdk:".
      
                                      * gtk/gtkwidget.c (gtk_widget_real_draw): applied
                                              gtk-shige-980317-0.patch.gz to set all event fields, but modified
                                                      the event.send_event field to be set to TRUE, since the event is not
                                                              really comming from the server.
      
                                                                      * gtk/gtkwindow.c (gtk_window_init): applied gtk-ograf-980317-1.patch.gz
                                                                              which cares about an initial setting of program name and program class.
      
                                                                                      * gdk/gdk.c (gdk_init): applied gtk-ograf-980317-0.patch.gz, which
                                                                                              strips leading pathnames from gdk_progname.
      a783d668
    • Tim Janik's avatar
      fixed a bug about drawing GTK_ARROW_LEFT, correction from Damon Chaplin · a6e2c24b
      Tim Janik authored
      Tue Mar 17 12:36:35 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing
                      GTK_ARROW_LEFT, correction from Damon Chaplin <DAChaplin@email.msn.com>.
      a6e2c24b
    • Miguel de Icaza's avatar
      Use StructureNotifyMaskMask as the mask, as this enables an application · 8a0d6739
      Miguel de Icaza authored
      Tue Mar 17 02:02:02 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as
      	the mask, as this enables an application listening to those events
      	to catch the root events.  Thanks to Maciej for pointing us in the
      	right direction.
      	(gdk_dnd_drag_enter): Likewise.
      	(gdk_dnd_drag_leave): Likewise.
      	* gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.
      8a0d6739
    • Federico Mena's avatar
      Use signed integers so that testing will not fail for windows that are · 63955ec2
      Federico Mena authored
      Mon Mar 16 22:31:02 1998  Federico Mena  <federico@nuclecu.unam.mx>
      
      	* gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that
      	testing will not fail for windows that are off-screen.
      
      	(gdk_window_xid_at_coords): Only considers visible windows.
      63955ec2
    • Tim Janik's avatar
      exported gtk_spin_button_spin since it is used in testgtk, and besides · 077b5109
      Tim Janik authored
      Tue Mar 17 03:56:13 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is
                      used in testgtk, and besides that.
      
                              * gtk/testgtk.c: created a new "test" cursors, which showes different
                                      types of GdkCursors and is a very simple example at using the drawing
                                              area.
      
                                              Tue Mar 17 03:56:13 1998  Tim Janik  <timj@gimp.org>
      
                                                      * gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is
                                                              used in testgtk, and besides that.
      
                                                                      * gtk/testgtk.c: created a new "test" cursors, which showes different
                                                                              types of GdkCursors and is a very simple example at using the drawing
                                                                                      area.
      077b5109
  2. 16 Mar, 1998 4 commits
    • GMT 1998 Tony Gale's avatar
      - new question on modal windows - new question on updating progressbars - · 444c9529
      GMT 1998 Tony Gale authored
      Mon Mar 16 18:19:31 GMT 1998 Tony Gale  <gale@gimp.org>
              * docs/gtkfaq.sgml:
                  - new question on modal windows
                  - new question on updating progressbars
                  - update all the links to gtk.org
      444c9529
    • Tim Janik's avatar
      just fix an old entry · 600eaaea
      Tim Janik authored
      -timj
      600eaaea
    • GMT 1998 Tony Gale's avatar
      - New subsection on colourselection from Tom Bech <tomb@ii.uib.no> - Moved · 60c008eb
      GMT 1998 Tony Gale authored
      Mon Mar 16 09:15:03 GMT 1998 Tony Gale  <gale@gimp.org>
      
              * docs/gtk_tut.sgml:
                  - New subsection on colourselection from Tom Bech <tomb@ii.uib.no>
                  - Moved fileselection text to Miscallaneous Widgets section
                  - Started new section on the Text widget
                  - Removed Viewport, Paned, HPaned and VPaned from list of
                    NO_WINDOW widgets.
      60c008eb
    • Owen Taylor's avatar
      Added trailing newline, hopefully will fix the problem with esac · 27c086bd
      Owen Taylor authored
      Mon Mar 16 01:33:36 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk-config.in: Added trailing newline, hopefully will
      	  fix the problem with esac disappearing.
      
      	* gtk/Makefile.am (test-debug): Improved test targets
      	  will work with --enable-shared
          	    [From:  Raja R Harinath  <harinath@cs.umn.edu>]
      
        	* gtk.m4: Not all shells understand $(...).  Use `...` instead.
          	    [From:  Raja R Harinath  <harinath@cs.umn.edu>]
      	- use AM_PATH_PROG instead of AM_CHECK_PROG, so the user
      	  can specify programs not in their path.
      
      	* Makefile.am: added gtk.m4 to EXTRA_DIST
      27c086bd
  3. 15 Mar, 1998 10 commits
    • Tim Janik's avatar
      removed GRAB_EXCLUSIVE again, just disable modal event delivery for · c91f2c0c
      Tim Janik authored
      Sun Mar 15 23:44:10 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkwidget.h:
                      * gtk/gtkmenushell.c:
                              * gtk/gtkmenu.c:
                                      * gtk/gtkmain.c: removed GRAB_EXCLUSIVE again, just disable modal
                                              event delivery for insensitive children.
      c91f2c0c
    • Tim Janik's avatar
      for now reverted the last change, since it broke click-select-click menus · 0ac28d23
      Tim Janik authored
      Sun Mar 15 22:44:33 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkmenushell.c (gtk_menu_shell_button_release): for now reverted
                      the last change, since it broke click-select-click menus for gimp.
      0ac28d23
    • Tim Janik's avatar
      removed the ugly check whether we need gtk_widget_destroy or · 16c6ee03
      Tim Janik authored
      Sun Mar 15 20:13:42 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkmain.c (gtk_quit_destructor): removed the ugly check whether
                      we need gtk_widget_destroy or gtk_object_destroy. these functions are
                              by no means allowed to act differently!
      
                                      * gtk/gtkmisc.c (gtk_misc_set_alignment): check for _DRAWABLE instead
                                              of _VISIBLE to operate on widget->window.
                                                      (gtk_misc_set_padding): likewise.
      
                                                              * gtk/gtkwidget.c: slightly reordered object arguments.
      
                                                                      * gtk/gtkobject.c (gtk_object_setv):
                                                                              * gtk/gtkobject.c (gtk_object_getv):
                                                                                      operator `!' has precedence over `&'.
      16c6ee03
    • Tim Janik's avatar
      notebook fix from lars. · eac28852
      Tim Janik authored
      -timj
      eac28852
    • Tim Janik's avatar
      added new flag GTK_EXCLUSIVE_GRAB. allow exclusive grabs. · f87ee7e5
      Tim Janik authored
      Sun Mar 15 13:25:28 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkwidget.h: added new flag GTK_EXCLUSIVE_GRAB.
                      * gtk/gtkmain.c: allow exclusive grabs.
      
                              * gtk/gtkmenu.c: grab exclusively.
                                      * gtk/gtkmenushell.c: grab exclusively.
      
                                              * gtk/gtkmenushell.c: don't activate insensitive menu items when
                                                      in click-selects mode.
      
                                                              * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): activate submenus
                                                                      on popup.
      
                                                                              * gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't take
                                                                                      *additional* button presses into account.
      
                                                                                              * gtk/gtkmenushell.c (gtk_menu_shell_button_press): don't take
                                                                                                      foreign button releases into account.
      
      
      oh boy, please check this out people, hope i covered all cases.
      f87ee7e5
    • Tim Janik's avatar
      changed run type of GtkTipsQuery::widget_entered to GTK_RUN_LAST, so it · 9ce0cb60
      Tim Janik authored
      Sun Mar 15 08:27:06 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtktipsquery.c (gtk_tips_query_set_labels): changed run type
                      of GtkTipsQuery::widget_entered to GTK_RUN_LAST, so it can be overidden
                              by the user.
      9ce0cb60
    • Tim Janik's avatar
      small fix by Assar Westerlund <assar@sics.se>. · 85764dad
      Tim Janik authored
      Sun Mar 15 08:27:06 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkwindow.c (gtk_window_configure_event): small fix by
                      Assar Westerlund <assar@sics.se>.
      85764dad
    • Tim Janik's avatar
      don't cast a NULL pointer. · 9addd8da
      Tim Janik authored
      Sun Mar 15 08:27:06 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
      9addd8da
    • PST 1998 Shawn T. Amundson's avatar
      Released 0.99.7 · e8a447e0
      PST 1998 Shawn T. Amundson authored
      Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
      
              * Released 0.99.7
      e8a447e0
    • Owen Taylor's avatar
      Fixed reversed conditional, so checks against supplied version. · 85dd78b7
      Owen Taylor authored
      Sat Mar 14 20:07:45 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk.m4: Fixed reversed conditional, so checks against
      	  supplied version.
      85dd78b7
  4. 14 Mar, 1998 11 commits
    • Tim Janik's avatar
      fixed a bug with invoking the quit handlers that could cause them to be · bc8e4038
      Tim Janik authored
      Sat Mar 14 10:10:46 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkmain.c (gtk_main): fixed a bug with invoking the quit handlers
                      that could cause them to be removed wihout being invoked.
      bc8e4038
    • Owen Taylor's avatar
      Makefile.am fixes minor fix to gdkwindow.c -owt · 566a13a6
      Owen Taylor authored
      Makefile.am fixes
      minor fix to gdkwindow.c
                                              -owt
      566a13a6
    • PST 1998 Shawn T. Amundson's avatar
      Released 0.99.6 · 92802859
      PST 1998 Shawn T. Amundson authored
      Sat Mar 14 14:36:40 PST 1998 Shawn T. Amundson <amundson@gimp.org>
      
              * Released 0.99.6
      
              * gdk/gtk_tut.sgml:
              * gdk/gtk_tut_it.sgml: fixed Ian Main's e-mail address
      92802859
    • Owen Taylor's avatar
      Some cleanups of signedness warnings · 135cdd43
      Owen Taylor authored
      Sat Mar 14 13:26:09 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkentry.c gtk/gtktext.c: Some cleanups of signedness
                warnings
      
      	* gtk/gtkhandlebox.h: Changed gint ... : 1 to guint ... : 1
      135cdd43
    • Federico Mena Quintero's avatar
      Moved the gtk_signal_connect of the specified callback into the big · 6e7f4a99
      Federico Mena Quintero authored
      1998-03-14  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Moved the
      	gtk_signal_connect of the specified callback into the big switch()
      	for buttons.  We don't want to connect to the "clicked" signal of
      	a custom widget or a space element, because it may not have one.
      	(gtk_toolbar_insert_element): Extra sanity check; if the type is
      	GTK_TOOLBAR_CHILD_WIDGET, then the specified widget must not be NULL.
      6e7f4a99
    • Manish Singh's avatar
      cfd3a513
    • Tim Janik's avatar
      refuse to allocate with a greater height than requested. · c86bf9ba
      Tim Janik authored
      Sat Mar 14 08:29:56 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkhandlebox.c (gtk_handle_box_size_allocate): refuse to allocate
                      with a greater height than requested.
                              (gtk_handle_box_remove): clean up if the child is detached.
      
                                      * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): don't take invisible
                                              children into account.
      c86bf9ba
    • Owen Taylor's avatar
      Don't leave NULL's in argv. · 54a9eb41
      Owen Taylor authored
      Sat Mar 14 02:12:44 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmain.c gdk/gdk.c: Don't leave NULL's in argv.
      54a9eb41
    • Owen Taylor's avatar
      Moved glibconfig.h to $pkglibdir/include. Update to libtool-1.1. · f9ad2834
      Owen Taylor authored
      Sat Mar 14 01:36:51 1998  Owen Taylor  <owt1@cornell.edu>
      
      Moved glibconfig.h to $pkglibdir/include. Update to libtool-1.1.
      f9ad2834
    • Tim Janik's avatar
      make use of *_by_id() functions for handler key. · 294cfcdb
      Tim Janik authored
      Sat Mar 14 02:03:13 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtksignal.c: make use of *_by_id() functions for handler key.
      
              * gtk/gtkwidget.c: make use of *_by_id() functions for a bunch of keys.
              (gtk_widget_shutdown): new function to perform pre-destruction shutdown
              of the widget.
              (gtk_widget_unparent): call gtk_widget_set_parent_window(widget,NULL)
      
              * gtk/gtkobject.h:
              * gtk/gtkobject.c: GtkObject destruction is now split into an internally
              used shutdown class method and the usual GtkObject::destroy signal
              emission. this allowes for class based shutdown functionality prior
              to actuall object destruction.
              added *_by_id() counterparts for gtk_object_data_* functions, meant for
              internal use only.
      
              * gtk/gtkmain.c (gtk_quit_add_destroy): new function which will destroy
              a GtkObject once gtk_main() of a certain level finishes. it is save to
              destroy the object prior to that, gtk_quit_add_destroy will only destroy
              objects that are still existing.
      294cfcdb
    • Federico Mena Quintero's avatar
      Now we return a GtkVisibility value, instead of a simple boolean. Also, · 3ef2c37a
      Federico Mena Quintero authored
      1998-03-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtkclist.c (gtk_clist_row_is_visible): Now we return a
      	GtkVisibility value, instead of a simple boolean.  Also, changed
      	all the functions that expected a boolean value to use
      	"!= GTK_VISIBILITY_NONE".
      
      	* gtk/gtkclist.h: Changed prototype for gtk_clist_row_is_visible().
      
      	* gtk/gtkenums.h (enum): Added GtkVisibility enum.
      3ef2c37a
  5. 13 Mar, 1998 6 commits
  6. 12 Mar, 1998 4 commits
    • Federico Mena Quintero's avatar
      fix one missing quote. · 8eb77dfe
      Federico Mena Quintero authored
      1998-03-12  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* docs/gtk_tut.sgml: fix one missing quote.
      8eb77dfe
    • Owen Taylor's avatar
      logged change. · 9c8ed97e
      Owen Taylor authored
      9c8ed97e
    • Tim Janik's avatar
      return TRUE for GtkWidget::delete_event to avoid destruction of our float · 96a74359
      Tim Janik authored
      Thu Mar 12 20:17:47 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkhandlebox.c (gtk_handle_box_delete_float): return TRUE for
              GtkWidget::delete_event to avoid destruction of our float window.
      
              * gtk/gtkmain.c (gtk_main_iteration_do): GDK_DELETE will destroy a
              widget if the last handler returned FALSE or there was none connected.
      
              * gtk/testgtk.c: adapted all delete_event/destroy case that were affected.
      
              * gtk/gtkwidget.c (gtk_widget_delete_hides): new function that will hide
              a widget and return TRUE to avoid window deletion if
              connected to GtkWIdget::delete_event.
      96a74359
    • PST 1998 Shawn T. Amundson's avatar
      Changed name of GTK to the GIMP Toolkit · 7c698ad4
      PST 1998 Shawn T. Amundson authored
      Thu Mar 12 11:51:33 PST 1998 Shawn T. Amundson <amundson@gimp.org>
      
              * docs/gtk.texi: Changed name of GTK to the GIMP Toolkit
      7c698ad4