This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# project name and programming language | |
project('com.github.yourusername.yourrepositoryname', 'vala', 'c') | |
# Include the translations module | |
i18n = import('i18n') | |
# Set our translation domain | |
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c') | |
# Create a new executable, list the files we want to compile, list the dependencies we need, and install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from gi.repository import Granite | |
from gi.repository import Gtk | |
from gi.repository import Gio | |
class LightWindow(Gtk.Dialog): | |
def __init__(self): | |
super(LightWindow, self).__init__() |