From bdaacb6daaf804f61be4628f98d8189211fac7af Mon Sep 17 00:00:00 2001 From: dan Date: Sun, 8 Oct 2000 23:29:11 +0000 Subject: [PATCH] Fixed bug with WPrefs not selecting the menu appearance options after startup --- ChangeLog | 2 ++ WINGs/TODO | 2 +- WPrefs.app/Appearance.c | 8 ++------ 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 18959d95..cbed518f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21,6 +21,8 @@ Changes since version 0.62.1: - fixed bug with incorrect window placement using automatic placement, while there were shaded windows on other workspaces - fixed some buffer overflow issues in WINGs +- fixed bug with WPrefs.app not selecting the menu appearance options after + startup. Changes since version 0.62.0: diff --git a/WINGs/TODO b/WINGs/TODO index 38a06743..3008709b 100644 --- a/WINGs/TODO +++ b/WINGs/TODO @@ -2,7 +2,7 @@ - check if its useful to add some WMBrowserSelectionDidChangeNotification (actually a pass-through for WMListSelectionDidChangeNotification). Or a delegate to be called when the list selection change. -- add some way to modify speed when scrolling WMList depending on how +- add some way to modify speed when scrolling WMList, depending on how far the mouse is moved outside of the list. diff --git a/WPrefs.app/Appearance.c b/WPrefs.app/Appearance.c index 2746f32d..47b06458 100644 --- a/WPrefs.app/Appearance.c +++ b/WPrefs.app/Appearance.c @@ -2101,15 +2101,11 @@ showData(_Panel *panel) } updatePreviewBox(panel, EVERYTHING); - - for (i = 0; i < 3; i++) { - WMSetButtonSelected(panel->mstyB[i], i==panel->menuStyle); - WMSetButtonSelected(panel->taliB[i], i==panel->titleAlignment); - } + WMSetButtonSelected(panel->mstyB[panel->menuStyle], True); + WMSetButtonSelected(panel->taliB[panel->titleAlignment], True); } - static void storeData(_Panel *panel) {