Add dialog box back to the backup button

This commit is contained in:
Charles Haley 2010-09-26 18:25:45 +01:00
parent c03b9247cf
commit 4f522bde37

View File

@ -96,6 +96,9 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
def mark_dirty(self): def mark_dirty(self):
db = self.gui.library_view.model().db db = self.gui.library_view.model().db
db.dirtied(list(db.data.iterallids())) db.dirtied(list(db.data.iterallids()))
info_dialog(self, _('Backup metadata'),
_('Metadata will be backed up while calibre is running, at the '
'rate of 30 books per minute.'), show=True)
def debug_device_detection(self, *args): def debug_device_detection(self, *args):
from calibre.gui2.preferences.device_debug import DebugDevice from calibre.gui2.preferences.device_debug import DebugDevice