[banshee/gtk3] Use NotebookChild TabFill and TabExpand to be gtk3 compliancy
- From: Olivier Dufour <dufoli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gtk3] Use NotebookChild TabFill and TabExpand to be gtk3 compliancy
- Date: Sun, 17 Jul 2011 07:50:55 +0000 (UTC)
commit cc312422c65dcf2da83178461b730ef19a46c364
Author: Olivier Dufour <olivier duff gmail com>
Date: Sun Jul 17 09:47:19 2011 +0200
Use NotebookChild TabFill and TabExpand to be gtk3 compliancy
.../Banshee.Gui.TrackEditor/HelpPage.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/HelpPage.cs b/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/HelpPage.cs
index 56d8497..5b4c71e 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/HelpPage.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/HelpPage.cs
@@ -58,7 +58,11 @@ namespace Banshee.Gui.TrackEditor
public void LoadTrack (EditorTrackInfo track)
{
- dialog.Notebook.SetTabLabelPacking (this, false, false, PackType.End);
+ Notebook.NotebookChild notebook_child = dialog.Notebook [this] as Notebook.NotebookChild;
+ if (notebook_child == null)
+ return;
+ notebook_child.TabFill = false;
+ notebook_child.TabExpand = false;
}
public int Order {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]