Use connect_after to connect to the focus_out event. This ensures that the
2005-09-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing): Use connect_after to connect to the focus_out event. This ensures that the entry has already stopped blinking by the time we emit the edited signal. (#315229, Thomas Leonard)
This commit is contained in:
committed by
Matthias Clasen
parent
51c6946dfb
commit
878c63a65f
@@ -1,5 +1,10 @@
|
||||
2005-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
|
||||
Use connect_after to connect to the focus_out event. This
|
||||
ensures that the entry has already stopped blinking by the time
|
||||
we emit the edited signal. (#315229, Thomas Leonard)
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_parse_geometry): Don't set
|
||||
unsigned ints to -1. (#315481, Kjartan Maraas)
|
||||
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
2005-09-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
|
||||
Use connect_after to connect to the focus_out event. This
|
||||
ensures that the entry has already stopped blinking by the time
|
||||
we emit the edited signal. (#315229, Thomas Leonard)
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_parse_geometry): Don't set
|
||||
unsigned ints to -1. (#315481, Kjartan Maraas)
|
||||
|
||||
|
||||
@@ -1822,9 +1822,9 @@ gtk_cell_renderer_text_start_editing (GtkCellRenderer *cell,
|
||||
"editing_done",
|
||||
G_CALLBACK (gtk_cell_renderer_text_editing_done),
|
||||
celltext);
|
||||
priv->focus_out_id = g_signal_connect (priv->entry, "focus_out_event",
|
||||
G_CALLBACK (gtk_cell_renderer_text_focus_out_event),
|
||||
celltext);
|
||||
priv->focus_out_id = g_signal_connect_after (priv->entry, "focus_out_event",
|
||||
G_CALLBACK (gtk_cell_renderer_text_focus_out_event),
|
||||
celltext);
|
||||
priv->populate_popup_id =
|
||||
g_signal_connect (priv->entry, "populate_popup",
|
||||
G_CALLBACK (gtk_cell_renderer_text_populate_popup),
|
||||
|
||||
Reference in New Issue
Block a user