[nautilus/wip/csoriano/search-popover: 1/29] search-popover: don't update label on showing date widgets



commit 65b03f5041d4c83e3580215b7ae905b7be9a985a
Author: Carlos Soriano <csoriano gnome org>
Date:   Wed Jan 27 17:16:59 2016 +0100

    search-popover: don't update label on showing date widgets
    
    This is done for any user action. In this way we don't have to
    do this confusing check here.

 src/nautilus-search-popover.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/nautilus-search-popover.c b/src/nautilus-search-popover.c
index d6e2c7f..57a63a2 100644
--- a/src/nautilus-search-popover.c
+++ b/src/nautilus-search-popover.c
@@ -679,13 +679,6 @@ show_date_selection_widgets (NautilusSearchPopover *popover,
   gtk_widget_set_visible (popover->around_revealer, visible);
 
   gtk_revealer_set_reveal_child (GTK_REVEALER (popover->around_revealer), visible);
-
-  /* Only update the date button when we're not editing a query.
-   * Otherwise, when we select a date and try to select a mimetype,
-   * the label is unwantedly reset.
-   */
-  if (!popover->query)
-    update_date_label (popover, 0);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]