app: add some function stubs to GimpOverlayDialog
and move the TODO comments from GimpToolGui to the stubs.
This commit is contained in:
@ -482,7 +482,8 @@ gimp_tool_gui_set_default_response (GimpToolGui *gui,
|
||||
|
||||
if (private->overlay)
|
||||
{
|
||||
/* TODO */
|
||||
gimp_overlay_dialog_set_default_response (GIMP_OVERLAY_DIALOG (private->dialog),
|
||||
response_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -511,7 +512,8 @@ gimp_tool_gui_set_response_sensitive (GimpToolGui *gui,
|
||||
|
||||
if (private->overlay)
|
||||
{
|
||||
/* TODO */
|
||||
gimp_overlay_dialog_set_response_sensitive (GIMP_OVERLAY_DIALOG (private->dialog),
|
||||
response_id, sensitive);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -575,21 +577,15 @@ gimp_tool_gui_create_dialog (GimpToolGui *gui)
|
||||
entry->stock_id,
|
||||
entry->response_id);
|
||||
|
||||
/* FIXME */
|
||||
#if 0
|
||||
if (! entry->sensitive)
|
||||
gimp_overlay_dialog_set_response_sensitive (GIMP_OVERLAY_DIALOG (private->dialog),
|
||||
entry->response_id,
|
||||
FALSE);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* FIXME */
|
||||
#if 0
|
||||
if (private->default_response != -1)
|
||||
gimp_overlay_dialog_set_default_response (GIMP_OVERLAY_DIALOG (private->dialog),
|
||||
private->default_response);
|
||||
#endif
|
||||
|
||||
gtk_container_set_border_width (GTK_CONTAINER (private->dialog), 6);
|
||||
|
||||
@ -674,7 +670,8 @@ gimp_tool_gui_update_buttons (GimpToolGui *gui)
|
||||
{
|
||||
if (private->overlay)
|
||||
{
|
||||
/* TODO */
|
||||
gimp_overlay_dialog_set_alternative_button_order (GIMP_OVERLAY_DIALOG (private->dialog),
|
||||
n_ids, ids);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user