# Path: sunflower/common.py
# class UserDirectory:
# class AccessModeFormat:
# class SizeFormat:
# 	DESKTOP = 'XDG_DESKTOP_DIR'
# 	DOWNLOADS = 'XDG_DOWNLOAD_DIR'
# 	TEMPLATES = 'XDG_TEMPLATES_DIR'
# 	PUBLIC = 'XDG_PUBLICSHARE_DIR'
# 	DOCUMENTS = 'XDG_DOCUMENTS_DIR'
# 	MUSIC = 'XDG_MUSIC_DIR'
# 	PICTURES = 'XDG_PICTURES_DIR'
# 	VIDEOS = 'XDG_VIDEOS_DIR'
# 	OCTAL = 0
# 	TEXTUAL = 1
# 	LOCAL = 0
# 	SI = 1
# 	IEC = 2
# MONOSPACE_FONT_STRING = None
# 			MONOSPACE_FONT_STRING = 'monospace'
# 			MONOSPACE_FONT_STRING = settings.get_string('monospace-font-name')
# def format_size(size, format_type, include_unit=True):
# def format_mode(mode, format):
# def get_base_directory():
# def get_static_assets_directory():
# def get_cache_directory():
# def get_config_directory():
# def get_config_path():
# def get_data_directory():
# def get_user_directory(directory):
# def is_gui_app(command):
# def executable_exists(command):
# def load_translation():
# def decode_file_name(file_name):
# def encode_file_name(file_name):
# def get_monospace_font_string():


from gi.repository import Gtk, Gdk, GObject, Pango
from sunflower import common
		return True

	def _destroy(self, widget, data=None):
		"""Remove operation menu item on dialog destroy."""
		self._application.remove_operation(self._indicator)

	def _set_operation_image(self, icon_name=None):
		"""Set default or specified operation image"""
		if icon_name is not None:
			self._operation_image.set_from_icon_name(icon_name, Gtk.IconSize.BUTTON)

	def is_active(self):
		"""Return true if window is active"""
		return self._application.is_active()

	def destroy(self):
		"""Close window"""
		self._container.destroy()

	def get_window(self):
		"""Return container window"""
		return self._container

	def set_status(self, status):
		"""Set current status"""
		self._label_status.set_label(status)
		self._operation_label.set_text(status)

	def set_current_file(self, path):
		"""Set current file name"""

# Path: sunflower/common.py
# class UserDirectory:
# class AccessModeFormat:
# class SizeFormat:
# 	DESKTOP = 'XDG_DESKTOP_DIR'
# 	DOWNLOADS = 'XDG_DOWNLOAD_DIR'
# 	TEMPLATES = 'XDG_TEMPLATES_DIR'
# 	PUBLIC = 'XDG_PUBLICSHARE_DIR'
# 	DOCUMENTS = 'XDG_DOCUMENTS_DIR'
# 	MUSIC = 'XDG_MUSIC_DIR'
# 	PICTURES = 'XDG_PICTURES_DIR'
# 	VIDEOS = 'XDG_VIDEOS_DIR'
# 	OCTAL = 0
# 	TEXTUAL = 1
# 	LOCAL = 0
# 	SI = 1
# 	IEC = 2
# MONOSPACE_FONT_STRING = None
# 			MONOSPACE_FONT_STRING = 'monospace'
# 			MONOSPACE_FONT_STRING = settings.get_string('monospace-font-name')
# def format_size(size, format_type, include_unit=True):
# def format_mode(mode, format):
# def get_base_directory():
# def get_static_assets_directory():
# def get_cache_directory():
# def get_config_directory():
# def get_config_path():
# def get_data_directory():
# def get_user_directory(directory):
# def is_gui_app(command):
# def executable_exists(command):
# def load_translation():
# def decode_file_name(file_name):
# def encode_file_name(file_name):
# def get_monospace_font_string():


# Path: sunflower/gui/operation_dialog.py
from gi.repository import Gtk, Gdk, GObject, Pango
from sunflower import common

		return True

	def _destroy(self, widget, data=None):
		"""Remove operation menu item on dialog destroy."""
		self._application.remove_operation(self._indicator)

	def _set_operation_image(self, icon_name=None):
		"""Set default or specified operation image"""
		if icon_name is not None:
			self._operation_image.set_from_icon_name(icon_name, Gtk.IconSize.BUTTON)

	def is_active(self):
		"""Return true if window is active"""
		return self._application.is_active()

	def destroy(self):
		"""Close window"""
		self._container.destroy()

	def get_window(self):
		"""Return container window"""
		return self._container

	def set_status(self, status):
		"""Set current status"""
		self._label_status.set_label(status)
		self._operation_label.set_text(status)

	def set_current_file(self, path):
		"""Set current file name"""

		self._label_current_file.set_text(common.decode_file_name(path))