maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Tear 0.3 - Simple WebKit browser, now with Dashboard (https://talk.maemo.org/showthread.php?t=26475)

Bundyo 2009-02-23 23:10

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by BrentDC (Post 266645)
Python hildon-desktop applets/plugins always silently fail.

Not always ;) There's a little trick you can do to get messages from all maemo-launcher applications. Every maemo app is a symlink to maemo-invoker. Try editing the symlink of hildon-desktop to point to maemo-summoner instead. Then you have to launch it from console as a user. You'll get two desktops but you'll have console debug messages :) There's probably a way to restart it so you can get the messages for the current desktop, but I'm not sure how.

TrueJournals 2009-02-24 00:46

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Hello all... Been a while since I posted anything in this thread :P

URLs/Titles that are too long have been in the back of my mind, but I didn't have any, so didn't bother coding the feature to shorten them. Thanks all for looking at my code and pointing out modifications for this. I'll include something in the next release that will take care of this.

As for the style issue... I figured it would be a problem. I even looked into getting the style information in python, but I couldn't figure out how. It really annoyed me. There's not much documentation for the python side of things in maemo. I think I'll need to dig into the C documentation a bit and see if I can find anything, then translate it into python.

Getting rid of the vbox: the vbox was a design prototype to prepare for a hbox in anticipation of favicons. At the current stage, getting rid of it really isn't a problem, it was more just me playing around trying to figure out how to make text appear like that and still be one menu item. After all, I'm still learning python!

Once I or someone else figures out how to get the color information from the theme, I'll have no problem throwing the code in there and releasing a new version. However, I'd really like to wait for that...

BrentDC 2009-02-24 01:27

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
I did a little digging about the theme color thing and got nowhere. But I started thinking:

A: Why does the background color change when the theme is changed but not the foreground color?
B: Since A doesn't work, maybe color should be user configurable; seems like the only perfect solution (like Personal Menu).

TrueJournals 2009-02-24 02:37

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
I'm actually working on the style issue... and I feel like I'm VERY close to getting it. I figured out where the color is in the files, so I can extract it from there, or (hopefully) figure out the correct way to do it. And, I think I'm pretty close to getting it done the right way (or at least close to the right way).

If all else fails, though... I suppose it'll have to be user configurable.

Bundyo 2009-02-24 05:09

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
No need for HBox too, as you can see I'm using ImageMenuItem.

As for the color if we use directly the menu item's text without markup it will turn up with the proper color as can be seen from the Open in new window menu item. So GTK already knows it, we need only a way to get it.

tso 2009-02-24 08:18

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
hmm, i just spotted something interesting in app manager ;)

bongo 2009-02-24 08:49

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by tso (Post 266734)
hmm, i just spotted something interesting in app manager ;)

Very nice!

Only 2 little things:
- Left aligned text would give us a little bit more space
- Maybe the scroll buttons should be a little bit larger

Un27Pee 2009-02-24 10:27

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
new update hmmm! does it mean the project is pushed to extras?

tso 2009-02-24 10:29

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
nope, only the bookmarks sidebar plugin...

and for all i know, its on devel, not extra proper (app manager do not tell, and i cant be assed to turn devel off as all the interesting stuff is found there anyways).

TrueJournals 2009-02-24 18:42

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Yes, in order to build the deb, I uploaded it to extras-devel. However, I've found a small problem with my sqlite handling, have fixed it locally, just need to upload the new version. I also need to figure out how to make the arrows bigger. What you SHOULD notice in this version is theme-adjusting colors. If you encounter a problem with this, please let me know what theme you used. If I remember correctly, the colors should update automatically if you change the theme.


All times are GMT. The time now is 06:59.

vBulletin® Version 3.8.8