diff --git a/capplets/font/font-properties.glade b/capplets/font/font-properties.glade index be0e27167..4e8e64b10 100644 --- a/capplets/font/font-properties.glade +++ b/capplets/font/font-properties.glade @@ -6,13 +6,13 @@ True - Font Properties + Font Preferences GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False - False + True @@ -44,6 +44,7 @@ True True + True True gtk-close True @@ -62,7 +63,7 @@ - 16 + 5 300 True 2 @@ -74,16 +75,17 @@ True - Standard Desktop Font - False + Standard _application font: + True False GTK_JUSTIFY_RIGHT False False - 1 + 0 0.5 0 0 + application_font 0 @@ -98,16 +100,17 @@ True - File Manager Font - False + _Desktop font: + True False GTK_JUSTIFY_RIGHT False False - 1 + 0 0.5 0 0 + desktop_font 0 @@ -122,6 +125,7 @@ True + Set the font for applications True GNOME_FONT_PICKER_MODE_FONT_INFO True @@ -140,6 +144,7 @@ True + Set the font for the icons on the desktop True GNOME_FONT_PICKER_MODE_FONT_INFO True diff --git a/capplets/font/main.c b/capplets/font/main.c index a1d14e42a..d5ec4b477 100644 --- a/capplets/font/main.c +++ b/capplets/font/main.c @@ -46,12 +46,15 @@ cb_dialog_response (GtkDialog *dialog, gint response_id) gtk_main_quit (); } + static void setup_dialog (GladeXML *dialog) { GConfClient *client; GtkWidget *widget; GObject *peditor; + gchar *filename; + GdkPixbuf *icon_pixbuf; client = gconf_client_get_default (); @@ -66,6 +69,11 @@ setup_dialog (GladeXML *dialog) PEDITOR_FONT_COMBINED, NULL); widget = WID ("font_dialog"); + filename = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_APP_PIXMAP, "keyboard-shortcut.png", TRUE, NULL); + icon_pixbuf = gdk_pixbuf_new_from_file ("font-capplet.png", NULL); + gtk_window_set_icon (GTK_WINDOW (widget), icon_pixbuf); + g_free (filename); + g_object_unref (icon_pixbuf); gtk_widget_show (widget); g_signal_connect (G_OBJECT (widget),