[file-roller] Recheck commands presence after package installation.



commit 17e9b610f8ddfd2a1dee67d4ddbbf1066f36d2d7
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Feb 23 18:00:41 2010 +0100

    Recheck commands presence after package installation.
    
    Clear the program cache before updating the capabilities.
    
    [bug #610815]

 src/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index abd88b6..6d54ae7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -672,6 +672,8 @@ update_registered_commands_capabilities (void)
 {
 	int i;
 
+	g_hash_table_remove_all (ProgramsCache);
+
 	for (i = 0; i < Registered_Commands->len; i++) {
 		FrRegisteredCommand *reg_com;
 		FrCommand           *command;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]