Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
5a801e46
Commit
5a801e46
authored
14 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
[#3854] e_book_async_get_contacts returns true on failure ...
parent
ad9263c6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
sflphone-client-gnome/src/contacts/addressbook/eds.c
+4
-2
4 additions, 2 deletions
sflphone-client-gnome/src/contacts/addressbook/eds.c
sflphone-client-gnome/src/contacts/searchbar.c
+2
-2
2 additions, 2 deletions
sflphone-client-gnome/src/contacts/searchbar.c
with
6 additions
and
4 deletions
sflphone-client-gnome/src/contacts/addressbook/eds.c
+
4
−
2
View file @
5a801e46
...
...
@@ -341,7 +341,7 @@ eds_async_open_callback (EBook *book, EBookStatus status, gpointer closure)
}
if
(
e_book_async_get_contacts
(
book
,
had
->
equery
,
eds_query_result_cb
,
had
))
DEBUG
(
"Addressbook:
Queries sent successfully
"
);
ERROR
(
"Addressbook:
Error: While querying addressbook
"
);
}
else
{
WARN
(
"Addressbook: Got error when opening book"
);
...
...
@@ -588,7 +588,9 @@ search_async_by_contacts (const char *query, int max_results, SearchAsyncHandler
// Asynchronous open
e_book_async_open
(
book
,
TRUE
,
eds_async_open_callback
,
had
);
}
}
else
ERROR
(
"Addressbook: Error: No book available"
);
}
...
...
This diff is collapsed.
Click to expand it.
sflphone-client-gnome/src/contacts/searchbar.c
+
2
−
2
View file @
5a801e46
...
...
@@ -76,7 +76,7 @@ static void select_addressbook (GtkWidget *item, GtkEntry *entry)
set_current_addressbook
(
gtk_menu_item_get_label
(
item
));
gchar
*
name
=
get_current_addressbook
();
gchar
*
searching
=
g_strjoin
(
""
,
"
Search contacts
in
\n
"
,
name
,
NULL
);
gchar
*
searching
=
g_strjoin
(
""
,
"
Click to select addressbook
\n
Searching
in
"
,
name
,
NULL
);
gtk_entry_set_icon_tooltip_text
(
GTK_ENTRY
(
addressbookentry
),
GTK_ENTRY_ICON_PRIMARY
,
searching
);
...
...
@@ -300,7 +300,7 @@ GtkWidget* contacts_searchbar_new ()
GdkPixbuf
*
pixbuf
;
gchar
*
current_addressbook
=
get_current_addressbook
();
gchar
*
tooltip_text
=
g_strjoin
(
""
,
"
Search contacts
in
\n
"
,
current_addressbook
,
NULL
);
gchar
*
tooltip_text
=
g_strjoin
(
""
,
"
Click to select addressbook
\n
Searching
in
"
,
current_addressbook
,
NULL
);
addressbookentry
=
gtk_entry_new
();
gtk_entry_set_icon_from_stock
(
GTK_ENTRY
(
addressbookentry
),
GTK_ENTRY_ICON_SECONDARY
,
GTK_STOCK_CLEAR
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment