Opened 15 years ago

Closed 15 years ago

#339 closed Enhancement (fixed)

Improved toggle for tray menu

Reported by: infernux Owned by:
Priority: Normal Milestone: 0.90
Component: GTK+ Client Version: 0.82
Severity: Normal Keywords:
Cc:

Description

I have written a patch to use GtkToggleActionEntry? for the old "Show / Hide Transmission". Previously, the menu showed the Transmission icon and didn't give any visual hint if the window is active or not (it showed "Show/Hide?" all the time).

Now, the icon is replaced with a checkbox:

[x] Show Transmission

I have removed the "Hide" part of the string because the checked box now tells "true" and the unchecked box tells "falls".

Attachments (3)

show.png (15.4 KB) - added by infernux 15 years ago.
Screenshot after patch
transmission-show.diff (1.3 KB) - added by infernux 15 years ago.
The patch
transmission_toggle.diff (5.3 KB) - added by infernux 15 years ago.
New Patch

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by infernux

Screenshot after patch

Changed 15 years ago by infernux

The patch

Changed 15 years ago by infernux

New Patch

comment:1 Changed 15 years ago by infernux

The new patch also implements a toggle entry for the "Show Debug Window" (in tray and main interface). The code changes were more complex because it has to keep track for the case that the debug window is closed by pressing the window-close button.

comment:2 Changed 15 years ago by charles

  • Milestone changed from None Set to 0.90
  • Resolution set to fixed
  • Status changed from new to closed

Added to r3126.

Note: See TracTickets for help on using tickets.