Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix missing scroll bar in view source
On Fedora 18, scroll bars were missing, #4903. On Fedora 20, impossible arguments were given to X server, resulting in desktop instability. dev.laptop.org #12872. Regression introduced in 4be3f9e and #4273, in the SourceDisplay class, where a GtkBox is inserted between the GtkScrolledWindow and any child. Fix is - remove GtkBox intermediary; unnecessary, - add methods for managing a single child of the GtkScrolledWindow, which will be either a GtkSourceView or a GtkEventBox in a GtkViewport, - remove some GtkWidget.show calls; made redundant by .show_all,
- Loading branch information
Showing
1 changed file
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters