[anjal] BUGFIX: GNOME #589292 - Fix close button icon position.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] BUGFIX: GNOME #589292 - Fix close button icon position.
- Date: Wed, 22 Jul 2009 06:33:01 +0000 (UTC)
commit f49b6be9f3c3b77be0a86655839d712a5e9251de
Author: Srinivasa Ragavan <sragavan novell com>
Date: Wed Jul 22 12:01:18 2009 +0530
BUGFIX: GNOME #589292 - Fix close button icon position.
src/mail-account-view.c | 2 +-
src/mail-composer-view.c | 2 +-
src/mail-conv-view.c | 2 +-
src/mail-folder-view.c | 2 +-
src/mail-people-view.c | 2 +-
src/mail-settings-view.c | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/mail-account-view.c b/src/mail-account-view.c
index 95ec53b..2c6e963 100644
--- a/src/mail-account-view.c
+++ b/src/mail-account-view.c
@@ -595,7 +595,7 @@ mav_btn_expose (GtkWidget *w, GdkEventExpose *event, MailAccountView *mfv)
GdkPixbuf *img = g_object_get_data ((GObject *)w, "pbuf");
cairo_t *cr = gdk_cairo_create (w->window);
cairo_save (cr);
- gdk_cairo_set_source_pixbuf (cr, img, event->area.x-4, event->area.y-5);
+ gdk_cairo_set_source_pixbuf (cr, img, event->area.x-5, event->area.y-4);
cairo_paint(cr);
cairo_restore(cr);
cairo_destroy (cr);
diff --git a/src/mail-composer-view.c b/src/mail-composer-view.c
index 501a8d8..68fdfe0 100644
--- a/src/mail-composer-view.c
+++ b/src/mail-composer-view.c
@@ -103,7 +103,7 @@ mcv_btn_expose (GtkWidget *w, GdkEventExpose *event, MailComposerView *mcv)
GdkPixbuf *img = g_object_get_data ((GObject *)w, "pbuf");
cairo_t *cr = gdk_cairo_create (w->window);
cairo_save (cr);
- gdk_cairo_set_source_pixbuf (cr, img, event->area.x-4, event->area.y-5);
+ gdk_cairo_set_source_pixbuf (cr, img, event->area.x-5, event->area.y-4);
cairo_paint(cr);
cairo_restore(cr);
cairo_destroy (cr);
diff --git a/src/mail-conv-view.c b/src/mail-conv-view.c
index 2cbfcba..c686efa 100644
--- a/src/mail-conv-view.c
+++ b/src/mail-conv-view.c
@@ -543,7 +543,7 @@ mcv_btn_expose (GtkWidget *w, GdkEventExpose *event, MailConvView *mfv)
GdkPixbuf *img = g_object_get_data ((GObject *)w, "pbuf");
cairo_t *cr = gdk_cairo_create (w->window);
cairo_save (cr);
- gdk_cairo_set_source_pixbuf (cr, img, event->area.x-4, event->area.y-5);
+ gdk_cairo_set_source_pixbuf (cr, img, event->area.x-5, event->area.y-4);
cairo_paint(cr);
cairo_restore(cr);
cairo_destroy (cr);
diff --git a/src/mail-folder-view.c b/src/mail-folder-view.c
index a6b218e..3166c23 100644
--- a/src/mail-folder-view.c
+++ b/src/mail-folder-view.c
@@ -170,7 +170,7 @@ mfv_btn_expose (GtkWidget *w, GdkEventExpose *event, MailFolderView *mfv)
GdkPixbuf *img = g_object_get_data ((GObject *)w, "pbuf");
cairo_t *cr = gdk_cairo_create (w->window);
cairo_save (cr);
- gdk_cairo_set_source_pixbuf (cr, img, event->area.x-4, event->area.y-5);
+ gdk_cairo_set_source_pixbuf (cr, img, event->area.x-5, event->area.y-4);
cairo_paint(cr);
cairo_restore(cr);
cairo_destroy (cr);
diff --git a/src/mail-people-view.c b/src/mail-people-view.c
index 77d6ca5..2a50868 100644
--- a/src/mail-people-view.c
+++ b/src/mail-people-view.c
@@ -211,7 +211,7 @@ msv_btn_expose (GtkWidget *w, GdkEventExpose *event, MailPeopleView *mfv)
GdkPixbuf *img = g_object_get_data ((GObject *)w, "pbuf");
cairo_t *cr = gdk_cairo_create (w->window);
cairo_save (cr);
- gdk_cairo_set_source_pixbuf (cr, img, event->area.x-4, event->area.y-5);
+ gdk_cairo_set_source_pixbuf (cr, img, event->area.x-5, event->area.y-4);
cairo_paint(cr);
cairo_restore(cr);
cairo_destroy (cr);
diff --git a/src/mail-settings-view.c b/src/mail-settings-view.c
index 0c5d3c5..058d97e 100644
--- a/src/mail-settings-view.c
+++ b/src/mail-settings-view.c
@@ -228,7 +228,7 @@ msv_btn_expose (GtkWidget *w, GdkEventExpose *event, MailSettingsView *mfv)
GdkPixbuf *img = g_object_get_data ((GObject *)w, "pbuf");
cairo_t *cr = gdk_cairo_create (w->window);
cairo_save (cr);
- gdk_cairo_set_source_pixbuf (cr, img, event->area.x-4, event->area.y-5);
+ gdk_cairo_set_source_pixbuf (cr, img, event->area.x-5, event->area.y-4);
cairo_paint(cr);
cairo_restore(cr);
cairo_destroy (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]