[Xfce4-commits] [xfce/xfce4-appfinder] 01/01: Save command in history even if it matches Exec (Bug #9023)
noreply at xfce.org
noreply at xfce.org
Sat Nov 24 19:55:08 CET 2018
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-appfinder.
commit d409487a0088e0c1cfc6e5d70c5c09841b4a5e2d
Author: Andre Miranda <andreldm at xfce.org>
Date: Sat Nov 24 15:53:59 2018 -0300
Save command in history even if it matches Exec (Bug #9023)
---
src/appfinder-model.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/appfinder-model.c b/src/appfinder-model.c
index c77e38d..31c537d 100644
--- a/src/appfinder-model.c
+++ b/src/appfinder-model.c
@@ -2250,8 +2250,7 @@ xfce_appfinder_model_save_command (XfceAppfinderModel *model,
appfinder_return_val_if_fail (XFCE_IS_APPFINDER_MODEL (model), FALSE);
appfinder_return_val_if_fail (error == NULL || *error == NULL, FALSE);
- if (!IS_STRING (command)
- || g_hash_table_lookup (model->items_hash, command) != NULL)
+ if (!IS_STRING (command))
return TRUE;
/* add command to the model */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list