mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Only unblock the handlers if they are blocked.
2004-12-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.c (dialog_response_cb): Only unblock the handlers if they are blocked.
This commit is contained in:
parent
860228fa36
commit
6cd1c58c92
@ -1,5 +1,8 @@
|
||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserbutton.c (dialog_response_cb): Only unblock the handlers
|
||||
if they are blocked.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): Don't
|
||||
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserbutton.c (dialog_response_cb): Only unblock the handlers
|
||||
if they are blocked.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): Don't
|
||||
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserbutton.c (dialog_response_cb): Only unblock the handlers
|
||||
if they are blocked.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): Don't
|
||||
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserbutton.c (dialog_response_cb): Only unblock the handlers
|
||||
if they are blocked.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): Don't
|
||||
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
||||
|
||||
|
@ -2159,6 +2159,8 @@ dialog_response_cb (GtkDialog *dialog,
|
||||
update_label_and_image (user_data);
|
||||
update_combo_box (user_data);
|
||||
|
||||
if (priv->active)
|
||||
{
|
||||
g_signal_handler_unblock (priv->dialog,
|
||||
priv->dialog_folder_changed_id);
|
||||
g_signal_handler_unblock (priv->dialog,
|
||||
@ -2166,6 +2168,8 @@ dialog_response_cb (GtkDialog *dialog,
|
||||
g_signal_handler_unblock (priv->dialog,
|
||||
priv->dialog_selection_changed_id);
|
||||
priv->active = FALSE;
|
||||
}
|
||||
|
||||
gtk_widget_set_sensitive (priv->combo_box, TRUE);
|
||||
gtk_widget_hide (priv->dialog);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user