Don't touch the ythickness of the notebook
This allows the active tab to visually move above other tabs. The drawback is that it makes all tabs somewhat larger.
This commit is contained in:
parent
dc40d878d5
commit
1038ee41a3
1 changed files with 1 additions and 1 deletions
|
@ -4204,7 +4204,7 @@ midori_browser_init (MidoriBrowser* browser)
|
||||||
browser->notebook = gtk_notebook_new ();
|
browser->notebook = gtk_notebook_new ();
|
||||||
/* Remove the inner border between scrollbars and the window border */
|
/* Remove the inner border between scrollbars and the window border */
|
||||||
rcstyle = gtk_rc_style_new ();
|
rcstyle = gtk_rc_style_new ();
|
||||||
rcstyle->xthickness = rcstyle->ythickness = 0;
|
rcstyle->xthickness = 0;
|
||||||
gtk_widget_modify_style (browser->notebook, rcstyle);
|
gtk_widget_modify_style (browser->notebook, rcstyle);
|
||||||
g_object_unref (rcstyle);
|
g_object_unref (rcstyle);
|
||||||
gtk_notebook_set_scrollable (GTK_NOTEBOOK (browser->notebook), TRUE);
|
gtk_notebook_set_scrollable (GTK_NOTEBOOK (browser->notebook), TRUE);
|
||||||
|
|
Loading…
Reference in a new issue