Commit 3300eb53 authored by Sebastien Granjoux's avatar Sebastien Granjoux

Partial fix #513156: Replace GnomeDruid by GtkAssistant and GnomeIconList

	* plugins/project-wizard/druid.c,
	plugins/project-wizard/druid.h,
	plugins/project-wizard/property.c,
	plugins/project-wizard/property.h,
	plugins/project-wizard/header.c,
	plugins/project-wizard/anjuta-project-wizard.glade,
	plugins/project-wizard/Makefile.am,
	configure.in:
	Partial fix #513156: Replace GnomeDruid by GtkAssistant and
	GnomeIconList by GtkIconView
	Use GtkBuilder instead of libglade
	gtk_assistant_set_current_page need gtk 2.19.10

svn path=/trunk/; revision=4574
parent df2eda55
2008-01-11 Sébastien Granjoux <seb.sfo@free.fr>
* plugins/project-wizard/druid.c,
plugins/project-wizard/druid.h,
plugins/project-wizard/property.c,
plugins/project-wizard/property.h,
plugins/project-wizard/header.c,
plugins/project-wizard/anjuta-project-wizard.glade,
plugins/project-wizard/Makefile.am,
configure.in:
Partial fix #513156: Replace GnomeDruid by GtkAssistant and
GnomeIconList by GtkIconView
Use GtkBuilder instead of libglade
gtk_assistant_set_current_page need gtk 2.19.10
2009-01-11 Johannes Schmid <jhs@gnome.org>
* plugins/devhelp/anjuta-devhelp-simple.ui:
......@@ -24,7 +24,7 @@ AC_SUBST(ANJUTA_VERSION)
GLIB_REQUIRED=2.16.0
GDK_PIXBUF_REQUIRED=2.0.0
GTK_REQUIRED=2.12.0
GTK_REQUIRED=2.12.10
ORBIT_REQUIRED=2.6.0
LIBGLADE_REQUIRED=2.3.0
GNOME_REQUIRED=2.12.0
......
......@@ -3,7 +3,7 @@ SUBDIRS = templates
# Plugin glade file
wizard_gladedir = $(anjuta_glade_dir)
wizard_glade_DATA = anjuta-project-wizard.glade \
wizard_glade_DATA = anjuta-project-wizard.ui \
applogo.png \
appwizard.png
......@@ -21,6 +21,10 @@ wizard_pixmaps_DATA = \
plugin_in_files = anjuta-project-wizard.plugin.in
%.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
# Create .ui file from .glade file
%.ui: %.glade
gtk-builder-convert $< $@
wizard_plugindir = $(anjuta_plugin_dir)
wizard_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
......
This diff is collapsed.
......@@ -21,7 +21,6 @@
#ifndef __DRUID_H__
#define __DRUID_H__
#define GLADE_FILE PACKAGE_DATA_DIR"/glade/anjuta-project-wizard.glade"
#define ICON_FILE "anjuta-project-wizard-plugin-48.png"
#include <glib.h>
......@@ -30,8 +29,8 @@ struct _NPWPlugin;
typedef struct _NPWDruid NPWDruid;
NPWDruid* npw_druid_new (struct _NPWPlugin* plugin);
void npw_druid_free (NPWDruid* this);
void npw_druid_free (NPWDruid* druid);
void npw_druid_show (NPWDruid* this);
void npw_druid_show (NPWDruid* druid);
#endif
......@@ -214,8 +214,6 @@ remove_category (GList *list)
void
npw_header_list_free (GList* list)
{
g_return_if_fail (list != NULL);
g_list_foreach (list, (GFunc)remove_category, NULL);
g_list_free (list);
}
......
......@@ -49,6 +49,7 @@ struct _NPWPage
gchar* name;
gchar* label;
gchar* description;
GtkWidget *widget;
};
struct _NPWProperty {
......@@ -732,6 +733,18 @@ npw_page_get_description (const NPWPage* page)
return page->description;
}
void
npw_page_set_widget (NPWPage* page, GtkWidget *widget)
{
page->widget = widget;
}
GtkWidget*
npw_page_get_widget (const NPWPage* page)
{
return page->widget;
}
void
npw_page_foreach_property (const NPWPage* page, GFunc func, gpointer data)
{
......
......@@ -125,6 +125,9 @@ const gchar* npw_page_get_label (const NPWPage* page);
void npw_page_set_description (NPWPage* page, const gchar* name);
const gchar* npw_page_get_description (const NPWPage* page);
void npw_page_set_widget (NPWPage* page, GtkWidget *widget);
GtkWidget *npw_page_get_widget (const NPWPage *page);
void npw_page_foreach_property (const NPWPage* page, GFunc func, gpointer data);
void npw_page_add_property (NPWPage* page, NPWProperty* prop);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment