Remove unused options for GeneWeb export.
svn: r12496
This commit is contained in:
		@@ -52,26 +52,6 @@
 | 
			
		||||
                    <property name="y_options"></property>
 | 
			
		||||
                  </packing>
 | 
			
		||||
                </child>
 | 
			
		||||
                <child>
 | 
			
		||||
                  <object class="GtkCheckButton" id="private">
 | 
			
		||||
                    <property name="label" translatable="yes">_Do not include records marked private</property>
 | 
			
		||||
                    <property name="visible">True</property>
 | 
			
		||||
                    <property name="can_focus">True</property>
 | 
			
		||||
                    <property name="receives_default">False</property>
 | 
			
		||||
                    <property name="border_width">3</property>
 | 
			
		||||
                    <property name="use_underline">True</property>
 | 
			
		||||
                    <property name="active">True</property>
 | 
			
		||||
                    <property name="draw_indicator">True</property>
 | 
			
		||||
                  </object>
 | 
			
		||||
                  <packing>
 | 
			
		||||
                    <property name="left_attach">1</property>
 | 
			
		||||
                    <property name="right_attach">3</property>
 | 
			
		||||
                    <property name="top_attach">2</property>
 | 
			
		||||
                    <property name="bottom_attach">3</property>
 | 
			
		||||
                    <property name="x_options">GTK_FILL</property>
 | 
			
		||||
                    <property name="y_options"></property>
 | 
			
		||||
                  </packing>
 | 
			
		||||
                </child>
 | 
			
		||||
                <child>
 | 
			
		||||
                  <object class="GtkCheckButton" id="restrict">
 | 
			
		||||
                    <property name="label" translatable="yes">_Restrict data on living people</property>
 | 
			
		||||
@@ -119,25 +99,6 @@
 | 
			
		||||
                        <property name="y_options"></property>
 | 
			
		||||
                      </packing>
 | 
			
		||||
                    </child>
 | 
			
		||||
                    <child>
 | 
			
		||||
                      <object class="GtkCheckButton" id="sources">
 | 
			
		||||
                        <property name="label" translatable="yes">Exclude _sources</property>
 | 
			
		||||
                        <property name="visible">True</property>
 | 
			
		||||
                        <property name="can_focus">True</property>
 | 
			
		||||
                        <property name="receives_default">False</property>
 | 
			
		||||
                        <property name="use_underline">True</property>
 | 
			
		||||
                        <property name="active">True</property>
 | 
			
		||||
                        <property name="draw_indicator">True</property>
 | 
			
		||||
                      </object>
 | 
			
		||||
                      <packing>
 | 
			
		||||
                        <property name="left_attach">1</property>
 | 
			
		||||
                        <property name="right_attach">2</property>
 | 
			
		||||
                        <property name="top_attach">2</property>
 | 
			
		||||
                        <property name="bottom_attach">3</property>
 | 
			
		||||
                        <property name="x_options">GTK_FILL</property>
 | 
			
		||||
                        <property name="y_options"></property>
 | 
			
		||||
                      </packing>
 | 
			
		||||
                    </child>
 | 
			
		||||
                    <child>
 | 
			
		||||
                      <object class="GtkCheckButton" id="living">
 | 
			
		||||
                        <property name="label" translatable="yes">Use _Living as first name</property>
 | 
			
		||||
 
 | 
			
		||||
@@ -82,7 +82,6 @@ class GeneWebWriterOptionBox:
 | 
			
		||||
 | 
			
		||||
    def get_option_box(self):
 | 
			
		||||
        self.restrict = 1
 | 
			
		||||
        self.private = 1
 | 
			
		||||
 | 
			
		||||
        glade_file = os.path.join(
 | 
			
		||||
                        os.path.split(__file__)[0], 
 | 
			
		||||
@@ -139,8 +138,7 @@ class GeneWebWriterOptionBox:
 | 
			
		||||
    def on_restrict_toggled(self, restrict):
 | 
			
		||||
        active = restrict.get_active ()
 | 
			
		||||
        for x in [self.topDialog.get_object("living"),
 | 
			
		||||
                  self.topDialog.get_object("notes"),
 | 
			
		||||
                  self.topDialog.get_object("sources")]:
 | 
			
		||||
                  self.topDialog.get_object("notes")]:
 | 
			
		||||
            x.set_sensitive(active)
 | 
			
		||||
 | 
			
		||||
    def parse_options(self):
 | 
			
		||||
@@ -149,10 +147,6 @@ class GeneWebWriterOptionBox:
 | 
			
		||||
                       self.topDialog.get_object("living").get_active())
 | 
			
		||||
        self.exclnotes = (self.restrict and
 | 
			
		||||
                          self.topDialog.get_object("notes").get_active())
 | 
			
		||||
        self.exclsrcs = (self.restrict and
 | 
			
		||||
                         self.topDialog.get_object("sources").get_active())
 | 
			
		||||
        self.private = self.topDialog.get_object("private").get_active()
 | 
			
		||||
 | 
			
		||||
        self.cfilter = self.filter_menu[self.filters.get_active()][1]
 | 
			
		||||
 | 
			
		||||
        self.images = self.topDialog.get_object ("images").get_active ()
 | 
			
		||||
@@ -183,7 +177,6 @@ class GeneWebWriter:
 | 
			
		||||
        
 | 
			
		||||
        if not option_box:
 | 
			
		||||
            self.restrict = 0
 | 
			
		||||
            self.private = 0
 | 
			
		||||
            self.copy = 0
 | 
			
		||||
            self.images = 0
 | 
			
		||||
        else:
 | 
			
		||||
@@ -192,8 +185,6 @@ class GeneWebWriter:
 | 
			
		||||
            self.restrict = self.option_box.restrict
 | 
			
		||||
            self.living = self.option_box.living
 | 
			
		||||
            self.exclnotes = self.option_box.exclnotes
 | 
			
		||||
            self.exclsrcs = self.option_box.exclsrcs
 | 
			
		||||
            self.private = self.option_box.private
 | 
			
		||||
            self.copy = self.option_box.copy
 | 
			
		||||
            self.images = self.option_box.images
 | 
			
		||||
            self.images_path = self.option_box.images_path
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user