From 429272e59ddaaecfb1eec40c9800366db01fc51f Mon Sep 17 00:00:00 2001 From: fgerlits Date: Thu, 2 Jun 2005 15:51:20 +0000 Subject: [PATCH] minor tweaks --- .../products/gLiveSupport/src/MasterPanelWindow.cxx | 12 ++++++------ livesupport/products/gLiveSupport/src/NowPlaying.cxx | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx b/livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx index bffcd5297..a82faf33f 100644 --- a/livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx +++ b/livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.34 $ + Version : $Revision: 1.35 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/MasterPanelWindow.cxx,v $ ------------------------------------------------------------------------------*/ @@ -69,7 +69,7 @@ MasterPanelWindow :: MasterPanelWindow (Ptr::Ref gLiveSupport, // TODO: remove hard-coded station logo path reference radioLogoWidget = Gtk::manage(new Gtk::Image("var/stationLogo.png")); - radioLogoWidget->set_size_request(158, 104); + radioLogoWidget->set_size_request(120, 104); // set up the layout, which is a button box layout = Gtk::manage(new Gtk::Table()); @@ -79,7 +79,7 @@ MasterPanelWindow :: MasterPanelWindow (Ptr::Ref gLiveSupport, Pango::Attribute fontDescriptionAttribute = Pango::Attribute::create_attr_font_desc( Pango::FontDescription( - "Bitstream Vera Sans Bold 24")); + "Bitstream Vera Sans Bold 20")); fontDescriptionAttribute.set_start_index(0); fontDescriptionAttribute.set_end_index(10); Pango::AttrList timeWidgetAttributes; @@ -87,7 +87,7 @@ MasterPanelWindow :: MasterPanelWindow (Ptr::Ref gLiveSupport, timeWidget->set_attributes(timeWidgetAttributes); timeBin = Gtk::manage(widgetFactory->createBlueBin()); timeBin->add(*timeWidget); - timeBin->set_size_request(153, 104); + timeBin->set_size_request(120, 104); // set up the now playing widget nowPlayingWidget = Gtk::manage(new NowPlaying(gLiveSupport, bundle)); @@ -99,12 +99,12 @@ MasterPanelWindow :: MasterPanelWindow (Ptr::Ref gLiveSupport, vuMeterWidget = Gtk::manage(new Gtk::Label("VU meter")); vuMeterBin = Gtk::manage(widgetFactory->createBlueBin()); vuMeterBin->add(*vuMeterWidget); - vuMeterBin->set_size_request(400, 40); + vuMeterBin->set_size_request(200, 40); // set up the next playing widget nextPlayingWidget = Gtk::manage(new Gtk::Label("next playing")); nextPlayingBin = Gtk::manage(widgetFactory->createBlueBin()); nextPlayingBin->add(*nextPlayingWidget); - nextPlayingBin->set_size_request(400, 59); + nextPlayingBin->set_size_request(200, 59); // create the bottom bar bottomBar = Gtk::manage(new Gtk::Table()); diff --git a/livesupport/products/gLiveSupport/src/NowPlaying.cxx b/livesupport/products/gLiveSupport/src/NowPlaying.cxx index 595517bc4..db8a49bd6 100644 --- a/livesupport/products/gLiveSupport/src/NowPlaying.cxx +++ b/livesupport/products/gLiveSupport/src/NowPlaying.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.4 $ + Version : $Revision: 1.5 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/NowPlaying.cxx,v $ ------------------------------------------------------------------------------*/ @@ -108,9 +108,9 @@ NowPlaying :: setPlayable(Ptr::Ref playable) throw () Ptr::Ref infoString(new Glib::ustring); infoString->append(""); + " Bold 16'>"); infoString->append(Glib::Markup::escape_text(*playable->getTitle())); - infoString->append(" "); + infoString->append(" "); // TODO: rewrite this using the Core::Metadata class @@ -118,7 +118,7 @@ NowPlaying :: setPlayable(Ptr::Ref playable) throw () creator = playable->getMetadata("dc:creator"); if (creator) { infoString->append(""); + " Bold 16'>"); infoString->append(Glib::Markup::escape_text(*creator)); infoString->append(""); }