Commit 4a39fac2 authored by Johannes Schmid's avatar Johannes Schmid
Browse files

glade: Added icons from bgo#511000

parent fd6057c9
......@@ -834,6 +834,7 @@ plugins/debug-manager/Makefile
plugins/debug-manager/images/Makefile
plugins/devhelp/Makefile
plugins/glade/Makefile
plugins/glade/images/Makefile
plugins/js-debugger/Makefile
plugins/file-manager/Makefile
plugins/file-loader/Makefile
......
SUBDIRS = images
if HAVE_PLUGIN_GLADE
......@@ -5,12 +6,6 @@ if HAVE_PLUGIN_GLADE
glade_uidir = $(anjuta_ui_dir)
glade_ui_DATA = anjuta-glade.xml
# Plugin Icon file
glade_pixmapsdir = $(anjuta_image_dir)
glade_pixmaps_DATA = \
anjuta-glade-plugin.svg \
anjuta-glade-plugin-48.png
# Plugin description file
plugin_in_files = anjuta-glade.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
......
# Plugin Icon files
glade_pixmapsdir = $(anjuta_image_dir)
glade_pixmaps_DATA = \
anjuta-glade-plugin.svg \
anjuta-glade-plugin-48.png \
anjuta-glade-palette-16.png \
anjuta-glade-palette-24.png \
anjuta-glade-palette.svg \
anjuta-glade-widgets-16.png \
anjuta-glade-widgets-24.png \
anjuta-glade-widgets.svg
EXTRA_DIST = \
$(glade_pixmaps_DATA)
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
......@@ -179,6 +179,10 @@ register_stock_icons (AnjutaPlugin *plugin)
BEGIN_REGISTER_ICON (plugin);
REGISTER_ICON ("anjuta-glade-plugin-48.png",
"glade-plugin-icon");
REGISTER_ICON ("anjuta-glade-widgets-24.png",
"glade-plugin-widgets");
REGISTER_ICON ("anjuta-glade-palette-24.png",
"glade-plugin-palette");
END_REGISTER_ICON;
}
......@@ -373,6 +377,7 @@ activate_plugin (AnjutaPlugin *plugin)
{
anjuta_status_busy_push (status);
anjuta_status_set (status, "%s", _("Loading Glade…"));
priv->app = glade_app_new ();
glade_app_set_window (GTK_WIDGET (ANJUTA_PLUGIN(plugin)->shell));
......@@ -396,7 +401,7 @@ activate_plugin (AnjutaPlugin *plugin)
gtk_widget_show_all (priv->paned);
anjuta_status_pop (status);
anjuta_status_busy_pop (status);
}
g_signal_connect(plugin->shell, "destroy",
......@@ -413,12 +418,12 @@ activate_plugin (AnjutaPlugin *plugin)
anjuta_shell_add_widget (ANJUTA_PLUGIN (plugin)->shell,
priv->paned,
"AnjutaGladeTree", _("Widgets"),
"glade-plugin-icon",
"glade-plugin-widgets",
ANJUTA_SHELL_PLACEMENT_LEFT, NULL);
anjuta_shell_add_widget (ANJUTA_PLUGIN (plugin)->shell,
priv->palette,
"AnjutaGladePalette", _("Palette"),
"glade-plugin-icon",
"glade-plugin-palette",
ANJUTA_SHELL_PLACEMENT_RIGHT, NULL);
/* Connect to save session */
g_signal_connect (G_OBJECT (plugin->shell), "save_session",
......
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