Other Help Topics :: Calendar in DSL4



Quote (JohnJS @ Nov. 19 2007,12:55)
Unable to get monthly view.
When clicking "view" it closes.

I

Clicking on "view" DOES shut it down.  However, my copy opens to the monthly view, where I can put in events using "New" and save. (note: click on the arrows, and you'll see it scrolls through months). Perhaps the view button should be shut down.

I know what the problem is!

It is the murgaLua v0.5.5 upgrade that broke several programs including calendar.lua.

That is why you are experiencing the unexpected behaviour.

It is fixed in v4.1RC1

See change log for v4.1RC1

"* Updated several murgaLua programs to reflect the dropped fl_ask GUI widget."

This also affects v3.4.5 and was fixed in v3.4.6



Meanwhile, you can comment out lines 88-101 which eliminates the view button.  ( -- )
/usr/local/bin/wallpaper.lua
Code Sample
50     response = fltk.fl_choice("Event data has been changed!\nDo you want to exit without saving?","No","Yes",NULL)
90   if fltk.fl_choice("Display Landscape. It is best for printing","No","Yes",NULL) == 1 then


These are the two lines that I had to change to make it work with murgaLua v0.5.5. I fixed this in v4.1RC1

It is best to move to v4.1, but be careful as many changes are also in v4.1 to support user=name and window manager independence. Read the change log and important files to update.

The view button is what makes the program!



Thanks!  I didn't know, because I hadn't used it before.  :)
Next Page...
original here.