diff options
author | Glynn Foster <glynn.foster@sun.com> | 2003-01-28 14:58:30 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2003-01-28 14:58:30 +0000 |
commit | 22625f8b16e1dc38be50cc2e869780b74e7f6891 (patch) | |
tree | 22350d18e411b9f0ce5cb6eadff9f5d2b0af4d3b /src/about.c | |
parent | 2c9e227432083a7fbca9538a990de7bc55402934 (diff) |
Don't display the translators tab unless there is stuff to show.
2003-01-28 Glynn Foster <glynn.foster@sun.com>
* src/about.c: Don't display the translators tab
unless there is stuff to show.
* src/entry.c: Add sanity NULL checking.
* src/tree.c, src/zenity.h: Add support for a new
--editable option.
* src/main.c: Add support for new --editable option for
the List dialog. Merge in the list of Gtk+ options into
the popt table - ripped this from libbonoboui, thanks to
James for pointing this out.
* src/zenity.glade: Make the translatable strings less arse.
* TODO: Update accordingly.
Diffstat (limited to 'src/about.c')
-rw-r--r-- | src/about.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/about.c b/src/about.c index 67e9e97..5e7003f 100644 --- a/src/about.c +++ b/src/about.c @@ -72,7 +72,6 @@ zenity_about (ZenityData *data) translator_credits = _("translator_credits"); - glade_xml_signal_autoconnect (glade_dialog); dialog = glade_xml_get_widget (glade_dialog, "zenity_about_dialog"); @@ -222,7 +221,7 @@ zenity_about_display_credits_dialog (void) zenity_about_update_author_label (label); } - if (translator_credits != NULL) { + if (translator_credits != NULL && strcmp (translator_credits, "translator_credits") != 0) { label = zenity_about_create_label (); sw = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), |