summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-01-27 17:16:59 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-02-02 22:22:37 +0100
commit65b03f5041d4c83e3580215b7ae905b7be9a985a (patch)
tree2b1d76fc85f85afba12b50e72938aab67df8c611 /src
parentadf6dd082e29bb45d4aec14df19162012bc30b09 (diff)
downloadnautilus-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.
Diffstat (limited to 'src')
-rw-r--r--src/nautilus-search-popover.c7
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