docs: documentation is important...
This is literally how much programmers like to write docs. It might avoid a few e-mails too...! :
This commit is contained in:
parent
25db250732
commit
811b57f4aa
|
@ -948,9 +948,15 @@ _btn_info_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
|||
|
||||
if (!lines)
|
||||
{
|
||||
elm_object_text_set(ui->entry_info,
|
||||
eina_slstr_printf(_("No documentation found for %s."),
|
||||
ui->selected_cmd));
|
||||
// LAZY!!!
|
||||
if (!strcmp(ui->selected_cmd, "evisum"))
|
||||
elm_object_text_set(ui->entry_info, _evisum_docs());
|
||||
else
|
||||
{
|
||||
elm_object_text_set(ui->entry_info,
|
||||
eina_slstr_printf(_("No documentation found for %s."),
|
||||
ui->selected_cmd));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
// Process Window includes this junk.
|
||||
|
||||
static char *
|
||||
_man2entry(const char *text)
|
||||
{
|
||||
|
@ -50,3 +52,14 @@ _man2entry(const char *text)
|
|||
|
||||
return str;
|
||||
}
|
||||
|
||||
static const char *
|
||||
_evisum_docs(void)
|
||||
{
|
||||
const char *txt =
|
||||
"<b>Congratulations you found the documentation!</b><br><br>"
|
||||
"Control + K - Toggle kernel threads. <br>"
|
||||
"Control + E - Show Self. <br>";
|
||||
|
||||
return txt;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue