public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/nemo-extensions] f45: Fix nemo-terminal
@ 2026-11-05 15:56 Leigh Scott
  0 siblings, 0 replies; only message in thread
From: Leigh Scott @ 2026-11-05 15:56 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/nemo-extensions
Branch : f45
Commit : 4d8ca9ed264868443df9fa24dfe4e2f8128a7f28
Author : Leigh Scott <leigh123linux@gmail.com>
Date   : 2026-11-05T15:55:30+00:00
Stats  : +38/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/nemo-extensions/c/4d8ca9ed264868443df9fa24dfe4e2f8128a7f28?branch=f45

Log:
Fix nemo-terminal

---
diff --git a/c3e1369dba41dd223d86963d6ccd7da64d7e1bd6.patch b/c3e1369dba41dd223d86963d6ccd7da64d7e1bd6.patch
new file mode 100644
index 0000000..a94f671
--- /dev/null
+++ b/c3e1369dba41dd223d86963d6ccd7da64d7e1bd6.patch
@@ -0,0 +1,37 @@
+From c3e1369dba41dd223d86963d6ccd7da64d7e1bd6 Mon Sep 17 00:00:00 2001
+From: Michael Webster <miketwebster@gmail.com>
+Date: Sun, 1 Nov 2026 00:29:56 -0400
+Subject: [PATCH] nemo-terminal: Adapt to widget layout changes in nemo 6.8
+
+Fixes #595.
+---
+ nemo-terminal/src/nemo_terminal.py | 16 +++++++++-------
+ 1 file changed, 9 insertions(+), 7 deletions(-)
+
+diff --git a/nemo-terminal/src/nemo_terminal.py b/nemo-terminal/src/nemo_terminal.py
+index 568af961..19546e31 100755
+--- a/nemo-terminal/src/nemo_terminal.py
++++ b/nemo-terminal/src/nemo_terminal.py
+@@ -482,13 +482,15 @@ def _on_crowbar_parent_set(self, widget, old_parent):
+             vbox = Gtk.VBox()
+             vbox.show()
+ 
+-            #Add the vpan in Nemo, and reparent some widgets
+-            if len(crowbar_pp_children) == 2:
+-                for crowbar_pp_child in crowbar_pp_children:
+-                    crowbar_pp.remove(crowbar_pp_child)
+-                crowbar_pp.pack_start(vpan, True, True, 0)
+-                vbox.pack_start(crowbar_pp_children[0], False, False, 0)
+-                vbox.pack_start(crowbar_pp_children[1], True, True, 0)
++            #Add the vpan in Nemo, and reparent the slot's children into it
++            for crowbar_pp_child in crowbar_pp_children:
++                expand, fill, padding, pack_type = crowbar_pp.query_child_packing(crowbar_pp_child)
++                crowbar_pp.remove(crowbar_pp_child)
++                if pack_type == Gtk.PackType.START:
++                    vbox.pack_start(crowbar_pp_child, expand, fill, padding)
++                else:
++                    vbox.pack_end(crowbar_pp_child, expand, fill, padding)
++            crowbar_pp.pack_start(vpan, True, True, 0)
+ 
+             nterm = NemoTerminal(self._uri, self._window)
+ 

diff --git a/nemo-extensions.spec b/nemo-extensions.spec
index 53e3bb7..9e4feff 100644
--- a/nemo-extensions.spec
+++ b/nemo-extensions.spec
@@ -14,6 +14,7 @@ Summary:        Extensions for Nemo
 License:        GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later
 URL:            %{forgeurl}
 Source0:        %{forgesource}
+Patch0:         %{url}/commit/c3e1369dba41dd223d86963d6ccd7da64d7e1bd6.patch
 
 ExcludeArch:    %{ix86}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-05 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 15:56 [rpms/nemo-extensions] f45: Fix nemo-terminal Leigh Scott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox