complete list dialog options with respective arguments (Fixes bug
2006-12-04 Lucas Rocha <lucasr@gnome.org> * src/option.c: complete list dialog options with respective arguments (Fixes bug #353320). Patch from Glynn Foster <glynn.foster@sun.com>.
This commit is contained in:
parent
72e5594825
commit
7a58e9e4c7
@ -1,3 +1,8 @@
|
|||||||
|
2006-12-04 Lucas Rocha <lucasr@gnome.org>
|
||||||
|
|
||||||
|
* src/option.c: complete list dialog options with respective arguments
|
||||||
|
(Fixes bug #353320). Patch from Glynn Foster <glynn.foster@sun.com>.
|
||||||
|
|
||||||
2006-12-04 Lucas Rocha <lucasr@gnome.org>
|
2006-12-04 Lucas Rocha <lucasr@gnome.org>
|
||||||
|
|
||||||
* src/zenity.glade: make dialog text selectable on message dialogs
|
* src/zenity.glade: make dialog text selectable on message dialogs
|
||||||
|
48
src/option.c
48
src/option.c
@ -165,7 +165,7 @@ static GOptionEntry calendar_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_general_dialog_text,
|
&zenity_general_dialog_text,
|
||||||
N_("Set the dialog text"),
|
N_("Set the dialog text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"day",
|
"day",
|
||||||
@ -174,7 +174,7 @@ static GOptionEntry calendar_options[] = {
|
|||||||
G_OPTION_ARG_INT,
|
G_OPTION_ARG_INT,
|
||||||
&zenity_calendar_day,
|
&zenity_calendar_day,
|
||||||
N_("Set the calendar day"),
|
N_("Set the calendar day"),
|
||||||
NULL
|
N_("DAY")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"month",
|
"month",
|
||||||
@ -183,7 +183,7 @@ static GOptionEntry calendar_options[] = {
|
|||||||
G_OPTION_ARG_INT,
|
G_OPTION_ARG_INT,
|
||||||
&zenity_calendar_month,
|
&zenity_calendar_month,
|
||||||
N_("Set the calendar month"),
|
N_("Set the calendar month"),
|
||||||
NULL
|
N_("MONTH")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"year",
|
"year",
|
||||||
@ -192,7 +192,7 @@ static GOptionEntry calendar_options[] = {
|
|||||||
G_OPTION_ARG_INT,
|
G_OPTION_ARG_INT,
|
||||||
&zenity_calendar_year,
|
&zenity_calendar_year,
|
||||||
N_("Set the calendar year"),
|
N_("Set the calendar year"),
|
||||||
NULL
|
N_("YEAR")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"date-format",
|
"date-format",
|
||||||
@ -201,7 +201,7 @@ static GOptionEntry calendar_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_calendar_date_format,
|
&zenity_calendar_date_format,
|
||||||
N_("Set the format for the returned date"),
|
N_("Set the format for the returned date"),
|
||||||
NULL
|
N_("PATTERN")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
NULL
|
NULL
|
||||||
@ -225,7 +225,7 @@ static GOptionEntry entry_options[] = {
|
|||||||
G_OPTION_ARG_STRING | G_OPTION_FLAG_NOALIAS,
|
G_OPTION_ARG_STRING | G_OPTION_FLAG_NOALIAS,
|
||||||
&zenity_general_dialog_text,
|
&zenity_general_dialog_text,
|
||||||
N_("Set the dialog text"),
|
N_("Set the dialog text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entry-text",
|
"entry-text",
|
||||||
@ -234,7 +234,7 @@ static GOptionEntry entry_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_entry_entry_text,
|
&zenity_entry_entry_text,
|
||||||
N_("Set the entry text"),
|
N_("Set the entry text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hide-text",
|
"hide-text",
|
||||||
@ -243,7 +243,7 @@ static GOptionEntry entry_options[] = {
|
|||||||
G_OPTION_ARG_NONE,
|
G_OPTION_ARG_NONE,
|
||||||
&zenity_entry_hide_text,
|
&zenity_entry_hide_text,
|
||||||
N_("Hide the entry text"),
|
N_("Hide the entry text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
NULL
|
NULL
|
||||||
@ -268,7 +268,7 @@ static GOptionEntry error_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_general_dialog_text,
|
&zenity_general_dialog_text,
|
||||||
N_("Set the dialog text"),
|
N_("Set the dialog text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"no-wrap",
|
"no-wrap",
|
||||||
@ -301,7 +301,7 @@ static GOptionEntry info_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_general_dialog_text,
|
&zenity_general_dialog_text,
|
||||||
N_("Set the dialog text"),
|
N_("Set the dialog text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"no-wrap",
|
"no-wrap",
|
||||||
@ -403,7 +403,7 @@ static GOptionEntry list_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_general_dialog_text,
|
&zenity_general_dialog_text,
|
||||||
N_("Set the dialog text"),
|
N_("Set the dialog text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"column",
|
"column",
|
||||||
@ -412,7 +412,7 @@ static GOptionEntry list_options[] = {
|
|||||||
G_OPTION_ARG_STRING_ARRAY,
|
G_OPTION_ARG_STRING_ARRAY,
|
||||||
&zenity_list_columns,
|
&zenity_list_columns,
|
||||||
N_("Set the column header"),
|
N_("Set the column header"),
|
||||||
NULL
|
N_("COLUMN")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checklist",
|
"checklist",
|
||||||
@ -466,7 +466,7 @@ static GOptionEntry list_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_list_print_column,
|
&zenity_list_print_column,
|
||||||
N_("Print a specific column (Default is 1. 'ALL' can be used to print all columns)"),
|
N_("Print a specific column (Default is 1. 'ALL' can be used to print all columns)"),
|
||||||
NULL
|
N_("NUMBER")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hide-column",
|
"hide-column",
|
||||||
@ -475,7 +475,7 @@ static GOptionEntry list_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_list_hide_column,
|
&zenity_list_hide_column,
|
||||||
N_("Hide a specific column"),
|
N_("Hide a specific column"),
|
||||||
NULL
|
N_("NUMBER")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
NULL
|
NULL
|
||||||
@ -499,7 +499,7 @@ static GOptionEntry notification_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_general_dialog_text,
|
&zenity_general_dialog_text,
|
||||||
N_("Set the notification text"),
|
N_("Set the notification text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"listen",
|
"listen",
|
||||||
@ -532,7 +532,7 @@ static GOptionEntry progress_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_general_dialog_text,
|
&zenity_general_dialog_text,
|
||||||
N_("Set the dialog text"),
|
N_("Set the dialog text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"percentage",
|
"percentage",
|
||||||
@ -541,7 +541,7 @@ static GOptionEntry progress_options[] = {
|
|||||||
G_OPTION_ARG_INT,
|
G_OPTION_ARG_INT,
|
||||||
&zenity_progress_percentage,
|
&zenity_progress_percentage,
|
||||||
N_("Set initial percentage"),
|
N_("Set initial percentage"),
|
||||||
NULL
|
N_("PERCENTAGE")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pulsate",
|
"pulsate",
|
||||||
@ -594,7 +594,7 @@ static GOptionEntry question_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_general_dialog_text,
|
&zenity_general_dialog_text,
|
||||||
N_("Set the dialog text"),
|
N_("Set the dialog text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"no-wrap",
|
"no-wrap",
|
||||||
@ -660,7 +660,7 @@ static GOptionEntry warning_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_general_dialog_text,
|
&zenity_general_dialog_text,
|
||||||
N_("Set the dialog text"),
|
N_("Set the dialog text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"no-wrap",
|
"no-wrap",
|
||||||
@ -693,7 +693,7 @@ static GOptionEntry scale_options[] = {
|
|||||||
G_OPTION_ARG_STRING,
|
G_OPTION_ARG_STRING,
|
||||||
&zenity_general_dialog_text,
|
&zenity_general_dialog_text,
|
||||||
N_("Set the dialog text"),
|
N_("Set the dialog text"),
|
||||||
NULL
|
N_("TEXT")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"value",
|
"value",
|
||||||
@ -702,7 +702,7 @@ static GOptionEntry scale_options[] = {
|
|||||||
G_OPTION_ARG_INT,
|
G_OPTION_ARG_INT,
|
||||||
&zenity_scale_value,
|
&zenity_scale_value,
|
||||||
N_("Set initial value"),
|
N_("Set initial value"),
|
||||||
NULL
|
N_("VALUE")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"min-value",
|
"min-value",
|
||||||
@ -711,7 +711,7 @@ static GOptionEntry scale_options[] = {
|
|||||||
G_OPTION_ARG_INT,
|
G_OPTION_ARG_INT,
|
||||||
&zenity_scale_min_value,
|
&zenity_scale_min_value,
|
||||||
N_("Set minimum value"),
|
N_("Set minimum value"),
|
||||||
NULL
|
N_("VALUE")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"max-value",
|
"max-value",
|
||||||
@ -720,7 +720,7 @@ static GOptionEntry scale_options[] = {
|
|||||||
G_OPTION_ARG_INT,
|
G_OPTION_ARG_INT,
|
||||||
&zenity_scale_max_value,
|
&zenity_scale_max_value,
|
||||||
N_("Set maximum value"),
|
N_("Set maximum value"),
|
||||||
NULL
|
N_("VALUE")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"step",
|
"step",
|
||||||
@ -729,7 +729,7 @@ static GOptionEntry scale_options[] = {
|
|||||||
G_OPTION_ARG_INT,
|
G_OPTION_ARG_INT,
|
||||||
&zenity_scale_step,
|
&zenity_scale_step,
|
||||||
N_("Set step size"),
|
N_("Set step size"),
|
||||||
NULL
|
N_("VALUE")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"print-partial",
|
"print-partial",
|
||||||
|
Reference in New Issue
Block a user