Connect to Server was stupid naming
This commit is contained in:
@@ -85,7 +85,7 @@ class ConfigureServersDialog(Gtk.Dialog):
|
|||||||
def __init__(self, parent, config):
|
def __init__(self, parent, config):
|
||||||
Gtk.Dialog.__init__(
|
Gtk.Dialog.__init__(
|
||||||
self,
|
self,
|
||||||
title='Connect to Server',
|
title='Conigure Servers',
|
||||||
transient_for=parent,
|
transient_for=parent,
|
||||||
flags=0,
|
flags=0,
|
||||||
add_buttons=(),
|
add_buttons=(),
|
||||||
|
@@ -12,8 +12,8 @@ from libremsonic.state_manager import ApplicationState
|
|||||||
class MainWindow(Gtk.ApplicationWindow):
|
class MainWindow(Gtk.ApplicationWindow):
|
||||||
"""Defines the main window for LibremSonic."""
|
"""Defines the main window for LibremSonic."""
|
||||||
__gsignals__ = {
|
__gsignals__ = {
|
||||||
'song-clicked': (GObject.SignalFlags.RUN_FIRST, GObject.TYPE_NONE,
|
'song-clicked':
|
||||||
(str, object)),
|
(GObject.SignalFlags.RUN_FIRST, GObject.TYPE_NONE, (str, object)),
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
@@ -107,7 +107,7 @@ class MainWindow(Gtk.ApplicationWindow):
|
|||||||
menu_items = [
|
menu_items = [
|
||||||
(None, self.connected_to_label),
|
(None, self.connected_to_label),
|
||||||
('app.configure-servers',
|
('app.configure-servers',
|
||||||
Gtk.ModelButton(text='Connect to Server')),
|
Gtk.ModelButton(text='Configure Servers')),
|
||||||
]
|
]
|
||||||
|
|
||||||
vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||||
|
Reference in New Issue
Block a user