comparison src/gtkplugin.c @ 11771:08b1dd8aa11c

[gaim-migrate @ 14062] I don't think the plugin title needs to be shown in the details section, since it's shown in the list above. Also, I'm changing the tabbing on the Website line; if that breaks the layout for others, feel free to revert, but this makes things line up for me. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 23 Oct 2005 23:04:31 +0000
parents d353f31d17a9
children 400b802cd62b
comparison
equal deleted inserted replaced
11770:d353f31d17a9 11771:08b1dd8aa11c
189 g_markup_escape_text(_(plug->info->author), -1) : NULL; 189 g_markup_escape_text(_(plug->info->author), -1) : NULL;
190 pweb = (plug->info->homepage) ? 190 pweb = (plug->info->homepage) ?
191 g_markup_escape_text(_(plug->info->homepage), -1) : NULL; 191 g_markup_escape_text(_(plug->info->homepage), -1) : NULL;
192 buf = g_strdup_printf( 192 buf = g_strdup_printf(
193 #ifndef _WIN32 193 #ifndef _WIN32
194 _("<span size=\"larger\">%s %s</span>\n\n" 194 _("%s%s"
195 "%s%s"
196 "<span weight=\"bold\">Written by:</span>\t%s\n" 195 "<span weight=\"bold\">Written by:</span>\t%s\n"
197 "<span weight=\"bold\">Web site:</span>\t\t%s\n" 196 "<span weight=\"bold\">Web site:</span>\t%s\n"
198 "<span weight=\"bold\">File name:</span>\t%s"), 197 "<span weight=\"bold\">File name:</span>\t%s"),
199 #else 198 #else
200 _("<span size=\"larger\">%s %s</span>\n\n" 199 _("<span size=\"larger\">%s %s</span>\n\n"
201 "%s%s" 200 "%s%s"
202 "<span weight=\"bold\">Written by:</span> %s\n" 201 "<span weight=\"bold\">Written by:</span> %s\n"
203 "<span weight=\"bold\">Web site:</span> %s\n" 202 "<span weight=\"bold\">Web site:</span> %s\n"
204 "<span weight=\"bold\">File name:</span> %s"), 203 "<span weight=\"bold\">File name:</span> %s"),
205 #endif 204 #endif
206 pname, plug->info->version, pdesc ? pdesc : "", pdesc ? "\n\n" : "", 205 pdesc ? pdesc : "", pdesc ? "\n\n" : "",
207 pauth ? pauth : "", pweb ? pweb : "", plug->path); 206 pauth ? pauth : "", pweb ? pweb : "", plug->path);
208 207
209 gtk_widget_set_sensitive(pref_button, 208 gtk_widget_set_sensitive(pref_button,
210 plug->info->ui_info != NULL && 209 plug->info->ui_info != NULL &&
211 GAIM_GTK_PLUGIN_UI_INFO(plug)->get_config_frame != NULL); 210 GAIM_GTK_PLUGIN_UI_INFO(plug)->get_config_frame != NULL);