Diff of /trunk/src/goto.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 293 by harbaum, Mon Jun 7 19:19:50 2010 UTC revision 294 by harbaum, Wed Aug 18 18:24:19 2010 UTC
# Line 158  static void compass_draw(GtkWidget *widg Line 158  static void compass_draw(GtkWidget *widg
158    gdk_draw_pixbuf(context->gotoc.compass_pixmap,    gdk_draw_pixbuf(context->gotoc.compass_pixmap,
159                    widget->style->fg_gc[GTK_STATE_NORMAL],                    widget->style->fg_gc[GTK_STATE_NORMAL],
160                    icon_get(ICON_MISC, context->appdata->compass_locked?0:1),                    icon_get(ICON_MISC, context->appdata->compass_locked?0:1),
161                    0, 0, (width-diameter)/2 + diameter/32,                    0, 0, (width-diameter)/2 + diameter/64,
162                    (height+diameter)/2 - 16 - diameter/32 , 16, 16,                    (height+diameter)/2 - 32 - diameter/64 , 32, 32,
163                    GDK_RGB_DITHER_NONE,0,0);                    GDK_RGB_DITHER_NONE,0,0);
164    
165    /* don't update heading if the compass is locked */    /* don't update heading if the compass is locked */

Legend:
Removed from v.293  
changed lines
  Added in v.294