1. 15 Mar, 1998 3 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
      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
  2. 14 Mar, 1998 1 commit
    • Tim Janik's avatar
      gpointer gtk_object_get_user_data (GtkObject *object) { if · 8cde2c5c
      Tim Janik authored
      gpointer
      gtk_object_get_user_data (GtkObject *object)
      {
        if (user_data_key_id)
      -    gtk_object_get_data_by_id (object, user_data_key_id);
      +    return gtk_object_get_data_by_id (object, user_data_key_id);
      
        return NULL;
      }
      
      boy oh boy, that was a *neat* one ;)
      -timj
      8cde2c5c
  3. 09 Mar, 1998 1 commit
    • Tim Janik's avatar
      made the <widget>_signals[] arrays of type guint rather than gint. made · d1871831
      Tim Janik authored
      Mon Mar  9 15:48:10 1998  Tim Janik  <timj@gimp.org>
      
              * Signal signedness and naming corrections, plus GtkType fixes:
      
              * gtk/gtkadjustment.c:
              * gtk/gtkbutton.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkclist.c:
              * gtk/gtkcolorsel.c:
              * gtk/gtkcontainer.c:
              * gtk/gtkcurve.c:
              * gtk/gtkdata.c:
              * gtk/gtkeditable.c:
              * gtk/gtkentry.c:
              * gtk/gtkhandlebox.c:
              * gtk/gtkinputdialog.c:
              * gtk/gtkitem.c:
              * gtk/gtklist.c:
              * gtk/gtkmenuitem.c:
              * gtk/gtkmenushell.c:
              * gtk/gtknotebook.c:
              * gtk/gtkstatusbar.c:
              * gtk/gtktoolbar.c:
              * gtk/gtktree.c:
              * gtk/gtktreeitem.c:
              * gtk/gtkwidget.c:
              * gtk/gtktogglebutton.c:
              * gtk/gtkwindow.c:
              made the <widget>_signals[] arrays of type guint rather than gint.
              * gtk/gtkwidget.c (gtk_widget_get_ancestor): made widget_type a GtkType.
      
              * gtk/gtkcombo.h:
              handler ids need to be of type guint (entry_change_id, list_change_id).
      
              * gtk/gtkaccelerator.c:
              changed signal_num to signal_id and typed it guint.
      
              * gtk/gtkmain.c: made gtk_ndebug_keys a guint.
      
              * gtk/gtkmenu.h:
              * gtk/gtkmenu.c:
              (gtk_menu_popup): made button a guint.
              (gtk_menu_set_active): made index a guint.
      
              * gtk/gtkmenuitem.h:
              * gtk/gtkmenuitem.c:
              made accelerator_signal a guint.
      
              * gtk/gtkoptionmenu.h:
              * gtk/gtkoptionmenu.c:
              (gtk_option_menu_set_history): made index a guint.
      
              * gtk/gtksignal.h:
              * gtk/gtksignal.c:
              * gtk/gtkobject.h:
              * gtk/gtkobject.c: changed a bunch of prototypes to take guints rather
              than gints. also made some conversions from guint to GtkType, left over
              from when the fundamental-types system was introduced.
      
              * gtk/gtkobject.h:
              * gtk/gtkobject.c: made object_data_id_index and obj_count guints.
              made *signals and nsignals guints in GtkObjectClass.
      d1871831
  4. 30 Jan, 1998 1 commit
  5. 18 Jan, 1998 1 commit
    • Owen Taylor's avatar
      gtkbutton.c gtkclist.c gtkdrawingarea.c gtkentry.c gtkeventbox.c · 11d37c50
      Owen Taylor authored
      Sun Jan 18 09:57:00 1998  Owen Taylor  <owt1@cornell.edu>
      * gtkbutton.c gtkclist.c gtkdrawingarea.c gtkentry.c gtkeventbox.c
        gtkfixed.c gtkhandlebox.c gtkhscale.c gtkhscrollbar.c gtkitem.c
        gtklist.c gtkmenushell.c gtkmisc.c gtknotebook.c gtkpaned.c
        gtkpreview.c gtkprogressbar.c gtkruler.c gtktext.c gtktree.c
        gtkviewport.c gtkvscale.c gtkvscrollbar.c gtkwidget.{c,h}
      
        Added gtk_widget_set_parent and gtk_widget_get_parent. All
        widgets should use:
      
         gtk_widget_get_parent() instead of widget->parent->window.
      
        Any widget that wants to have children not in the parent window,
        should use gtk_widget_set_parent () in their realize() and
        add () routines.
      
        CList and Viewport widgets changed to do this. (Viewport
        widget using code from gtk-fortier-980117-0.patch.)
      11d37c50
  6. 16 Jan, 1998 1 commit
  7. 24 Nov, 1997 1 commit