anjuta r3571 - in trunk: . plugins/document-manager
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3571 - in trunk: . plugins/document-manager
- Date: Sat, 2 Feb 2008 09:16:02 +0000 (GMT)
Author: jhs
Date: Sat Feb 2 09:16:02 2008
New Revision: 3571
URL: http://svn.gnome.org/viewvc/anjuta?rev=3571&view=rev
Log:
2008-02-02 Johannes Schmid <jhs gnome org>
* plugins/document-manager/plugin.c: (docman_plugin_set_tab_pos):
Fixed #512535 â Open files tabs\' position is correctly remembered
but not applied at startup
Modified:
trunk/ChangeLog
trunk/plugins/document-manager/plugin.c
Modified: trunk/plugins/document-manager/plugin.c
==============================================================================
--- trunk/plugins/document-manager/plugin.c (original)
+++ trunk/plugins/document-manager/plugin.c Sat Feb 2 09:16:02 2008
@@ -1455,7 +1455,9 @@
pos = GTK_POS_TOP;
if (tab_pos)
{
- if (strcasecmp (tab_pos, "left") == 0)
+ if (strcasecmp (tab_pos, "top") == 0)
+ pos = GTK_POS_TOP;
+ else if (strcasecmp (tab_pos, "left") == 0)
pos = GTK_POS_LEFT;
else if (strcasecmp (tab_pos, "right") == 0)
pos = GTK_POS_RIGHT;
@@ -1743,6 +1745,7 @@
value_removed_project_root_uri, NULL);
dplugin->project_name = NULL;
+ prefs_init(ANJUTA_PLUGIN_DOCMAN (plugin));
initialized = TRUE;
return TRUE;
@@ -2089,8 +2092,7 @@
static void
ipreferences_merge(IAnjutaPreferences* ipref, AnjutaPreferences* prefs, GError** e)
{
- GladeXML* gxml;
- AnjutaPlugin *plugin = ANJUTA_PLUGIN (ipref);
+ GladeXML* gxml;
/* Add preferences */
gxml = glade_xml_new (PREFS_GLADE, "preferences_dialog", NULL);
@@ -2099,7 +2101,6 @@
gxml, "Documents", _("Documents"), ICON_FILE);
anjuta_encodings_init (prefs, gxml);
- prefs_init(ANJUTA_PLUGIN_DOCMAN (plugin));
g_object_unref (G_OBJECT (gxml));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]