1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Unbreak build of deskutils/gnome-contacts with vala 0.36

PR:		225123, 221941
Submitted by:	cpm
This commit is contained in:
Don Lewis 2018-01-24 07:14:17 +00:00
parent 44ad46a3fd
commit c311e170bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459815
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/contacts-contact-editor.vala.orig 2018-01-12 21:18:52 UTC
+++ src/contacts-contact-editor.vala
@@ -77,7 +77,7 @@ public class Contacts.ContactEditor : Gr
}
struct RowData {
- AbstractFieldDetails<string> details;
+ AbstractFieldDetails details;
}
struct Field {

View File

@ -0,0 +1,34 @@
--- src/contacts-contact-pane.vala.orig 2018-01-12 21:20:00 UTC
+++ src/contacts-contact-pane.vala
@@ -451,7 +451,6 @@ public class Contacts.ContactPane : Note
DialogFlags.MODAL,
MessageType.ERROR,
ButtonsType.OK,
- "%s",
_("You need to enter some data"));
dialog.show ();
dialog.response.connect ( () => {
@@ -463,7 +462,6 @@ public class Contacts.ContactPane : Note
DialogFlags.MODAL,
MessageType.ERROR,
ButtonsType.OK,
- "%s",
_("No primary addressbook configured"));
dialog.show ();
dialog.response.connect ( () => {
@@ -482,7 +480,6 @@ public class Contacts.ContactPane : Note
DialogFlags.MODAL,
MessageType.ERROR,
ButtonsType.OK,
- "%s",
_("Unable to create new contacts: %s"), e.message);
}
@@ -493,7 +490,6 @@ public class Contacts.ContactPane : Note
DialogFlags.MODAL,
MessageType.ERROR,
ButtonsType.OK,
- "%s",
_("Unable to find newly created contact"));
}