Discussion:
GNOME CVS: gtk+ carlosg
Carlos Garnacho
2006-12-26 10:31:37 UTC
Permalink
CVSROOT: /cvs/gnome
Module name: gtk+
Changes by: carlosg 06/12/26 05:31:36

Modified files:
. : ChangeLog
gtk : gtknotebook.c

Log message:
2006-12-26 Carlos Garnacho <***@gnome.org>

Expose improvements for GtkNotebook. Bug #383435

* gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
labels.
(gtk_notebook_draw_focus): do not repaint the whole focused tab again.
(gtk_notebook_draw_tab): do not send handmade expose events to tab
labels.

URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=carlosg&date=explicit&mindate=2006-12-26%2005:30&maxdate=2006-12-26%2005:32
Carlos Garnacho
2006-12-26 10:33:27 UTC
Permalink
CVSROOT: /cvs/gnome
Module name: gtk+
Changes by: carlosg 06/12/26 05:33:27

Modified files:
. : Tag: gtk-2-10 ChangeLog
gtk : Tag: gtk-2-10 gtknotebook.c

Log message:
2006-12-26 Carlos Garnacho <***@gnome.org>

Expose improvements for GtkNotebook. Bug #383435

* gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
labels.
(gtk_notebook_draw_focus): do not repaint the whole focused tab again.
(gtk_notebook_draw_tab): do not send handmade expose events to tab
labels.

URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=carlosg&date=explicit&mindate=2006-12-26%2005:32&maxdate=2006-12-26%2005:34
Carlos Garnacho
2006-12-26 11:02:15 UTC
Permalink
CVSROOT: /cvs/gnome
Module name: gtk+
Changes by: carlosg 06/12/26 06:02:15

Modified files:
. : ChangeLog
gtk : gtknotebook.c

Log message:
2006-12-26 Carlos Garnacho <***@gnome.org>

Fix small regressions in GtkNotebook tab detaching. Bug #378852.

* gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
scrolling when hovering with a detached tab.
(gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
focus tab has changed during a tab DND operation.
(gtk_notebook_drag_end): ensure that the dropped tab gets focused.
(gtk_notebook_paint): do not take cur_page as a reference to paint the
box if it's detached.
(gtk_notebook_calculate_tabs_allocation): focus_tab may be different
to the detached tab if we hover the arrows during a tabs detaching
operation, do not allocate it unconditionally in 0,0.

URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=carlosg&date=explicit&mindate=2006-12-26%2006:01&maxdate=2006-12-26%2006:03
Carlos Garnacho
2006-12-26 11:04:05 UTC
Permalink
CVSROOT: /cvs/gnome
Module name: gtk+
Changes by: carlosg 06/12/26 06:04:05

Modified files:
. : Tag: gtk-2-10 ChangeLog
gtk : Tag: gtk-2-10 gtknotebook.c

Log message:
2006-12-26 Carlos Garnacho <***@gnome.org>

Fix small regressions in GtkNotebook tab detaching. Bug #378852.

* gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
scrolling when hovering with a detached tab.
(gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
focus tab has changed during a tab DND operation.
(gtk_notebook_drag_end): ensure that the dropped tab gets focused.
(gtk_notebook_paint): do not take cur_page as a reference to paint the
box if it's detached.
(gtk_notebook_calculate_tabs_allocation): focus_tab may be different
to the detached tab if we hover the arrows during a tabs detaching
operation, do not allocate it unconditionally in 0,0.

URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=carlosg&date=explicit&mindate=2006-12-26%2006:03&maxdate=2006-12-26%2006:05
Carlos Garnacho
2006-12-28 16:38:49 UTC
Permalink
CVSROOT: /cvs/gnome
Module name: gtk+
Changes by: carlosg 06/12/28 11:38:49

Modified files:
. : ChangeLog
gtk : gtkdnd.c gtkwidget.c gtkmarshalers.list
gtknotebook.c gtkenums.h

Log message:
2006-12-28 Carlos Garnacho <***@gnome.org>

Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.

* gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
* gtk/gtkmarshalers.list: add new marshaler definition.
* gtk/gtkenums.h: add GtkDragResult enum.

* gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
operation wasn't successful.
(_gtk_drag_source_handle_event) (gtk_drag_drop)
(gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
(gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
(gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
gtk_drag_drop_finished() the operation result.

* gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
(gtk_notebook_drag_data_get): do not call window creation hook here.
(gtk_notebook_init): do not set "application/x-rootwindow-drop"
target, instead connect to "drag-failed".
(gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.

URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=carlosg&date=explicit&mindate=2006-12-28%2011:37&maxdate=2006-12-28%2011:39
Carlos Garnacho
2006-12-29 19:11:32 UTC
Permalink
CVSROOT: /cvs/gnome
Module name: gtk+
Changes by: carlosg 06/12/29 14:11:32

Modified files:
. : ChangeLog
gtk : gtknotebook.c

Log message:
2006-12-29 Carlos Garnacho <***@gnome.org>

* gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
originally received the event is a notebook page. (#315440, reported
by Mateusz Stefek)

URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=carlosg&date=explicit&mindate=2006-12-29%2014:10&maxdate=2006-12-29%2014:12
Carlos Garnacho
2006-12-29 19:12:52 UTC
Permalink
CVSROOT: /cvs/gnome
Module name: gtk+
Changes by: carlosg 06/12/29 14:12:52

Modified files:
. : Tag: gtk-2-10 ChangeLog
gtk : Tag: gtk-2-10 gtknotebook.c

Log message:
2006-12-29 Carlos Garnacho <***@gnome.org>

* gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
originally received the event is a notebook page. (#315440, reported
by Mateusz Stefek)

URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=carlosg&date=explicit&mindate=2006-12-29%2014:11&maxdate=2006-12-29%2014:13
Loading...