Handle the Cancel button properly. (#304234, Sven Neumann)

2005-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
	Cancel button properly.  (#304234, Sven Neumann)
This commit is contained in:
Matthias Clasen 2005-05-18 20:34:30 +00:00 committed by Matthias Clasen
parent 740f66023c
commit 116c3e66af
4 changed files with 23 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
Cancel button properly. (#304234, Sven Neumann)
2005-05-18 Anders Carlsson <andersca@imendio.com> 2005-05-18 Anders Carlsson <andersca@imendio.com>
* gtk/gtktextview.c: (gtk_text_view_flush_scroll), * gtk/gtktextview.c: (gtk_text_view_flush_scroll),
@ -6,9 +11,9 @@
If the horizontal adjustment changes because of a change in the If the horizontal adjustment changes because of a change in the
layout width, then do a complete redraw. This is because there layout width, then do a complete redraw. This is because there
might be right-aligned or centered text that needs to be redrawn. might be right-aligned or centered text that needs to be redrawn.
2005-05-18 Matthias Clasen <mclasen@redhat.com>
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set * gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set
the event masks of descendent windows. (#169821, Tommi Komulainen) the event masks of descendent windows. (#169821, Tommi Komulainen)

View File

@ -1,3 +1,8 @@
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
Cancel button properly. (#304234, Sven Neumann)
2005-05-18 Anders Carlsson <andersca@imendio.com> 2005-05-18 Anders Carlsson <andersca@imendio.com>
* gtk/gtktextview.c: (gtk_text_view_flush_scroll), * gtk/gtktextview.c: (gtk_text_view_flush_scroll),
@ -6,9 +11,9 @@
If the horizontal adjustment changes because of a change in the If the horizontal adjustment changes because of a change in the
layout width, then do a complete redraw. This is because there layout width, then do a complete redraw. This is because there
might be right-aligned or centered text that needs to be redrawn. might be right-aligned or centered text that needs to be redrawn.
2005-05-18 Matthias Clasen <mclasen@redhat.com>
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set * gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set
the event masks of descendent windows. (#169821, Tommi Komulainen) the event masks of descendent windows. (#169821, Tommi Komulainen)

View File

@ -1,3 +1,8 @@
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
Cancel button properly. (#304234, Sven Neumann)
2005-05-18 Anders Carlsson <andersca@imendio.com> 2005-05-18 Anders Carlsson <andersca@imendio.com>
* gtk/gtktextview.c: (gtk_text_view_flush_scroll), * gtk/gtktextview.c: (gtk_text_view_flush_scroll),
@ -6,9 +11,9 @@
If the horizontal adjustment changes because of a change in the If the horizontal adjustment changes because of a change in the
layout width, then do a complete redraw. This is because there layout width, then do a complete redraw. This is because there
might be right-aligned or centered text that needs to be redrawn. might be right-aligned or centered text that needs to be redrawn.
2005-05-18 Matthias Clasen <mclasen@redhat.com>
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set * gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set
the event masks of descendent windows. (#169821, Tommi Komulainen) the event masks of descendent windows. (#169821, Tommi Komulainen)

View File

@ -2165,6 +2165,8 @@ dialog_response_cb (GtkDialog *dialog,
break; break;
} }
} }
else
gtk_file_chooser_unselect_all (GTK_FILE_CHOOSER (dialog));
if (priv->old_path) if (priv->old_path)
{ {