GNOME Bugzilla – Bug 584131
Please default to .ui for GtkBuilder projects
Last modified: 2018-03-26 15:08:37 UTC
Hi I'll attach a patch to default to .ui extension instead of .glade for GtkBuilder projects; thanks for considering. Bye
Created attachment 135500 [details] [review] Default to .ui when saving GtkBuilder projects
The implicit bug reported here is that gtkbuilder files should have a default .ui extension. Apparently, no public stance about an official extension name for gtkbuilder interface files has been made so it would be good to have some public discussion before making the change. In favour of changing the default extension name to ".ui" would be: - the .ui extension is being promoted by the Gnome devels in a gnome goal and being used by many developers as a "de facto" standard. - converted files to the new gtkbuilder format would not overwrite old libglade files when doing automated conversions without needing to provide a new name - new format files would be easily distinguishable from libgblade ones - having a distinct extension name would make transition efforts more visible and easier to evaluate - build scripts would benefit from a clear standard - even if the file format can be deduced from the file contents and glade can handle fine both of them, each version is targeted to be used by different libraries, so it's not like a version change in a same library (a gtkbuilder format change wouldn't sanely force an extension name change). Against changing the default extension: - no public decision has been made about it - when files change their format in glade the extension should probably change - the gtkbuilderconvert script should probably use that extension too - format is already specified in the file data, so there's no strict need for a redundant extension
Using the .ui extension may be problematic as Qt already uses it for interface files. One possible alternative may be ".gui"
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glade/issues/39.