[Pioneers-commits] r17 - trunk/client/gtk
kemm at garage.maemo.org
kemm at garage.maemo.org
Mon Mar 10 02:56:22 EET 2008
Author: kemm
Date: 2008-03-10 02:56:22 +0200 (Mon, 10 Mar 2008)
New Revision: 17
Modified:
trunk/client/gtk/gui.c
Log:
Fix font
Modified: trunk/client/gtk/gui.c
===================================================================
--- trunk/client/gtk/gui.c 2008-03-09 20:56:37 UTC (rev 16)
+++ trunk/client/gtk/gui.c 2008-03-10 00:56:22 UTC (rev 17)
@@ -29,7 +29,6 @@
#endif
#include <hildon/hildon-program.h>
-#include <libosso.h>
#include "aboutbox.h"
#include "frontend.h"
@@ -624,6 +623,7 @@
/* Tab page name, shown for the splash screen */
lbl = gtk_label_new(_("Welcome to Pioneers"));
+ //gtk_widget_modify_font(lbl, pango_font_description_from_string("Sans 5"));
gtk_widget_show(lbl);
splash_page = splash_build_page();
gtk_notebook_insert_page(GTK_NOTEBOOK(map_notebook),
@@ -1465,7 +1465,6 @@
GError *error = NULL;
gchar *icon_file;
HildonProgram *program;
- osso_context_t *osso_context;
player_init();
@@ -1473,15 +1472,13 @@
register_pixmaps();
- gtk_rc_parse_string("gtk-font-name = \"Sans 5\"");
+ gtk_rc_parse_string("style 'osso-SystemFont' { font_name = 'Nokia Sans 11.625' }");
program = HILDON_PROGRAM(hildon_program_get_instance());
app_window = hildon_window_new();
hildon_program_add_window(program, HILDON_WINDOW(app_window));
g_set_application_name(_("Pioneers"));
- osso_context = osso_initialize("pioneers", "0.0.2", TRUE, NULL);
-
#if 0
app_window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
/* The name of the application */
More information about the Pioneers-commits
mailing list