Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
070021c9
Commit
070021c9
authored
Aug 18, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wtt, build tools button builds volume for SharedVolume and SubVolume
parent
fd7b9184
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
wb/lib/wb/gtk/wb_wtt_gtk.cpp
wb/lib/wb/gtk/wb_wtt_gtk.cpp
+6
-5
No files found.
wb/lib/wb/gtk/wb_wtt_gtk.cpp
View file @
070021c9
...
...
@@ -2783,14 +2783,15 @@ WttGtk::WttGtk(
tools_buildnode_w
=
gtk_button_new
();
gtk_container_add
(
GTK_CONTAINER
(
tools_buildnode_w
),
gtk_image_new_from_stock
(
"gtk-execute"
,
GTK_ICON_SIZE_SMALL_TOOLBAR
));
if
(
wb_type
!=
wb_eType_ClassEditor
)
{
g_signal_connect
(
tools_buildnode_w
,
"clicked"
,
G_CALLBACK
(
WttGtk
::
activate_buildnode
),
this
);
gtk_toolbar_append_widget
(
tools
,
tools_buildnode_w
,
"Build Node"
,
""
);
}
else
{
if
(
wb_type
==
wb_eType_ClassEditor
||
(
wbctx
&&
volid
&&
(
volclass
==
pwr_eClass_SharedVolume
||
volclass
==
pwr_eClass_SubVolume
)))
{
g_signal_connect
(
tools_buildnode_w
,
"clicked"
,
G_CALLBACK
(
WttGtk
::
activate_buildvolume
),
this
);
gtk_toolbar_append_widget
(
tools
,
tools_buildnode_w
,
"Build Volume"
,
""
);
}
else
{
g_signal_connect
(
tools_buildnode_w
,
"clicked"
,
G_CALLBACK
(
WttGtk
::
activate_buildnode
),
this
);
gtk_toolbar_append_widget
(
tools
,
tools_buildnode_w
,
"Build Node"
,
""
);
}
g_object_set
(
tools_buildnode_w
,
"can-focus"
,
FALSE
,
NULL
);
GtkWidget
*
tools_distribute
=
gtk_button_new
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment