Re: GtkApplication and argc/arv

2011-03-02 Thread Emmanuele Bassi
On 2011-03-03 at 07:18, Murray Cumming wrote: > On Wed, 2011-03-02 at 10:07 +, Emmanuele Bassi wrote: > [snip] > > > Thanks for the suggestion, but why wouldn't you use the > > > GApplication::local_command_line vfunc for local command-line parsing? > > > http://library.gnome.org/devel/gio/unst

Re: GtkApplication and argc/arv

2011-03-02 Thread Murray Cumming
On Wed, 2011-03-02 at 10:07 +, Emmanuele Bassi wrote: [snip] > > Thanks for the suggestion, but why wouldn't you use the > > GApplication::local_command_line vfunc for local command-line parsing? > > http://library.gnome.org/devel/gio/unstable/GApplication.html#GApplicationClass.local-command-l

Re: Sliders and marks

2011-03-02 Thread Matthias Clasen
On Wed, Mar 2, 2011 at 9:02 AM, Bastien Nocera wrote: > On Wed, 2011-03-02 at 15:22 +0200, Stefan Kost wrote: > So we'd need a way to export the marks positions to the engine, and > adding style classes doesn't scale (we'd need to add 4 separate ones for > this to work). I think you can get away

Re: Sliders and marks

2011-03-02 Thread Bastien Nocera
On Wed, 2011-03-02 at 15:22 +0200, Stefan Kost wrote: > Am 02.03.2011 15:11, schrieb Bastien Nocera: > > Heya, > > > > Looking at bug https://bugzilla.gnome.org/show_bug.cgi?id=643487 and the > > original https://bugzilla.gnome.org/show_bug.cgi?id=643486 we figured > > that it would be best for sl

Re: Sliders and marks

2011-03-02 Thread Stefan Kost
Am 02.03.2011 15:11, schrieb Bastien Nocera: > Heya, > > Looking at bug https://bugzilla.gnome.org/show_bug.cgi?id=643487 and the > original https://bugzilla.gnome.org/show_bug.cgi?id=643486 we figured > that it would be best for sliders to point to their marks instead of > trying to add labels on

Sliders and marks

2011-03-02 Thread Bastien Nocera
Heya, Looking at bug https://bugzilla.gnome.org/show_bug.cgi?id=643487 and the original https://bugzilla.gnome.org/show_bug.cgi?id=643486 we figured that it would be best for sliders to point to their marks instead of trying to add labels on the end of scales. This is Jakub's mockup: http://gitor

Re: GtkApplication and argc/arv

2011-03-02 Thread Emmanuele Bassi
On 2011-03-02 at 09:30, Murray Cumming wrote: > > • you can defer all command line parsing to the remote instance, by > > passing the G_APPLICATION_HANDLES_COMMAND_LINE flag to the > > constructor and by connecting to the ::command-line signal; and > > example is in the Dictionary: >

Re: GtkApplication and argc/arv

2011-03-02 Thread Alexandre Mazari
On Wed, Mar 2, 2011 at 9:30 AM, Murray Cumming wrote: > On Thu, 2011-02-24 at 23:41 +, Emmanuele Bassi wrote: >> On 2011-02-21 at 21:57, Murray Cumming wrote: >> >> I'll leave the other points, as they've received a reply already. >> >> > 2. >> > How should we use GOptionContext to parse comma

Re: GtkApplication and argc/arv

2011-03-02 Thread Murray Cumming
On Thu, 2011-02-24 at 23:41 +, Emmanuele Bassi wrote: > On 2011-02-21 at 21:57, Murray Cumming wrote: > > I'll leave the other points, as they've received a reply already. > > > 2. > > How should we use GOptionContext to parse command line arguments from > > argc/argv when using GtkApplicatio