use gimp_int_combo_box_connect() so that the initial selection causes the
2004-10-28 Sven Neumann <sven@gimp.org> * plug-ins/script-fu/script-fu-interface.c (script_fu_interface): use gimp_int_combo_box_connect() so that the initial selection causes the "changed" callback to be run. Should fix bug #156659.
This commit is contained in:

committed by
Sven Neumann

parent
d204dea31d
commit
6b2243f12d
@ -308,11 +308,9 @@ script_fu_interface (SFScript *script)
|
||||
break;
|
||||
}
|
||||
|
||||
gimp_int_combo_box_set_active (GIMP_INT_COMBO_BOX (widget), *ID_ptr);
|
||||
|
||||
g_signal_connect (widget, "changed",
|
||||
G_CALLBACK (gimp_int_combo_box_get_active),
|
||||
ID_ptr);
|
||||
gimp_int_combo_box_connect (GIMP_INT_COMBO_BOX (widget), *ID_ptr,
|
||||
G_CALLBACK (gimp_int_combo_box_get_active),
|
||||
ID_ptr);
|
||||
break;
|
||||
|
||||
case SF_COLOR:
|
||||
|
Reference in New Issue
Block a user