Updated server list UI to use GTK3 vertical button boxes and horizontal separators behind GTK3 guards while keeping GTK2 constructors under #if !HAVE_GTK3.

Swapped the vertical tab separator to GTK3’s horizontal separator under #if HAVE_GTK3, preserving the GTK2 constructor for non-GTK3 builds.
This commit is contained in:
2026-01-30 17:48:25 -07:00
parent 5e73127f9a
commit 1406eec197
2 changed files with 20 additions and 0 deletions

View File

@@ -526,7 +526,11 @@ tab_add_real (chanview *cv, GtkWidget *tab, chan *ch)
#elif !HAVE_GTK3
box = gtk_vbox_new (FALSE, 0);
#endif
#if HAVE_GTK3
sep = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
#elif !HAVE_GTK3
sep = gtk_hseparator_new ();
#endif
} else
{
/* horiz */