]> Pileus Git - ~andy/gtk/commit
Add some documenting comments about GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and
authorGeorge Lebl <jirka@5z.com>
Sun, 3 Sep 2000 05:49:34 +0000 (05:49 +0000)
committerGeorge Lebl <jirka@src.gnome.org>
Sun, 3 Sep 2000 05:49:34 +0000 (05:49 +0000)
commit49a6b8335d4d9fa063aaaf899bd34cb8319ee7fd
tree345000a32d9ef03ee28bbd6afde02e1221f2cd5d
parente4229e9c4bd815717d1f9056a53c3389d4b20122
Add some documenting comments about GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and

Sun Sep 03 00:47:08 2000  George Lebl <jirka@5z.com>

* gtk/gtkwidget.h:  Add some documenting comments about
  GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and GTK_RECEIVES_DEFAULT
  just as owen said on irc.

* gtk/gtkwindow.c (gtk_window_set_default):  Don't blindly
  set HAS_DEFAULT.  Only set it if there isn't another window
  holding it (a focus window which RECEIVES_DEFAULT) and only unset
  it if the widget is not the focused window with RECEIVES_DEFAULT.
  This fixes weird double default bugs in dialogs which has things
  call gtk_window_set_default at times.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkwidget.h
gtk/gtkwindow.c