mirror of https://github.com/GNOME/gimp.git
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
This commit is contained in:
parent
0bd67f281f
commit
501231ddd9
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue