svnno****@sourc*****
svnno****@sourc*****
Mon Sep 3 14:14:32 JST 2007
Revision: 3233 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3233 Author: ikezoe Date: 2007-09-03 14:14:31 +0900 (Mon, 03 Sep 2007) Log Message: ----------- * module/embed/gecko/kz-gecko-single.cpp: Invoke set_user_agent() explicitly. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/module/embed/gecko/kz-gecko-single.cpp Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-09-03 04:32:52 UTC (rev 3232) +++ kazehakase/trunk/ChangeLog 2007-09-03 05:14:31 UTC (rev 3233) @@ -5,6 +5,8 @@ gtk_menu_item_remove_submenu(). * src/bookmarks/kz-bookmark-item.c: Use g_object_unref() instead gtk_rc_style_unref(). + * module/embed/gecko/kz-gecko-single.cpp: Invoke set_user_agent() + explicitly. 2007-09-02 Kouhei Sutou <kou****@cozmi*****> Modified: kazehakase/trunk/module/embed/gecko/kz-gecko-single.cpp =================================================================== --- kazehakase/trunk/module/embed/gecko/kz-gecko-single.cpp 2007-09-03 04:32:52 UTC (rev 3232) +++ kazehakase/trunk/module/embed/gecko/kz-gecko-single.cpp 2007-09-03 05:14:31 UTC (rev 3233) @@ -80,6 +80,8 @@ const gchar *old_value, gpointer data); +static void set_user_agent (KzProfile *profile); + static KzGeckoSingle *the_kz_gecko_single = NULL; G_DEFINE_TYPE(KzGeckoSingle, kz_gecko_single, GTK_TYPE_MOZ_EMBED_SINGLE) @@ -129,6 +131,7 @@ profile = kz_app_get_profile(priv->kz_app); mozilla_register_components(); + set_user_agent(profile); g_signal_connect(profile, "changed::Global", G_CALLBACK(cb_global_profile_changed), NULL); g_signal_connect(profile, "changed::Font",