Closing Xchat-gnome should "hide" the window, like with empathy

Bug #474906 reported by Jeremy Nickurak on 2009-11-04
146
This bug affects 30 people
Affects Status Importance Assigned to Milestone
XChat Indicator
Undecided
Unassigned
xchat-indicator (Ubuntu)
Wishlist
Unassigned

Bug Description

Like with empathy, if I close the xchat-gnome window, it shouldn't terminate xchat. Instead it should simply be hidden until I select xchat-gnome from the messaging menu.

affects: xchat-gnome-indicator → null
Omer Akram (om26er) wrote :

minimize to indicator applet on close would be great.

aleth (aleth) wrote :

This seems essential to me in order that the messaging menu entry can fully replace the tray icon for xchat (as it should):

Clicking the xchat tray icons toggles the displayed/hidden state of the xchat window. When doing without the tray icon, there is no longer a quick way to hide the xchat window at present, as closing the window quits the application altogether. Using the minimize button is not ideal as it clutters up the task bar.

Jeremy Nickurak (nickurak) wrote :

This one's not a duplicate of 550750. 550750 requested the ability to hide xchat-gnome by clicking on it in the indicator, which (as Ken pointed out) is not the desired behavior.

This bug requests that when xchat-gnome is closed (via the close button, for example), that it's hidden, just like empathy and rhythmbox do, and just like work is in progress to have evolution do.

Jeremy Nickurak (nickurak) wrote :

This requires a change in xchat-gnome, and in principle fe-gtk and the text frontend, allowing plugins to catch, and optionally eat, the close event. The patch for xchat-gnome that gets this set up is attached.

With that working, the implementation of this feature in the indicator plugin is simple. Also attached.

Changed in xchat-indicator:
assignee: nobody → Jeremy Nickurak (nickurak)
Jeremy Nickurak (nickurak) wrote :
Changed in xchat-indicator:
status: New → In Progress
affects: xchat-gnome (Ubuntu) → xchat-indicator (Ubuntu)
Changed in xchat-indicator:
assignee: Jeremy Nickurak (nickurak) → nobody
tags: added: patch
Daniel T Chen (crimsun) on 2011-07-28
Changed in xchat-indicator (Ubuntu):
importance: Undecided → Wishlist
Curtis Hovey (sinzui) on 2011-11-11
no longer affects: null
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xchat-indicator (Ubuntu):
status: New → Confirmed
Shane O'Connor (ronnocoenahs) wrote :

How to apply the patch?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers