Removed titlebar version property and allow disabling of titlebar display

This commit is contained in:
James Booth
2014-04-03 21:46:43 +01:00
parent 95c081666a
commit 561d96c711
6 changed files with 28 additions and 67 deletions

View File

@@ -371,7 +371,7 @@ _get_group(preference_t pref)
case PREF_BEEP:
case PREF_THEME:
case PREF_VERCHECK:
case PREF_TITLEBARVERSION:
case PREF_TITLEBAR:
case PREF_FLASH:
case PREF_INTYPE:
case PREF_HISTORY:
@@ -418,8 +418,8 @@ _get_key(preference_t pref)
return "theme";
case PREF_VERCHECK:
return "vercheck";
case PREF_TITLEBARVERSION:
return "titlebar.version";
case PREF_TITLEBAR:
return "titlebar";
case PREF_FLASH:
return "flash";
case PREF_INTYPE:
@@ -474,9 +474,10 @@ _get_default_boolean(preference_t pref)
{
switch (pref)
{
case PREF_STATUSES:
case PREF_AUTOAWAY_CHECK:
case PREF_TITLEBAR:
case PREF_OTR_WARN:
case PREF_AUTOAWAY_CHECK:
return TRUE;
default:
return FALSE;
}

View File

@@ -40,7 +40,7 @@ typedef enum {
PREF_BEEP,
PREF_VERCHECK,
PREF_THEME,
PREF_TITLEBARVERSION,
PREF_TITLEBAR,
PREF_FLASH,
PREF_INTYPE,
PREF_HISTORY,