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 679919 - [new roster] Rename a group?
[new roster] Rename a group?
Status: RESOLVED OBSOLETE
Product: empathy
Classification: Core
Component: Contact List
3.4.x
Other Linux
: Normal normal
: 3.8
Assigned To: empathy-maint
empathy-maint
: 680910 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-07-14 11:15 UTC by Mike Manilone
Modified: 2018-05-22 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mike Manilone 2012-07-14 11:15:18 UTC
It seems that Empathy doesn't support renaming a group.

Empathy 3.4.2.3-1

Will it be supported?
Comment 1 André Klapper 2012-07-15 16:19:05 UTC
Better steps and information welcome, e.g. type of group...

Bug 501065 was fixed in April before 3.4.2.3-1 was released, but I don't know if it was only fixed in unstable 3.5.x or also backported to stable 3.4.x.
Comment 2 Mike Manilone 2012-07-16 03:35:17 UTC
Sorry. I don't search before posting this.

3.4.x seems that doesn't have this patch.
OK. Just wait for 3.5.x.

*** This bug has been marked as a duplicate of bug 501065 ***
Comment 3 Guillaume Desmottes 2012-07-16 07:57:26 UTC
Actually we didn't re-implement this feature in the new roster yet.
Comment 4 Guillaume Desmottes 2012-08-30 12:43:15 UTC
Humm this is going to be tricky to implement. From an UI pov I guess we should
- right click on the group name,
- have a context dialog and choose "edit"
- the group label turns to an entry allowing you to change the name of the group
- hit enter and it goes back to the updated label

AFAIK GtkExpander doesn't allow us to do such thing easily. :\
Comment 5 Chandni Verma 2013-06-23 08:27:07 UTC
Would this require creating our own subclass of GtkExpander which allows us to do this?
Comment 6 Xavier Claessens 2013-07-19 08:28:07 UTC
*** Bug 680910 has been marked as a duplicate of this bug. ***
Comment 7 Chandni Verma 2013-08-07 11:47:36 UTC
I am working on it. While we will be able to change a group's name, the icon associated with the group will remain the same. Does that sound ok?
Comment 8 Chandni Verma 2013-08-14 09:38:11 UTC
(In reply to comment #4)
> Humm this is going to be tricky to implement. From an UI pov I guess we should
> - right click on the group name,
> - have a context dialog and choose "edit"
> - the group label turns to an entry allowing you to change the name of the
> group
> - hit enter and it goes back to the updated label
> 
> AFAIK GtkExpander doesn't allow us to do such thing easily. :\

While GtkExpander does not allow us to have it's label-widget receive button-press-event (or any event for that matter) on its children, a hack described in http://gtk.10911.n7.nabble.com/GtkExpander-label-widgets-using-buttons-as-td1738.html allowed me to make labels clickable inside a GtkExpander. I opened a gtk+ bug regarding this: https://bugzilla.gnome.org/show_bug.cgi?id=705971

I have a branch (https://gitorious.org/glassrose-gnome/empathy/commits/rename-a-group-679919) where I have deployed this hack to make the label clickable but this does not work in our case possibly because egg-list-box doesn't pass the event to its children (GtkExpander here).
Comment 9 Chandni Verma 2013-08-23 12:04:06 UTC
The above branch works now with a second hack of unmapping and remapping the label-widget when the expander maps. This works! :) But there are some reordering issues cropped up which require some attention..
Comment 10 GNOME Infrastructure Team 2018-05-22 15:37:49 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/empathy/issues/568.