[pitivi] prefs: Fix dialog padding
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] prefs: Fix dialog padding
- Date: Tue, 27 Sep 2016 08:50:15 +0000 (UTC)
commit 7608ea1f6b9ae258197c08c8332305fb0c06aa80
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Fri Sep 16 19:49:54 2016 +0200
prefs: Fix dialog padding
Reviewed-by: Jakub Brindza <jakub brindza gmail com>
Differential Revision: https://phabricator.freedesktop.org/D1319
pitivi/dialogs/prefs.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/dialogs/prefs.py b/pitivi/dialogs/prefs.py
index 6af224f..181b96a 100644
--- a/pitivi/dialogs/prefs.py
+++ b/pitivi/dialogs/prefs.py
@@ -456,7 +456,6 @@ class CustomShortcutDialog(Gtk.Dialog):
prompt_label = Gtk.Label()
prompt_label.set_markup(_("Enter new shortcut for <b>%s</b>,\nor press Esc to "
"cancel.") % customised_item.title)
- prompt_label.props.margin_top = PADDING * 3
prompt_label.props.margin_bottom = PADDING * 3
prompt_label.show()
self.accelerator_label = Gtk.Label()
@@ -469,6 +468,7 @@ class CustomShortcutDialog(Gtk.Dialog):
self.conflict_label = Gtk.Label()
content_area = self.get_content_area()
+ content_area.props.margin = PADDING * 3
content_area.add(prompt_label)
content_area.add(self.accelerator_label)
content_area.add(self.conflict_label)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]