gnome-weather:wip/gjs-experiments

Last commit made on 2013-03-09
Get this branch:
git clone -b wip/gjs-experiments https://git.launchpad.net/gnome-weather

Branch merges

Branch information

Name:
wip/gjs-experiments
Repository:
lp:gnome-weather

Recent commits

3fde865... by Paolo Borelli <email address hidden>

Use the ui file for the New Location dialog

Also rework the dialog slightly (a proper label, larger entry etc)

https://bugzilla.gnome.org/show_bug.cgi?id=695457

988f90d... by Giovanni Campagna <email address hidden>

Util: further improve GtkBuilder

Allow embedding small JS snippets directly in GtkBuilder, in the form
of special signal handlers.

83d743a... by Paolo Borelli <email address hidden>

Use a .ui file for the main window

This starts using a ui file for the toolbar an its buttons.

https://bugzilla.gnome.org/show_bug.cgi?id=695457

7650e80... by Giovanni Campagna <email address hidden>

Util: improve GtkBuilder loader

Accept an optional scope object that is exposed to GtkBuilder as 'scope'.
This allows to use <external-object> to have UI definitions that set
properties of JS derived classes.
Additionally, support connecting signals, using property names on the
scope object.

(XXX: the external-object thing is in the GTK docs, but I saw no code for it...)

af0f62d... by Giovanni Campagna <email address hidden>

Util: deal with resources, not path names

Now that we have resource support in package, it's reasonable to expect
that UI and style lives in resources, so we should optimize for that in Util.

3ea9937... by Giovanni Campagna <email address hidden>

Move resource loading to package

Resource loading is useful for all applications, so let's move there
so we can remember of it when package is moved into gjs.

d231612... by Giovanni Campagna <email address hidden>

Temporarily import package and params modules

This allows gnome-weather to run without the new gjs API.
Unfortunately, as a side effect you need to install the application
to try it, running gnome-weather from the source tree no longer works.

Cherry-picked to master because it is not clear if the new gjs
API will be ever merged upstream.

71660d1... by Paolo Borelli <email address hidden>

Add a "new" action to the app menu

This way it is possible to use ctrl+N to show the dialog. It also
refactors the code to move the "about" action to the window, so that
we do not need to proxy it manually.

https://bugzilla.gnome.org/show_bug.cgi?id=695452

305c1fb... by Matej Urbančič

Updated Slovenian translation

de3b91b... by Daniel Mustieles

Updated Spanish translation