|
@@ -63,7 +63,7 @@ class MessageBox:
|
|
|
pass
|
|
|
def __init_builder(self):
|
|
|
|
|
|
- self.gladefile = "messagebox.glade"
|
|
|
+ self.gladefile = "/usr/share/uruk-cleaner/messagebox.glade"
|
|
|
self.builder = Gtk.Builder()
|
|
|
try:
|
|
|
|
|
@@ -84,7 +84,7 @@ class MessageBox:
|
|
|
def __load_css(self):
|
|
|
screen = Gdk.Screen.get_default()
|
|
|
provider = Gtk.CssProvider()
|
|
|
- provider.load_from_path("messagebox.css")
|
|
|
+ provider.load_from_path("/usr/share/uruk-cleaner/messagebox.css")
|
|
|
Gtk.StyleContext.add_provider_for_screen(screen, provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION)
|
|
|
def ok_btn_click(self, *args):
|
|
|
self.window.close()
|
|
@@ -103,7 +103,7 @@ class GUI:
|
|
|
provider = Gtk.CssProvider()
|
|
|
try:
|
|
|
|
|
|
- provider.load_from_path("cleaner.css")
|
|
|
+ provider.load_from_path("/usr/share/uruk-cleaner/cleaner.css")
|
|
|
except:
|
|
|
print("Cant find The CSS File", file = sys.stderr)
|
|
|
exit(1)
|
|
@@ -111,7 +111,7 @@ class GUI:
|
|
|
Gtk.StyleContext.add_provider_for_screen(screen, provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION)
|
|
|
def __init_builder(self):
|
|
|
|
|
|
- self.gladefile = "cleaner.glade"
|
|
|
+ self.gladefile = "/usr/share/uruk-cleaner/cleaner.glade"
|
|
|
self.builder = Gtk.Builder()
|
|
|
try:
|
|
|
|