Add GeanyMainWidgets::message_window_notebook for plugins to append
a new notebook page (#3061342). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5204 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
c5867895f9
commit
7e8c863298
@ -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:
|
||||
|
@ -252,6 +252,7 @@ static void main_init(void)
|
||||
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();
|
||||
|
@ -21,11 +21,13 @@
|
||||
* $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"
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -65,7 +65,8 @@ GeanyInterfacePrefs;
|
||||
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. */
|
||||
@ -74,9 +75,10 @@ typedef struct GeanyMainWidgets
|
||||
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. */
|
||||
/** 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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user