After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 677948 - [new roster] Use EmpathyRosterView
[new roster] Use EmpathyRosterView
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: Contact List
2.33.x
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks: 669484
 
 
Reported: 2012-06-12 13:58 UTC by Guillaume Desmottes
Modified: 2012-06-15 11:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
roster-window: use tp_g_signal_connect_object() (1.99 KB, patch)
2012-06-14 08:22 UTC, Guillaume Desmottes
committed Details | Review
roster-window: use EmpathyRosterView (10.12 KB, patch)
2012-06-14 08:22 UTC, Guillaume Desmottes
committed Details | Review
roster-window: hook activate and popup menu (3.37 KB, patch)
2012-06-14 08:22 UTC, Guillaume Desmottes
committed Details | Review
roster-window: display messages when roster is empty (4.31 KB, patch)
2012-06-14 08:22 UTC, Guillaume Desmottes
committed Details | Review
roster-window: display events in the view (9.61 KB, patch)
2012-06-14 08:23 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2012-06-12 13:58:22 UTC
Once bug #677947 has been fixed, the 'empathy' process should use the new contact list view.
Comment 1 Guillaume Desmottes 2012-06-14 08:22:50 UTC
Created attachment 216379 [details] [review]
roster-window: use tp_g_signal_connect_object()
Comment 2 Guillaume Desmottes 2012-06-14 08:22:53 UTC
Created attachment 216380 [details] [review]
roster-window: use EmpathyRosterView

Lot of features have been disabled/commented out. I'll re-introduce them
progressively.
Comment 3 Guillaume Desmottes 2012-06-14 08:22:56 UTC
Created attachment 216381 [details] [review]
roster-window: hook activate and popup menu
Comment 4 Guillaume Desmottes 2012-06-14 08:22:59 UTC
Created attachment 216382 [details] [review]
roster-window: display messages when roster is empty
Comment 5 Guillaume Desmottes 2012-06-14 08:23:02 UTC
Created attachment 216383 [details] [review]
roster-window: display events in the view
Comment 6 Danielle Madeley 2012-06-15 02:59:28 UTC
Review of attachment 216379 [details] [review]:

++
Comment 7 Danielle Madeley 2012-06-15 03:01:43 UTC
Review of attachment 216380 [details] [review]:

++
Comment 8 Danielle Madeley 2012-06-15 03:04:29 UTC
Review of attachment 216381 [details] [review]:

::: src/empathy-roster-window.c
@@ +2168,3 @@
+  menu = empathy_individual_menu_new (individual, features, NULL);
+
+    guint time,

"takes"

@@ +2169,3 @@
+
+  /* menu is initially unowned but gtk_menu_attach_to_widget() taked its
+    guint time,

"for the view to release its ref"

@@ +2170,3 @@
+  /* menu is initially unowned but gtk_menu_attach_to_widget() taked its
+   * floating ref. We can either wait that the view releases its ref
+    gpointer user_data)

"when it is destroyed"
"explicitly"
Comment 9 Danielle Madeley 2012-06-15 03:05:31 UTC
Review of attachment 216382 [details] [review]:

++
Comment 10 Danielle Madeley 2012-06-15 03:05:31 UTC
Review of attachment 216382 [details] [review]:

++
Comment 11 Danielle Madeley 2012-06-15 03:06:15 UTC
Review of attachment 216383 [details] [review]:

++
Comment 12 Guillaume Desmottes 2012-06-15 11:40:34 UTC
(In reply to comment #8)
> Review of attachment 216381 [details] [review]:
> 
> ::: src/empathy-roster-window.c
> @@ +2168,3 @@
> +  menu = empathy_individual_menu_new (individual, features, NULL);
> +
> +    guint time,
> 
> "takes"
> 
> @@ +2169,3 @@
> +
> +  /* menu is initially unowned but gtk_menu_attach_to_widget() taked its
> +    guint time,
> 
> "for the view to release its ref"
> 
> @@ +2170,3 @@
> +  /* menu is initially unowned but gtk_menu_attach_to_widget() taked its
> +   * floating ref. We can either wait that the view releases its ref
> +    gpointer user_data)
> 
> "when it is destroyed"
> "explicitly"


I failed at English, thanks :)
Comment 13 Guillaume Desmottes 2012-06-15 11:44:22 UTC
Attachment 216379 [details] pushed as c352f96 - roster-window: use tp_g_signal_connect_object()
Attachment 216380 [details] pushed as 8ed2137 - roster-window: use EmpathyRosterView
Attachment 216381 [details] pushed as 0d2c82e - roster-window: hook activate and popup menu
Attachment 216382 [details] pushed as 97242a7 - roster-window: display messages when roster is empty
Attachment 216383 [details] pushed as a3c513e - roster-window: display events in the view