Skip to content

Commit

Permalink
added icon
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmet-karagoz committed Aug 22, 2021
1 parent b7167b0 commit 1b76b64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Binary file added icon.ico
Binary file not shown.
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from deep_translator import GoogleTranslator
import pysrt
from kivy.core.window import Window
from kivy.lang import Builder
from kivy.properties import StringProperty, ColorProperty
from kivy.utils import rgba
from kivymd.app import MDApp
Expand All @@ -10,6 +11,7 @@
from kivymd.uix.filemanager import MDFileManager
from kivymd.uix.list import OneLineIconListItem, MDList, OneLineListItem


icons_item = {
"folder": "My files",
"star": "Starred",
Expand Down Expand Up @@ -77,6 +79,9 @@ def __init__(self, **kwargs):
select_path=self.select_path,
)

def build(self):
self.icon = "icon.png"

def file_manager_open(self):
self.file_manager.show('/') # output manager to the screen
self.manager_open = True
Expand Down

0 comments on commit 1b76b64

Please sign in to comment.