Changes
1 changed files (+0/-48)
-
src/Widgets/BrowseItem/Row.vala (deleted)
-
@@ -1,48 +0,0 @@// Copyright 2025 Shota FUJI // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // SPDX-License-Identifier: Apache-2.0 namespace PlacGtkAdwaita { namespace BrowseItem { class Row : Gtk.ListBoxRow { public Roon.Browse.Item item { get; construct; } public Plac.Connection? conn { get; construct; } public Row(Roon.Browse.Item item, Plac.Connection? conn = null) { Object(item: item, conn: conn); } construct { if (item.item_key != null) { switch (item.hint) { case LIST: case ACTION: case ACTION_LIST: this.activatable = true; break; default: this.activatable = false; break; } } this.child = new Navigation(item, conn); } } } }
-