Skip to content

Commit

Permalink
remove if Handy check
Browse files Browse the repository at this point in the history
  • Loading branch information
b-sharman authored and kbengs committed May 11, 2024
1 parent 0be6358 commit 14fdb3f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pdfarranger/pdfarranger.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,11 +534,8 @@ def __create_filters(file_type_list):
return filter_list

def set_title(self, title, subtitle = None):
if Handy:
self.uiXML.get_object('header_bar').set_title(title)
self.uiXML.get_object('header_bar').set_subtitle(subtitle)
else:
self.window.set_title(title)
self.uiXML.get_object('header_bar').set_title(title)
self.uiXML.get_object('header_bar').set_subtitle(subtitle)

def do_activate(self):
""" https://lazka.github.io/pgi-docs/Gio-2.0/classes/Application.html#Gio.Application.do_activate """
Expand Down

0 comments on commit 14fdb3f

Please sign in to comment.