Option to show version in title bar with /titlebarversion

This commit is contained in:
James Booth
2012-11-29 20:34:52 +00:00
parent ed6c6b36c0
commit 1780148f59
4 changed files with 48 additions and 3 deletions

View File

@@ -278,6 +278,19 @@ prefs_set_vercheck(gboolean value)
_save_prefs();
}
gboolean
prefs_get_titlebarversion(void)
{
return g_key_file_get_boolean(prefs, "ui", "titlebarversion", NULL);
}
void
prefs_set_titlebarversion(gboolean value)
{
g_key_file_set_boolean(prefs, "ui", "titlebarversion", value);
_save_prefs();
}
gboolean
prefs_get_flash(void)
{