1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 22:52:34 +01:00

added balloon help

This commit is contained in:
kojima
1999-04-25 01:49:46 +00:00
parent 2c1f4634e3
commit d3f29988d0
17 changed files with 159 additions and 24 deletions

View File

@@ -29,6 +29,8 @@ typedef struct _Panel {
char *sectionName;
char *description;
CallbackRec callbacks;
WMWindow *win;
@@ -234,7 +236,10 @@ createPanel(Panel *p)
}
free(path);
}
WMSetBalloonTextForView(_("Disable/enable the application Dock (the\n"
"vertical icon bar in the side of the screen)."),
WMWidgetView(panel->dockB));
panel->clipB = WMCreateButton(panel->dockF, WBTToggle);
WMResizeWidget(panel->clipB, 64, 64);
WMMoveWidget(panel->clipB, 20, 110);
@@ -251,6 +256,10 @@ createPanel(Panel *p)
WMReleasePixmap(icon1);
}
}
WMSetBalloonTextForView(_("Disable/enable the Clip (that thing with\n"
"a paper clip icon)."),
WMWidgetView(panel->clipB));
WMMapSubwidgets(panel->dockF);
if (xis)
@@ -285,7 +294,10 @@ InitWorkspace(WMScreen *scr, WMWindow *win)
memset(panel, 0, sizeof(_Panel));
panel->sectionName = _("Workspace Preferences");
panel->description = _("Workspace navigation features.\n"
"You can also enable/disable the Dock and Clip here.");
panel->win = win;
panel->callbacks.createWidgets = createPanel;