diff --git a/medit/medit-project.desktop.in b/medit/medit-project.desktop.in new file mode 100644 index 00000000..ae2c3f3c --- /dev/null +++ b/medit/medit-project.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +_Name=medit +_Comment=Text editor +Exec=medit --project %F +Terminal=false +Type=Application +StartupNotify=true +MimeType=application/x-medit-project; +Icon=medit +Categories=Development; +# Hidden=true diff --git a/moo.mprj b/moo.mprj index e2bcd3d9..b9c13425 100644 --- a/moo.mprj +++ b/moo.mprj @@ -2,9 +2,6 @@ debug - - build/darwin - build/debug @@ -31,6 +28,9 @@ build/mingw + + + build/optimized diff --git a/moo/moopython/plugins/pyproject/Makefile.ug b/moo/moopython/plugins/pyproject/Makefile.ug index 9335aa63..9e85093c 100644 --- a/moo/moopython/plugins/pyproject/Makefile.ug +++ b/moo/moopython/plugins/pyproject/Makefile.ug @@ -61,13 +61,7 @@ packagesdir = $(mimedir)/packages packages_DATA = medit-mprj.xml EXTRA_DIST += medit-mprj.xml.in -hicolor = $(datadir)/icons/hicolor -install-data-local: - $(INSTALL_DATA) "$(top_srcdir)/moo/mooutils/pixmaps/medit.png" \ - "$(DESTDIR)$(hicolor)/48x48/mimetypes/application-x-medit-project.png" - update_mime = update-mime-database $(DESTDIR)${mimedir} -update_icon_cache = gtk-update-icon-cache -f -t $(DESTDIR)$(datadir)/icons/hicolor if MOO_ENABLE_GENERATED_FILES install-data-hook: @@ -82,16 +76,9 @@ install-data-hook: echo $(update_mime); \ echo "*** "; \ fi - @if echo "Updating icon cache" && $(update_icon_cache); then \ - echo "Done."; \ - else \ - echo "*** GTK icon cache not updated. After install, run this:";\ - echo $(update_icon_cache); \ - fi uninstall-hook: @echo "Updating mime database" && \ echo $(update_mime) && \ $(update_mime) && \ echo "Done." - @if echo "Updating icon cache" && $(update_icon_cache); then echo "Done."; else echo "Failed."; fi endif diff --git a/moo/moopython/plugins/pyproject/projects/cproj/optdialog.py b/moo/moopython/plugins/pyproject/projects/cproj/optdialog.py index 4dbc9e30..7f15ec7b 100644 --- a/moo/moopython/plugins/pyproject/projects/cproj/optdialog.py +++ b/moo/moopython/plugins/pyproject/projects/cproj/optdialog.py @@ -185,7 +185,7 @@ class Dialog(mprj.optdialog.Dialog): def __init__(self, project): mprj.optdialog.Dialog.__init__(self, project) glade_file = os.path.join(os.path.dirname(__file__), 'options.glade') - self.append_page(mprj.simple.ConfigPage(self.config_copy)) +# self.append_page(mprj.simple.ConfigPage(self.config_copy)) self.append_page(ConfigsPage('page_configs', self.config_copy, glade_file)) self.append_page(RunOptionsPage('page_run', self.config_copy, glade_file)) self.append_page(BuildCommandsPage('page_commands', self.config_copy, glade_file)) diff --git a/moo/moopython/plugins/pyproject/projects/cproj/options.glade b/moo/moopython/plugins/pyproject/projects/cproj/options.glade index d64e0dea..10b6cf88 100644 --- a/moo/moopython/plugins/pyproject/projects/cproj/options.glade +++ b/moo/moopython/plugins/pyproject/projects/cproj/options.glade @@ -111,17 +111,54 @@ 6 6 - + True - 0 - _Environment variables: - True - config_vars + True + 1 2 - 2 - 3 + 1 + 2 + + + + + + True + True + + + 1 + 2 + + + + + + True + 1 + _Arguments: + True + config_args + + + 1 + 2 + GTK_FILL + + + + + + True + 1 + _Build directory: + True + True + config_build_dir + + GTK_FILL @@ -153,55 +190,18 @@ - + True - 1 - _Build directory: - True + 0 + _Environment variables: True - config_build_dir + config_vars - GTK_FILL - - - - - - True - 1 - _Arguments: - True - config_args - - - 1 - 2 - GTK_FILL - - - - - - True - True - - - 1 2 - - - - - - True - True - - - 1 - 2 - 1 - 2 + 2 + 3 + GTK_FILL @@ -292,6 +292,7 @@ True Custom: True + False 0 True build_dir @@ -358,26 +359,15 @@ 6 6 - + True - 1 - Arguments: + True + 1 + 2 1 2 - GTK_FILL - - - - - - True - 1 - Executable: - - - GTK_FILL @@ -393,15 +383,26 @@ - + True - True + 1 + Executable: + + + GTK_FILL + + + + + + True + 1 + Arguments: - 1 - 2 1 2 + GTK_FILL