1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

Fixed crashing bug related to omnipresent icons in clip (fixes bug #1167)

This commit is contained in:
dan
1999-09-26 01:29:04 +00:00
parent 9b34f23b50
commit d1ee3cadb3
4 changed files with 13 additions and 32 deletions

View File

@@ -244,21 +244,6 @@ panelBtnCallback(WMWidget *self, void *data)
updateDNDCommand(panel->editedIcon, text);
#endif
#ifdef dan_remove_later
omnipresent = WMGetButtonSelected(panel->omnipresentBtn);
if (wClipMakeIconOmnipresent(panel->editedIcon, omnipresent) ==
WO_FAILED) {
wMessageDialog(panel->wwin->screen_ptr, _("Error"),
_("Sorry, icon cannot be made omnipresent. "
"Please make sure that no other icon is "
"docked in the same position on the other "
"workspaces, and the Clip is not full in "
"some workspace, then try again."),
_("OK"), NULL, NULL);
return;
}
#endif
panel->editedIcon->auto_launch =
WMGetButtonSelected(panel->autoLaunchBtn);
}