summaryrefslogtreecommitdiff
path: root/src/yelp-window.h
Commit message (Collapse)AuthorAgeFilesLines
* Initial work on implementing aday's new yelp designsShaun McCance2014-02-221-2/+2
|
* Updated FSF's addressDaniel Mustieles2014-01-311-3/+1
|
* Revert "Add an app menu"Matthias Clasen2013-04-051-2/+2
| | | | This reverts commit 875daa13aa64d5c35b1e87de9f8a8cec245ea690.
* Add an app menuMatthias Clasen2013-04-051-2/+2
| | | | | | | And provide some other GNOME 3 application style tweaks. The titlebar is now hidden when maximized, the prev/next buttons use the raised button style and there is a gears menu to take up the window-specific parts of the menu bar, which is gone.
* [yelp-application] Store window geometry per-documentShaun McCance2010-04-271-6/+8
| | | | | | The width and height of the window are stored and set per-document, using distinct paths with GSettings. We also use a timeout to so that we don't keep setting the settings over and over while we resize.
* [yelp-window] Let YelpApplication handle font adjustmentsShaun McCance2010-03-161-0/+2
| | | | | | Font adjustments apply to all windows, so the action sensitivity has to be done in all windows' action groups. This is the first of a few things where YelpApplication will control the menus of all windows.
* [yelp-window] Basic new YelpWindow for YelpApplicationShaun McCance2010-03-111-25/+13
|
* GNOME Goal: Clean up GLib and GTK+ includes (Closes: #563865)Shaun McCance2009-04-091-2/+0
| | | | | | | | | | | | | | * src/gtkentryaction.c: * src/gtkentryaction.h: * src/yelp-bookmarks.c: * src/yelp-bookmarks.h: * src/yelp-main.c: * src/yelp-print.h: * src/yelp-settings.h: * src/yelp-window.h: GNOME Goal: Clean up GLib and GTK+ includes (Closes: #563865) svn path=/trunk/; revision=3244
* Replace deprecated gtk symbols. Bug #571868Thomas Hindoe Paaboel Andersen2009-02-251-4/+4
| | | | svn path=/trunk/; revision=3221
* Merge of yelp rework branch:Don Scorgie2007-07-301-1/+2
| | | | | | | | | | | | | | | - Depreciate yelp-*-pager in favour of yelp-document and such. Gives us on-demand loading of pages - Switch to using rarian instead of scrollkeeper - Update to using shiny newness of gnome-doc-utils - Make printing docbook pretty - Clean up lots of errors and general cleanup of other source files - Make our resolver much, much better - and remove reliance on libgnome there svn path=/trunk/; revision=2848
* - Various bits of cleanup from Don ScorgieShaun McCance2004-12-221-1/+1
| | | | | | | | | | | * src/yelp-base.c: * src/yelp-db-pager.c: * src/yelp-toc-pager.c: * src/yelp-utils.c: * src/yelp-utils.h: * src/yelp-window.c: * src/yelp-window.h: - Various bits of cleanup from Don Scorgie
* - Put a11y stuff in Accessibility (duh)Shaun McCance2004-12-151-0/+1
| | | | | | | | | | | | | | | | * data/scrollkeeper.xml: - Put a11y stuff in Accessibility (duh) * data/ui/yelp-ui.xml: * data/ui/yelp.glade: * src/Makefile.am: * src/yelp-bookmarks.c: * src/yelp-bookmarks.h: * src/yelp-base.c: * src/yelp-utils.h: * src/yelp-window.c: * src/yelp-window.h: - First pass at bookmarks
* - Patch from Don Scorgie for popup menus on linksShaun McCance2004-10-261-0/+2
| | | | | | | | | | | | | * data/ui/yelp-ui.xml: * src/Makefile.am: * src/yelp-base.c: * src/yelp-gecko-utils.cpp: * src/yelp-gecko-utils.h: * src/yelp-html-gecko.c: * src/yelp-html.h: * src/yelp-window.c: * src/yelp-window.h: - Patch from Don Scorgie for popup menus on links
* - Switched most of the stuff over to YelpDocInfo - Reworked parserShaun McCance2004-10-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: * src/Makefile.am: * src/test-man-parser.c: * src/test-pager.c: * src/test-uri.c: * src/yelp-base.c: * src/yelp-base.h: * src/yelp-db-pager.c: * src/yelp-db-pager.h: * src/yelp-error.h: * src/yelp-history.c: * src/yelp-history.h: * src/yelp-html-gecko.c: * src/yelp-html.h: * src/yelp-man-pager.c: * src/yelp-man-pager.h: * src/yelp-man-parser.c: * src/yelp-man-parser.h: * src/yelp-pager.c: * src/yelp-pager.h: * src/yelp-toc-pager.c: * src/yelp-utils.c: * src/yelp-utils.h: * src/yelp-window.c: * src/yelp-window.h: - Switched most of the stuff over to YelpDocInfo - Reworked parser semantics to make it simpler - Broke lots of stuff
* include gtkwindow.h instead of gnome-app.hMikael Hallendal2004-01-231-1/+1
| | | | | | 2004-01-23 Mikael Hallendal <micke@imendio.com> * src/yelp-window.h: include gtkwindow.h instead of gnome-app.h
* - Fixed ugly but benign typo.Shaun McCance2004-01-221-1/+1
| | | | | | | | * src/yelp-window.h: - Fixed ugly but benign typo. * test/testdoc1/testdoc1.xml: - Implemented test for xref.
* - ... in which I change YelpURI around. Again.Shaun McCance2004-01-121-2/+2
| | | | | | | | | | | | | | | | | | | * src/test-pager.c: * src/yelp-base.c: * src/yelp-db-pager.c: * src/yelp-db-pager.h: * src/yelp-history.c: * src/yelp-history.h: * src/yelp-html-gtkhtml2.c: * src/yelp-html.h: * src/yelp-pager.c: * src/yelp-pager.h: * src/yelp-toc-pager.c: * src/yelp-uri.c: * src/yelp-uri.h: * src/yelp-window.c: * src/yelp-window.h: - ... in which I change YelpURI around. Again.
* - Temporarily removed test programs from the build. - Removed yelp-utilShaun McCance2003-12-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/Makefile.am: - Temporarily removed test programs from the build. - Removed yelp-util from the yelp build. * src/test-uri.c: - Some changes for GnomeVFSURI, but not enough. * src/yelp-base.c: * src/yelp-cache.h: * src/yelp-db-pager.c: * src/yelp-db-pager.h: * src/yelp-history.c: * src/yelp-history.h: * src/yelp-html-gtkhtml2.c * src/yelp-html.h: * src/yelp-pager.c: * src/yelp-pager.h: * src/yelp-toc-pager.c: * src/yelp-uri.c: * src/yelp-uri.h: * src/yelp-window.c: * src/yelp-window.h: - Switching to GnomeVFSURI. * src/yelp-db-pager.c: - Remove leading/trailing whitespace from titles.
* - Merging transformation-playgroundShaun McCance2003-11-301-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: * data/Makefile.am: * po/POTFILES.in: * src/Makefile.am: * src/test-uri.c: * src/yelp-base.c: * src/yelp-cache.c: * src/yelp-cache.c: * src/yelp-cache.h: * src/yelp-db2html.c: * src/yelp-error.h: * src/yelp-history.c: * src/yelp-html-gtkhtml2.c: * src/yelp-info.c: * src/yelp-main.c: * src/yelp-man.c: * src/yelp-scrollkeeper.c: * src/yelp-section.c: * src/yelp-uri.c: * src/yelp-uri.h: * src/yelp-view-content.c: * src/yelp-window.c: * src/yelp-window.h: * stylesheets/ChangeLog: * stylesheets/Makefile.am: * stylesheets/yelp-customization.xsl: * stylesheets/docbook/Makefile.am: - Merging transformation-playground
* Updated my contact informationMikael Hallendal2003-06-131-2/+2
| | | | | | 2003-06-13 Mikael Hallendal <micke@imendio.com> * *: Updated my contact information
* fixed a bug in a macro brought up by Shaun McCance.Mikael Hallendal2003-04-171-1/+1
|
* YelpWindow is now inherited from GnomeApp. The window title is now "titlePaolo Maggi2002-10-171-3/+3
| | | | | | | | | | | | | | | | | | 2002-10-08 Paolo Maggi <maggi@athena.polito.it> * src/yelp-window.[ch]: YelpWindow is now inherited from GnomeApp. The window title is now "title - Help Browser", instead of "Help Browser:title", in this way you can see in the tasklist applet the name of the loaded page. Removed the gconf stuff since is no more needed. Note that Yelp still does not monitor menus_have_icons gconf key * src/yelp-view-content.c (content_show_uri): set the loading page title to "Loading...", instead of ".." * src/yelp-view-index.c (index_show_uri): ditto (set_relation): removed since no more needed (yelp_view_index_new): add an accellerator to "Search for:"
* - use YelpURI. (yw_handle_uri): somewhat cleaned up after YelpURI.Mikael Hallendal2002-05-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-06 Mikael Hallendal <micke@codefactory.se> * src/yelp-window.c: - use YelpURI. (yw_handle_uri): somewhat cleaned up after YelpURI. * src/yelp-view-toc.c: - use YelpURI. - Changed url_selected signal to uri_selected. - Send the links as man:... instead of path:.. * src/yelp-view-index.c: - use YelpURI. - Changed url_selected signal to uri_selected. - thinking about removing the html-view from this and only have it as a entry + list for now. Later on we can add full text search or more sofisticated searching. * src/yelp-view-content.c: - use YelpURI. - Changed url_selected signal to uri_selected. (yelp_view_content_show_uri): - cleaned up A LOT since this became much much easier with YelpURI. * src/yelp-util.c (yelp_util_is_url_relative): - made external and changed name from is_uri_relative. (yelp_util_resolve_relative_url): - chagned name from yelp_util_resolve_relative_url. (tree_find_node_uri): use YelpURI. (yelp_util_find_node_from_uri): same. * src/yelp-uri.c: - Thinking of making the YelpURIType a bit mask so that I can add yelp_uri_is_type (YELP_URI_TYPE_MAN | YELP_URI_TYPE_INF) since that kind of usage is all over. - Support index: and path: (not sure if we need path:) (yelp_uri_copy): added/impl (yelp_uri_get_relative): added/impl (yelp_uri_equal): added/impl. (yelp_uri_equal_path): added/impl. (yelp_uri_equal_section): added/impl. (yelp_uri_to_string): added/impl. * src/yelp-section.c: - use YelpURI. - Removed reference, scheme. * src/yelp-scrollkeeper.c: - use YelpURI. - Don't create specific index:-uri's (ys_parse_index_item): this was actually broken and only inputed the last indexitem in the index-file. fixed. * src/yelp-marshal.list (VOID:POINTER,BOOLEAN): - replaced VOID:STRING,STRING,BOOLEAN (the old url_selected-marshal). * src/yelp-man.c: - use YelpURI - Don't create specific index:-uri's (yelp_info_init): don't translate string 'man' which we are trying to find with strcmp in yelp-view-toc. * src/yelp-info.c: - use YelpURI - Don't create specific index:-uri's (yelp_info_init): don't translate string 'info' which we are trying to find with strcmp in yelp-view-toc. * src/yelp-html.c: - Updated to use YelpURI. - changed signal from url_selected to uri_selected (emits YelpURI instead of base_uri + rel_uri). (yelp_html_do_maninfo): take a YelpURI instead of text uri + doc type. (yelp_html_open_uri): - take YelpURI instead of text uri. - this should later be moved into yelp_uri_{read,read_async}. * src/yelp-history.c: Updated to use YelpURI. * src/yelp-base.c (impl_Yelp_getWindows): use YelpURI. * src/test-uri.c: test yelp_uri_to_string.
* don't free the handle twice. (yelp_html_idle_read_end): reset pointer toMikael Hallendal2002-04-141-1/+1
| | | | | | | | | 2002-04-14 Mikael Hallendal <micke@codefactory.se> * src/yelp-html.c: (yelp_html_idle_read_end): don't free the handle twice. (yelp_html_idle_read_end): reset pointer to normal. (yelp_html_open_uri): set cursor to watch.
* added, needed for session management.Mikael Hallendal2002-03-031-0/+1
| | | | | | | | | | 2002-03-03 Mikael Hallendal <micke@codefactory.se> * src/yelp-window.c: (yelp_window_get_current_uri): added, needed for session management. * src/yelp-html.c (yh_free_stream_data): removed debug printout.
* added index-list to arguments.Mikael Hallendal2002-02-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-25 Mikael Hallendal <micke@codefactory.se> * src/yelp-window.c: (yelp_window_new): added index-list to arguments. * src/yelp-view-index.c: started to fix (was a copy&paste from yelp-view-content. * src/yelp-section.h: added YELP_SECTION_INDEX to YelpSectionType. * src/yelp-section.c: include string.h, fixes compile warning. * src/yelp-scrollkeeper.c: - Basic support for ScrollKeeper index added - use g_ascii_strcasecmp instead of depricated g_strcasecmp. Thanks to the wipro guys for notifying. (ys_parse_index): added/impl. (ys_parse_index_file): added/impl. (ys_parse_index_item): added/impl. (yelp_scrollkeeper_init): - added GList **index to arguments. * src/yelp-main.c: (yelp_main_open_new_window): use g_error (yelp_main_start): same. * src/yelp-history.c: include string.h, fixes compile warning. * src/yelp-base.c: added index-list to priv-struct (yelp_base_new): call scrollkeeper_init with index-list (yelp_base_new_window): send the index-list to the new window. started work on supporting index-search.
* started to rewrite to use GNode-tree instead of GtkTreeStore.Mikael Hallendal2002-01-221-1/+1
| | | | | | | | | | | | | | | | | 2002-01-22 Mikael Hallendal <micke@codefactory.se> * src/yelp-view-toc.c: started to rewrite to use GNode-tree instead of GtkTreeStore. * src/yelp-base.c: use a GNode-tree instead of the GtkTreeStore. * src/yelp-window.c: dito. * src/yelp-scrollkeeper.[ch]: dito. * src/yelp-man.[ch]: dito. * src/yelp-info.[ch]: dito.
* added signal for new window. (yw_new_window_cb): amitMikael Hallendal2001-12-101-0/+1
| | | | | | | | | | | | | | 2001-12-10 Mikael Hallendal <micke@codefactory.se> * src/yelp-window.c (yw_class_init): added signal for new window. (yw_new_window_cb): amit new_window_requested-signal * src/yelp-base.c: (yelp_base_new_window_cb): added, listens for new_window_requested from windows. (yelp_base_new_window): connect to signal in gtk-window. * TODO (FEATURES): updated
* - cleaned up a little. - now has tree views (home/content/index) in aMikael Hallendal2001-12-101-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-10 Mikael Hallendal <micke@codefactory.se> * src/yelp-window.c: - cleaned up a little. - now has tree views (home/content/index) in a Notebook - First shows the Home-page, when click a link in it, swap to content-view. (yw_populate): only set up the notebook, other code moved to the three views. (yw_create_toolbar): new function, creates the toolbar. * src/yelp-view-index.[ch]: - added - this handles the index view (with index-term searching to the left). - not finished. * src/yelp-view-home.[ch]: - Now draws an test-page. This should be made nicer. - The HTML-stuff is _not_ finished. - Signals path_selected when a user press a link. * src/yelp-view-doc.[ch]: removed, I must have been tired when commiting this :) * src/yelp-view-content.[ch]: - added - takes care of the content-view (the one with the tree to the left). - This view is accessed from the home-view. * src/yelp-toc.[ch]: removed, now handled inside yelp-view-content.[ch]. * src/yelp-scrollkeeper.c: (ys_parse_book): only parse if Toplevel == GNOME. * src/yelp-index.[ch]: removed, this is now handled inside yelp-view-index.c * src/yelp-view.[ch]: moved to yelp-html, yelp-view-* is the various main-views. * src/yelp-html.[ch]: added, this is the previous yelp-view.[ch] * src/yelp-base.c: priv->bookshelf -> content_store. (yelp_base_get_bookshelf): removed, was used by YelpWindow, but YelpWindow shouldn't know anything about YelpBase. (yelp_base_new_window): send the content_store to yelp_window_new instead. * src/Makefile.am (yelp_SOURCES): updated to reflect the current files.
* removed the outcommented menu-code. - No menu will be used, only theMikael Hallendal2001-12-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-08 Mikael Hallendal <micke@codefactory.se> * src/yelp-util.c: removed the outcommented menu-code. - No menu will be used, only the toolbar. - The window-generating code should probably be moved to glade later. * src/yelp-util.[ch]: added, moved the insert-into-tree function from yelp-section.[ch] here. * src/yelp-toc.c: (yelp_toc_open): removed, unused and unimplemented. Can add it back when I need it. * src/yelp-section.[ch]: (yelp_section_add_sub): removed, functionality moved to yelp-util.[ch] * src/yelp-scrollkeeper.[ch]: - renamed from scrollkeeper-parser.[ch] - cleaned up, don't use the metadata-parser interface. - insert into the GtkTreeStore directly. * src/yelp-main.c: include yelp-window.h * src/yelp-base.c: (yelp_base_new_book_cb): removed (yelp_base_insert_node): removed (yelp_base_section_foreach): removed (yelp_base_new): don't connect to parser signals, parser gets the GtkTreeStore and can insert directly into it. * src/scrollkeeper-parser.[ch]: moved to yelp-scrollkeeper.[ch] * src/metadata.h: removed, was used to help including all the metadata-parsers. * src/main.c: moved to yelp-main.c * src/metadata-parser.[ch]: removed, no need for this interface. * src/devhelp-parser.[ch]: removed, don't need to support this and want the source to be as clean as possible. * src/Makefile.am (yelp_SOURCES): changed to build the correct files after the move-around. * configure.in: changed AC_INIT argument to src/yelp-main. * autogen.sh (PKG_NAME): changed test for srcdir/main to srcdir/yelp-main.
* if argument is passed, pass that argument to yelp_window_open_uri.Mikael Hallendal2001-10-291-1/+4
| | | | | | | | | 2001-10-29 Mikael Hallendal <micke@codefactory.se> * src/main.c (main): if argument is passed, pass that argument to yelp_window_open_uri. * src/yelp-window.[ch] (yelp_window_open_uri): added/impl.
* Initial revisionMikael Hallendal2001-10-261-0/+58