diff options
author | David Barth <david.barth@canonical.com> | 2010-07-29 16:08:34 +0200 |
---|---|---|
committer | David Barth <david.barth@canonical.com> | 2010-07-29 16:08:34 +0200 |
commit | 59b9d6fe4abecc1d986c73d077c0994fccae37e7 (patch) | |
tree | 5c1e26dd69dfb0bc9d32fd2550a46aa93425919d /src | |
parent | 997a69df81d34c92263cad72eed1b772209b6e95 (diff) | |
download | ayatana-indicator-messages-59b9d6fe4abecc1d986c73d077c0994fccae37e7.tar.gz ayatana-indicator-messages-59b9d6fe4abecc1d986c73d077c0994fccae37e7.tar.bz2 ayatana-indicator-messages-59b9d6fe4abecc1d986c73d077c0994fccae37e7.zip |
adjust the triangle size
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-messages.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c index aa4cf26..8aa64de 100644 --- a/src/indicator-messages.c +++ b/src/indicator-messages.c @@ -304,8 +304,8 @@ application_triangle_draw_cb (GtkWidget *widget, GdkEventExpose *event, gpointer style = gtk_widget_get_style (widget); /* set arrow position / dimensions */ - arrow_width = widget->allocation.height/5.0; - arrow_height = widget->allocation.height/3.0; + arrow_width = (int) ((double)widget->allocation.height * 0.25f); + arrow_height = (int) ((double)widget->allocation.height * 0.60f); x = widget->allocation.x; y = widget->allocation.y + widget->allocation.height/2.0 - (double)arrow_height/2.0; |