gtranslator r3513 - trunk/src
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3513 - trunk/src
- Date: Mon, 10 Mar 2008 10:48:04 +0000 (GMT)
Author: icq
Date: Mon Mar 10 10:48:03 2008
New Revision: 3513
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3513&view=rev
Log:
2008-03-10 Ignacio Casal Quinteiro <nacho resa gmail com>
* prefs-manager.h:
* prefs-manager-app.c:
Now it is not neccessary restart gtranslator to get
the new settings. The problem was in the prefs-manager.h
because I added a wrong path to monitor.
Modified:
trunk/src/ChangeLog
trunk/src/prefs-manager-app.c
trunk/src/prefs-manager.h
Modified: trunk/src/prefs-manager-app.c
==============================================================================
--- trunk/src/prefs-manager-app.c (original)
+++ trunk/src/prefs-manager-app.c Mon Mar 10 10:48:03 2008
@@ -618,10 +618,12 @@
GConfEntry *entry,
gpointer user_data)
{
- GtranslatorWindow *window = GTR_WINDOW (user_data);
+ GtranslatorWindow *window;
GdlSwitcherStyle style;
GdlDockLayout *layout_manager;
+ window = gtranslator_application_get_active_window (GTR_APP);
+
style = gtranslator_prefs_manager_get_gdl_style ();
layout_manager = GDL_DOCK_LAYOUT (_gtranslator_window_get_layout_manager (window));
Modified: trunk/src/prefs-manager.h
==============================================================================
--- trunk/src/prefs-manager.h (original)
+++ trunk/src/prefs-manager.h Mon Mar 10 10:48:03 2008
@@ -73,7 +73,7 @@
#define GPM_PLURALS GPM_LANGUAGE_SETTINGS_DIR "/plurals"
/* Interface */
-#define GPM_INTERFACE_DIR GTR_BASE_KEY "/interface"
+#define GPM_INTERFACE_DIR GPM_PREFS_DIR "/interface"
#define GPM_GDL_STYLE GPM_INTERFACE_DIR "/gdl_style"
/* Fallback default values. Keep in sync with gtranslator.schemas */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]