show site title in widget

Hello,

I want to show site title along with post title in my widget. now, i can only select title & content NOT site title too.

in line 179 of widget-recent-global-posts.php i found this line, i think a join can do the trick, but i need some help.

$query = "SELECT * FROM " . $wpdb->base_prefix . "site_posts WHERE blog_public = '1' ORDER BY post_published_stamp DESC LIMIT " . $options['recent-global-posts-number'];