Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.1.9, and 1.1.9.1

stable cmenu: require shift key down for thg menu entries outside repos

closes #1698

Changeset 117befc5cb56

Parent a78eaffcd448

by Adrian Buehlmann

Changes to one file · Browse files at 117befc5cb56 Showing diff from parent a78eaffcd448 Diff from another changeset...

 
467
468
469
 
 
 
 
 
 
 
 
 
 
470
471
472
 
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
@@ -467,6 +467,16 @@
  }   }   + if ((uFlags & CMF_EXTENDEDVERBS) == 0) + { + /* shift key is not down */ + if (!isHgrepo) + { + /* We are not inside a repo -> don't show thg menu entries */ + return S_OK; + } + } +   TDEBUG_TRACE(   "CShellExtCMenu::QueryContextMenu: isHgrepo = "   << isHgrepo << ", fileMenu = " << fileMenu