[file-roller] file-selector-dialog: enable add button on select all
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] file-selector-dialog: enable add button on select all
- Date: Wed, 23 Feb 2022 21:28:50 +0000 (UTC)
commit ad6e910c15ba216aa000f62a2d57c7c6abc12deb
Author: Eric <eric daigle zaclys net>
Date: Mon Jun 21 17:48:34 2021 -0400
file-selector-dialog: enable add button on select all
As described in #129, selecting all files via the file selector context menu
currently does not enable the Add button.
This commit adds a call to _update_sensitivity in select_all_files, causing
the Add button to behave as expected when all files are selected or deselected.
Closes #129
src/fr-file-selector-dialog.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/fr-file-selector-dialog.c b/src/fr-file-selector-dialog.c
index 5c4e036a..1ae2cc48 100644
--- a/src/fr-file-selector-dialog.c
+++ b/src/fr-file-selector-dialog.c
@@ -600,6 +600,8 @@ select_all_files (FrFileSelectorDialog *self,
-1);
}
while (gtk_tree_model_iter_next (GTK_TREE_MODEL (list_store), &iter));
+
+ _update_sensitivity (self);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]