diff src/hgtabwidget.cpp @ 425:ad106f5fe75f

Add "Ignore Files" and "Edit Ignored List" to Work menu (latter is subsumed from Advanced menu formerly). Also subsume Serve via HTTP into File menu as Share Repository, and add a more helpful description of it. Remove Advanced menu
author Chris Cannam
date Thu, 23 Jun 2011 10:58:32 +0100
parents b9c153e00e84
children 896b7903e8f2
line wrap: on
line diff
--- a/src/hgtabwidget.cpp	Wed Jun 22 17:31:57 2011 +0100
+++ b/src/hgtabwidget.cpp	Thu Jun 23 10:58:32 2011 +0100
@@ -196,6 +196,11 @@
     return !m_fileStatusWidget->getAllUnresolvedFiles().empty();
 }
 
+bool HgTabWidget::canIgnore() const
+{
+    return canAdd();
+}
+
 bool HgTabWidget::haveChangesToCommit() const
 {
     return m_fileStatusWidget->haveChangesToCommit();