Changeset 5997


Ignore:
Timestamp:
Oct 6, 2017, 10:04:01 AM (2 years ago)
Author:
kbut
Message:

add debian folder

Location:
noteshrink-gui/trunk
Files:
9 added
5 edited

Legend:

Unmodified
Added
Removed
  • noteshrink-gui/trunk/app/ConvertBox.py

    r5996 r5997  
    44
    55import gettext
    6 
     6import Core
    77from urllib.parse import unquote
    88import magic
     
    1111from os.path import splitext, join
    1212
    13 from . import settings
     13import settings
    1414
    1515gettext.textdomain(settings.TEXT_DOMAIN)
     
    132132                self.reorder_child(container, new_position )
    133133        #def move_element
    134 
    135 from . import Core
  • noteshrink-gui/trunk/app/Core.py

    r5996 r5997  
    11#!/usr/bin/env python
    22
    3 from .NoteshrinkGui import NoteshrinkGui
    4 from .ConvertBox import ConvertBox
    5 from .NoteshrinkInterface import NoteshrinkInterface
     3from NoteshrinkGui import NoteshrinkGui
     4from ConvertBox import ConvertBox
     5from NoteshrinkInterface import NoteshrinkInterface
    66
    77
  • noteshrink-gui/trunk/app/NoteshrinkGui.py

    r5996 r5997  
    1010import gettext
    1111
    12 from . import settings
     12import Core
     13
     14import settings
    1315
    1416signal.signal(signal.SIGINT, signal.SIG_DFL)
     
    187189
    188190#class NoteshrinkGui
    189 
    190 from . import Core
  • noteshrink-gui/trunk/app/NoteshrinkInterface.py

    r5996 r5997  
    33from shutil import rmtree, move
    44import subprocess
     5
     6import Core
    57
    68
     
    7981                move(orig,valid_name)
    8082        #def safe_move
    81 
    82 from . import Core
  • noteshrink-gui/trunk/app/settings.py

    r5996 r5997  
    1 import sys
    2 import os
    3 
    4 relative_path = os.path.dirname(sys.modules[__name__].__file__)
    5 
    6 RSRC = os.path.join(relative_path,'rsrc')
    7 CSS_FILE = os.path.join(RSRC,'noteshrink-gui.css')
    8 UI_FILE = os.path.join(RSRC,"noteshrink.ui")
     1RSRC = "/usr/share/noteshrink-gui/rsrc/"
     2CSS_FILE = RSRC + "noteshrink-gui.css"
     3UI_FILE = RSRC + "noteshrink.ui"
    94WINDOW_TITLE = "Noteshrink"
    105
    116# IMAGES
    12 DROP_FILE = os.path.join(RSRC,"rsrc/drop_file.png")
    13 DROP_CORRECT = os.path.join(RSRC,"rsrc/drop_file_correct.png")
    14 DROP_INCORRECT = os.path.join(RSRC,"rsrc/drop_file_incorrect.png")
     7DROP_FILE = RSRC+"rsrc/drop_file.png"
     8DROP_CORRECT = RSRC+"rsrc/drop_file_correct.png"
     9DROP_INCORRECT = RSRC+"rsrc/drop_file_incorrect.png"
    1510
    1611
Note: See TracChangeset for help on using the changeset viewer.