Commit 6f71aeb8 authored by Claes Sjofors's avatar Claes Sjofors

Navigator icon changed

parent c1922b10
...@@ -1818,7 +1818,7 @@ pwr_tStatus WFoeGtk::create_window( int x_top, ...@@ -1818,7 +1818,7 @@ pwr_tStatus WFoeGtk::create_window( int x_top,
gtk_toolbar_append_widget( tools, tools_conpalette, "Show Connection palette", ""); gtk_toolbar_append_widget( tools, tools_conpalette, "Show Connection palette", "");
GtkWidget *tools_plantpalette = gtk_button_new(); GtkWidget *tools_plantpalette = gtk_button_new();
dcli_translate_filename( fname, "$pwr_exe/foe_navpalette.png"); dcli_translate_filename( fname, "$pwr_exe/xtt_navigator.png");
gtk_container_add( GTK_CONTAINER( tools_plantpalette), gtk_container_add( GTK_CONTAINER( tools_plantpalette),
gtk_image_new_from_file( fname)); gtk_image_new_from_file( fname));
g_signal_connect(tools_plantpalette, "clicked", G_CALLBACK(WFoeGtk::activate_palette_plant), this); g_signal_connect(tools_plantpalette, "clicked", G_CALLBACK(WFoeGtk::activate_palette_plant), this);
......
...@@ -2380,7 +2380,7 @@ GeGtk::GeGtk( void *x_parent_ctx, ...@@ -2380,7 +2380,7 @@ GeGtk::GeGtk( void *x_parent_ctx,
gtk_toolbar_append_widget( tools, tools_equid_vert_down, "Set equal distance between objects bottom side vertical", ""); gtk_toolbar_append_widget( tools, tools_equid_vert_down, "Set equal distance between objects bottom side vertical", "");
// View Planthierarchy // View Planthierarchy
GtkWidget *tools_view_plant = image_button( "$pwr_exe/foe_navpalette.png"); GtkWidget *tools_view_plant = image_button( "$pwr_exe/xtt_navigator.png");
g_signal_connect(tools_view_plant, "clicked", G_CALLBACK(activate_view_plant), this); g_signal_connect(tools_view_plant, "clicked", G_CALLBACK(activate_view_plant), this);
gtk_toolbar_append_widget( tools, tools_view_plant, "View plant hierarchy", ""); gtk_toolbar_append_widget( tools, tools_view_plant, "View plant hierarchy", "");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment