Ticket #1282: 0001-Fix-1282-Text-for-AutoManaged-changed-to-On-Off-and-.patch

File 0001-Fix-1282-Text-for-AutoManaged-changed-to-On-Off-and-.patch, 909 bytes (added by Cas, 13 years ago)
  • deluge/ui/gtkui/status_tab.py

    From c9089c7c45f86e32627e5e78049b0632c92d0621 Mon Sep 17 00:00:00 2001
    From: Calum Lind <calumlind+deluge@gmail.com>
    Date: Sun, 30 Jan 2011 18:51:00 +0000
    Subject: [PATCH] Fix #1282 - Text for AutoManaged changed to 'On/Off' and localized
    
    ---
     deluge/ui/gtkui/status_tab.py |    5 +++++
     1 files changed, 5 insertions(+), 0 deletions(-)
    
    diff --git a/deluge/ui/gtkui/status_tab.py b/deluge/ui/gtkui/status_tab.py
    index 255c303..926957a 100644
    a b def _on_get_torrent_status(self, status): 
    127127        if status is None: 
    128128            return 
    129129 
     130        if status["is_auto_managed"]: 
     131            status["is_auto_managed"]=_("On") 
     132        else: 
     133            status["is_auto_managed"]=_("Off") 
     134 
    130135        # Update all the label widgets 
    131136        for widget in self.label_widgets: 
    132137            if widget[1] != None: