# Path: RapacheGtk/GuiUtils.py
# def style_as_tooltip( obj ):
# def paint(box, event):
# def change_button_label ( button, new_label ):
# def new_apache_sourceview():


import sys
     import pygtk
    import gtk
    import gtk.glade
import os
import RapacheGtk.GuiUtils
import RapacheCore.Shell
from RapacheCore.Module import *
from RapacheGtk import GuiUtils
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

try:
     pygtk.require("2.0")
except:
      pass
try:
except:
    sys.exit(1)


class EditGenericWindow:
    
    def __init__(self):
                     
        gladefile = os.path.join(Configuration.GLADEPATH, "edit_generic.glade")
        wtree = gtk.glade.XML(gladefile)
        
        self.window = wtree.get_widget("dialog_edit_generic")
        
        self.scrolledwindow_generic = wtree.get_widget("scrolledwindow_generic")
        self.label_path = wtree.get_widget("label_path")
        self.combobox_backups = wtree.get_widget("combobox_backups")
        
        signals = {
           "on_button_save_clicked"         : self.on_button_save_clicked,
           "on_button_cancel_clicked"        : self.on_button_cancel_clicked,
           "on_button_restore_version_clicked" : self.on_button_restore_version_clicked
        }

# Path: RapacheGtk/GuiUtils.py
# def style_as_tooltip( obj ):
# def paint(box, event):
# def change_button_label ( button, new_label ):
# def new_apache_sourceview():


# Path: RapacheGtk/EditGeneric.py
import sys
     import pygtk
    import gtk
    import gtk.glade
import os
import RapacheGtk.GuiUtils
import RapacheCore.Shell
from RapacheCore.Module import *
from RapacheGtk import GuiUtils

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

try:
     pygtk.require("2.0")
except:
      pass
try:
except:
    sys.exit(1)


class EditGenericWindow:
    
    def __init__(self):
                     
        gladefile = os.path.join(Configuration.GLADEPATH, "edit_generic.glade")
        wtree = gtk.glade.XML(gladefile)
        
        self.window = wtree.get_widget("dialog_edit_generic")
        
        self.scrolledwindow_generic = wtree.get_widget("scrolledwindow_generic")
        self.label_path = wtree.get_widget("label_path")
        self.combobox_backups = wtree.get_widget("combobox_backups")
        
        signals = {
           "on_button_save_clicked"         : self.on_button_save_clicked,
           "on_button_cancel_clicked"        : self.on_button_cancel_clicked,
           "on_button_restore_version_clicked" : self.on_button_restore_version_clicked
        }

        wtree.signal_autoconnect(signals)            