View Single Post
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#80
Originally Posted by qwerty12 View Post
Heh, yeah, I just want to learn both because they can both do cool things. Did a quick check, if the browser is not open, dbus is not used to launch it. But the browser has its own signal internally which it will respond to if you send 'new_window' via dbus to the browser directly. The bookmark plugin does this if there is already a window open.

WRT the two line thing, the bookmark applet is closed but you've most likely noticed that the application list can do it and the code for that is in hildon-desktop.
Are you talking about tear or the built-in browser? Tear does seem to install a dbus service, but the only thing I can get that to do is open one window. I even looked through Tear's code a bit, but couldn't find anything with dbus...

As for the two-line thing... I actually figured it out on my own, mostly. Turns out menu items just use GTK Labels by default, but you can make them use something else. Pretty screenshot of what it currently looks like... I actually kind of like this better than the current bookmarks menu:
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
 

The Following User Says Thank You to TrueJournals For This Useful Post: