Commit Graph

26508 Commits

Author SHA1 Message Date
Martin Nordholts 2acc6e3de1 Ignore Qt Creator project files
It works fairly well to use Qt Creator to develop and debug
GIMP. Ignore Qt Creator 4.x-ish project files.
2009-10-24 20:24:21 +02:00
Martin Nordholts 6f95bc6888 app: Keep GimpDocks in GtkPaneds in GimpDockColumns
Use the new GimpPanedBox to make the space for GimpDocks in
GimpDockColumns manually distributable by the use of GtkPaneds.
2009-10-24 20:10:42 +02:00
Martin Nordholts b700f219de app: Make created GtkPaned subclass depend on GimpPanedBox orientation 2009-10-24 20:08:08 +02:00
Martin Nordholts eb9b365864 app: Add GimpPanedBox
Add a new class GimpPanedBox that wraps the arrangement of widgets
into GtkPaned hierarchies. It takes over the separator management from
GimpDock and the GtkPaned management from
gimpwidgets-utils.[ch]. GimpPanedBox can be both vertically and
horizontally oriented.

Change GimpDock to use this widget and make some other minor
adaptations.
2009-10-24 18:53:46 +02:00
Martin Nordholts 69f17fdbf2 app: Add gimp_dock_separator_set_dropped_cb()
Allow to set the dropped callback after dock separator construction.
We need this in order to move the dock separators into a common widget
for which the callback to use is not known at construction time.
2009-10-24 18:43:35 +02:00
Martin Nordholts fafee5230f configure.ac: Don't disable deprecated APIs for unreleased libs
Update version checks and prevent disabling of deprecatd APIs for
unreleased versions of libs.
2009-10-24 15:03:59 +02:00
Martin Nordholts 73ba838093 configure.ac: Fix GTK+ and GLib version report 2009-10-24 13:58:29 +02:00
Khaled Hosny 6693ed9a91 Updated Arabic translation 2009-10-23 23:25:07 +02:00
Khaled Hosny d848cdc939 Add missing files 2009-10-23 18:50:42 +02:00
Khaled Hosny 25b0bab7d6 Updated Arabic translation 2009-10-23 18:39:43 +02:00
Michael Natterer bc33e4735d Sync required pango version with configure 2009-10-22 20:37:01 +02:00
Michael Natterer ea7c37293c Don't block all key events on the canvas (fixes tool interaction)
(gimp_display_shell_canvas_tool_events): when ignoring events on
overlays, special case key events because they always originate from
the topelvel and never from the canvas' window itself.
2009-10-21 19:35:20 +02:00
Tournaris Pavlos a93cb543ff Updated Greek po-python translation 2009-10-20 14:41:36 +03:00
Vasilis Kontogiannis 2e6dd9a128 Updated Greek libgimp translation 2009-10-20 14:38:10 +03:00
Vasilis Kontogiannis 1f9a0cf170 Updated Greek translation 2009-10-20 14:32:49 +03:00
Michael Natterer db896708f3 Disable RGBA colormaps in offscreen widgets for now because they crash 2009-10-19 11:03:23 +02:00
Michael Natterer 0b712fb4e5 GtkInputDialog is deprecated now, so #undef GTK_DISABLE_DEPRECATED
Finally the reason needed to reimplement this beast in a proper way in
GIMP.
2009-10-19 10:11:45 +02:00
Michael Natterer 8a377be277 Turn legacy tranlation context "tool|_Zoom" into a proper one 2009-10-19 00:13:56 +02:00
Michael Natterer 8780342dcb Set a 10px border on the canvas so overlays have some spacing 2009-10-18 23:03:04 +02:00
Michael Natterer 0c58ffe680 Use an RGBA colormap so rounded corners work 2009-10-18 22:53:26 +02:00
Michael Natterer 84ab7454b5 Put the image map tool dialogs into overlay boxes when in fullscreen mode 2009-10-18 22:42:21 +02:00
Michael Natterer 81786482ec Add GimpToolOverlay which displays tool dialogs directly on the canvas
The new widget has a GtkDialog-like API so tools which use either an
overlay or a real dialog are as obvious as possible.
2009-10-18 22:33:23 +02:00
Michael Natterer 8124792130 Derive GimpCanvas from GimpOverlayBox
- adapt callbacks to ignore / not block events on offscreen children
- use GimpOverlayBox' scroll API which makes sure overlay children
  don't scroll along
