[pitivi/ges: 273/287] utils/widgets.py: Gray out the "No properties" label
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges: 273/287] utils/widgets.py: Gray out the "No properties" label
- Date: Thu, 15 Mar 2012 16:48:49 +0000 (UTC)
commit b425ae58b584aa92b1b8d43197ca8a01ed686d23
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Sun Feb 12 21:25:16 2012 -0500
utils/widgets.py: Gray out the "No properties" label
pitivi/utils/widgets.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/utils/widgets.py b/pitivi/utils/widgets.py
index f97bb32..146387f 100644
--- a/pitivi/utils/widgets.py
+++ b/pitivi/utils/widgets.py
@@ -804,7 +804,8 @@ class GstElementSettingsWidget(gtk.VBox, Loggable):
props = [prop for prop in gobject.list_properties(self.element) if not prop.name in self.ignore]
if not props:
table = gtk.Table(rows=1, columns=1)
- widget = gtk.Label(_("No properties..."))
+ widget = gtk.Label(_("No properties."))
+ widget.set_sensitive(False)
table.attach(widget, 0, 1, 0, 1, yoptions=gtk.FILL)
self.pack_start(table)
self.show_all()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]