make bookmake name consistent was: FILE_OT_bookmark_add/FILE_OT_delete_bookmark
authorCampbell Barton <ideasman42@gmail.com>
Tue, 8 Oct 2013 13:16:14 +0000 (13:16 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 8 Oct 2013 13:16:14 +0000 (13:16 +0000)
source/blender/editors/space_file/file_intern.h
source/blender/editors/space_file/file_ops.c
source/blender/editors/space_file/file_panels.c
source/blender/editors/space_file/space_file.c

index 240106d37d570433ac1652a316a2c8bf5bb5697a..d01286442beed43b36485736c08446abb951f3ea 100644 (file)
@@ -65,7 +65,7 @@ void FILE_OT_select_all_toggle(struct wmOperatorType *ot);
 void FILE_OT_select_border(struct wmOperatorType *ot);
 void FILE_OT_select_bookmark(struct wmOperatorType *ot);
 void FILE_OT_bookmark_add(struct wmOperatorType *ot);
-void FILE_OT_delete_bookmark(struct wmOperatorType *ot);
+void FILE_OT_bookmark_delete(struct wmOperatorType *ot);
 void FILE_OT_reset_recent(wmOperatorType *ot);
 void FILE_OT_hidedot(struct wmOperatorType *ot);
 void FILE_OT_execute(struct wmOperatorType *ot);
index e3270d9ce8e02cf165cb545462238af10f07d2bd..a97b3b1d719dbb3e5423fb0e4e71c876d38c82f4 100644 (file)
@@ -503,14 +503,14 @@ static int bookmark_delete_exec(bContext *C, wmOperator *op)
        return OPERATOR_FINISHED;
 }
 
-void FILE_OT_delete_bookmark(wmOperatorType *ot)
+void FILE_OT_bookmark_delete(wmOperatorType *ot)
 {
        PropertyRNA *prop;
 
        /* identifiers */
        ot->name = "Delete Bookmark";
        ot->description = "Delete selected bookmark";
-       ot->idname = "FILE_OT_delete_bookmark";
+       ot->idname = "FILE_OT_bookmark_delete";
        
        /* api callbacks */
        ot->exec = bookmark_delete_exec;
index 0efc7b927a95b3684827dd496334b65e6aee7379..f4161c7da1c1c55b272e12c250845194c31f98cc 100644 (file)
@@ -121,7 +121,7 @@ static void file_panel_category(const bContext *C, Panel *pa, FSMenuCategory cat
                /* create delete button */
                if (allow_delete && fsmenu_can_save(fsmenu, category, i)) {
                        uiBlockSetEmboss(block, UI_EMBOSSN);
-                       uiItemIntO(layout, "", ICON_X, "FILE_OT_delete_bookmark", "index", i);
+                       uiItemIntO(layout, "", ICON_X, "FILE_OT_bookmark_delete", "index", i);
                        uiBlockSetEmboss(block, UI_EMBOSS);
                }
        }
index 9758e2e91357bc02f804aba739f948fe7cde365f..1a8565a58b12884f6a2beabfd0a04c39d2fd6ce2 100644 (file)
@@ -387,7 +387,7 @@ static void file_operatortypes(void)
        WM_operatortype_append(FILE_OT_refresh);
        WM_operatortype_append(FILE_OT_bookmark_toggle);
        WM_operatortype_append(FILE_OT_bookmark_add);
-       WM_operatortype_append(FILE_OT_delete_bookmark);
+       WM_operatortype_append(FILE_OT_bookmark_delete);
        WM_operatortype_append(FILE_OT_reset_recent);
        WM_operatortype_append(FILE_OT_hidedot);
        WM_operatortype_append(FILE_OT_filenum);