Skip to content

Commit

Permalink
PrintInfo: remove style section
Browse files Browse the repository at this point in the history
The information that PrintInfo style returned was slightly misleading,
and with the change to allow for Styles to have conditions attached to
them, there's little point reporting such information.
  • Loading branch information
ThomasAdam committed Jan 27, 2025
1 parent 727b408 commit 15dc522
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 296 deletions.
2 changes: 0 additions & 2 deletions doc/fvwm3_manpage_source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3461,8 +3461,6 @@ fvwm used. _verbose_ can be 1 or 2.
+
_nls_ which prints information on the locale catalogs that fvwm used
+
_style_ which prints information on fvwm styles. _verbose_ can be 1.
+
_bindings_ which prints information on all the bindings fvwm has: key
and mouse bindings. _verbose_ has no effect with this option.
+
Expand Down
1 change: 0 additions & 1 deletion fvwm/bindings.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ static int mods_unused = DEFAULT_MODS_UNUSED;
static void update_nr_buttons(
int contexts, int *nr_left_buttons, int *nr_right_buttons, Bool do_set)
{
return;
int i;
int l = *nr_left_buttons;
int r = *nr_right_buttons;
Expand Down
4 changes: 0 additions & 4 deletions fvwm/builtins.c
Original file line number Diff line number Diff line change
Expand Up @@ -2651,10 +2651,6 @@ void CMD_PrintInfo(F_CMD_ARGS)
{
FGettextPrintLocalePath(verbose);
}
else if (StrEquals(subject, "style"))
{
print_styles(verbose);
}
else if (StrEquals(subject, "ImageCache"))
{
PicturePrintImageCache(verbose);
Expand Down
Loading

0 comments on commit 15dc522

Please sign in to comment.