diff options
author | tamplan <[email protected]> | 2019-05-08 13:29:49 +0200 |
---|---|---|
committer | monsta <[email protected]> | 2019-05-31 16:13:29 +0300 |
commit | 1651325cd97df0f5e2067b502657e7acaf875894 (patch) | |
tree | a15f184db07a23a0a4043c04fa74ea3d411dd4b3 | |
parent | be134fa874306dd27d43c23066e693a614c8b059 (diff) | |
download | mate-control-center-1651325cd97df0f5e2067b502657e7acaf875894.tar.bz2 mate-control-center-1651325cd97df0f5e2067b502657e7acaf875894.tar.xz |
add icon for the font viewer window
-rw-r--r-- | font-viewer/font-view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/font-viewer/font-view.c b/font-viewer/font-view.c index 6b3bd536..584f03b2 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)) @@ -737,7 +738,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, @@ -778,6 +779,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")); |