Florian Walbroel commited on 2021-09-06 18:46:27
Showing 1 changed files, with 3 additions and 3 deletions.
| ... | ... |
@@ -198,10 +198,10 @@ class UptGui: |
| 198 | 198 |
handlers = {
|
| 199 | 199 |
'onDestroy': self.onDestroy, |
| 200 | 200 |
'onDetailsRowActivated': self.onDetailsRowActivated, |
| 201 |
+ 'onNotificationClose': self.onNotificationClose, |
|
| 201 | 202 |
'onProcessesCursorChanged': self.onProcessesCursorChanged, |
| 202 | 203 |
'onProcessesRowActivated': self.onProcessesRowActivated, |
| 203 | 204 |
'onTreeToggled': self.onTreeToggled, |
| 204 |
- 'onNotificationClose': self.onNotificationClose, |
|
| 205 | 205 |
} |
| 206 | 206 |
self.builder.connect_signals(handlers) |
| 207 | 207 |
# open trace file |
| ... | ... |
@@ -396,8 +396,8 @@ class UptGui: |
| 396 | 396 |
notification |
| 397 | 397 |
""" |
| 398 | 398 |
self.storeInClipboard(string) |
| 399 |
- msg = string if len(string) <= 100 else string[:97] + "..." |
|
| 400 |
- self.showNotification(f"'{msg:s}'\nCopied to clipboard", 1000)
|
|
| 399 |
+ msg = repr(string) if len(string) <= 100 else repr(string[:97] + "...") |
|
| 400 |
+ self.showNotification(f"{msg:s}\nCopied to clipboard", 1000)
|
|
| 401 | 401 |
|
| 402 | 402 |
def openTrace(self, proto_filename: str): |
| 403 | 403 |
""" |
| 404 | 404 |