set the name of the alsa client to "GIMP" and the name of the port to
2007-01-21 Michael Natterer <mitch@gimp.org> * modules/controller_midi.c (midi_set_device): set the name of the alsa client to "GIMP" and the name of the port to "GIMP MIDI Input Controller". Provides reasonable strings in apps which display "client::port" as well as in apps which display only "port". svn path=/trunk/; revision=21747
This commit is contained in:

committed by
Michael Natterer

parent
d7eb0b7b78
commit
8ea53c48ca
@ -1,3 +1,11 @@
|
||||
2007-01-21 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* modules/controller_midi.c (midi_set_device): set the name
|
||||
of the alsa client to "GIMP" and the name of the port to
|
||||
"GIMP MIDI Input Controller". Provides reasonable strings in
|
||||
apps which display "client::port" as well as in apps which
|
||||
display only "port".
|
||||
|
||||
2007-01-21 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/dialogs/preferences-dialog.c: reworded Monitor Resolution
|
||||
|
@ -452,10 +452,9 @@ midi_set_device (ControllerMidi *midi,
|
||||
SND_SEQ_OPEN_INPUT, 0);
|
||||
if (ret >= 0)
|
||||
{
|
||||
snd_seq_set_client_name (midi->sequencer,
|
||||
g_get_application_name());
|
||||
snd_seq_set_client_name (midi->sequencer, _("GIMP"));
|
||||
ret = snd_seq_create_simple_port (midi->sequencer,
|
||||
_("GIMP MIDI controller"),
|
||||
_("GIMP MIDI Input Controller"),
|
||||
SND_SEQ_PORT_CAP_WRITE |
|
||||
SND_SEQ_PORT_CAP_SUBS_WRITE,
|
||||
SND_SEQ_PORT_TYPE_APPLICATION);
|
||||
|
Reference in New Issue
Block a user