diff options
author | Ajay Garg <ajay@activitycentral.com> | 2012-09-28 06:09:54 (GMT) |
---|---|---|
committer | Ajay Garg <ajay@activitycentral.com> | 2012-09-28 06:10:09 (GMT) |
commit | f083537e7e16a7b7ca8be161840cf6eb7723359e (patch) | |
tree | d58f4d0560bedd01cca10bf7d8426fa0c345ac20 | |
parent | be920f91a8125f3a74ebd1747e6d4b33362db28d (diff) |
sdxo#2336: Now, copy-to options are shown, even without needing an explicit click for the first time.
-rw-r--r-- | rpms/sugar/0152-sdxo-2336-Now-copy-to-options-are-shown-even-without.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/rpms/sugar/0152-sdxo-2336-Now-copy-to-options-are-shown-even-without.patch b/rpms/sugar/0152-sdxo-2336-Now-copy-to-options-are-shown-even-without.patch new file mode 100644 index 0000000..e2fb5d7 --- /dev/null +++ b/rpms/sugar/0152-sdxo-2336-Now-copy-to-options-are-shown-even-without.patch @@ -0,0 +1,35 @@ +From 5a4699ee6d78bd350e3fc6b40bea1e2b5d1a5a7c Mon Sep 17 00:00:00 2001 +From: Ajay Garg <ajay@activitycentral.com> +Date: Fri, 28 Sep 2012 11:37:51 +0530 +Subject: [PATCH] sdxo#2336: Now, copy-to options are shown, even without needing an explicit click for the first time. +Organization: Sugar Labs Foundation +Signed-off-by: Ajay Garg <ajay@activitycentral.com> +--- + src/jarabe/journal/journaltoolbox.py | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/src/jarabe/journal/journaltoolbox.py b/src/jarabe/journal/journaltoolbox.py +index 663497d..c67b6c1 100644 +--- a/src/jarabe/journal/journaltoolbox.py ++++ b/src/jarabe/journal/journaltoolbox.py +@@ -718,6 +718,7 @@ class BatchCopyButton(ToolButton, palettes.ActionItem): + self.props.tooltip = _('Copy') + + self._metadata_list = None ++ self._fill_and_pop_up_options(None) + + def _get_actionable_signal(self): + return 'clicked' +@@ -731,7 +732,8 @@ class BatchCopyButton(ToolButton, palettes.ActionItem): + show_editing_alert=True, + show_progress_info_alert=True, + batch_mode=True) +- self.props.palette.popup(immediate=True, state=1) ++ if widget_clicked is not None: ++ self.props.palette.popup(immediate=True, state=1) + + + class MultiSelectEntriesInfoWidget(gtk.ToolItem): +-- +1.7.4.4 + |