more cleanup
ci/woodpecker/push/woodpecker Pipeline failed Details
ci/woodpecker/push/docs Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2023-07-14 16:25:52 +02:00
parent 1759e5c3de
commit ec67a80389
Signed by: Johannes
GPG Key ID: E76429612C2929F4
3 changed files with 1 additions and 3 deletions

View File

@ -9,6 +9,7 @@ import org.pango.WrapMode
class InstanceGridEntryFactory(
private val instanceList: List<Instance>
) : KSignalListItemFactory<InstanceGridEntryFactory.Decomposed, Box>() {
//TODO better design
override fun setup(): Box {
val box = Box(Orientation.VERTICAL, 5)

View File

@ -5,7 +5,6 @@ import org.gnome.gio.SimpleAction
import org.gnome.gio.ThemedIcon
abstract class BuiltMenuItem protected constructor(action: SimpleAction, protected val menuItem: MenuItem?) {
@JvmField
protected val action: SimpleAction
init {

View File

@ -7,11 +7,9 @@ object I18n {
const val BUNDLE = "inceptum"
private val bundle = ResourceBundle.getBundle(BUNDLE)
@JvmStatic
operator fun get(key: @PropertyKey(resourceBundle = BUNDLE) String): String =
bundle.getString(key)
@JvmStatic
operator fun get(key: @PropertyKey(resourceBundle = BUNDLE) String, vararg args: Any?): String =
String.format(bundle.getString(key), *args)
}