Commit 501231dd authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

show the keyboard shortcut in brackets, as we do in other places.

2007-09-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.c (gimp_widget_accel_changed):
	show the keyboard shortcut in brackets, as we do in other places.

svn path=/trunk/; revision=23649
parent 0bd67f28
2007-09-25 Sven Neumann <sven@gimp.org>
* app/widgets/gimpwidgets-utils.c (gimp_widget_accel_changed):
show the keyboard shortcut in brackets, as we do in other places.
2007-09-25 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/fuzzyborder.scm: Applied patch from
......@@ -1058,12 +1058,11 @@ gimp_widget_accel_changed (GtkAccelGroup *accel_group,
accel_key->accel_key &&
accel_key->accel_flags & GTK_ACCEL_VISIBLE)
{
gchar *tmp = gimp_get_accel_string (accel_key->accel_key,
accel_key->accel_mods);
gchar *accel = gimp_get_accel_string (accel_key->accel_key,
accel_key->accel_mods);
tooltip = g_strconcat (orig_tooltip, " ", tmp, NULL);
g_free (tmp);
tooltip = g_strdup_printf ("%s (%s)", orig_tooltip, accel);
g_free (accel);
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment