Changeset 926:4cfa5825f5ab for src
- Timestamp:
- 04/27/19 12:15:15 (6 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/common.py
r925 r926 126 126 gi.require_version("Gtk", "3.0") 127 127 from gi.repository import Gtk as gtk 128 from gi.repository import AppIndicator3 as appindicator 128 try: 129 gi.require_version("AppIndicator3", "0.1") 130 from gi.repository import AppIndicator3 as appindicator 131 appIndicator = True 132 except: 133 pass 129 134 from gi.repository import Pango as pango 130 135 131 appIndicator = True132 136 133 137 … … 299 303 def __init__(self): 300 304 """Construct the entry""" 301 super(TimeEntry, self).__init__(max = 5) 305 super(TimeEntry, self).__init__() 306 self.set_max_width_chars(5) 302 307 303 308 self.connect("insert-text", self._insertText)
Note:
See TracChangeset
for help on using the changeset viewer.