Add the same note about applying indentation settings on currently open documents in the project preferences as there already is in the main preferences dialog.
Based on a suggestion from @elextr: https://lists.geany.org/pipermail/users/2017-October/010492.html You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1650
-- Commit Summary --
* Add a note for applying the indent settings in the project preferences
-- File Changes --
M data/geany.glade (54)
-- Patch Links --
https://github.com/geany/geany/pull/1650.patch https://github.com/geany/geany/pull/1650.diff
elextr approved this pull request.
LGBI, can't test for a few days unless someone beats me to it.
b4n commented on this pull request.
@@ -8739,13 +8739,31 @@
<placeholder/> </child> <child> + <object class="GtkLabel" id="label26"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Note: To apply these settings to all currently open documents, use <i>Project->Apply Default Indentation</i>.</property> + <property name="use_markup">True</property> + <property name="wrap">True</property> + <property name="width_chars">64</property>
This works around the [awfully buggy sizing code from GTK3's wrap-able labels](https://bugzilla.gnome.org/show_bug.cgi?id=657621) (the reason why we do have [`GeanyWrapLabel` on GTK3](/geany/geany/commit/d6fba7ac8244ebf077e76468a5072552fa02aa89), but it's not (currently) usable from Glade)
codebrainz commented on this pull request.
I would like to see this not just for indent settings but all settings which are confusingly overridden by project settings (ie. Files and Editor).
Also it would be cool to give new widgets meaningful names instead of following the trend of auto-named stuff (ie. label126).
I haven't tested this PR, but I'm OK with it, and doing above separately.
Merged #1650.
I would like to see this not just for indent settings but all settings which are confusingly overridden by project settings (ie. Files and Editor).
Yes, but this is slightly different as it has nothing to do with project settings. Well, it's also affected, but it's a different problem (although similar)
Also it would be cool to give new widgets meaningful names instead of following the trend of auto-named stuff (ie. label126).
Makes sense, although the labels are not very interesting. But yeah I guess it could be nice indeed.
github-comments@lists.geany.org