* src/Editors/_EditNote.py (EditNote._setup_fields): privacy button

for notes (bug #1148)
	* src/glade/gramps.glade: privacy button for notes

2007-08-24  Don Allingham  <don@gramps-project.org>


svn: r8861
This commit is contained in:
Don Allingham 2007-08-24 22:12:06 +00:00
parent 94aa96e72d
commit 4fa4ce1156
3 changed files with 57 additions and 17 deletions

View File

@ -1,3 +1,8 @@
2007-08-24 Don Allingham <don@gramps-project.org>
* src/Editors/_EditNote.py (EditNote._setup_fields): privacy button
for notes (bug #1148)
* src/glade/gramps.glade: privacy button for notes
2007-08-24 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: Generate LONG and LATI
* src/docgen/Makefile.am: replace LPRDoc with GtkPrint

View File

@ -171,6 +171,10 @@ class EditNote(EditPrimary):
self.obj.get_marker,
self.db.readonly,
self.db.get_marker_types())
self.priv = PrivacyButton(
self.top.get_widget("private"),
self.obj, self.db.readonly)
def _connect_signals(self):
"""Connects any signals that need to be connected.

View File

@ -15356,7 +15356,7 @@ Very High</property>
<property name="border_width">6</property>
<property name="visible">True</property>
<property name="n_rows">2</property>
<property name="n_columns">4</property>
<property name="n_columns">5</property>
<property name="homogeneous">False</property>
<property name="row_spacing">6</property>
<property name="column_spacing">6</property>
@ -15482,22 +15482,6 @@ Very High</property>
</packing>
</child>
<child>
<widget class="GtkComboBoxEntry" id="marker">
<property name="visible">True</property>
<property name="add_tearoffs">False</property>
<property name="has_frame">True</property>
<property name="focus_on_click">True</property>
</widget>
<packing>
<property name="left_attach">3</property>
<property name="right_attach">4</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="y_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="format">
<property name="visible">True</property>
@ -15519,6 +15503,53 @@ Very High</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkComboBoxEntry" id="marker">
<property name="visible">True</property>
<property name="add_tearoffs">False</property>
<property name="has_frame">True</property>
<property name="focus_on_click">True</property>
</widget>
<packing>
<property name="left_attach">3</property>
<property name="right_attach">5</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="y_options">fill</property>
</packing>
</child>
<child>
<widget class="GtkToggleButton" id="private">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NONE</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<child>
<widget class="GtkImage" id="image2721">
<property name="visible">True</property>
<property name="icon_size">1</property>
<property name="icon_name">gtk-dialog-authentication</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</child>
</widget>
<packing>
<property name="left_attach">4</property>
<property name="right_attach">5</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>