A little more work on patch [#24814] Operators which have no decription

submitted by Murat Egretli

Not actually a patch but talks about descriptions that are missing
and some small fixes that are needed.

Kent
This commit is contained in:
Kent Mein 2010-12-09 16:50:32 +00:00
parent 6cd849809d
commit b6c68777ad
4 changed files with 6 additions and 2 deletions

@ -253,8 +253,8 @@ void OBJECT_OT_shape_key_add(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Add Shape Key";
ot->name= "Add shape key to the object.";
ot->idname= "OBJECT_OT_shape_key_add";
ot->description= "Add shape key to the object";
/* api callbacks */
ot->poll= shape_key_mode_poll;
@ -281,8 +281,8 @@ void OBJECT_OT_shape_key_remove(wmOperatorType *ot)
{
/* identifiers */
ot->name= "Remove Shape Key";
ot->name= "Remove shape key from the object.";
ot->idname= "OBJECT_OT_shape_key_remove";
ot->description= "Remove shape key from the object";
/* api callbacks */
ot->poll= shape_key_mode_poll;

@ -746,6 +746,7 @@ void GRAPH_OT_properties(wmOperatorType *ot)
{
ot->name= "Properties";
ot->idname= "GRAPH_OT_properties";
ot->description= "Toggle display properties panel";
ot->exec= graph_properties;
ot->poll= ED_operator_ipo_active; // xxx

@ -1019,6 +1019,7 @@ void IMAGE_OT_properties(wmOperatorType *ot)
{
ot->name= "Properties";
ot->idname= "IMAGE_OT_properties";
ot->description= "Toggle display properties panel";
ot->exec= image_properties;
ot->poll= ED_operator_image_active;
@ -1042,6 +1043,7 @@ void IMAGE_OT_scopes(wmOperatorType *ot)
{
ot->name= "Scopes";
ot->idname= "IMAGE_OT_scopes";
ot->description= "Toggle display scopes panel";
ot->exec= image_scopes;
ot->poll= ED_operator_image_active;

@ -295,6 +295,7 @@ void NODE_OT_view_all(wmOperatorType *ot)
/* identifiers */
ot->name= "View All";
ot->idname= "NODE_OT_view_all";
ot->description= "Resize view so you can see all nodes";
/* api callbacks */
ot->exec= node_view_all_exec;