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

Bug #474906 reported by Jeremy Nickurak
146
This bug affects 30 people
Affects Status Importance Assigned to Milestone
XChat Indicator
In Progress
Undecided
Unassigned
xchat-indicator (Ubuntu)
Confirmed
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.

Tags: patch
affects: xchat-gnome-indicator → null
Revision history for this message
Omer Akram (om26er) wrote :

minimize to indicator applet on close would be great.

Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
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)
Revision history for this message
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)
Changed in xchat-indicator (Ubuntu):
importance: Undecided → Wishlist
Curtis Hovey (sinzui)
no longer affects: null
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xchat-indicator (Ubuntu):
status: New → Confirmed
Revision history for this message
Shane O'Connor (ronnocoenahs) wrote :

How to apply the patch?

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.