From 78dab5839d2b81fbedc1a1403c13ea50deefe30b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 12 Jan 2012 00:18:10 +0530 Subject: [PATCH] Fetch news dialog: The Download now button is no longer hidden on OS X --- src/calibre/gui2/dialogs/scheduler.py | 4 ++++ src/calibre/gui2/dialogs/scheduler.ui | 11 ++--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/calibre/gui2/dialogs/scheduler.py b/src/calibre/gui2/dialogs/scheduler.py index 23d6bbcef4..a8a0b30034 100644 --- a/src/calibre/gui2/dialogs/scheduler.py +++ b/src/calibre/gui2/dialogs/scheduler.py @@ -214,6 +214,10 @@ class SchedulerDialog(QDialog, Ui_Dialog): self.recipes.setModel(self.recipe_model) self.detail_box.setVisible(False) + self.download_button = self.buttonBox.addButton(_('&Download now'), + self.buttonBox.ActionRole) + self.download_button.setToolTip(_('Download this periodical now')) + self.download_button.setIcon(QIcon(I('arrow-down.png'))) self.download_button.setVisible(False) self.recipes.currentChanged = self.current_changed for b, c in self.SCHEDULE_TYPES.iteritems(): diff --git a/src/calibre/gui2/dialogs/scheduler.ui b/src/calibre/gui2/dialogs/scheduler.ui index 6acbb01dd8..656247adf6 100644 --- a/src/calibre/gui2/dialogs/scheduler.ui +++ b/src/calibre/gui2/dialogs/scheduler.ui @@ -53,8 +53,8 @@ 0 0 - 524 - 504 + 518 + 498 @@ -318,13 +318,6 @@ - - - - &Download now - - -