[gthumb] search: hide the secondary text only when the search has ended
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] search: hide the secondary text only when the search has ended
- Date: Mon, 23 Dec 2019 19:04:28 +0000 (UTC)
commit 14d7d28ec6c269ffb452d3a768d5976e3070a692
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Dec 23 19:29:49 2019 +0100
search: hide the secondary text only when the search has ended
extensions/search/gth-search-task.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/extensions/search/gth-search-task.c b/extensions/search/gth-search-task.c
index c01cbd83..adeb932a 100644
--- a/extensions/search/gth-search-task.c
+++ b/extensions/search/gth-search-task.c
@@ -163,8 +163,6 @@ done_func (GObject *object,
{
GthSearchTask *task = user_data;
- gth_info_bar_set_secondary_text (GTH_INFO_BAR (task->priv->dialog), NULL);
-
task->priv->error = NULL;
if (error != NULL) {
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
@@ -280,6 +278,7 @@ _gth_search_task_search_current_location (GthSearchTask *task)
const char *test_attributes;
if (task->priv->current_location == NULL) {
+ gth_info_bar_set_secondary_text (GTH_INFO_BAR (task->priv->dialog), NULL);
_gth_search_task_save_search_result (task);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]