Update commandline error message, needs updating of translations. Remove

2003-05-06  Glynn Foster  <glynn.foster@sun.com>

	* src/main.c: Update commandline error message, needs updating
	of translations.
	* src/tree.c: Remove some commented out code.
	* src/zenity.glade: Updated error and info dialogs to do
	wrapping.
This commit is contained in:
Glynn Foster 2003-05-07 01:08:08 +00:00 committed by Glynn Foster
parent d5549deab3
commit a08343daf9
4 changed files with 14 additions and 13 deletions

View File

@ -1,3 +1,11 @@
2003-05-06 Glynn Foster <glynn.foster@sun.com>
* src/main.c: Update commandline error message, needs updating
of translations.
* src/tree.c: Remove some commented out code.
* src/zenity.glade: Updated error and info dialogs to do
wrapping.
2003-05-06 Glynn Foster <glynn.foster@sun.com>
* src/tree.c: Fix up the stdin list dialog stuff.

View File

@ -1000,18 +1000,19 @@ main (gint argc, gchar **argv) {
/*nothing*/;
if (nextopt != -1) {
g_printerr (_("%s in an invalid option for this dialog. See zenity --help for more details\n"),
g_printerr (_("%s in an invalid option. See zenity --help for more details\n"),
poptBadOption (ctx, 0));
zenity_free_parsing_options ();
exit (-1);
}
gtk_init (&argc, &argv);
/*
if (argc < 2) {
g_printerr (_("You must specify more arguments. See zenity --help for more details\n"));
zenity_free_parsing_options ();
exit (-1);
}
} */
switch (results->mode) {
case MODE_CALENDAR:

View File

@ -287,19 +287,11 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_data)
n_columns = g_slist_length (tree_data->columns);
if (n_columns == 0) {
g_printerr (_("No column titles specified for --list\n"));
g_printerr (_("No column titles specified for List dialog.\n"));
data->exit_code = -1;
return;
}
/*
if (tree_data->data == NULL) {
g_printerr (_("No contents specified for --list\n"));
data->exit_code = -1;
return;
}
*/
glade_xml_signal_autoconnect (glade_dialog);
dialog = glade_xml_get_widget (glade_dialog, "zenity_tree_dialog");

View File

@ -815,7 +815,7 @@
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
@ -1058,7 +1058,7 @@
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>