Fixed Auto-Download Button

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4846 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2012-01-26 08:46:22 +00:00
parent 4433872cb6
commit 522729bae4
2 changed files with 20 additions and 3 deletions

View File

@ -488,14 +488,14 @@ void ChannelFeed::updateChannelMsgs()
if (ci.channelFlags & RS_DISTRIB_PUBLISH) {
postButton->setEnabled(true);
actionsetAllAsRead->setEnabled(false);
actionEnable_Auto_Download->setEnabled(false);
} else {
postButton->setEnabled(false);
}
if(!(ci.channelFlags & RS_DISTRIB_PUBLISH) &&
(ci.channelFlags & RS_DISTRIB_SUBSCRIBED))
actionsetAllAsRead->setEnabled(true);
actionEnable_Auto_Download->setEnabled(true);
std::list<ChannelMsgSummary> msgs;

View File

@ -432,7 +432,24 @@ border-image: url(:/images/btn_26_pressed.png) 4;
<string>Post to Channel</string>
</property>
<property name="styleSheet">
<string notr="true"/>
<string notr="true">QToolButton, QPushButton, QComboBox {
border-image: url(:/images/btn_26.png) 4;
border-width: 4;
padding: 0px 6px;
font-size: 12px;
}
QToolButton:hover, QPushButton:hover, QComboBox:hover {
border-image: url(:/images/btn_26_hover.png) 4;
}
QToolButton:disabled, QPushButton:disabled, QComboBox::disabled {
color:gray;
}
QToolButton:pressed, QPushButton:pressed{
border-image: url(:/images/btn_26_pressed.png) 4;
}</string>
</property>
<property name="text">
<string/>