File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -253,16 +253,18 @@ namespace Jorts {
253253 var mainbox = new Gtk .Box (Gtk . Orientation . VERTICAL ,0 );
254254 mainbox.append (scrolled );
255255
256- var swoosh = new Gtk .Revealer () {
256+ // Revealer keep an empty space where the actionbar was. Idk how to fix
257+ /* var swoosh = new Gtk.Revealer () {
257258 child = actionbar
258259 };
259- swoosh.set_transition_type (Gtk .RevealerTransitionType .CROSSFADE );
260+ swoosh.set_transition_type (Gtk.RevealerTransitionType.CROSSFADE);*/
261+
262+ mainbox.append (actionbar );
260263
261264 var handle = new Gtk .WindowHandle () {
262265 child = mainbox
263266 };
264267
265- mainbox.append (swoosh );
266268 set_child (handle );
267269 show ();
268270
@@ -279,8 +281,8 @@ namespace Jorts {
279281 // The application tells us the show/hide bar state has changed!
280282 Application.gsettings.bind (
281283 "hide -bar ",
282- swoosh ,
283- "reveal_child ",
284+ actionbar ,
285+ "revealed ",
284286 SettingsBindFlags .INVERT_BOOLEAN );
285287
286288 gtk_settings.notify["enable-animations"].connect (on_reduceanimation_changed );
You can’t perform that action at this time.
0 commit comments