aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-10 20:00:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-10 20:00:32 +0800
commitb3cdd1cc301540d00fe1a501c5e2b5332d8869b7 (patch)
treeebe21600d27b2939063e7e97c38778541678c5da /widgets/misc
parent9a348272a60b85948c6ffc4a5ffb2f7b77f10b60 (diff)
downloadgsoc2013-evolution-b3cdd1cc301540d00fe1a501c5e2b5332d8869b7.tar.gz
gsoc2013-evolution-b3cdd1cc301540d00fe1a501c5e2b5332d8869b7.tar.zst
gsoc2013-evolution-b3cdd1cc301540d00fe1a501c5e2b5332d8869b7.zip
Bug 624022 - "stock_mail-import" no longer exists in gnome-icon-theme
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-import-assistant.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/widgets/misc/e-import-assistant.c b/widgets/misc/e-import-assistant.c
index ec36c8b32d..b619b5f100 100644
--- a/widgets/misc/e-import-assistant.c
+++ b/widgets/misc/e-import-assistant.c
@@ -1254,10 +1254,7 @@ static void
import_assistant_construct (EImportAssistant *import_assistant)
{
GtkAssistant *assistant;
- GtkIconTheme *icon_theme;
GtkWidget *page;
- GdkPixbuf *pixbuf;
- gint size;
assistant = GTK_ASSISTANT (import_assistant);
@@ -1267,11 +1264,6 @@ import_assistant_construct (EImportAssistant *import_assistant)
import_assistant->priv->import =
e_import_new ("org.gnome.evolution.shell.importer");
- icon_theme = gtk_icon_theme_get_default ();
- gtk_icon_size_lookup (GTK_ICON_SIZE_DIALOG, &size, NULL);
- pixbuf = gtk_icon_theme_load_icon (
- icon_theme, "stock_mail-import", size, 0, NULL);
-
gtk_window_set_position (GTK_WINDOW (assistant), GTK_WIN_POS_CENTER);
gtk_window_set_title (GTK_WINDOW (assistant), _("Evolution Import Assistant"));
gtk_window_set_default_size (GTK_WINDOW (assistant), 500, 330);
@@ -1281,7 +1273,6 @@ import_assistant_construct (EImportAssistant *import_assistant)
page = import_assistant_simple_page_init (import_assistant);
gtk_assistant_append_page (assistant, page);
- gtk_assistant_set_page_header_image (assistant, page, pixbuf);
gtk_assistant_set_page_title (assistant, page, _("Import Data"));
gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_CONTENT);
@@ -1289,7 +1280,6 @@ import_assistant_construct (EImportAssistant *import_assistant)
page = import_assistant_destination_page_init (import_assistant);
gtk_assistant_append_page (assistant, page);
- gtk_assistant_set_page_header_image (assistant, page, pixbuf);
gtk_assistant_set_page_title (assistant, page, _("Import Location"));
gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_CONTENT);
} else {
@@ -1307,7 +1297,6 @@ import_assistant_construct (EImportAssistant *import_assistant)
gtk_widget_show (page);
gtk_assistant_append_page (assistant, page);
- gtk_assistant_set_page_header_image (assistant, page, pixbuf);
gtk_assistant_set_page_title (assistant, page, _("Evolution Import Assistant"));
gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_INTRO);
gtk_assistant_set_page_complete (assistant, page, TRUE);
@@ -1316,7 +1305,6 @@ import_assistant_construct (EImportAssistant *import_assistant)
page = import_assistant_type_page_init (import_assistant);
gtk_assistant_append_page (assistant, page);
- gtk_assistant_set_page_header_image (assistant, page, pixbuf);
gtk_assistant_set_page_title (assistant, page, _("Importer Type"));
gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_CONTENT);
gtk_assistant_set_page_complete (assistant, page, TRUE);
@@ -1325,7 +1313,6 @@ import_assistant_construct (EImportAssistant *import_assistant)
page = import_assistant_selection_page_init (import_assistant);
gtk_assistant_append_page (assistant, page);
- gtk_assistant_set_page_header_image (assistant, page, pixbuf);
gtk_assistant_set_page_title (assistant, page, _("Select Information to Import"));
gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_CONTENT);
@@ -1333,7 +1320,6 @@ import_assistant_construct (EImportAssistant *import_assistant)
page = import_assistant_file_page_init (import_assistant);
gtk_assistant_append_page (assistant, page);
- gtk_assistant_set_page_header_image (assistant, page, pixbuf);
gtk_assistant_set_page_title (assistant, page, _("Select a File"));
gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_CONTENT);
@@ -1341,7 +1327,6 @@ import_assistant_construct (EImportAssistant *import_assistant)
page = import_assistant_destination_page_init (import_assistant);
gtk_assistant_append_page (assistant, page);
- gtk_assistant_set_page_header_image (assistant, page, pixbuf);
gtk_assistant_set_page_title (assistant, page, _("Import Location"));
gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_CONTENT);
@@ -1354,7 +1339,6 @@ import_assistant_construct (EImportAssistant *import_assistant)
gtk_widget_show (page);
gtk_assistant_append_page (assistant, page);
- gtk_assistant_set_page_header_image (assistant, page, pixbuf);
gtk_assistant_set_page_title (assistant, page, _("Import Data"));
gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_CONFIRM);
gtk_assistant_set_page_complete (assistant, page, TRUE);
@@ -1364,7 +1348,6 @@ import_assistant_construct (EImportAssistant *import_assistant)
page = import_assistant_progress_page_init (import_assistant);
gtk_assistant_append_page (assistant, page);
- gtk_assistant_set_page_header_image (assistant, page, pixbuf);
gtk_assistant_set_page_title (assistant, page, _("Import Data"));
gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_PROGRESS);
gtk_assistant_set_page_complete (assistant, page, TRUE);
@@ -1373,8 +1356,6 @@ import_assistant_construct (EImportAssistant *import_assistant)
assistant, (GtkAssistantPageFunc)
forward_cb, import_assistant, NULL);
- g_object_unref (pixbuf);
-
gtk_assistant_update_buttons_state (assistant);
}