[banshee] MiniMode: Reduce height of window (bgo#508713)
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] MiniMode: Reduce height of window (bgo#508713)
- Date: Sun, 1 May 2011 17:14:48 +0000 (UTC)
commit 53a1fa9fbdfd20b0b7801fb02be76475bcf79d8b
Author: Frank Ziegler <funtastix googlemail com>
Date: Wed Apr 27 09:25:57 2011 +0700
MiniMode: Reduce height of window (bgo#508713)
Combine the middle row which contains only the source buttom and the
bottom row containing the track info display. Also make the repeat
button only show the icon.
Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>
.../Banshee.MiniMode/MiniModeWindow.cs | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/Extensions/Banshee.MiniMode/Banshee.MiniMode/MiniModeWindow.cs b/src/Extensions/Banshee.MiniMode/Banshee.MiniMode/MiniModeWindow.cs
index f71676e..e91fb38 100644
--- a/src/Extensions/Banshee.MiniMode/Banshee.MiniMode/MiniModeWindow.cs
+++ b/src/Extensions/Banshee.MiniMode/Banshee.MiniMode/MiniModeWindow.cs
@@ -76,10 +76,8 @@ namespace Banshee.MiniMode
{
var vbox = new VBox () { Spacing = 12 };
var top = new HBox () { Spacing = 6 };
- var mid = new HBox () { Spacing = 6 };
var bot = new HBox () { Spacing = 6 };
vbox.PackStart (top, false, false, 0);
- vbox.PackStart (mid, false, false, 0);
vbox.PackStart (bot, false, false, 0);
// Top row: playback buttons, seek slider, full-mode button, volume
@@ -107,16 +105,16 @@ namespace Banshee.MiniMode
volume_button = new ConnectedVolumeButton ();
top.PackStart (volume_button, false, false, 0);
- // Middle row: source dropdown
+ // Bottom row: source dropdown, track info display (cover art, etc), repeat mode button
source_combo_box = new SourceComboBox ();
- mid.PackStart (source_combo_box, true, true, 0);
+ bot.PackStart (source_combo_box, false, false, 0);
- // Bottom row: track info display (cover art, etc), repeat mode button
track_info_display = new ClassicTrackInfoDisplay ();
+ track_info_display.WidthRequest = 250;
bot.PackStart (track_info_display, true, true, 0);
var repeat_align = new Alignment (1, 1, 1, 1);
- var repeat_toggle_button = new RepeatActionButton ();
+ var repeat_toggle_button = new RepeatActionButton (true);
repeat_align.Add (repeat_toggle_button);
bot.PackEnd (repeat_align, false, false, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]