After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 584131 - Please default to .ui for GtkBuilder projects
Please default to .ui for GtkBuilder projects
Status: RESOLVED OBSOLETE
Product: glade
Classification: Applications
Component: general
3.6.x
Other All
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on: 590325
Blocks:
 
 
Reported: 2009-05-28 15:01 UTC by Loïc Minier
Modified: 2018-03-26 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Default to .ui when saving GtkBuilder projects (951 bytes, patch)
2009-05-28 15:01 UTC, Loïc Minier
none Details | Review

Description Loïc Minier 2009-05-28 15:01:10 UTC
Hi

I'll attach a patch to default to .ui extension instead of .glade for GtkBuilder projects; thanks for considering.

Bye
Comment 1 Loïc Minier 2009-05-28 15:01:42 UTC
Created attachment 135500 [details] [review]
Default to .ui when saving GtkBuilder projects
Comment 2 Rafael Villar Burke 2009-07-30 21:30:07 UTC
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


Comment 3 Rafael Villar Burke 2009-07-30 21:45:25 UTC
Using the .ui extension may be problematic as Qt already uses it for interface files. One possible alternative may be ".gui"
Comment 4 GNOME Infrastructure Team 2018-03-26 15:08:37 UTC
-- 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.