mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Updated themes
This commit is contained in:
parent
7a324abcd6
commit
b4482b9fe1
@ -483,6 +483,18 @@ _load_preferences(void)
|
|||||||
g_free(ch);
|
g_free(ch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (g_key_file_has_key(theme, "ui", "roster.contact.indent", NULL)) {
|
||||||
|
gint contact_indent = g_key_file_get_integer(theme, "ui", "roster.contact.indent", NULL);
|
||||||
|
prefs_set_roster_contact_indent(contact_indent);
|
||||||
|
}
|
||||||
|
if (g_key_file_has_key(theme, "ui", "roster.resource.indent", NULL)) {
|
||||||
|
gint resource_indent = g_key_file_get_integer(theme, "ui", "roster.resource.indent", NULL);
|
||||||
|
prefs_set_roster_resource_indent(resource_indent);
|
||||||
|
}
|
||||||
|
if (g_key_file_has_key(theme, "ui", "roster.presence.indent", NULL)) {
|
||||||
|
gint presence_indent = g_key_file_get_integer(theme, "ui", "roster.presence.indent", NULL);
|
||||||
|
prefs_set_roster_presence_indent(presence_indent);
|
||||||
|
}
|
||||||
|
|
||||||
_set_boolean_preference("privileges", PREF_MUC_PRIVILEGES);
|
_set_boolean_preference("privileges", PREF_MUC_PRIVILEGES);
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ _rosterwin_resources(ProfLayoutSplit *layout, PContact contact, int current_inde
|
|||||||
}
|
}
|
||||||
g_string_append(msg, resource->name);
|
g_string_append(msg, resource->name);
|
||||||
if (prefs_get_boolean(PREF_ROSTER_PRIORITY)) {
|
if (prefs_get_boolean(PREF_ROSTER_PRIORITY)) {
|
||||||
g_string_append_printf(msg, " [%d]", resource->priority);
|
g_string_append_printf(msg, " %d", resource->priority);
|
||||||
}
|
}
|
||||||
win_newline_lazy(layout->subwin);
|
win_newline_lazy(layout->subwin);
|
||||||
win_print_nowrap(layout->subwin, msg->str, FALSE);
|
win_print_nowrap(layout->subwin, msg->str, FALSE);
|
||||||
|
@ -84,6 +84,9 @@ roster.priority=
|
|||||||
roster.size=
|
roster.size=
|
||||||
roster.header.char=
|
roster.header.char=
|
||||||
roster.contact.char=
|
roster.contact.char=
|
||||||
|
roster.contact.indent=
|
||||||
|
roster.resource.indent=
|
||||||
|
roster.presence.indent=
|
||||||
occupants=
|
occupants=
|
||||||
occupants.size=
|
occupants.size=
|
||||||
occupants.jid=
|
occupants.jid=
|
||||||
|
@ -71,19 +71,21 @@ resource.message=true
|
|||||||
statuses.console=all
|
statuses.console=all
|
||||||
statuses.chat=all
|
statuses.chat=all
|
||||||
statuses.muc=all
|
statuses.muc=all
|
||||||
roster=true
|
roster.by=presence
|
||||||
roster.offline=true
|
roster.offline=true
|
||||||
roster.resource=true
|
roster.empty=false
|
||||||
roster.presence=true
|
roster.presence=true
|
||||||
roster.status=true
|
roster.order=presence
|
||||||
roster.empty=true
|
roster.status=true
|
||||||
roster.by=group
|
roster.resource=true
|
||||||
roster.order=presence
|
roster.priority=false
|
||||||
roster.count=true
|
roster=true
|
||||||
roster.priority=true
|
roster.count=true
|
||||||
roster.size=25
|
roster.size=25
|
||||||
roster.header.char=@
|
roster.contact.indent=1
|
||||||
roster.contact.char=-
|
roster.resource.indent=2
|
||||||
|
roster.presence.indent=-1
|
||||||
|
roster.header.char=@
|
||||||
occupants=true
|
occupants=true
|
||||||
occupants.size=15
|
occupants.size=15
|
||||||
occupants.jid=false
|
occupants.jid=false
|
||||||
|
@ -31,6 +31,9 @@ roster.priority=true
|
|||||||
roster.size=25
|
roster.size=25
|
||||||
roster.header.char=-
|
roster.header.char=-
|
||||||
roster.contact.char=-
|
roster.contact.char=-
|
||||||
|
roster.contact.indent=2
|
||||||
|
roster.resource.indent=2
|
||||||
|
roster.presence.indent=2
|
||||||
privileges=true
|
privileges=true
|
||||||
presence=true
|
presence=true
|
||||||
intype=true
|
intype=true
|
||||||
|
@ -28,6 +28,9 @@ roster.order=presence
|
|||||||
roster.count=false
|
roster.count=false
|
||||||
roster.priority=false
|
roster.priority=false
|
||||||
roster.size=25
|
roster.size=25
|
||||||
|
roster.contact.indent=0
|
||||||
|
roster.resource.indent=0
|
||||||
|
roster.presence.indent=-1
|
||||||
privileges=false
|
privileges=false
|
||||||
presence=false
|
presence=false
|
||||||
intype=false
|
intype=false
|
||||||
|
Loading…
Reference in New Issue
Block a user