Ignore:
Timestamp:
01/02/16 12:09:24 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The usage of RPC can be configured (re #283).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/prefs.py

    r684 r738  
    276276
    277277        self._updateURL.set_text(config.updateURL)
     278
     279        self._useRPC.set_active(config.useRPC)
    278280
    279281        self._settingFromConfig = False
     
    320322        config.autoUpdate = self._autoUpdate.get_active()
    321323        config.updateURL = self._updateURL.get_text()
     324        config.useRPC = self._useRPC.get_active()
    322325
    323326    def _buildGeneral(self):
     
    814817        updateURLBox.pack_start(self._updateURL, True, True, 4)
    815818
     819        self._useRPC = gtk.CheckButton(xstr("prefs_use_rpc"))
     820        mainBox.pack_start(self._useRPC, False, False, 16)
     821
     822        self._useRPC.set_use_underline(True)
     823        self._useRPC.set_tooltip_text(xstr("prefs_use_rpc_tooltip"))
     824
    816825        return mainAlignment
    817826
Note: See TracChangeset for help on using the changeset viewer.