nautilus r14482 - in trunk: . libnautilus-private
- From: cneumair svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14482 - in trunk: . libnautilus-private
- Date: Sat, 16 Aug 2008 18:29:15 +0000 (UTC)
Author: cneumair
Date: Sat Aug 16 18:29:15 2008
New Revision: 14482
URL: http://svn.gnome.org/viewvc/nautilus?rev=14482&view=rev
Log:
2008-08-16 Christian Neumair <cneumair gnome org>
* libnautilus-private/nautilus-icon-canvas-item.c
(draw_or_measure_label_text), (nautilus_icon_canvas_item_event):
Also display whole icon text when hovering with the mouse over the
icon.
Modified:
trunk/ChangeLog
trunk/libnautilus-private/nautilus-icon-canvas-item.c
Modified: trunk/libnautilus-private/nautilus-icon-canvas-item.c
==============================================================================
--- trunk/libnautilus-private/nautilus-icon-canvas-item.c (original)
+++ trunk/libnautilus-private/nautilus-icon-canvas-item.c Sat Aug 16 18:29:15 2008
@@ -1096,6 +1096,7 @@
if (have_editable) {
editable_layout = get_label_layout (&details->editable_text_layout, item, details->editable_text);
if (needs_highlight ||
+ details->is_prelit ||
container->details->label_position == NAUTILUS_ICON_LABEL_POSITION_BESIDE) {
/* VOODOO-TODO, cf. compute_text_rectangle() */
pango_layout_set_height (editable_layout, G_MININT);
@@ -2050,6 +2051,7 @@
case GDK_ENTER_NOTIFY:
if (!icon_item->details->is_prelit) {
icon_item->details->is_prelit = TRUE;
+ nautilus_icon_canvas_item_invalidate_label_size (icon_item);
eel_canvas_item_request_update (item);
/* show a hand cursor */
if (in_single_click_mode ()) {
@@ -2098,6 +2100,7 @@
icon_item->details->is_prelit = FALSE;
icon_item->details->is_active = 0;
icon_item->details->is_highlighted_for_drop = FALSE;
+ nautilus_icon_canvas_item_invalidate_label_size (icon_item);
eel_canvas_item_request_update (item);
/* show default cursor */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]