summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2021-06-08 12:17:59 +0200
committerDave Davenport <qball@gmpclient.org>2021-06-08 12:17:59 +0200
commit0db6412ae29eee08a44e163e3d142f765ef57a59 (patch)
tree1417518a1b41dd171b02af3a51723047a35e7a0f /source
parent5eaa5572ef3944747d88c1d5506c934409383f39 (diff)
[Doc,Config] Remove line-margin|padding and fix doc mistake.
*Deprecated* option.
Diffstat (limited to 'source')
-rw-r--r--source/theme.c12
-rw-r--r--source/xrmoptions.c4
2 files changed, 0 insertions, 16 deletions
diff --git a/source/theme.c b/source/theme.c
index 753046d5..63499de2 100644
--- a/source/theme.c
+++ b/source/theme.c
@@ -1194,18 +1194,6 @@ void rofi_theme_convert_old ( void )
rofi_theme_parse_string ( str3 );
} /* dash is default */
}
- /* Line Margin */
- {
- char *str = g_strdup_printf ( "#listview { spacing: %dpx;}", config.line_margin );
- rofi_theme_parse_string ( str );
- g_free ( str );
- }
- /* Line Padding */
- {
- char *str = g_strdup_printf ( "#element, inputbar, message { padding: %dpx;}", config.line_padding );
- rofi_theme_parse_string ( str );
- g_free ( str );
- }
if ( config.hide_scrollbar ) {
const char *str = "#listview { scrollbar: false; }";
rofi_theme_parse_string ( str );
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index 5d397213..0de18903 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -183,10 +183,6 @@ static XrmOption xrmOptions[] = {
/* Alias for dmenu compatibility. */
{ xrm_String, "m", { .str = &config.monitor }, NULL,
"Monitor id to show on", CONFIG_DEFAULT },
- { xrm_Number, "line-margin", { .num = &config.line_margin }, NULL,
- "Margin between rows *DEPRECATED*", CONFIG_DEFAULT },
- { xrm_Number, "line-padding", { .num = &config.line_padding }, NULL,
- "Padding within rows *DEPRECATED*", CONFIG_DEFAULT },
{ xrm_String, "filter", { .str = &config.filter }, NULL,
"Pre-set filter", CONFIG_DEFAULT },
{ xrm_String, "separator-style", { .str = &config.separator_style }, NULL,