aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-url-entry.c
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2003-03-12 05:22:14 +0800
committerRodney Dawes <dobey@src.gnome.org>2003-03-12 05:22:14 +0800
commitc6a1e23298bcca3ac4f4c1fdb4cdcc297ee424ee (patch)
treea045daac7a166e28b3354303ea4fc08f4a4ce5f6 /widgets/misc/e-url-entry.c
parent179239f0e51b4ae7470482d1053378aad981eb7a (diff)
downloadgsoc2013-evolution-c6a1e23298bcca3ac4f4c1fdb4cdcc297ee424ee.tar.gz
gsoc2013-evolution-c6a1e23298bcca3ac4f4c1fdb4cdcc297ee424ee.tar.zst
gsoc2013-evolution-c6a1e23298bcca3ac4f4c1fdb4cdcc297ee424ee.zip
Use GtkArrow instead of pixmaps Use GtkArrow instead of pixmaps
2003-03-10 Rodney Dawes <dobey@ximian.com> * e-calendar.c: Use GtkArrow instead of pixmaps * e-combo-button.c: Use GtkArrow instead of pixmaps * e-filter-bar.c: gtk_window_set_policy () is deprecated * e-url-entry.c: Load the icon in a pixbuf instead of GdkPixmap svn path=/trunk/; revision=20254
Diffstat (limited to 'widgets/misc/e-url-entry.c')
-rw-r--r--widgets/misc/e-url-entry.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/widgets/misc/e-url-entry.c b/widgets/misc/e-url-entry.c
index bfcff578bd..647c5c74b4 100644
--- a/widgets/misc/e-url-entry.c
+++ b/widgets/misc/e-url-entry.c
@@ -27,7 +27,6 @@
#include <gtk/gtk.h>
#include <libgnome/gnome-url.h>
-#include "art/connect_to_url-16.xpm"
#include "e-url-entry.h"
struct _EUrlEntryPrivate {
@@ -86,9 +85,6 @@ static void
init (EUrlEntry *url_entry)
{
EUrlEntryPrivate *priv;
- GdkColormap *colormap;
- GdkPixmap *url_icon;
- GdkBitmap *url_mask;
GtkWidget *pixmap;
priv = g_new0 (EUrlEntryPrivate, 1);
@@ -98,13 +94,7 @@ init (EUrlEntry *url_entry)
gtk_box_pack_start (GTK_BOX (url_entry), priv->entry, TRUE, TRUE, 0);
priv->button = gtk_button_new ();
gtk_box_pack_start (GTK_BOX (url_entry), priv->button, FALSE, FALSE, 0);
-
- colormap = gtk_widget_get_colormap (GTK_WIDGET (priv->button));
- url_icon = gdk_pixmap_colormap_create_from_xpm_d (NULL, colormap,
- &url_mask, NULL,
- connect_to_url_16_xpm);
-
- pixmap = gtk_pixmap_new (url_icon, url_mask);
+ pixmap = gtk_image_new_from_file (MAP_DIR "/connect_to_url-16.xpm");
gtk_container_add (GTK_CONTAINER (priv->button), pixmap);
gtk_widget_show (pixmap);