WPrefs.app/Appearances.c contained code for an unfinished feature in the appearances panel of WPrefs, a tab for setting the background.
Since this feature has now been implemented as part of the texture tab (see commit c2aca1a), there is no reason to keep this code. --- WPrefs.app/Appearance.c | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/WPrefs.app/Appearance.c b/WPrefs.app/Appearance.c index 90690ac..0c0c724 100644 --- a/WPrefs.app/Appearance.c +++ b/WPrefs.app/Appearance.c @@ -75,14 +75,6 @@ typedef struct _Panel { WMFrame *taliF; WMButton *taliB[3]; - /* root bg */ - WMFrame *bgF; - - WMLabel *bgprevL; - WMButton *selbgB; - - WMPopUpButton *modeB[3]; - /* */ int textureIndex[8]; @@ -1804,30 +1796,6 @@ static void createPanel(Panel * p) WMMapSubwidgets(panel->colF); -#ifdef unfinished - /*** root bg ***/ - - panel->bgF = WMCreateFrame(panel->box); - WMSetFrameRelief(panel->bgF, WRFlat); - - item = WMCreateTabViewItemWithIdentifier(2); - WMSetTabViewItemView(item, WMWidgetView(panel->bgF)); - WMSetTabViewItemLabel(item, _("Background")); - - WMAddItemInTabView(panel->tabv, item); - - panel->bgprevL = WMCreateLabel(panel->bgF); - WMResizeWidget(panel->bgprevL, 230, 155); - WMMoveWidget(panel->bgprevL, 5, 5); - WMSetLabelRelief(panel->bgprevL, WRSunken); - - panel->selbgB = WMCreateCommandButton(panel->bgF); - WMMoveWidget(panel->selbgB, 5, 165); - WMResizeWidget(panel->selbgB, 100, 24); - WMSetButtonText(panel->selbgB, _("Browse...")); - - WMMapSubwidgets(panel->bgF); -#endif /* unfinished */ /*** options ***/ panel->optF = WMCreateFrame(panel->box); WMSetFrameRelief(panel->optF, WRFlat); -- 1.9.1 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.