[frogr] Properly update sensitiveness for the "Save as" button



commit 1e3efe12d530d3022207a7a3a54ef0202370961c
Author: Mario Sanchez Prada <msanchez gnome org>
Date:   Sun Nov 25 08:57:33 2012 +0100

    Properly update sensitiveness for the "Save as" button

 src/frogr-main-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/frogr-main-view.c b/src/frogr-main-view.c
index 75eb001..f62c094 100644
--- a/src/frogr-main-view.c
+++ b/src/frogr-main-view.c
@@ -2142,7 +2142,7 @@ _update_sensitiveness (FrogrMainView *self)
 
       _update_sensitiveness_for_action (self, ACTION_OPEN_PROJECT, priv->open_project_action, TRUE);
       _update_sensitiveness_for_action (self, ACTION_SAVE_PROJECT, priv->save_project_action, TRUE);
-      _update_sensitiveness_for_action (self, ACTION_SAVE_PROJECT_AS, NULL, TRUE);
+      _update_sensitiveness_for_action (self, ACTION_SAVE_PROJECT_AS, priv->save_project_action, TRUE);
       _update_sensitiveness_for_action (self, ACTION_LOAD_PICTURES, priv->load_pictures_action, TRUE);
       _update_sensitiveness_for_action (self, ACTION_UPLOAD_ALL, priv->upload_pictures_action, has_pics);
       _update_sensitiveness_for_action (self, ACTION_REMOVE_PICTURES, priv->remove_pictures_action, n_selected_pics);



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