Command-line options - help wanted!
- From: Bruno Boaventura <brunoboaventura gmail com>
- To: eog mailing list <eog-list gnome org>
- Subject: Command-line options - help wanted!
- Date: Tue, 28 Nov 2006 00:47:43 -0300
Hi, people!
I have been added these command line options in shell/main.c :
{ "fullscreen", 'f', 0, G_OPTION_ARG_NONE, &fullscreen, N_("Open in
fullscreen mode"), NULL },
{ "disable-image-collection", 'd', 0, G_OPTION_ARG_NONE,
&img_collection, N_("Disable image collection "), NULL },
{ "slide-show", 's', 0, G_OPTION_ARG_NONE, &slide_show, N_("Open in
slide show mode"), NULL },
And... I need a help of you.
1. My choice was "fullscreen"/'f', "disable-image-collection"/'d' and
"slide-show"/'s'. Best suggestions?
2. How to get the values of GOptions?
3. How to make the window fullscreen? I tried to use eog-window.c
functions in eog-application.c (in window creation), but all fullscreen
functions are static, and the window mode (priv->mode) is not accessible
because its private :)
Cheers,
Bruno Boaventura
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]