]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikdemlayer.c
Allow statusbar update signal method to specify which part of the statusbar to update.
[andy/viking.git] / src / vikdemlayer.c
index 2d83545064d03c6d85937296878cab61b2eb1429..52c0b3dad19c116ed418daf58242876e9196030f 100644 (file)
@@ -134,7 +134,9 @@ static VikToolInterface dem_tools[] = {
   { { "DEMDownload", "vik-icon-DEM Download", N_("_DEM Download"), NULL, N_("DEM Download"), 0 },
     (VikToolConstructorFunc) dem_layer_download_create, NULL, NULL, NULL,
     (VikToolMouseFunc) dem_layer_download_click, NULL,  (VikToolMouseFunc) dem_layer_download_release,
-    (VikToolKeyFunc) NULL, GDK_CURSOR_IS_PIXMAP, &cursor_demdl_pixbuf },
+    (VikToolKeyFunc) NULL,
+    FALSE,
+    GDK_CURSOR_IS_PIXMAP, &cursor_demdl_pixbuf },
 };
 
 
@@ -182,7 +184,8 @@ static const guint DEM_N_GRADIENT_COLORS = sizeof(dem_gradient_colors)/sizeof(de
 
 
 VikLayerInterface vik_dem_layer_interface = {
-  "DEM",
+  N_("DEM"),
+  "<control><shift>D",
   &vikdemlayer_pixbuf,
 
   dem_tools,