summaryrefslogtreecommitdiff
path: root/plugins/gtk+
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtk+')
-rw-r--r--plugins/gtk+/Makefile.am2
-rw-r--r--plugins/gtk+/fixed-bg.xpm17
-rw-r--r--plugins/gtk+/glade-gtk.c3
3 files changed, 20 insertions, 2 deletions
diff --git a/plugins/gtk+/Makefile.am b/plugins/gtk+/Makefile.am
index cb085d27..023b7ac9 100644
--- a/plugins/gtk+/Makefile.am
+++ b/plugins/gtk+/Makefile.am
@@ -23,7 +23,7 @@ libgladegtk_la_CFLAGS = \
$(PLUGINS_WARN_CFLAGS) \
$(AM_CFLAGS)
-libgladegtk_la_SOURCES = glade-gtk.c
+libgladegtk_la_SOURCES = glade-gtk.c fixed-bg.xpm
libgladegtk_la_LDFLAGS = -module -avoid-version $(AM_LDFLAGS)
libgladegtk_la_LIBADD = $(libgladeui) $(GTK_LIBS)
diff --git a/plugins/gtk+/fixed-bg.xpm b/plugins/gtk+/fixed-bg.xpm
new file mode 100644
index 00000000..a2fe89f3
--- /dev/null
+++ b/plugins/gtk+/fixed-bg.xpm
@@ -0,0 +1,17 @@
+/* XPM */
+static char *fixed_bg_xpm[] = {
+ /* columns rows colors chars-per-pixel */
+ "8 8 2 1",
+ ". c #bbbbbb",
+ " c #d6d6d6",
+ /* pixels */
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ",
+ " ..",
+ " ..",
+ " "
+};
diff --git a/plugins/gtk+/glade-gtk.c b/plugins/gtk+/glade-gtk.c
index 7a48e8c5..bf532e8b 100644
--- a/plugins/gtk+/glade-gtk.c
+++ b/plugins/gtk+/glade-gtk.c
@@ -25,10 +25,11 @@
#include <config.h>
#include "glade-gtk.h"
+#include "fixed-bg.xpm"
#include <gladeui/glade-editor-property.h>
#include <gladeui/glade-base-editor.h>
-#include <gladeui/fixed_bg.xpm>
+
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>