Patch by: Dennis Cranston <dennis_cranston@yahoo.com>
2007-07-25 Thomas Wood <thos@gnome.org> Patch by: Dennis Cranston <dennis_cranston@yahoo.com> * gnome-wp-item.c: (gnome_wp_item_update_description):Simplify tooltip descriptions. Change "Location" to "Folder". Do not overuse bold text. Closes bug 460111. svn path=/trunk/; revision=7886
This commit is contained in:
parent
016dabda52
commit
2a20516726
2 changed files with 13 additions and 6 deletions
|
@ -1,3 +1,12 @@
|
|||
2007-07-25 Thomas Wood <thos@gnome.org>
|
||||
|
||||
Patch by: Dennis Cranston <dennis_cranston@yahoo.com>
|
||||
|
||||
* gnome-wp-item.c: (gnome_wp_item_update_description):Simplify tooltip
|
||||
descriptions. Change "Location" to "Folder". Do not overuse bold text.
|
||||
Closes bug 460111.
|
||||
|
||||
|
||||
2007-07-25 Denis Washington <denisw@svn.gnome.org>
|
||||
|
||||
* appearance-style.c: (prepare_list):
|
||||
|
|
|
@ -357,17 +357,15 @@ void gnome_wp_item_update_description (GnomeWPItem * item) {
|
|||
item->description = g_strdup (item->name);
|
||||
} else {
|
||||
item->description =
|
||||
g_markup_printf_escaped (_("<big><b>%s</b></big>\n"
|
||||
"<b>Width:</b> %d %s\n"
|
||||
"<b>Height:</b> %d %s\n"
|
||||
"<b>Type:</b> %s\n"
|
||||
"<b>Location:</b> %s"),
|
||||
g_markup_printf_escaped (_("<b>%s</b>\n"
|
||||
"%s, %d %s by %d %s\n"
|
||||
"Folder: %s"),
|
||||
item->name,
|
||||
gnome_vfs_mime_get_description (item->fileinfo->mime_type),
|
||||
item->width,
|
||||
ngettext ("pixel", "pixels", item->width),
|
||||
item->height,
|
||||
ngettext ("pixel", "pixels", item->height),
|
||||
gnome_vfs_mime_get_description (item->fileinfo->mime_type),
|
||||
g_path_get_dirname (item->filename));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue