Commit Graph

42 Commits

Author SHA1 Message Date
Michael Natterer 018e8b0d29 Build with GSEAL_ENABLE and #undef it where accessors are missing 2009-10-17 20:31:57 +02:00
Martin Nordholts eb6bef33e4 Use gtk_widget_set_visible()
In places where the pattern

  if (show)
    gtk_widget_show (widget);
  else
    gtk_widget_hide (widget);

is used, change to

  gtk_widget_set_visible (widget, show);

Also do some other minor cleanups.
2009-10-17 15:07:34 +02:00
Michael Natterer c0bf72eb3c Use gtk_widget_get_parent() instead of widget->parent 2009-10-09 21:19:11 +02:00
Sven Neumann 87f25f29d8 Bug 589205 – help-browser uses deprecated (and sometimes broken) webkit call
Use webkit_web_view_load_uri() instead of webkit_web_view_open().
2009-07-21 22:42:47 +02:00
Michael Schumacher eed061efbb Adding Microsoft Windows executables to the .gitignore files
All binaries have been added individually.
Old binaries are supposed to show up as untracked.
2009-06-19 00:14:17 +02:00
Manish Singh 582cb0f14e Explicitly specify library dependencies at link time, so we can use gold. 2009-05-24 10:42:39 -07:00
Manish Singh 7d76f25e26 Use gtk_activatable_set_related_action() instead of deprecated
gtk_action_connect_proxy()
2009-05-24 10:38:09 -07:00
Sven Neumann 2d1b3ddf72 help-browser: removed obsolete check for zoom API
Removed the check for the webkit zoom API and compile the respective
code unconditionally.
2009-05-12 09:47:34 +02:00
Sven Neumann 02960ed3bd help-browser: fix history menus
The history menus located at the back and forward buttons stopped working
after a webkit update some time ago. With these changes the menus work
again, at least with recent webkit releases.
2009-05-12 09:47:33 +02:00
Sven Neumann ebf0a98b18 Bug 577024 – help-browser plugin crashes when used with webkit 1.1.3
2009-03-28  Sven Neumann  <sven@gimp.org>

	Bug 577024 – help-browser plugin crashes when used with webkit 1.1.3

	* plug-ins/help-browser/help-browser.c (run): call g_thread_init().
	Seems to be needed with newer versions of webkit.


svn path=/trunk/; revision=28227
2009-03-28 16:42:50 +00:00
Martin Nordholts 4d7a6b10d1 Added .gitignore files generated with git svn create-ignore.
svn path=/trunk/; revision=27972
2009-01-31 11:37:44 +00:00
Michael Natterer 4ea1437646 plug-ins/common/*.c plug-ins/color-rotate/color-rotate.c
2009-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/*.c
	* plug-ins/color-rotate/color-rotate.c
	* plug-ins/file-bmp/bmp.c
	* plug-ins/file-faxg3/faxg3.c
	* plug-ins/file-fits/fits.c
	* plug-ins/file-fli/fli-gimp.c
	* plug-ins/file-ico/ico.c
	* plug-ins/file-jpeg/jpeg.c
	* plug-ins/file-psd/psd-save.c
	* plug-ins/file-psd/psd.c
	* plug-ins/file-sgi/sgi.c
	* plug-ins/file-uri/uri.c
	* plug-ins/file-xjt/xjt.c
	* plug-ins/flame/flame.c
	* plug-ins/fractal-explorer/fractal-explorer.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/gradient-flare/gradient-flare.c
	* plug-ins/help-browser/help-browser.c
	* plug-ins/ifs-compose/ifs-compose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/lighting/lighting-main.c
	* plug-ins/map-object/map-object-main.c
	* plug-ins/maze/maze.c
	* plug-ins/metadata/metadata.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/print.c
	* plug-ins/pygimp/gimpfu.py
	* plug-ins/script-fu/script-fu-script.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/selection-to-path/selection-to-path.c
	* plug-ins/twain/twain.c
	* plug-ins/win-snap/winsnap.c: document the "run-mode" parameter
	as we document enums for core procedures.


svn path=/trunk/; revision=27922
2009-01-19 20:11:36 +00:00
Michael Natterer d9b5207aa2 Change licence to GPLv3 (and to LGPLv3 for libgimp).
2009-01-17  Michael Natterer  <mitch@gimp.org>

	* all files with a GPL header and all COPYING files:

	Change licence to GPLv3 (and to LGPLv3 for libgimp).

	Cleaned up some copyright headers and regenerated the parsers in
	the ImageMap plugin.


svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Sven Neumann 3bfd6e7d7d allow to copy selected text to the clipboard using Ctrl-C or the
2008-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/dialog.c (update_actions): allow to copy
	selected text to the clipboard using Ctrl-C or the right-click
	menu.


svn path=/trunk/; revision=27006
2008-09-19 07:24:16 +00:00
Michael Natterer 6d1711e964 search the next match when return or enter is pressed in the search entry.
2008-08-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help-browser/dialog.c (search_entry_key_press): search
	the next match when return or enter is pressed in the search
	entry.


svn path=/trunk/; revision=26568
2008-08-14 20:38:07 +00:00
Michael Natterer c023af4671 plug-ins/common/cml-explorer.c plug-ins/common/depth-merge.c
2008-08-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/cml-explorer.c
	* plug-ins/common/depth-merge.c
	* plug-ins/common/file-cel.c
	* plug-ins/common/oilify.c
	* plug-ins/file-bmp/bmp-write.c
	* plug-ins/file-bmp/bmp.[ch]
	* plug-ins/file-ico/ico-dialog.c
	* plug-ins/file-ico/ico-save.c
	* plug-ins/file-ico/ico.h
	* plug-ins/flame/flame.c
	* plug-ins/fractal-explorer/fractal-explorer-dialogs.c
	* plug-ins/fractal-explorer/fractal-explorer.[ch]
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/gimpressionist/gimpressionist.[ch]
	* plug-ins/gimpressionist/orientmap.c
	* plug-ins/gimpressionist/presets.c
	* plug-ins/gimpressionist/sizemap.c
	* plug-ins/help-browser/dialog.[ch]
	* plug-ins/help-browser/help-browser.c
	* plug-ins/ifs-compose/ifs-compose.c
	* plug-ins/imagemap/imap_default_dialog.c
	* plug-ins/imagemap/imap_main.[ch]
	* plug-ins/lighting/lighting-main.[ch]
	* plug-ins/lighting/lighting-ui.c
	* plug-ins/map-object/map-object-main.[ch]
	* plug-ins/map-object/map-object-ui.c
	* plug-ins/selection-to-path/selection-to-path.c
	* plug-ins/win-snap/winsnap.c: use PLUG_IN_BINARY and PLUG_IN_PROC
	defines consistently instead of using literal strings or other
	random defines. Define them if not already there or move them to
	plugin-global places.

	* plug-ins/win-snap/Makefile.am: rename the binary to "win-snap".

	* plug-ins/win-snap/winsnap.c: changed accordingly.


svn path=/trunk/; revision=26509
2008-08-11 19:42:08 +00:00
Sven Neumann 023fa1490c check the return value of webkit_web_history_item_get_title() to guard us
2008-07-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/dialog.c (build_menu): check the return
	value of webkit_web_history_item_get_title() to guard us against
	a (reported) bug in WebKit.


svn path=/trunk/; revision=26278
2008-07-22 14:53:14 +00:00
Sven Neumann 41a42ee099 also start the search when the slash key is pressed. Added a "find-again"
2008-07-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/dialog.c: also start the search when the
	slash key is pressed. Added a "find-again" feature bound to 
Ctrl-G.


svn path=/trunk/; revision=26204
2008-07-16 15:20:49 +00:00
Sven Neumann 563dad8952 changed the translation context once again
svn path=/trunk/; revision=26202
2008-07-16 14:56:15 +00:00
Sven Neumann a62cb7546e (hopefully) better translation context
svn path=/trunk/; revision=26200
2008-07-16 14:50:13 +00:00
Sven Neumann c901790fee use translation context for the Previous and Next buttons
svn path=/trunk/; revision=26199
2008-07-16 14:47:56 +00:00
Sven Neumann ce098bbcb8 fixed capitalization in action description
svn path=/trunk/; revision=26198
2008-07-16 14:30:20 +00:00
Sven Neumann 5bdf0d4fbf untabified
svn path=/trunk/; revision=26197
2008-07-16 14:26:21 +00:00
Sven Neumann 31ad5295d0 applied patch from Róman Joost as attached to bug #542826 (with some
2008-07-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/dialog.c: applied patch from Róman Joost
	as attached to bug #542826 (with some minor modifications). This
	adds a "Search in this page" feature bound to Ctrl-F.


svn path=/trunk/; revision=26196
2008-07-16 12:32:42 +00:00
Sven Neumann f3385bdeb9 removed redundant check which was supposed to catch a bug in webkit but doesn't do the trick anyway
svn path=/trunk/; revision=26088
2008-07-08 08:50:24 +00:00
Sven Neumann d2d9198dd5 plugged a memory leak.
2008-07-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/dialog.c (build_menu): plugged a memory leak.

svn path=/trunk/; revision=26087
2008-07-08 08:29:54 +00:00
Sven Neumann a528f82405 select the current URI in the index. Pointed out by Roman Joost.
2008-07-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/dialog.c (load_finished): select the
	current URI in the index. Pointed out by Roman Joost.

svn path=/trunk/; revision=26086
2008-07-08 08:17:59 +00:00
Sven Neumann b40e638987 improved order of index items with alphabetic counters.
2008-07-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/dialog.c 
(browser_dialog_make_index_foreach):
	improved order of index items with alphabetic counters.


svn path=/trunk/; revision=26057
2008-07-04 17:59:56 +00:00
Sven Neumann 075e22d2fb document the purpose of the extra struct fields.
2008-07-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/gimphelpitem.h: document the purpose of the 
extra
	struct fields.

	* plug-ins/help-browser/dialog.c: limit the depth of the index 
to 4.


svn path=/trunk/; revision=26056
2008-07-04 17:27:02 +00:00
Michael Natterer f53e9a45db Latest GTK+ trunk deprecations showed some uglyness in gimp:
2008-06-20  Michael Natterer  <mitch@gimp.org>

	Latest GTK+ trunk deprecations showed some uglyness in gimp:

	* app/tools/gimpeditselectiontool.h: we were still using GTK_CHECK
	macros here, use proper G_TYPE type checking instead.

	* app/widgets/gimpuimanager.c
	* app/widgets/gimpdockable.c: s/GtkDestroyNotify/GDestroyNotify/.

	* plug-ins/help-browser/gimpthrobber.c: s/GtkType/GType/.

	* plug-ins/common/filter-pack.c
	* plug-ins/common/sample-colorize.c
	* plug-ins/imagemap/imap_main.c: s/GtkSignalFunc/GCallback/.


svn path=/trunk/; revision=25965
2008-06-20 11:08:42 +00:00
Sven Neumann f8a3b5fbd1 added a toggle action to show/hide the index sidebar, bound to Ctrl-I.
2008-06-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/dialog.c: added a toggle action to
	show/hide the index sidebar, bound to Ctrl-I.


svn path=/trunk/; revision=25940
2008-06-12 22:25:13 +00:00
Sven Neumann 69465e0575 plug-ins/help-browser/Makefile.am plug-ins/help-browser/wilber-reading.svg
2008-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/Makefile.am
	* plug-ins/help-browser/wilber-reading.svg
	* plug-ins/help-browser/wilber-reading.png: removed here...

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-user-manual.svg
	* themes/Default/images/stock-user-manual-16.png
	* themes/Default/images/stock-user-manual-24.png
	* themes/Default/images/stock-user-manual-32.png
	* themes/Default/images/stock-user-manual-64.png
	* libgimpwidgets/gimpstock.[ch]: ... and added as stock icon.

	* plug-ins/help-browser/dialog.c
	* plug-ins/help-browser/gimpthrobber.c: changed accordingly.
	Set the toolbar style to GTK_TOOLBAR_ICONS.

svn path=/trunk/; revision=25933
2008-06-12 12:59:30 +00:00
Sven Neumann e868fd42f2 use GTK_STOCK_HOME for the button that navigates to the index page.
2008-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/dialog.c: use GTK_STOCK_HOME for the
	button that navigates to the index page.

	* plug-ins/help-browser/gimpthrobber.c
	(gimp_throbber_construct_contents): deal better with toolbar style
	GTK_TOOLBAR_ICONS.

svn path=/trunk/; revision=25930
2008-06-12 08:54:01 +00:00
Sven Neumann a2a8bca949 removed the title combo-box. Instead display the title in the window
2008-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/dialog.c: removed the title
	combo-box. Instead display the title in the window title. Added
	"copy-location" action to the right-click menu as a replacement
	for the drag source that was also removed.


svn path=/trunk/; revision=25929
2008-06-12 07:32:05 +00:00
Sven Neumann 5cd010b14d don't show progress for local help lookups, they are fast enough.
2008-06-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/help.c (load_help_idle): don't show progress for
	local help lookups, they are fast enough.

	* plug-ins/help-browser/help-browser.c: added the same progress
	code here. Might want to move it to the dialog window later.


svn path=/trunk/; revision=25927
2008-06-11 17:43:57 +00:00
Sven Neumann 36ffe812c3 removed, we don't need this code any longer.
2008-06-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/queue.[ch]: removed, we don't need this
	code any longer.


svn path=/trunk/; revision=25914
2008-06-10 19:37:46 +00:00
Sven Neumann c1fe89b1b0 removed check for gtkhtml2 and added a check for wekbit instead.
2008-06-10  Sven Neumann  <sven@gimp.org>

	* configure.in: removed check for gtkhtml2 and added a check for
	wekbit instead.

	* INSTALL: document the changed dependency.

	* plug-ins/help-browser/Makefile.am
	* plug-ins/help-browser/dialog.[ch]: ported the help-browser to
	webkit. Offers the same functionality as before and some more.

	* plug-ins/help-browser/help-browser.c: some cleanup.

svn path=/trunk/; revision=25913
2008-06-10 15:55:28 +00:00
Michael Natterer 35a762d3b7 undef GDK_PIXBUF_DISABLE_SINGLE_INCLUDES around including
2008-05-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help-browser/dialog.c: undef
	GDK_PIXBUF_DISABLE_SINGLE_INCLUDES around including
	<libgtkhtml/gtkhtml.h>.


svn path=/trunk/; revision=25832
2008-05-27 14:22:05 +00:00
Sven Neumann 6b687736d3 plug-ins/help/Makefile.am plug-ins/help/gimphelpprogress.[ch] new files
2008-05-16  Sven Neumann  <sven@gimp.org>

        * plug-ins/help/Makefile.am
        * plug-ins/help/gimphelpprogress.[ch]
        * plug-ins/help/gimphelpprogress-private.h: new files providing a
        simple framework for progress indication and cancellation.

        * plug-ins/help/gimphelp.[ch]
        * plug-ins/help/gimphelpdomain.[ch]
        * plug-ins/help/gimphelpitem.[ch]
        * plug-ins/help/gimphelplocale.[ch]
        * plug-ins/help/gimphelptypes.h
        * plug-ins/help/help.c
        * plug-ins/help/locales.[ch]: changed accordingly (passing NULL
        as progress for now). Also updated copyright headers.

        * plug-ins/help-browser/help-browser.c: same here.

        * plug-ins/help/gimp-help-lookup.c: use the new API and show some
        progress indication when the --verbose command-line option is used.

svn path=/trunk/; revision=25674
2008-05-16 16:56:33 +00:00
Sven Neumann 80a5805bd1 added GIO_LIBS.
2008-04-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/help-browser/Makefile.am (LDADD): added GIO_LIBS.

svn path=/trunk/; revision=25333
2008-04-02 16:03:00 +00:00
Michael Natterer 2042f4f9e6 plug-ins/map-object plug-ins/gradient-flare plug-ins/ifs-compose
2008-03-24  Michael Natterer  <mitch@gimp.org>

	* plug-ins/map-object
	* plug-ins/gradient-flare
	* plug-ins/ifs-compose
	* plug-ins/selection-to-path
	* plug-ins/lighting
	* plug-ins/help-browser
	* plug-ins/fli: rename files in these folders to have no
	underscores and match new names of the plug-ins.

	* configure.in: changed accordingly.


svn path=/trunk/; revision=25197
2008-03-24 18:33:25 +00:00
Michael Natterer 8876b879d3 Renamed folders in plug-ins/. Unfortunately it's impossible to rename the
2008-03-24  Michael Natterer  <mitch@gimp.org>

	Renamed folders in plug-ins/. Unfortunately it's impossible to
	rename the files inside at the same time, so this is just
	part one...

	* plug-ins/FractalExplorer -> fractal-explorer
	* plug-ins/Lighting -> lighting
	* plug-ins/MapObject -> map-object
	* plug-ins/gflare -> gradient-flare
	* plug-ins/gfli -> fli
	* plug-ins/helpbrowser -> help-browser
	* plug-ins/ifscompose -> ifs-compose
	* plug-ins/rcm -> colormap-rotate
	* plug-ins/sel2path -> selection-to-path
	* plug-ins/winicon -> win-icon
	* plug-ins/winsnap -> win-snap

	* configure.in
	* plug-ins/Makefile.am: changed accordingly.


svn path=/trunk/; revision=25194
2008-03-24 16:36:03 +00:00