patches/pcmanfm-02-state.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 3498 10a4723b249a
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2925
768e35647a6a 2010-09-16 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     1
--- pcmanfm-0.9.7/src/desktop.c-orig	2010-09-15 22:05:22.670723652 -0700
768e35647a6a 2010-09-16 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     2
+++ pcmanfm-0.9.7/src/desktop.c	2010-09-15 22:05:30.885493786 -0700
768e35647a6a 2010-09-16 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     3
@@ -1411,7 +1411,7 @@ void paint_item(FmDesktop* self, FmDeskt
768e35647a6a 2010-09-16 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     4
     pango_layout_set_text(self->pl, NULL, 0);
768e35647a6a 2010-09-16 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     5
 
768e35647a6a 2010-09-16 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     6
     if(item == self->focus && gtk_widget_has_focus(widget) )
768e35647a6a 2010-09-16 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     7
-        gtk_paint_focus(style, window, gtk_widget_get_state(widget),
768e35647a6a 2010-09-16 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     8
+        gtk_paint_focus(style, window, GTK_WIDGET_STATE(widget),
768e35647a6a 2010-09-16 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     9
                         expose_area, widget, "icon_view",
768e35647a6a 2010-09-16 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    10
                         item->text_rect.x, item->text_rect.y, item->text_rect.width, item->text_rect.height);
768e35647a6a 2010-09-16 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    11