2009-10-18 22:19:29 +02:00
Michael Natterer 3d354c9434 Add new widget GimpOverlayBox which is a GtkContainer subclass
It keeps around its children as offscreen widgets and renders them
using a (potantially) arbitrary cairo_matrix_t (the actual API allows
for arbitrary alignment wihin the container and rotating).
2009-10-18 21:57:34 +02:00
Michael Natterer 4822ca0d6d Make menu positioning also works for transformed offscreen widgets
(gimp_button_menu_position): reorder the code, use the new
gdk_window_get_root_coords() and pass it coordinates that include
the widget's offset within its parent gdk window.
2009-10-18 16:03:33 +02:00
Michael Natterer 0ce426cc79 Make the toggle grid insensitive when the dynamics are read-only 2009-10-18 13:24:59 +02:00
Michael Natterer 387ec40214 Remove useless frame and vbox that were copied over from the paint options 2009-10-18 13:10:58 +02:00
Michael Natterer 52dd01fdef Change user-visible strings from "Dynamics" to "Paint Dynamics"
Because "Dynamics" doesn't mean anything by itself. Didn't add the
"Paint" where the context is clear, like in the dynamics dialog
context menu.
2009-10-18 13:03:40 +02:00
Michael Natterer e979da8b22 Minor formatting fixes 2009-10-18 13:03:01 +02:00
Sven Neumann 2fb9054aab fix build of devel-docs tools with GSEAL_ENABLE 2009-10-18 00:56:03 +02:00
Bruce Cowan 24b9077e26 Updated British English translation 2009-10-17 23:13:35 +01:00
Michael Natterer 57915302f6 Build with GSEAL_ENABLE 2009-10-17 21:24:12 +02:00
Alexia Death 071d26caa9 Merge commit 'origin/master' into soc-2009-dynamics 2009-10-17 21:47:01 +03:00
Alexia Death 210a4b5044 Merge resolution 2009-10-17 21:42:02 +03:00
Michael Natterer b77592ffb2 Coding style cleanup 2009-10-17 20:37:53 +02:00
Michael Natterer 7ce6757ad0 Define GSEAL_ENABLE globally 2009-10-17 20:32:57 +02:00
Michael Natterer 018e8b0d29 Build with GSEAL_ENABLE and #undef it where accessors are missing 2009-10-17 20:31:57 +02:00
Michael Natterer 1a23b9ecf2 Build with GSEAL_ENABLE and #undef it where accessors are missing 2009-10-17 20:20:39 +02:00
Michael Natterer 6608d66cde Build with GSEAL_ENABLE and #undef it where accessors are missing 2009-10-17 19:51:33 +02:00
Michael Natterer fb1fdf49b4 Build with GSEAL_ENABLE 2009-10-17 19:33:46 +02:00
Michael Natterer fa21f2da5b Build with GSEAL_ENABLE and #undef it where accessors are missing 2009-10-17 19:03:24 +02:00
Michael Natterer 171b449132 Build with GSEAL_ENABLE 2009-10-17 18:59:40 +02:00
Michael Natterer 11039a0436 Build with GSEAL_ENABLE 2009-10-17 18:58:28 +02:00
Michael Natterer 8cee9c66a7 Build with GSEAL_ENABLE and #undef it where accessors are missing 2009-10-17 18:55:14 +02:00
Michael Natterer fcd346a227 Build with GSEAL_ENABLE with a few exceptions
Use the new accessors in GTK+ 2.18 and #undef GSEAL_ENABLE where
accessors are missing or where I'm not quite sure how to fix the
stuff yet.
2009-10-17 18:51:48 +02:00
Michael Natterer ee48b7b06e Use accessors instead of table->children and adjustment->value 2009-10-17 18:49:12 +02:00
Michael Natterer 45c05f5f5f Require GLib >= 2.22.0 2009-10-17 17:59:53 +02:00
Michael Natterer c58eee0229 gui_sanity_check(): bump GTK+ dependency here too 2009-10-17 17:49:28 +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
Martin Nordholts 15f86a80ac Bump required GTK+ version to 2.18.1
Bump required GTK+ version to 2.18.1 so we get
e.g. gtk_widget_set_visible() and offscreen widget hierarchies. So far
we don't rely on bug fixes in any later releases.
2009-10-17 15:07:34 +02:00