gtk+ r20138 - in trunk: . gtk
- From: jap svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20138 - in trunk: . gtk
- Date: Sat, 24 May 2008 18:59:57 +0000 (UTC)
Author: jap
Date: Sat May 24 18:59:56 2008
New Revision: 20138
URL: http://svn.gnome.org/viewvc/gtk+?rev=20138&view=rev
Log:
2008-05-24 Jan Arne Petersen <jpetersen jpetersen org>
* gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
try to toggle the visibility of the location entry field in search and
recent mode (#526422)
Modified:
trunk/ChangeLog
trunk/gtk/gtkfilechooserdefault.c
Modified: trunk/gtk/gtkfilechooserdefault.c
==============================================================================
--- trunk/gtk/gtkfilechooserdefault.c (original)
+++ trunk/gtk/gtkfilechooserdefault.c Sat May 24 18:59:56 2008
@@ -5216,6 +5216,14 @@
static void
location_toggle_popup_handler (GtkFileChooserDefault *impl)
{
+ /* when in search or recent files mode, we are not showing the
+ * location_entry_box container, so there's no point in switching
+ * to it.
+ */
+ if (impl->operation_mode == OPERATION_MODE_SEARCH ||
+ impl->operation_mode == OPERATION_MODE_RECENT)
+ return;
+
/* If the file entry is not visible, show it.
* If it is visible, turn it off only if it is focused. Otherwise, switch to the entry.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]