summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-01-18 18:02:14 +0000
committerGlynn Foster <gman@src.gnome.org>2003-01-18 18:02:14 +0000
commit18760d406d64f71f7ca6fec5a7a01978418fa8f5 (patch)
tree9cdc81d02fc1eae8bb380daa33af2706ba8d17a1 /src/main.c
parent10e683c2e7fa6b71ce7baaa15185477d544d885f (diff)
Only some examples and some screenshots and we're mostly done for a first
2003-01-18 Glynn Foster <glynn.foster@sun.com> * help/C/zenity.xml: Only some examples and some screenshots and we're mostly done for a first draft. * src/calendar.c: Don't set the text if it's NULL. * src/main.c: Swap the order of the commandline dialogs so that we're alphabetical. * src/zenity.glade: Add some default strings.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/main.c b/src/main.c
index 58bb13e..0e76247 100644
--- a/src/main.c
+++ b/src/main.c
@@ -137,21 +137,21 @@ struct poptOption options[] = {
NULL
},
{
- "info",
+ "file-selection",
'\0',
POPT_ARG_NONE,
NULL,
- OPTION_INFO,
- N_("Display info dialog"),
+ OPTION_FILE,
+ N_("Display file selection dialog"),
NULL
},
{
- "file-selection",
+ "info",
'\0',
POPT_ARG_NONE,
NULL,
- OPTION_FILE,
- N_("Display file selection dialog"),
+ OPTION_INFO,
+ N_("Display info dialog"),
NULL
},
{
@@ -614,27 +614,27 @@ struct poptOption application_options[] = {
NULL,
'\0',
POPT_ARG_INCLUDE_TABLE,
- info_options,
+ error_options,
0,
- N_("Info options"),
+ N_("Error options"),
NULL
},
{
NULL,
'\0',
POPT_ARG_INCLUDE_TABLE,
- error_options,
+ file_selection_options,
0,
- N_("Error options"),
+ N_("File selection options"),
NULL
},
{
NULL,
'\0',
POPT_ARG_INCLUDE_TABLE,
- file_selection_options,
+ info_options,
0,
- N_("File selection options"),
+ N_("Info options"),
NULL
},
{