Revision: 1774 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1774&view=re... Author: colombanw Date: 2010-12-18 23:47:11 +0000 (Sat, 18 Dec 2010)
Log Message: ----------- WebHelper: Rename positions from left/bottom to sidebar/message-window
Modified Paths: -------------- trunk/geany-plugins/webhelper/src/gwh-browser.h trunk/geany-plugins/webhelper/src/gwh-plugin.c trunk/geany-plugins/webhelper/src/gwh-settings.c
Modified: trunk/geany-plugins/webhelper/src/gwh-browser.h =================================================================== --- trunk/geany-plugins/webhelper/src/gwh-browser.h 2010-12-15 19:06:19 UTC (rev 1773) +++ trunk/geany-plugins/webhelper/src/gwh-browser.h 2010-12-18 23:47:11 UTC (rev 1774) @@ -35,8 +35,8 @@
typedef enum { - GWH_BROWSER_POSITION_BOTTOM, - GWH_BROWSER_POSITION_LEFT + GWH_BROWSER_POSITION_MESSAGE_WINDOW, + GWH_BROWSER_POSITION_SIDEBAR } GwhBrowserPosition;
Modified: trunk/geany-plugins/webhelper/src/gwh-plugin.c =================================================================== --- trunk/geany-plugins/webhelper/src/gwh-plugin.c 2010-12-15 19:06:19 UTC (rev 1773) +++ trunk/geany-plugins/webhelper/src/gwh-plugin.c 2010-12-18 23:47:11 UTC (rev 1774) @@ -67,7 +67,7 @@ GwhBrowserPosition position;
g_object_get (G_settings, "browser-position", &position, NULL); - if (position == GWH_BROWSER_POSITION_LEFT) { + if (position == GWH_BROWSER_POSITION_SIDEBAR) { G_notebook = geany_data->main_widgets->sidebar_notebook; } else { G_notebook = geany_data->main_widgets->message_window_notebook;
Modified: trunk/geany-plugins/webhelper/src/gwh-settings.c =================================================================== --- trunk/geany-plugins/webhelper/src/gwh-settings.c 2010-12-15 19:06:19 UTC (rev 1773) +++ trunk/geany-plugins/webhelper/src/gwh-settings.c 2010-12-18 23:47:11 UTC (rev 1774) @@ -191,7 +191,7 @@ "Browser position", "Position of the browser widget in Geany's UI", GWH_TYPE_BROWSER_POSITION, - GWH_BROWSER_POSITION_BOTTOM, + GWH_BROWSER_POSITION_MESSAGE_WINDOW, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_INSPECTOR_WINDOW_GEOMETRY, g_param_spec_string ("inspector-window-geometry", @@ -211,7 +211,7 @@ self->priv->browser_auto_reload = TRUE; self->priv->browser_last_uri = g_strdup ("about:blank"); self->priv->browser_orientation = GTK_ORIENTATION_VERTICAL; - self->priv->browser_position = GWH_BROWSER_POSITION_BOTTOM; + self->priv->browser_position = GWH_BROWSER_POSITION_MESSAGE_WINDOW; self->priv->inspector_window_geometry = g_strdup ("400x300"); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.