1. 19 Feb, 1998 1 commit
  2. 18 Feb, 1998 1 commit
  3. 13 Feb, 1998 1 commit
  4. 08 Feb, 1998 1 commit
  5. 03 Feb, 1998 1 commit
    • Tim Janik's avatar
      don't add the same menu to different menuitems/ optionmenus. · 58423110
      Tim Janik authored
      Tue Feb  3 15:09:55 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/testgtk.c: don't add the same menu to different menuitems/
                optionmenus.
      
              * gtk/gtkmenuitem.h:
              * gtk/gtkmenuitem.c: new function gtk_menu_item_remove_submenu ro
                be consistent with optionmenu. use gtk_menu_attach_to_widget/
                gtk_menu_detach for setting/removing the submenu.
                invoke gtk_widget_destroy(submenu) in destructor to be consistent
                with other destructors.
      
              * gtk/gtkoptionmenu.h:
              * gtk/gtkoptionmenu.c: attach/detach to menu widget via
                gtk_menu_attach_to_widget/gtk_menu_detach.
                invoke gtk_widget_destroy(menu) in destructor to be consistent
                with other destructors.
      58423110
  6. 02 Feb, 1998 2 commits
    • Tim Janik's avatar
      fixed a bad, bad referencing bug that could caused unreferencing of · eeaefdf0
      Tim Janik authored
      Mon Feb  2 04:15:08 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkmain.c (gtk_propagate_event): fixed a bad, bad referencing
                bug that could caused unreferencing of finalized objects.
      
              * gtk/testgtk.c: destroy fileselection on "OK" (this triggered the
                above mentioned bug).
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c:
              * gtk/gtkobject.h:
              * gtk/gtkobject.c:
                implemented and object reference tracer (gtk_trace_referencing) which
                is activated if GTK_TRACE_OBJECTS is defined (currently per default).
                in gdb: set the static variable `gtk_trace_object' to point to the
                object that you want to have reference traced.
      
              * gtk/gtkfileselection.c: few cleanups.
      eeaefdf0
    • Tim Janik's avatar
      fixed a refresh bug with unrealization of no_window widgets. · 57bae555
      Tim Janik authored
      (dialog button in tesgtk)
      -timj
      57bae555
  7. 30 Jan, 1998 1 commit
  8. 20 Jan, 1998 1 commit
  9. 19 Jan, 1998 2 commits
    • Federico Mena's avatar
      Removed the GTK_PIXMAP casts to match Eckehard's new prototypes. · 73386d57
      Federico Mena authored
      Mon Jan 19 16:21:00 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>
      
      	* gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to
      	match Eckehard's new prototypes.
      
      	* gtk/gtktoolbar.h: Switched the order of the tooltip_text and
      	widget parameters to the gtk_toolbar_*_widget() functions, to be
      	friendlier to the C++ bindings.  This is per request of Guillaume
      	Laurent.
      73386d57
    • Jay Painter's avatar
      GtkCList updates: Click-Drag column resizing, a couple of layout · 79f69b16
      Jay Painter authored
      fixes, show/hide functions for the title buttons, and I've replaced
      gtk_clist_new with gtk_clist_new_with_titles.  gtk_clist_new will
      create a list without title bars which can be added later by calling
      gtk_clist_set_column_(title/widget) for the column button you want to add.
      A column button for column 0 always exhists, and buttons span all columns
      until they come to the next exhisting button, or the last column. -Jay
      79f69b16
  10. 17 Jan, 1998 2 commits
    • Owen Taylor's avatar
      Take putback events into account · 44364802
      Owen Taylor authored
      * gdk/gdk.c (gdk_events_pending): Take putback events into
        account
      
      * gdk/gdk.c (gdk_event_free): Handle dropdataavaible memory
        allocation correctly. (Incompatible change: client must
        _not_ fre event->data and event->data_type.)
      
      * gdk/gdk.c (gdk_event_translate): Changed DND dragging
        so that we don't ungrab pointer when we reenter window
        to prevent extra Enter/Leave effects which had bad
        effects.
        Changed drag zone handling to not send uncessary
        DragEnter events.
        Fixed EnterNotify/LeaveNotify handling. (Only pay
        attention to events on window, don't specify these
        events to XGrabPointer - that isn't valid, and handle
        reverse the sense of the handling of LeaveNotify.)
      
      * gdk/gdkwindow.c (gdk_window_remove_filter): Free removed
        filter.
      
      * gtk/gtk.defs (GdkFont): gdk_font_free => gdk_font_unref
      
      * gtk/gtkmain.{c,h} (gtk_events_pending): new function - apps
        should use this instead of gdk_events_pending.
      
      * gtk/gtkvbbox.h: Fixed a duplication in the headers.
      
      * gtk/testgtk.c (dnd_drop): Don't free the drop data,
        it belongs to the event.
      44364802
    • CST 1998 Shawn T. Amundson's avatar
      Applied patch from <lupus@lettere.unipd.it> which adds · 2e995816
      CST 1998 Shawn T. Amundson authored
      Sat Jan 17 13:26:15 CST 1998 Shawn T. Amundson <amundson@gimp.org>
      
              * gtk/gtkentry.[ch]:  Applied patch from <lupus@lettere.unipd.it>
                which adds gtk_entry_set_max_length function.  This was
                part of gtk-lupus-970112-0.
      
              * gtk/testgtk.c: Applied gtk-wille-980113-0 which fixes
                a problem with a shaped widget keeping grab forever
                when double clicked.
      
              * docs/gtk.texi: patch from Gregory McLean <gregm@randomc.com>
                to add some on aspect_frame, button_box, and color_selection
                widgets
      2e995816
  11. 16 Jan, 1998 1 commit
    • Federico Mena's avatar
      Now we use a GtkWindow of type GTK_WINDOW_DIALOG as a destination for · c44ba4b3
      Federico Mena authored
      Fri Jan 16 00:36:31 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>
      
      	* gtk/gtkhandlebox.c: Now we use a GtkWindow of type
      	GTK_WINDOW_DIALOG as a destination for reparenting the child of
      	the handle box.  This solves the problem of having X calls in
      	Gtk.  It also makes the handle box work with KWM, OLVWM, 4Dwm (so
      	I expect mwm to work as well).  I hadn't noticed that previously
      	it only worked with fvwm and twm.
      
      	* gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
      	real_parent field, as it is never used.
      	(struct _GtkHandleBox): Added a float_window field.  This is a
      	GtkWindow to where the child is now reparented.
      c44ba4b3
  12. 13 Jan, 1998 2 commits
    • Jay Painter's avatar
      GtkCList updates, GtkText now defaults to editable = FALSE, but you can · 72da1d3e
      Jay Painter authored
      turn it on and type now without it seg-faulting.  You can also delete, but it
      will eventually seg fault on you (oh well).  -Jay
      72da1d3e
    • Federico Mena Quintero's avatar
      Fixed child->icon and child->label == NULL bugs. · 139026de
      Federico Mena Quintero authored
      1998-01-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtktoolbar.c: (gtk_real_toolbar_style_changed): Fixed
      	child->icon and child->label == NULL bugs.
      
      	* gtk/gtktoolbar.h: Added some new functions:
      		gtk_toolbar_append_widget()
      		gtk_toolbar_prepend_widget()
      		gtk_toolbar_insert_widget()
      	These let the user insert any kind of widget in the toolbar.  Also
      	changed the gtk_toolbar_*_item() functions to return a
      	GtkWidget * so that the user can do things with the toolbar buttons.
      
      	* gtk/gtktoolbar.c: Now the toolbar supports its own buttons and
      	arbitrary widgets as well.  Geometry management has been changed
      	accordingly.  Added gtk_toolbar_remove() function, so container
      	functionality should be complete now.
      
      	* gtk/testgtk.c (create_toolbar): Added an entry widget to test
      	the new toolbar.
      
      	* Most of these changes are adapted from the
      	gtk-lupus-970112-0-patch (should be 970112... :-)
      139026de
  13. 08 Jan, 1998 2 commits
  14. 07 Jan, 1998 1 commit
  15. 06 Jan, 1998 1 commit
  16. 03 Jan, 1998 2 commits
  17. 02 Jan, 1998 1 commit
  18. 28 Dec, 1997 1 commit
  19. 23 Dec, 1997 2 commits
  20. 19 Dec, 1997 1 commit
  21. 18 Dec, 1997 1 commit
  22. 07 Dec, 1997 1 commit
    • Tim Janik's avatar
      applied jamesa-971010-0 for stability. applied jamesa-971010-2 for a small · 37f6b421
      Tim Janik authored
              * gtkfilesel.c: applied jamesa-971010-0 for stability.
              * gtkrc.c: applied jamesa-971010-2 for a small optimization.
              * gtkcheckmenuitem.h:
              * gtkcheckmenuitem.c:
              * gtkradiomenuitem.c:
              * testgtk.c: applied johannes-971113-0 which adds
              gtk_check_menu_item_set_show_toggle() to change the way check
              menu items and radio menu items look.
      -timj
      37f6b421
  23. 06 Dec, 1997 1 commit
  24. 24 Nov, 1997 1 commit