| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,9 @@ | |||
| 1 | 1 | # Changelog | |
| 2 | 2 | ||
| 3 | + ## 1.0.3 | ||
| 4 | + | ||
| 5 | + - Fixed the settings panel crashing on open (`TypeError: gobject 'AdwEntryRow' doesn't support property 'subtitle'`), reported by [@Core447](https://github.com/Core447) while reviewing the StreamController Store submission. `AdwEntryRow` has no `subtitle` property (unlike `AdwActionRow`/`AdwComboRow`, which do) — passing one as a construct argument crashed as soon as the log-path or sessions-directory rows were built. Moved that hint text to a tooltip on each row instead. | ||
| 6 | + | ||
| 3 | 7 | ## 1.0.2 | |
| 4 | 8 | ||
| 5 | 9 | Real-world fixes from [@parkour86](https://github.com/parkour86) testing against actual Grok Build/SuperGrok installs ([#3](https://github.com/ENjxzlt/Grok-Usage-Streamcontroller/issues/3), [#4](https://github.com/ENjxzlt/Grok-Usage-Streamcontroller/pull/4), [#5](https://github.com/ENjxzlt/Grok-Usage-Streamcontroller/pull/5), [#6](https://github.com/ENjxzlt/Grok-Usage-Streamcontroller/pull/6)): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,7 @@ | |||
| 2 | 2 | "author": "ENjxzlt", | |
| 3 | 3 | "release-notes": { | |
| 4 | 4 | "path": "CHANGELOG.md", | |
| 5 | - "version": "1.0.2" | ||
| 5 | + "version": "1.0.3" | ||
| 6 | 6 | }, | |
| 7 | 7 | "credits": {}, | |
| 8 | 8 | "comments": {}, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -332,15 +332,18 @@ def _settings(self) -> dict: | |||
| 332 | 332 | def get_config_rows(self) -> list: | |
| 333 | 333 | settings = self._settings() | |
| 334 | 334 | ||
| 335 | - log_path_row = Adw.EntryRow( | ||
| 336 | - title=self.tr("grok-usage.log-path.title"), subtitle=self.tr("grok-usage.log-path.subtitle") | ||
| 337 | - ) | ||
| 335 | + # AdwEntryRow (unlike AdwActionRow/AdwComboRow below) has no "subtitle" | ||
| 336 | + # property - passing one as a construct kwarg crashes with | ||
| 337 | + # "TypeError: gobject 'AdwEntryRow' doesn't support property | ||
| 338 | + # 'subtitle'" as soon as the settings panel is opened. Set it as a | ||
| 339 | + # tooltip instead so the hint isn't lost entirely. | ||
| 340 | + log_path_row = Adw.EntryRow(title=self.tr("grok-usage.log-path.title")) | ||
| 341 | + log_path_row.set_tooltip_text(self.tr("grok-usage.log-path.subtitle")) | ||
| 338 | 342 | log_path_row.set_text(str(settings.get("log_path", DEFAULT_LOG_PATH))) | |
| 339 | 343 | log_path_row.connect("notify::text", self._on_log_path_changed) | |
| 340 | 344 | ||
| 341 | - sessions_dir_row = Adw.EntryRow( | ||
| 342 | - title=self.tr("grok-usage.sessions-dir.title"), subtitle=self.tr("grok-usage.sessions-dir.subtitle") | ||
| 343 | - ) | ||
| 345 | + sessions_dir_row = Adw.EntryRow(title=self.tr("grok-usage.sessions-dir.title")) | ||
| 346 | + sessions_dir_row.set_tooltip_text(self.tr("grok-usage.sessions-dir.subtitle")) | ||
| 344 | 347 | sessions_dir_row.set_text(str(settings.get("sessions_dir", DEFAULT_SESSIONS_DIR))) | |
| 345 | 348 | sessions_dir_row.connect("notify::text", self._on_sessions_dir_changed) | |
| 346 | 349 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -47,6 +47,6 @@ def __init__(self): | |||
| 47 | 47 | self.register( | |
| 48 | 48 | plugin_name=self.lm.get("plugin.name"), | |
| 49 | 49 | github_repo="https://github.com/ENjxzlt/Grok-Usage-Streamcontroller", | |
| 50 | - plugin_version="1.0.2", | ||
| 50 | + plugin_version="1.0.3", | ||
| 51 | 51 | app_version="1.5.0-beta", | |
| 52 | 52 | ) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | { | |
| 2 | - "version": "1.0.2", | ||
| 2 | + "version": "1.0.3", | ||
| 3 | 3 | "thumbnail": "store/Thumbnail.png", | |
| 4 | 4 | "id": "dev_enjxz_GrokUsage", | |
| 5 | 5 | "name": "Grok Usage", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments