From 22625f8b16e1dc38be50cc2e869780b74e7f6891 Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Tue, 28 Jan 2003 14:58:30 +0000 Subject: Don't display the translators tab unless there is stuff to show. 2003-01-28 Glynn Foster * 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. --- src/about.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/about.c') 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), -- cgit v1.2.3-54-g00ecf