diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-01-27 17:16:59 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-02-02 22:22:37 +0100 |
commit | 65b03f5041d4c83e3580215b7ae905b7be9a985a (patch) | |
tree | 2b1d76fc85f85afba12b50e72938aab67df8c611 | |
parent | adf6dd082e29bb45d4aec14df19162012bc30b09 (diff) | |
download | nautilus-65b03f5041d4c83e3580215b7ae905b7be9a985a.tar.gz |
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.
-rw-r--r-- | 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 d6e2c7ff5..57a63a252 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 |