mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-26 07:11:08 -04:00
fixed a few GUI items in the TODO list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8143 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e232dcb0a3
commit
2c687928d6
3 changed files with 25 additions and 20 deletions
|
@ -157,7 +157,12 @@ void RshareSettings::setLanguageCode(QString languageCode)
|
|||
/** Gets the interface style key (e.g., "windows", "motif", etc.) */
|
||||
QString RshareSettings::getInterfaceStyle()
|
||||
{
|
||||
return value(SETTING_STYLE).toString();
|
||||
// use GTK as default style on ubuntu
|
||||
#ifdef UBUNTU
|
||||
return value(SETTING_STYLE,QString("GTK+")).toString();
|
||||
#else
|
||||
return value(SETTING_STYLE,QString("Cleanlooks")).toString();
|
||||
#endif
|
||||
}
|
||||
|
||||
/** Sets the interface style key. */
|
||||
|
@ -180,7 +185,7 @@ void RshareSettings::setSheetName(QString sheet)
|
|||
/** Gets the page button Location.*/
|
||||
bool RshareSettings::getPageButtonLoc()
|
||||
{
|
||||
return value(SETTING_PAGEBUTTONLOC, false).toBool();
|
||||
return value(SETTING_PAGEBUTTONLOC, true).toBool();
|
||||
}
|
||||
/** Sets the page button Location.*/
|
||||
void RshareSettings::setPageButtonLoc(bool onToolBar)
|
||||
|
@ -496,16 +501,16 @@ void RshareSettings::setChatSendMessageWithCtrlReturn(bool bValue)
|
|||
setValueToGroup("Chat", "SendMessageWithCtrlReturn", bValue);
|
||||
}
|
||||
|
||||
bool RshareSettings::getChatSearchShowBarByDefault()
|
||||
{
|
||||
return valueFromGroup("Chat", "SearchShowBarByDefault", false).toBool();
|
||||
}
|
||||
|
||||
void RshareSettings::setChatSearchShowBarByDefault(bool bValue)
|
||||
{
|
||||
setValueToGroup("Chat", "SearchShowBarByDefault", bValue);
|
||||
}
|
||||
|
||||
bool RshareSettings::getChatSearchShowBarByDefault()
|
||||
{
|
||||
return valueFromGroup("Chat", "SearchShowBarByDefault", false).toBool();
|
||||
}
|
||||
|
||||
void RshareSettings::setChatSearchShowBarByDefault(bool bValue)
|
||||
{
|
||||
setValueToGroup("Chat", "SearchShowBarByDefault", bValue);
|
||||
}
|
||||
|
||||
void RshareSettings::setChatSearchCharToStartSearch(int iValue)
|
||||
{
|
||||
setValueToGroup("Chat", "SearchCharToStartSearch", iValue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue