Fix rounded bottom corners in the empty view
authorArtem Garmash <artemgarmash@gmail.com>
Sat, 24 Apr 2010 19:00:05 +0000 (22:00 +0300)
committerArtem Garmash <artem.garmash@nokia.com>
Sun, 27 Jun 2010 19:13:48 +0000 (22:13 +0300)
src/el-home-applet.c

index 26c4f14..39fa061 100644 (file)
@@ -444,7 +444,7 @@ expose_event (GtkWidget *self, GdkEventExpose *event)
         if (!priv->message) {
                 rounded_rectangle (cr,
                                    0, HEADER_HEIGHT,
         if (!priv->message) {
                 rounded_rectangle (cr,
                                    0, HEADER_HEIGHT,
-                                   C_WIDTH, C_HEIGHT,
+                                   C_WIDTH, C_HEIGHT - HEADER_HEIGHT,
                                    BOX_RADIOUS,
                                    ROUND_CORNER_BL | ROUND_CORNER_BR);
                 cairo_close_path (cr);
                                    BOX_RADIOUS,
                                    ROUND_CORNER_BL | ROUND_CORNER_BR);
                 cairo_close_path (cr);