SF.net SVN: geany:[5204] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Wed Sep 8 12:36:02 UTC 2010
Revision: 5204
http://geany.svn.sourceforge.net/geany/?rev=5204&view=rev
Author: ntrel
Date: 2010-09-08 12:36:01 +0000 (Wed, 08 Sep 2010)
Log Message:
-----------
Add GeanyMainWidgets::message_window_notebook for plugins to append
a new notebook page (#3061342).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/main.c
trunk/src/msgwindow.c
trunk/src/msgwindow.h
trunk/src/ui_utils.h
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-08-29 11:45:00 UTC (rev 5203)
+++ trunk/ChangeLog 2010-09-08 12:36:01 UTC (rev 5204)
@@ -1,3 +1,10 @@
+2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
+ Add GeanyMainWidgets::message_window_notebook for plugins to append
+ a new notebook page (#3061342).
+
+
2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/snippets.conf:
Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c 2010-08-29 11:45:00 UTC (rev 5203)
+++ trunk/src/main.c 2010-09-08 12:36:01 UTC (rev 5204)
@@ -252,6 +252,7 @@
main_widgets.notebook = ui_lookup_widget(main_widgets.window, "notebook1");
main_widgets.editor_menu = create_edit_menu1();
main_widgets.tools_menu = ui_lookup_widget(main_widgets.window, "tools1_menu");
+ main_widgets.message_window_notebook = ui_lookup_widget(main_widgets.window, "notebook_info");
ui_widgets.toolbar_menu = create_toolbar_popup_menu1();
ui_init();
Modified: trunk/src/msgwindow.c
===================================================================
--- trunk/src/msgwindow.c 2010-08-29 11:45:00 UTC (rev 5203)
+++ trunk/src/msgwindow.c 2010-09-08 12:36:01 UTC (rev 5204)
@@ -21,12 +21,14 @@
* $Id$
*/
-/*
+/**
+ * @file msgwindow.h
* Message window functions (status, compiler, messages windows).
* Also compiler error message parsing and grep file and line parsing.
- */
+ *
+ * @see GeanyMainWidgets::message_window_notebook to append a new notebook page.
+ **/
-
#include "geany.h"
#include "support.h"
Modified: trunk/src/msgwindow.h
===================================================================
--- trunk/src/msgwindow.h 2010-08-29 11:45:00 UTC (rev 5203)
+++ trunk/src/msgwindow.h 2010-09-08 12:36:01 UTC (rev 5204)
@@ -21,13 +21,6 @@
* $Id$
*/
-/**
- * @file msgwindow.h
- * Message window functions (status, compiler, messages windows).
- * Also compiler error message parsing and grep file and line parsing.
- **/
-
-
#ifndef GEANY_MSGWINDOW_H
#define GEANY_MSGWINDOW_H 1
Modified: trunk/src/ui_utils.h
===================================================================
--- trunk/src/ui_utils.h 2010-08-29 11:45:00 UTC (rev 5203)
+++ trunk/src/ui_utils.h 2010-09-08 12:36:01 UTC (rev 5204)
@@ -65,18 +65,20 @@
extern GeanyInterfacePrefs interface_prefs;
-/** Important widgets in the main window. */
+/** Important widgets in the main window.
+ * Accessed by @c geany->main_widgets. */
typedef struct GeanyMainWidgets
{
- GtkWidget *window; /**< Main window. */
- GtkWidget *toolbar; /**< Main toolbar. */
- GtkWidget *sidebar_notebook; /**< Sidebar notebook. */
- GtkWidget *notebook; /**< Document notebook. */
- GtkWidget *editor_menu; /**< Popup editor menu. */
- GtkWidget *tools_menu; /**< Most plugins add menu items to the Tools menu. */
- GtkWidget *progressbar; /**< Progress bar widget in the status bar to show
- progress of various actions.
- See ui_progress_bar_start() for details. */
+ GtkWidget *window; /**< Main window. */
+ GtkWidget *toolbar; /**< Main toolbar. */
+ GtkWidget *sidebar_notebook; /**< Sidebar notebook. */
+ GtkWidget *notebook; /**< Document notebook. */
+ GtkWidget *editor_menu; /**< Popup editor menu. */
+ GtkWidget *tools_menu; /**< Most plugins add menu items to the Tools menu. */
+ /** Progress bar widget in the status bar to show progress of various actions.
+ * See ui_progress_bar_start() for details. */
+ GtkWidget *progressbar;
+ GtkWidget *message_window_notebook; /**< Message Window notebook. */
}
GeanyMainWidgets;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list