Skip to content

Commit 15dc522

Browse files
committed
PrintInfo: remove style section
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.
1 parent 727b408 commit 15dc522

File tree

4 files changed

+53
-296
lines changed

4 files changed

+53
-296
lines changed

doc/fvwm3_manpage_source.adoc

-2
Original file line numberDiff line numberDiff line change
@@ -3461,8 +3461,6 @@ fvwm used. _verbose_ can be 1 or 2.
34613461
+
34623462
_nls_ which prints information on the locale catalogs that fvwm used
34633463
+
3464-
_style_ which prints information on fvwm styles. _verbose_ can be 1.
3465-
+
34663464
_bindings_ which prints information on all the bindings fvwm has: key
34673465
and mouse bindings. _verbose_ has no effect with this option.
34683466
+

fvwm/bindings.c

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ static int mods_unused = DEFAULT_MODS_UNUSED;
6363
static void update_nr_buttons(
6464
int contexts, int *nr_left_buttons, int *nr_right_buttons, Bool do_set)
6565
{
66-
return;
6766
int i;
6867
int l = *nr_left_buttons;
6968
int r = *nr_right_buttons;

fvwm/builtins.c

-4
Original file line numberDiff line numberDiff line change
@@ -2651,10 +2651,6 @@ void CMD_PrintInfo(F_CMD_ARGS)
26512651
{
26522652
FGettextPrintLocalePath(verbose);
26532653
}
2654-
else if (StrEquals(subject, "style"))
2655-
{
2656-
print_styles(verbose);
2657-
}
26582654
else if (StrEquals(subject, "ImageCache"))
26592655
{
26602656
PicturePrintImageCache(verbose);

0 commit comments

Comments
 (0)