Skip to content

Commit

Permalink
Fix a few deprecation warnings the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
loathingKernel committed Jan 20, 2022
1 parent a0cd202 commit a43c1e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gui/gui
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class NumixFoldersGUI(Gtk.Application):

def on_activate(self, app, style, colour, colour_list, theme):
self.win = Gtk.ApplicationWindow(
Gtk.WindowType.TOPLEVEL, application=app)
type=Gtk.WindowType.TOPLEVEL, application=app)
self.win.set_title("Numix Folders")
self.win.set_icon_name('numix-folders')
self.win.set_border_width(18)
Expand Down Expand Up @@ -258,9 +258,9 @@ class NumixFoldersGUI(Gtk.Application):
hboxcolours.pack_start(vboxcolours, False, False, 30)

# buttons
buttonok = Gtk.Button("_Apply", use_underline=True)
buttonok = Gtk.Button(label="_Apply", use_underline=True)
buttonok.get_style_context().add_class("suggested-action")
buttonclose = Gtk.Button("_Cancel", use_underline=True)
buttonclose = Gtk.Button(label="_Cancel", use_underline=True)
buttonclose.get_style_context().add_class("destructive-action")

# header bar
Expand Down

0 comments on commit a43c1e7

Please sign in to comment.