initialize is_active for qmask-toggle.

2004-05-03  Manish Singh  <yosh@gimp.org>

        * app/actions/qmask-actions.c: initialize is_active for qmask-toggle.

        * app/actions/tools-actions.c: set entry help_id from tool_info,
        since gimp_action_group_add_string_actions expects it to be there
        now.
This commit is contained in:
Manish Singh 2004-05-03 22:36:59 +00:00 committed by Manish Singh
parent ab0d361254
commit e259270313
4 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2004-05-03 Manish Singh <yosh@gimp.org>
* app/actions/qmask-actions.c: initialize is_active for qmask-toggle.
* app/actions/tools-actions.c: set entry help_id from tool_info,
since gimp_action_group_add_string_actions expects it to be there
now.
2004-05-03 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpframe.c (gimp_frame_new): added a hack that

View File

@ -58,6 +58,7 @@ static GimpToggleActionEntry qmask_toggle_actions[] =
{ "qmask-toggle", GIMP_STOCK_QMASK_ON,
N_("Toggle _QuickMask"), "<shift>Q", NULL,
G_CALLBACK (qmask_toggle_cmd_callback),
FALSE,
GIMP_HELP_QMASK_TOGGLE }
};

View File

@ -58,6 +58,7 @@ static GimpToggleActionEntry qmask_toggle_actions[] =
{ "qmask-toggle", GIMP_STOCK_QMASK_ON,
N_("Toggle _QuickMask"), "<shift>Q", NULL,
G_CALLBACK (qmask_toggle_cmd_callback),
FALSE,
GIMP_HELP_QMASK_TOGGLE }
};

View File

@ -95,6 +95,7 @@ tools_actions_setup (GimpActionGroup *group)
entry.label = tool_info->menu_path;
entry.accelerator = tool_info->menu_accel;
entry.tooltip = tool_info->blurb;
entry.help_id = tool_info->help_id;
entry.value = identifier;
gimp_action_group_add_string_actions (group,