From: Dirk-Jan C. Binnema Date: Mon, 31 Jul 2006 13:00:22 +0000 (+0000) Subject: * add icon for main window X-Git-Tag: git_migration_finished~4437 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=267af59e6b2e683ca64ea0525fd01f6ead4d767c * add icon for main window pmo-trunk-r439 --- diff --git a/src/gtk2/Makefile.am b/src/gtk2/Makefile.am index c0086e4..7c914b2 100644 --- a/src/gtk2/Makefile.am +++ b/src/gtk2/Makefile.am @@ -17,7 +17,8 @@ noinst_LTLIBRARIES=\ libmodest-ui.la PIXMAP_FILES=\ - pixmaps/*.png + pixmaps/*.png \ + pixmaps/*.svg libmodest_ui_la_SOURCES= \ modest-ui.c \ diff --git a/src/gtk2/modest-icon-names.h b/src/gtk2/modest-icon-names.h index c51d743..3c5a42b 100644 --- a/src/gtk2/modest-icon-names.h +++ b/src/gtk2/modest-icon-names.h @@ -42,6 +42,8 @@ /* icons */ +#define MODEST_APP_ICON PIXMAP_PREFIX "internet-mail.svg" + #define MODEST_HEADER_ICON_READ PIXMAP_PREFIX "qgn_list_messagin_mail.png" #define MODEST_HEADER_ICON_UNREAD PIXMAP_PREFIX "qgn_list_messagin_mail_unread.png" #define MODEST_HEADER_ICON_DELETED PIXMAP_PREFIX "qgn_list_messagin_mail_deleted.png" diff --git a/src/gtk2/modest-main-window.c b/src/gtk2/modest-main-window.c index 90db766..087af94 100644 --- a/src/gtk2/modest-main-window.c +++ b/src/gtk2/modest-main-window.c @@ -28,9 +28,13 @@ */ #include +#include + #include "modest-main-window.h" #include "modest-account-view-window.h" #include "modest-edit-msg-window.h" +#include "modest-icon-names.h" + /* 'private'/'protected' functions */ static void modest_main_window_class_init (ModestMainWindowClass *klass); @@ -470,7 +474,9 @@ modest_main_window_new (ModestConf *conf, ModestAccountMgr *account_mgr, restore_sizes (MODEST_MAIN_WINDOW(obj)); gtk_window_set_title (GTK_WINDOW(obj), "Modest"); - + gtk_window_set_icon (GTK_WINDOW(obj), + modest_icon_factory_get_icon (MODEST_APP_ICON)); + gtk_widget_show_all (main_vbox); g_signal_connect (G_OBJECT(obj), "delete-event", diff --git a/src/gtk2/pixmaps/internet-mail.svg b/src/gtk2/pixmaps/internet-mail.svg new file mode 100644 index 0000000..cfaed48 --- /dev/null +++ b/src/gtk2/pixmaps/internet-mail.svg @@ -0,0 +1,458 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Mail + + + Jakub Steiner + + + + + Andreas Nilsson + + + + + + mail + e-mail + MUA + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +