[pitivi] More fixes to the unsaved changes dialog.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] More fixes to the unsaved changes dialog.
- Date: Fri, 12 Jun 2009 12:35:31 -0400 (EDT)
commit 53d958ed62056efeffb5187c7283f7977959b089
Author: Alessandro Decina <alessandro d gmail com>
Date: Fri Jun 12 18:07:20 2009 +0200
More fixes to the unsaved changes dialog.
pitivi/ui/mainwindow.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index b2fcce6..71d9f90 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -689,6 +689,10 @@ class PitiviMainWindow(gtk.Window, Loggable):
(gtk.STOCK_DISCARD, gtk.RESPONSE_REJECT,
gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
gtk.STOCK_SAVE, gtk.RESPONSE_YES))
+ dialog.set_border_width(5)
+ dialog.set_resizable(False)
+ dialog.set_has_separator(False)
+ dialog.set_skip_taskbar_hint(False)
primary = gtk.Label()
primary.set_line_wrap(True)
@@ -713,8 +717,9 @@ class PitiviMainWindow(gtk.Window, Loggable):
hbox.pack_start(vbox)
content_area = dialog.get_content_area()
content_area.pack_start(hbox)
+ content_area.set_spacing(14)
action_area = dialog.get_action_area()
- action_area.set_layout(gtk.BUTTONBOX_SPREAD)
+ action_area.set_layout(gtk.BUTTONBOX_DEFAULT_STYLE)
hbox.show_all()
response = dialog.run()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]