summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamplan <[email protected]>2019-05-08 13:29:49 +0200
committerraveit65 <[email protected]>2019-05-09 11:40:11 +0200
commit62569cfa651e3839221ce2ae150cc4cf6d2c8c6e (patch)
tree958dd1421b4b08fa0cf697145f77859d23a5b6b2
parent6c467ba45889a9cf1b5c580685ed4f5c7c7b5422 (diff)
downloadmate-control-center-62569cfa651e3839221ce2ae150cc4cf6d2c8c6e.tar.bz2
mate-control-center-62569cfa651e3839221ce2ae150cc4cf6d2c8c6e.tar.xz
add icon for the font viewer window
-rw-r--r--font-viewer/font-view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/font-viewer/font-view.c b/font-viewer/font-view.c
index 4d77b071..041d9a29 100644
--- a/font-viewer/font-view.c
+++ b/font-viewer/font-view.c
@@ -41,6 +41,7 @@
#include "sushi-font-widget.h"
#define FONT_VIEW_TYPE_APPLICATION font_view_application_get_type()
+#define FONT_VIEW_ICON_NAME "preferences-desktop-font"
#define FONT_VIEW_APPLICATION(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), FONT_VIEW_TYPE_APPLICATION, FontViewApplication))
@@ -781,7 +782,7 @@ action_about (GSimpleAction *action,
"authors", authors,
"program-name", _("Font Viewer"),
"comments", _("View fonts on your system"),
- "logo-icon-name", "preferences-desktop-font",
+ "logo-icon-name", FONT_VIEW_ICON_NAME,
"translator-credits", _("translator-credits"),
"license-type", GTK_LICENSE_GPL_2_0,
"wrap-license", TRUE,
@@ -829,6 +830,7 @@ font_view_application_startup (GApplication *application)
gtk_window_set_resizable (GTK_WINDOW (window), TRUE);
gtk_window_set_default_size (GTK_WINDOW (window), 800, 600);
+ gtk_window_set_icon_name (GTK_WINDOW (window), FONT_VIEW_ICON_NAME);
gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (window), TRUE);
gtk_window_set_title (GTK_WINDOW (window), _("Font Viewer"));