FS#23029 - [gitg] Settings schema 'org.gnome.gitg.state.window' is not installed at launch

Attached to Project: Community Packages
Opened by Nuno Araujo (nuno) - Thursday, 24 February 2011, 11:55 GMT
Last edited by Brad Fanella (cesura) - Thursday, 24 February 2011, 22:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Brad Fanella (cesura)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
When launching gitg from a terminal, a "Settings schema 'org.gnome.gitg.state.window' is not installed" error is displayed.

By adding the following line to the post_install and post_remove hooks of gitg.install file the problem seems to be solved:
usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas

Additional info:
Affects gitg-0.1.0-1

Steps to reproduce:
Install gitg-0.1.0-1
Open a terminal
Launch gitg
The error is displayed.
This task depends upon

Closed by  Brad Fanella (cesura)
Thursday, 24 February 2011, 22:20 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Thursday, 24 February 2011, 12:06 GMT
indeed. all packages that have schemas in usr/share/glib-2.0/schemas should run at post_install, post_upgrade, post_remove

usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas

Loading...