[gimp/metadata-browser] app: replace virtual modifiers before displaying them as GimpEditor tooltip
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: replace virtual modifiers before displaying them as GimpEditor tooltip
- Date: Fri, 2 Dec 2011 02:07:40 +0000 (UTC)
commit c1c00ed8e39d11343bab6080cea4bbd805073f37
Author: Michael Natterer <mitch gimp org>
Date: Wed Oct 5 19:21:24 2011 +0200
app: replace virtual modifiers before displaying them as GimpEditor tooltip
app/widgets/gimpeditor.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimpeditor.c b/app/widgets/gimpeditor.c
index 9d946d0..11ab3e3 100644
--- a/app/widgets/gimpeditor.c
+++ b/app/widgets/gimpeditor.c
@@ -684,7 +684,7 @@ gimp_editor_add_action_button (GimpEditor *editor,
{
ExtendedAction *ext = g_slice_new (ExtendedAction);
- ext->mod_mask = mod_mask;
+ ext->mod_mask = gimp_replace_virtual_modifiers (mod_mask);
ext->action = action;
extended = g_list_prepend (extended, ext);
@@ -696,7 +696,7 @@ gimp_editor_add_action_button (GimpEditor *editor,
if (ext_tooltip)
{
gchar *tmp = g_strconcat (tooltip, "\n<b>",
- gimp_get_mod_string (mod_mask),
+ gimp_get_mod_string (ext->mod_mask),
"</b> ", ext_tooltip, NULL);
g_free (tooltip);
tooltip = tmp;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]