mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-03 06:45:51 +01:00
fixed misc bugs
This commit is contained in:
@@ -336,8 +336,9 @@ createPanel(Panel *p)
|
||||
WMSetButtonImage(panel->oldsB, icon);
|
||||
WMReleasePixmap(icon);
|
||||
}
|
||||
free(path);
|
||||
}
|
||||
|
||||
|
||||
WMGroupButtons(panel->newsB, panel->oldsB);
|
||||
|
||||
WMMapSubwidgets(panel->titlF);
|
||||
|
||||
@@ -573,6 +573,21 @@ performCommand(WMWidget *w, void *data)
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
int i, j;
|
||||
WMList *list;
|
||||
|
||||
list = WMGetBrowserListInColumn(panel->browser, 0);
|
||||
for (i = 0; i < WMGetListNumberOfRows(list); i++) {
|
||||
WMListItem *item =WMGetListItem(list, i);
|
||||
if (!item)
|
||||
printf("%i empty\n", i);
|
||||
else
|
||||
puts(item->text);
|
||||
}
|
||||
|
||||
}
|
||||
if (row>=0) row++;
|
||||
WMInsertBrowserItem(panel->browser, column, row, title, isMenu(menuItem));
|
||||
if (row<0)
|
||||
@@ -580,6 +595,8 @@ performCommand(WMWidget *w, void *data)
|
||||
else
|
||||
PLInsertArrayElement(menu, menuItem, row+1);
|
||||
free(title);
|
||||
|
||||
|
||||
panel->unsaved = 1;
|
||||
|
||||
if (removed) {
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
/****/
|
||||
|
||||
#define WVERSION "0.42"
|
||||
#define WMVERSION "0.61.x"
|
||||
#define WMVERSION "0.62.x"
|
||||
|
||||
|
||||
extern char *NOptionValueChanged;
|
||||
|
||||
@@ -320,6 +320,7 @@ createPanel(Panel *p)
|
||||
WMSetButtonAltImage(panel->clipB, icon1);
|
||||
WMReleasePixmap(icon1);
|
||||
}
|
||||
free(path);
|
||||
}
|
||||
WMSetBalloonTextForView(_("Disable/enable the Clip (that thing with\n"
|
||||
"a paper clip icon)."),
|
||||
@@ -332,7 +333,7 @@ createPanel(Panel *p)
|
||||
|
||||
WMRealizeWidget(panel->frame);
|
||||
WMMapSubwidgets(panel->frame);
|
||||
|
||||
|
||||
showData(panel);
|
||||
}
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ DIST_COMMON = README Makefile.am Makefile.in
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
all: all-redirect
|
||||
.SUFFIXES:
|
||||
|
||||
@@ -228,6 +228,8 @@ x_reset_modifier_mapping (Display *display)
|
||||
AltIndex = alt_bit;
|
||||
ModeIndex = mode_bit;
|
||||
|
||||
if (x_modifier_keymap != NULL)
|
||||
XFreeModifiermap(x_modifier_keymap);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user