anjuta r4710 - in trunk: . plugins/git
- From: jrliggett svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4710 - in trunk: . plugins/git
- Date: Sun, 8 Feb 2009 08:22:11 +0000 (UTC)
Author: jrliggett
Date: Sun Feb 8 08:22:11 2009
New Revision: 4710
URL: http://svn.gnome.org/viewvc/anjuta?rev=4710&view=rev
Log:
2009-02-08 Yang Hong <hongyang redflag-linux com>
* plugins/git/plugin.c (git_activate_plugin):
Fixed #570929, initialize widgets before add watches.
Modified:
trunk/ChangeLog
trunk/plugins/git/plugin.c
Modified: trunk/plugins/git/plugin.c
==============================================================================
--- trunk/plugins/git/plugin.c (original)
+++ trunk/plugins/git/plugin.c Sun Feb 8 08:22:11 2009
@@ -597,6 +597,17 @@
git_plugin->log_popup_menu = gtk_ui_manager_get_widget (GTK_UI_MANAGER (ui),
"/PopupLog");
+ /* Log viewer */
+ git_plugin->log_viewer = git_log_window_create (git_plugin);
+ anjuta_shell_add_widget (plugin->shell,
+ git_plugin->log_viewer,
+ "GitLogViewer",
+ _("Git Log"),
+ GTK_STOCK_ZOOM_100,
+ ANJUTA_SHELL_PLACEMENT_CENTER,
+ NULL);
+ g_object_unref (git_plugin->log_viewer);
+
/* Add watches */
git_plugin->project_root_watch_id = anjuta_plugin_add_watch (plugin,
IANJUTA_PROJECT_MANAGER_PROJECT_ROOT_URI,
@@ -616,17 +627,6 @@
on_fm_file_removed,
NULL);
- /* Log viewer */
- git_plugin->log_viewer = git_log_window_create (git_plugin);
- anjuta_shell_add_widget (plugin->shell,
- git_plugin->log_viewer,
- "GitLogViewer",
- _("Git Log"),
- GTK_STOCK_ZOOM_100,
- ANJUTA_SHELL_PLACEMENT_CENTER,
- NULL);
- g_object_unref (git_plugin->log_viewer);
-
/* Git needs a working directory to work with; it can't take full paths,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]