gucharmap r1537 - in branches/gnome-2-22: . gucharmap



Author: chpe
Date: Fri Jan 25 22:05:40 2008
New Revision: 1537
URL: http://svn.gnome.org/viewvc/gucharmap?rev=1537&view=rev

Log:
2008-01-25  Christian Persch  <chpe gnome org>

	* gucharmap/gucharmap-chapters.c: (gucharmap_chapters_constructor):
	Select the chapter corresponding to the default character (which
	depends on the locale). Should fix bug #510813.

Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/gucharmap/gucharmap-chapters.c

Modified: branches/gnome-2-22/gucharmap/gucharmap-chapters.c
==============================================================================
--- branches/gnome-2-22/gucharmap/gucharmap-chapters.c	(original)
+++ branches/gnome-2-22/gucharmap/gucharmap-chapters.c	Fri Jan 25 22:05:40 2008
@@ -22,6 +22,7 @@
 #include "gucharmap-chapters.h"
 #include "gucharmap-chapters-model.h"
 #include "gucharmap-chapters-view.h"
+#include "gucharmap-settings.h"
 #include "gucharmap-marshal.h"
 #include "gucharmap-intl.h"
 #include <string.h>
@@ -114,6 +115,7 @@
   gtk_container_add (GTK_CONTAINER (chapters), chapters->tree_view);
   gtk_widget_show (chapters->tree_view);
 
+  gucharmap_chapters_go_to_character (chapters, gucharmap_settings_get_last_char ());
   selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (chapters->tree_view));
   g_signal_connect (selection, "changed", G_CALLBACK (selection_changed), chapters);
     



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]