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>
|
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
|
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): Don't
|
||||||
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): Don't
|
||||||
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): Don't
|
||||||
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
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
|
* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): Don't
|
||||||
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
crash if enable_search is FALSE. (#161267, Jorn Baayen)
|
||||||
|
|
||||||
|
@ -2158,14 +2158,18 @@ dialog_response_cb (GtkDialog *dialog,
|
|||||||
|
|
||||||
update_label_and_image (user_data);
|
update_label_and_image (user_data);
|
||||||
update_combo_box (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,
|
||||||
|
priv->dialog_file_activated_id);
|
||||||
|
g_signal_handler_unblock (priv->dialog,
|
||||||
|
priv->dialog_selection_changed_id);
|
||||||
|
priv->active = FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
g_signal_handler_unblock (priv->dialog,
|
|
||||||
priv->dialog_folder_changed_id);
|
|
||||||
g_signal_handler_unblock (priv->dialog,
|
|
||||||
priv->dialog_file_activated_id);
|
|
||||||
g_signal_handler_unblock (priv->dialog,
|
|
||||||
priv->dialog_selection_changed_id);
|
|
||||||
priv->active = FALSE;
|
|
||||||
gtk_widget_set_sensitive (priv->combo_box, TRUE);
|
gtk_widget_set_sensitive (priv->combo_box, TRUE);
|
||||||
gtk_widget_hide (priv->dialog);
|
gtk_widget_hide (priv->dialog);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user