Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GNOME Contacts
Commits
629f518d
Commit
629f518d
authored
Dec 16, 2011
by
Alexander Larsson
Browse files
Remove unused contacts booleans
parent
7bec5006
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/contacts-contact-pane.vala
View file @
629f518d
...
...
@@ -1361,7 +1361,6 @@ public class Contacts.ContactPane : ScrolledWindow {
private
async
Persona
?
set_persona_property
(
Persona
persona
,
string
property_name
,
Value
value
)
throws
GLib
.
Error
,
PropertyError
{
contact
.
is_unedited
=
false
;
if
(
persona
is
FakePersona
)
{
var
fake
=
persona
as
FakePersona
;
return
yield
fake
.
make_real_and_set
(
property_name
,
value
);
...
...
@@ -1379,7 +1378,6 @@ public class Contacts.ContactPane : ScrolledWindow {
private
async
Persona
?
set_individual_property
(
Contact
contact
,
string
property_name
,
Value
value
)
throws
GLib
.
Error
,
PropertyError
{
contact
.
is_unedited
=
false
;
bool
did_set
=
false
;
// Need to make a copy here as it could change during the yields
var
personas_copy
=
contact
.
individual
.
personas
.
to_array
();
...
...
src/contacts-contact.vala
View file @
629f518d
...
...
@@ -110,8 +110,6 @@ public class Contacts.Contact : GLib.Object {
public
PresenceType
presence_type
;
public
string
presence_message
;
public
bool
is_phone
;
public
bool
is_new
;
public
bool
is_unedited
;
struct
ContactDataRef
{
void
*
key
;
void
*
data
;
...
...
src/contacts-view.vala
View file @
629f518d
...
...
@@ -409,8 +409,6 @@ public class Contacts.ViewWidget : TreeView {
cell
.
visible
=
true
;
var
name
=
contact
.
display_name
;
if
(
name
==
""
&&
contact
.
is_new
)
name
=
_
(
"New contact"
);
switch
(
text_display
)
{
default
:
case
TextDisplay
.
NONE
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment