![]() |
Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
Quote:
Code:
def shorten_text(self, variable_holding_text): |
Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
Quote:
Could you please implement a temporary solution to delete/edit bookmarks? |
Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
I've already did add removing bookmarks using the star when there is bookmark already. I have some things yet to do before the next release though.
|
Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
Quote:
I have a programming rule: if I find myself putting an arbitrary hard-coded value into my program, chances are it should be user-configurable. So, shorten_text version 2: Code:
def shorten_text(self, variable_holding_text):I think that'll work. Never tested using a variable as a slice index, though... (translated, it'll cause you plugin to silently fail like all problems with Python hildon-desktop plugins do). |
Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
Btw, these changes to the Tear bookmarks remove the need for VBox and look good on the dark Echo background (also add left alignment):
Code:
for row in self.c:Code:
fgcolor = menu_item.get_child().get_style().text[0]Code:
scheme = gtk.Object(gtk.Settings().get_default()).get("gtk-color-scheme") |
Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
Quote:
|
Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
Its not released :)
|
Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
Quote:
I'll take a look at it later and see if I can figure out how to do it. :) |
Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
Quote:
I had an other thought about the bookmark manager: what about mer? The microb manager won't be there so maybe we need a new one. |
Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
Yeah, you're right, ask me for a project join if you have an urge to do it :)
|
| All times are GMT. The time now is 06:59. |
vBulletin® Version 3.8.8