#!/usr/bin/env python
# -*- coding: UTF8 -*-

# Python module pysdm.py
# Autogenerated from pysdm.glade
# Generated on Thu May 11 20:01:12 2006

# Warning: Do not modify any context comment such as #--
# They are required to keep user's code

import os

import gtk

from SimpleGladeApp import SimpleGladeApp
from SimpleGladeApp import bindtextdomain

app_name = "data"
app_version = "0.0.1"

glade_dir = ""
locale_dir = ""

bindtextdomain(app_name, locale_dir)


class Mainwindow(SimpleGladeApp):

    def __init__(self, path="pysdm.glade",
                 root="mainWindow",
                 domain=app_name, **kwargs):
        path = os.path.join(glade_dir, path)
        SimpleGladeApp.__init__(self, path, root, domain, **kwargs)

    #-- Mainwindow.new {
    def new(self):
        print "A new %s has been created" % self.__class__.__name__
    #-- Mainwindow.new }

    #-- Mainwindow custom methods {
    #   Write your own methods here
    #-- Mainwindow custom methods }

    #-- Mainwindow.refresh_partitions {
    def refresh_partitions(self, widget, *args):
        print "refresh_partitions called with self.%s" % widget.get_name()
    #-- Mainwindow.refresh_partitions }

    #-- Mainwindow.on_partitiontree_cursor_changed {
    def on_partitiontree_cursor_changed(self, widget, *args):
        print "on_partitiontree_cursor_changed called with self.%s" % widget.get_name()
    #-- Mainwindow.on_partitiontree_cursor_changed }

    #-- Mainwindow.on_name_entry_changed {
    def on_name_entry_changed(self, widget, *args):
        print "on_name_entry_changed called with self.%s" % widget.get_name()
    #-- Mainwindow.on_name_entry_changed }

    #-- Mainwindow.on_openmountpoint_clicked {
    def on_openmountpoint_clicked(self, widget, *args):
        print "on_openmountpoint_clicked called with self.%s" % widget.get_name()
    #-- Mainwindow.on_openmountpoint_clicked }

    #-- Mainwindow.on_options_entry_changed {
    def on_options_entry_changed(self, widget, *args):
        print "on_options_entry_changed called with self.%s" % widget.get_name()
    #-- Mainwindow.on_options_entry_changed }

    #-- Mainwindow.on_defaults_button_clicked {
    def on_defaults_button_clicked(self, widget, *args):
        print "on_defaults_button_clicked called with self.%s" % widget.get_name()
    #-- Mainwindow.on_defaults_button_clicked }

    #-- Mainwindow.on_open_options_clicked {
    def on_open_options_clicked(self, widget, *args):
        print "on_open_options_clicked called with self.%s" % widget.get_name()
    #-- Mainwindow.on_open_options_clicked }

    #-- Mainwindow.on_mount_button_clicked {
    def on_mount_button_clicked(self, widget, *args):
        print "on_mount_button_clicked called with self.%s" % widget.get_name()
    #-- Mainwindow.on_mount_button_clicked }

    #-- Mainwindow.on_remove_fs_button_clicked {
    def on_remove_fs_button_clicked(self, widget, *args):
        print "on_remove_fs_button_clicked called with self.%s" % widget.get_name()
    #-- Mainwindow.on_remove_fs_button_clicked }

    #-- Mainwindow.on_rules_treeview_cursor_changed {
    def on_rules_treeview_cursor_changed(self, widget, *args):
        print "on_rules_treeview_cursor_changed called with self.%s" % widget.get_name()
    #-- Mainwindow.on_rules_treeview_cursor_changed }

    #-- Mainwindow.on_udev_up_button_clicked {
    def on_udev_up_button_clicked(self, widget, *args):
        print "on_udev_up_button_clicked called with self.%s" % widget.get_name()
    #-- Mainwindow.on_udev_up_button_clicked }

    #-- Mainwindow.on_udev_down_button_clicked {
    def on_udev_down_button_clicked(self, widget, *args):
        print "on_udev_down_button_clicked called with self.%s" % widget.get_name()
    #-- Mainwindow.on_udev_down_button_clicked }

    #-- Mainwindow.on_udev_edit_button_clicked {
    def on_udev_edit_button_clicked(self, widget, *args):
        print "on_udev_edit_button_clicked called with self.%s" % widget.get_name()
    #-- Mainwindow.on_udev_edit_button_clicked }

    #-- Mainwindow.on_udev_delete_button_clicked {
    def on_udev_delete_button_clicked(self, widget, *args):
        print "on_udev_delete_button_clicked called with self.%s" % widget.get_name()
    #-- Mainwindow.on_udev_delete_button_clicked }

    #-- Mainwindow.on_udev_new_button_clicked {
    def on_udev_new_button_clicked(self, widget, *args):
        print "on_udev_new_button_clicked called with self.%s" % widget.get_name()
    #-- Mainwindow.on_udev_new_button_clicked }

    #-- Mainwindow.on_apply_clicked {
    def on_apply_clicked(self, widget, *args):
        print "on_apply_clicked called with self.%s" % widget.get_name()
    #-- Mainwindow.on_apply_clicked }


#-- main {

def main():
    main_window = Mainwindow()

    main_window.run()

if __name__ == "__main__":
    main()

#-- main }
