Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjay Garg <ajay@activitycentral.com>2012-03-05 16:47:41 (GMT)
committer Anish Mangal <anish@activitycentral.com>2012-04-27 10:02:37 (GMT)
commitdfb8c33f9591f7610e1b780bf7a95412c7cf8382 (patch)
tree6dc8035530e89ec22c0617b0b1e6963e7f7c923f
parent84d68175268505da807b47e851245e7d1fd560b5 (diff)
uy#1242#note-29, sl#3346: Disable palette-popup per entry during batch-operations mode.
-rw-r--r--src/jarabe/journal/listview.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jarabe/journal/listview.py b/src/jarabe/journal/listview.py
index b8f562f..8522dca 100644
--- a/src/jarabe/journal/listview.py
+++ b/src/jarabe/journal/listview.py
@@ -720,6 +720,11 @@ class CellRendererActivityIcon(CellRendererIcon):
if not self._show_palette:
return None
+ # Also, if we are in batch-operations mode, return 'None'
+ from jarabe.journal.journalactivity import get_journal
+ if get_journal().is_editing_mode_present():
+ return None
+
tree_model = self.tree_view.get_model()
metadata = tree_model.get_metadata(self.props.palette_invoker.path)