title: Enable home button ActionbarSherlock, Sherlockfragment
body: <p>I want to enable the home button in my fragment. This question is asked earlier but for an activity.<br>
  I tried ...</p>
  
  <pre><code> getSupportActionBar().setDisplayHomeAsUpEnabled(true);
  </code></pre>
  
  <p>... but this doesn't work.<br>
  Here is my code:</p>
  
  <pre><code>import com.actionbarsherlock.R;
  import com.actionbarsherlock.app.ActionBar;
  import com.actionbarsherlock.app.ActionBar.Tab;
  import com.actionbarsherlock.app.SherlockFragment;
  import com.actionbarsherlock.view.MenuItem;
  
  import android.support.v4.app.Fragment;
  import android.content.Intent;
  import android.os.Bundle;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.View.OnClickListener;
  import android.view.ViewGroup;
  
  public class SafanTab extends SherlockFragment {
  
      @Override
      public View onCreateView(LayoutInflater inflater,
                               ViewGroup container,
                               Bundle savedInstanceState) {
          return inflater.inflate(R.layout.safantab, container, false);
      }
  
      public OnClickListener onOverClick = new OnClickListener() {
          @Override
          public void onClick(View view) {
              Intent myIntent = new Intent(view.getContext(), Over_Safan.class);
              startActivityForResult(myIntent, 0);
          }
      };
  
      public OnClickListener onProductenClick = new OnClickListener() {
          @Override
          public void onClick(View view) {
              Intent myIntent = new Intent(view.getContext(), Over_Safan.class);
              startActivityForResult(myIntent, 0);
          }
      };
  
      public OnClickListener onTwitterClick = new OnClickListener() {
          @Override
          public void onClick(View view) {
              Intent myIntent = new Intent(view.getContext(), Over_Safan.class);
              startActivityForResult(myIntent, 0);
          }
      };
  
  }
  </code></pre>
  
  <p>How can you enable a home button on SherlockFragment?</p>