bugfix: ugly white border (gtk 3.20>) (#128)
This commit is contained in:
parent
efcaac200a
commit
f004e93547
|
@ -714,7 +714,10 @@ xed_notebook_init (XedNotebook *notebook)
|
||||||
notebook->priv->tab_scrolling_enabled = g_settings_get_boolean (notebook->priv->ui_settings, "enable-tab-scrolling");
|
notebook->priv->tab_scrolling_enabled = g_settings_get_boolean (notebook->priv->ui_settings, "enable-tab-scrolling");
|
||||||
|
|
||||||
gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE);
|
gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE);
|
||||||
// gtk_notebook_set_show_border (GTK_NOTEBOOK (notebook), FALSE);
|
|
||||||
|
#if GTK_CHECK_VERSION (3, 20, 0)
|
||||||
|
gtk_notebook_set_show_border (GTK_NOTEBOOK (notebook), FALSE);
|
||||||
|
#endif
|
||||||
gtk_notebook_set_show_tabs (GTK_NOTEBOOK (notebook), FALSE);
|
gtk_notebook_set_show_tabs (GTK_NOTEBOOK (notebook), FALSE);
|
||||||
|
|
||||||
g_signal_connect (notebook, "button-press-event",
|
g_signal_connect (notebook, "button-press-event",
|
||||||
|
|
Loading…
Reference in New Issue