diff options
author | Glynn Foster <glynn.foster@sun.com> | 2003-05-07 01:08:08 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2003-05-07 01:08:08 +0000 |
commit | a08343daf90e9425c85c1138cf6eea90addafb11 (patch) | |
tree | e10814f4ce8d30bcba923f8c4f8344d7e2e8ca1c /src | |
parent | Fix up the stdin list dialog stuff. Updated to actually include the (diff) | |
download | zenity-a08343daf90e9425c85c1138cf6eea90addafb11.tar.gz zenity-a08343daf90e9425c85c1138cf6eea90addafb11.tar.bz2 zenity-a08343daf90e9425c85c1138cf6eea90addafb11.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 5 | ||||
-rw-r--r-- | src/tree.c | 10 | ||||
-rw-r--r-- | src/zenity.glade | 4 |
3 files changed, 6 insertions, 13 deletions
@@ -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: @@ -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"); diff --git a/src/zenity.glade b/src/zenity.glade index 8a4999cd..482f1527 100644 --- a/src/zenity.glade +++ b/src/zenity.glade @@ -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> |