Allen-B1 / news

RSS feed reader
GNU General Public License v3.0
11 stars 6 forks source link

Granite library #18

Closed mirkobrombin closed 7 years ago

mirkobrombin commented 7 years ago

The Granite library offers a large number of advanced widget features, it might be a good idea to take advantage of it. Many of them might be useful:

Here you can find an example with a demo application and here some components are explained.

I know I'm turning to your worst nightmare 😂

Allen-B1 commented 7 years ago

Great idea! Now I can actually add the close button without coding it myself :)

mirkobrombin commented 7 years ago

Happy to help you

Allen-B1 commented 7 years ago

When I try to compile, it returns this error:

/home/.../.../news.c: fatal error: granite.h: No such file or directory
compilation terminated.
mirkobrombin commented 7 years ago

Is granite installed?

Allen-B1 commented 7 years ago

Yep, I installed libgranite-dev

Allen-B1 commented 7 years ago

When I compile directly with valac it works, but when I use cmake it doesn't.

mirkobrombin commented 7 years ago

Mmh try to open an issue on the github page

Allen-B1 commented 7 years ago

Ok

mirkobrombin commented 7 years ago

If you open an issue link to this please

Allen-B1 commented 7 years ago

Do you think we could get away with using make directly? This project https://github.com/lainsce/notejot doesn't use cmake

mirkobrombin commented 7 years ago

I think yes

Allen-B1 commented 7 years ago

Ok, I'll do that

Allen-B1 commented 7 years ago

I changed Gtk.Notebook to Granite.Widgets.DynamicNotebook