Fetch news dialog: The Download now button is no longer hidden on OS X

This commit is contained in:
Kovid Goyal 2012-01-12 00:18:10 +05:30
parent b3c3e755d2
commit 78dab5839d
2 changed files with 6 additions and 9 deletions

View File

@ -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():

View File

@ -53,8 +53,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>524</width>
<height>504</height>
<width>518</width>
<height>498</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
@ -318,13 +318,6 @@
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="download_button">
<property name="text">
<string>&amp;Download now</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>