[epiphany] Revert "passwords-dialog: Hide filtered out rows when searching"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Revert "passwords-dialog: Hide filtered out rows when searching"
- Date: Wed, 3 Jun 2020 15:23:44 +0000 (UTC)
commit d6613e7434b1e698ef1eb78f02d6454515979568
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Jun 3 10:23:13 2020 -0500
Revert "passwords-dialog: Hide filtered out rows when searching"
This reverts commit 2282c540080ad1afe81c5d9696e9b32df9bc6ef4.
src/preferences/passwords-dialog.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/src/preferences/passwords-dialog.c b/src/preferences/passwords-dialog.c
index b07ed095a..aa6349263 100644
--- a/src/preferences/passwords-dialog.c
+++ b/src/preferences/passwords-dialog.c
@@ -426,11 +426,8 @@ password_filter (GtkListBoxRow *row,
gboolean visible = FALSE;
const char *search_text = ephy_data_dialog_get_search_text (EPHY_DATA_DIALOG (dialog));
- if (search_text == NULL) {
- gtk_widget_show (GTK_WIDGET (row));
-
+ if (search_text == NULL)
return TRUE;
- }
origin = ephy_password_record_get_origin (record);
username = ephy_password_record_get_username (record);
@@ -440,8 +437,6 @@ password_filter (GtkListBoxRow *row,
else if (username != NULL && g_strrstr (username, search_text) != NULL)
visible = TRUE;
- gtk_widget_set_visible (GTK_WIDGET (row), visible);
-
return visible;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]