From: Dmitry Kalyanov Date: Fri, 8 Jan 2010 13:04:16 +0000 (+0300) Subject: Minor correction to cl-gtk2-gtk.asd: X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=46661e28a0a6a1c2f9514308f32d635d9962c859;p=cl-gtk2.git Minor correction to cl-gtk2-gtk.asd: 1) Introduce plain-file component class to specify the file type 2) Fix the :pathname of demo-files Delete unneeded .glade files --- diff --git a/gtk/cl-gtk2-gtk.asd b/gtk/cl-gtk2-gtk.asd index 5c04165..78525d4 100644 --- a/gtk/cl-gtk2-gtk.asd +++ b/gtk/cl-gtk2-gtk.asd @@ -1,3 +1,14 @@ +(defpackage #:cl-gtk2-gtk-system + (:use #:cl #:asdf)) + +(in-package #:cl-gtk2-gtk-system) + +(defclass plain-file (static-file) + ((type :initarg :type :reader plain-file-type :initform nil))) + +(defmethod source-file-type ((c plain-file) (s module)) + (plain-file-type c)) + (defsystem :cl-gtk2-gtk :name :cl-gtk2-gtk :version "0.1.1" @@ -65,9 +76,7 @@ (:file "gtk.demo") (:file "gtk.timer") (:module "demo-files" - :pathname "demo" - :components ((:static-file "demo1.glade") - (:static-file "demo1.ui") - (:static-file "text-editor.glade") - (:static-file "text-editor.ui")))) + :pathname "demo/" + :components ((:plain-file "demo1" :type "ui") + (:plain-file "text-editor" :type "ui")))) :depends-on (:cl-gtk2-glib :cffi :cl-gtk2-gdk :bordeaux-threads :iterate :cl-gtk2-pango)) diff --git a/gtk/demo/demo1.glade b/gtk/demo/demo1.glade deleted file mode 100644 index cf1c3f4..0000000 --- a/gtk/demo/demo1.glade +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - Gtk Builder Demo - GTK_WIN_POS_CENTER - gtk-unindent - - - True - - - True - - - True - _File - True - - - True - - - True - gtk-new - True - True - - - - - True - gtk-open - True - True - - - - - True - gtk-save - True - True - - - - - True - gtk-save-as - True - True - - - - - True - - - - - True - gtk-quit - True - True - - - - - - - - - - True - _Edit - True - - - True - - - True - gtk-cut - True - True - - - - - True - gtk-copy - True - True - - - - - True - gtk-paste - True - True - - - - - True - gtk-delete - True - True - - - - - - - - - True - _View - True - - - - - True - _Help - True - - - True - - - True - gtk-about - True - True - - - - - - - - - - False - - - - - True - - - True - Button1 - gtk-about - - - - True - - - - - True - gtk-no - - - True - - - - - False - 1 - - - - - True - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - - - True - True - - - - - 2 - - - - - True - 2 - - - False - 3 - - - - - - diff --git a/gtk/demo/text-editor.glade b/gtk/demo/text-editor.glade deleted file mode 100644 index f19a2e3..0000000 --- a/gtk/demo/text-editor.glade +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - Lisp IDE :) - GTK_WIN_POS_CENTER - 300 - 200 - accessories-text-editor - - - True - - - True - - - True - _File - True - - - True - - - True - gtk-new - True - True - - - - - - True - gtk-open - True - True - - - - - - True - gtk-save - True - True - - - - - - True - gtk-save-as - True - True - - - - - - True - - - - - True - gtk-quit - True - True - - - - - - - - - - True - _Edit - True - - - True - - - True - gtk-cut - True - True - - - - - - True - gtk-copy - True - True - - - - - - True - gtk-paste - True - True - - - - - - True - gtk-delete - True - True - - - - - - - - - - True - _View - True - - - - - True - _Help - True - - - True - - - True - gtk-about - True - True - - - - - - - - - - False - - - - - True - GTK_TOOLBAR_ICONS - - - True - New - gtk-new - - - - True - - - - - True - Open - gtk-open - - - - True - - - - - True - Save - gtk-save - - - - True - - - - - True - Save as - gtk-save-as - - - - - - True - Eval - gtk-execute - - - - True - - - - - False - 1 - - - - - True - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - - - True - True - - - - - 2 - - - - - True - 2 - - - False - 3 - - - - - -