[pitivi] Makes some space between panes
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Makes some space between panes
- Date: Wed, 22 Sep 2010 13:38:14 +0000 (UTC)
commit 03b12aa4b91bac203d6006a266748e05764b3824
Author: Thibault Saunier <tsaunier gnome org>
Date: Sun Jul 4 18:52:48 2010 -0400
Makes some space between panes
pitivi/ui/basetabs.py | 3 +++
pitivi/ui/viewer.py | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/basetabs.py b/pitivi/ui/basetabs.py
index ffa7430..97f337a 100644
--- a/pitivi/ui/basetabs.py
+++ b/pitivi/ui/basetabs.py
@@ -20,11 +20,14 @@
# Boston, MA 02111-1307, USA.
import gtk
+from pitivi.ui.common import SPACING
class BaseTabs(gtk.Notebook):
def __init__(self):
""" initialize """
gtk.Notebook.__init__(self)
+ self.set_border_width(SPACING)
+
self.connect("create-window", self._createWindowCb)
self._createUi()
diff --git a/pitivi/ui/viewer.py b/pitivi/ui/viewer.py
index 18b6684..6efe118 100644
--- a/pitivi/ui/viewer.py
+++ b/pitivi/ui/viewer.py
@@ -34,6 +34,7 @@ from pitivi.stream import VideoStream
from pitivi.utils import time_to_string, Seeker
from pitivi.log.loggable import Loggable
from pitivi.pipeline import PipelineError
+from pitivi.ui.common import SPACING
class ViewerError(Exception):
pass
@@ -63,6 +64,8 @@ class PitiviViewer(gtk.VBox, Loggable):
@type action: L{ViewAction}
"""
gtk.VBox.__init__(self)
+ self.set_border_width(SPACING)
+
Loggable.__init__(self)
self.log("New PitiviViewer")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]