[pitivi] ProjectSettings: grey out DAR widgets when PAR button is selected, and vice verssa
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] ProjectSettings: grey out DAR widgets when PAR button is selected, and vice verssa
- Date: Fri, 10 Dec 2010 17:49:46 +0000 (UTC)
commit ffafc229e959498642a5665a0700cec478581d09
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date: Fri Nov 19 18:22:50 2010 +0000
ProjectSettings: grey out DAR widgets when PAR button is selected, and vice verssa
pitivi/ui/projectsettings.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/projectsettings.py b/pitivi/ui/projectsettings.py
index c4f88b7..ca8248c 100644
--- a/pitivi/ui/projectsettings.py
+++ b/pitivi/ui/projectsettings.py
@@ -164,6 +164,12 @@ class ProjectSettingsDialog(GladeWindow):
if button.props.active:
self.sar = self.getSAR()
+ def _selectDarRadiobuttonToggledCb(self, button):
+ state = button.props.active
+ self.dar_fraction_widget.set_sensitive(state)
+ self.dar_combo.set_sensitive(state)
+ self.par_fraction_widget.set_sensitive(not state)
+ self.par_combo.set_sensitive(not state)
def updateWidth(self):
height = int(self.height_spinbutton.get_value())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]