svn merge -r 21041:21301 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
[blender.git] / source / blender / editors / space_nla / nla_header.c
index cee940ca428a273a2e7cc43972c4faabe36b9d6c..0f6b77da6f54a3eaf6d2d97af9f5c13aeb3c8f76 100644 (file)
@@ -71,7 +71,7 @@ static uiBlock *dummy_viewmenu(bContext *C, ARegion *ar, void *arg_unused)
        uiBlock *block;
        short yco= 0, menuwidth=120;
        
-       block= uiBeginBlock(C, ar, "dummy_viewmenu", UI_EMBOSSP, UI_HELV);
+       block= uiBeginBlock(C, ar, "dummy_viewmenu", UI_EMBOSSP);
        uiBlockSetButmFunc(block, do_viewmenu, NULL);
        
        uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Nothing yet", 0, yco-=20, 
@@ -104,7 +104,7 @@ void nla_header_buttons(const bContext *C, ARegion *ar)
        uiBlock *block;
        int xco, yco= 3;
        
-       block= uiBeginBlock(C, ar, "header buttons", UI_EMBOSS, UI_HELV);
+       block= uiBeginBlock(C, ar, "header buttons", UI_EMBOSS);
        uiBlockSetHandleFunc(block, do_nla_buttons, NULL);
        
        xco= ED_area_header_standardbuttons(C, block, yco);
@@ -112,9 +112,6 @@ void nla_header_buttons(const bContext *C, ARegion *ar)
        if((sa->flag & HEADER_NO_PULLDOWN)==0) {
                int xmax;
                
-               /* pull down menus */
-               uiBlockSetEmboss(block, UI_EMBOSSP);
-               
                xmax= GetButStringLength("View");
                uiDefPulldownBut(block, dummy_viewmenu, CTX_wm_area(C), 
                                                 "View", xco, yco-2, xmax-3, 24, "");