Do not add close button to non-removable panes
This commit is contained in:
parent
895ee5ebed
commit
a8e51b3036
@ -586,6 +586,8 @@ create_frame_widget (MooPane *pane,
|
||||
g_signal_connect_swapped (pane->close_button, "clicked",
|
||||
G_CALLBACK (close_button_clicked),
|
||||
pane);
|
||||
if (!pane->removable)
|
||||
gtk_widget_hide (pane->close_button);
|
||||
|
||||
hide_button = create_button (pane, toolbar,
|
||||
_("Hide pane"), FALSE, 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user