Add window controls to conversation titlebar CSD in folded mode (#961)
This commit is contained in:
parent
16c4c8d08b
commit
9b4f0a603b
|
@ -132,7 +132,7 @@ public class MainWindow : Gtk.Window {
|
||||||
|
|
||||||
if (headerbar_paned.folded) {
|
if (headerbar_paned.folded) {
|
||||||
conversation_list_titlebar_csd.decoration_layout = gtk_settings.gtk_decoration_layout;
|
conversation_list_titlebar_csd.decoration_layout = gtk_settings.gtk_decoration_layout;
|
||||||
conversation_titlebar_csd.decoration_layout = "";
|
conversation_titlebar_csd.decoration_layout = gtk_settings.gtk_decoration_layout;
|
||||||
} else {
|
} else {
|
||||||
string[] buttons = gtk_settings.gtk_decoration_layout.split(":");
|
string[] buttons = gtk_settings.gtk_decoration_layout.split(":");
|
||||||
conversation_list_titlebar_csd.decoration_layout = buttons[0] + ":";
|
conversation_list_titlebar_csd.decoration_layout = buttons[0] + ":";
|
||||||
|
|
Loading…
Reference in a new issue