Commit Graph

26508 Commits

Author SHA1 Message Date
Michael Natterer 7917cb0ef9 Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:09 +02:00
Michael Natterer 2a7cb3915f Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:09 +02:00
Michael Natterer f5115e06ec Use GtkAdjustment's accessors 2009-10-09 21:19:08 +02:00
Michael Natterer 43ab261c45 Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:08 +02:00
Michael Natterer 834373eba7 Use GtkAdjustment's accessors 2009-10-09 21:19:08 +02:00
Michael Natterer 06f55eb856 Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:07 +02:00
Michael Natterer e61a74b938 Use gtk_adjustment_get_value() instead of adjustment->value 2009-10-09 21:19:07 +02:00
Michael Natterer 454f1391d6 Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:07 +02:00
Michael Natterer 83c092bfe2 Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:07 +02:00
Michael Natterer efcc28a018 Use GtkAdjustment's accessors 2009-10-09 21:19:06 +02:00
Michael Natterer 3e500a4f7f Use gtk_container_get_children() instead of menushell->children 2009-10-09 21:19:06 +02:00
Michael Natterer 87440be423 Use gtk_menu_item_get_submenu() instead of menuitem->submenu 2009-10-09 21:19:06 +02:00
Michael Natterer 639194aac5 Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:06 +02:00
Michael Natterer 00ce057226 Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:05 +02:00
Michael Natterer f34cdad2bc Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:05 +02:00
Michael Natterer 2da2c510d2 Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:05 +02:00
Michael Natterer 33150b4a1b Use gtk_widget_get_window() instead of widget->window 2009-10-09 21:19:05 +02:00
Martin Nordholts 676e7f8c31 app: Formating 2009-10-09 20:04:56 +02:00
Alexia Death 2eab9f2ca4 Merge fixes 2009-10-09 20:38:43 +03:00
Alexia Death ac111be15d Added dynamics list and some infrastructure. still ont 100% tho 2009-10-09 20:25:07 +03:00
Michael Natterer 23955439d6 Don't access GtkAdjustment's members directly
but also don't use its accessors because doing that would emit
"changed" multiple times when setting up an adjustment with multiple
utility functions. Instead, use g_object_set() and freeze/thaw
notification around all calls. g_object_thaw_notify() will make sure
"changed" is emitted if anything has changed since freezing.
2009-10-09 09:59:01 +02:00
Sven Neumann 8c221ebfe5 check that the action has a gimp pointer attached before using it 2009-10-09 00:33:27 +02:00
Michael Natterer 7c39a22dc2 Simplify GimpDisplayShell's icon update API
It makes no sense to distinguish between idle and immediate update in
the public API, the code can simply decide by itself to immediately
update a NULL image's icon.
2009-10-08 23:30:56 +02:00
SHIRAKAWA Akira 9b595f3b10 Fixed error from last commit
Forgot to check for operator precedence

Signed-off-by: SHIRAKAWA Akira <shirakawa.devel@gmail.com>
2009-10-08 23:25:34 +02:00
SHIRAKAWA Akira a2f9408196 Complete removal of pressure and velocity scale defines
As tablet pen pressure and velocity scales when set to 1.0 lose their meaning,
their defines have been completely eliminated from the GIMP source.
2009-10-08 23:01:16 +02:00
SHIRAKAWA Akira 99c2bb2121 Bug 597413 - Opacity, hardness and color brush dynamics only use 2/3 of the total pen pressure range
Set global pressure scale to 1.0 instead of 1.5.
2009-10-08 21:13:51 +02:00
Michael Natterer e2cc191c92 Use GtkAdjustment's accessors 2009-10-08 20:05:12 +02:00
Michael Natterer 57541f8093 Rename gimp_display_shell_selection_layer_set_hidden() to set_layer_hidden() 2009-10-08 09:10:33 +02:00
Alexia Death 860c952416 Inverted maping matrix and fixes to jitter 2009-10-07 23:32:17 +03:00
Tor Lillqvist cb4c374edd Add missing NULL to g_strconcat() call 2009-10-07 22:33:34 +03:00
Michael Natterer dd0575edb4 Move refing/unrefing the image to gimp_display_set_image()
and don't do it in gimp_display_connect()/disconnect() because
set_image() is the natural place to do it.
2009-10-07 21:13:39 +02:00
Michael Natterer 067cfe9ff0 Move a call to gimp_display_shell_connect() around
from gimp_display_shell_reconnect() to gimp_display_set_image()
because it makes unsetting and setting an image in
gimp_display_set_image() more symmetric.
2009-10-07 20:11:48 +02:00
Michael Natterer 1ae5d6ad8d Use the local shell variable and don't call get_shell() again 2009-10-07 19:59:54 +02:00
Michael Natterer e57b0eee63 Don't call gimp_display_get_image() on a NULL display 2009-10-07 19:46:01 +02:00
Michael Natterer 6ad76d226e Use gimp_display_set_image() in gimp_display_new()
instead of manually calling gimp_display_connect(). Make
gimp_display_set_image() handle displays in construction
(which don't have a shell yet).
2009-10-07 19:42:08 +02:00
Michael Natterer 08f35de4ac Use gimp_display_get_image() instead of display->image 2009-10-07 19:00:42 +02:00
Alexia Death 88e7d5396d Merge commit 'origin/master' into soc-2009-dynamics 2009-10-07 19:42:04 +03:00
Alexia Death f89197f165 A small dynamics UI change 2009-10-07 19:32:37 +03:00
Michael Natterer c17dfd22a8 Rename layer_select->shell to layer_select->window
Calling that member "shell" is just too confusing in the
GimpDisplayShell context.
2009-10-06 19:25:33 +02:00
Michael Natterer c5b856f16f Use gimp_display_get_image() instead of display->image 2009-10-06 19:20:44 +02:00
Michael Natterer bf41a773cb Update the window title and icon when switching between shells 2009-10-06 10:56:46 +02:00
Michael Natterer d0a614093e Default to GIMP_NAME for the "title" property 2009-10-06 10:56:10 +02:00
Michael Natterer 23cd244c65 Make display->instance private, add an accessor and use it everywhere 2009-10-06 09:16:46 +02:00
Michael Natterer 5d70d60927 Move the display ID to the private struct 2009-10-05 20:10:00 +02:00
Michael Natterer c339125d7d Add private struct and move "shell" and "update_areas" there 2009-10-05 20:06:13 +02:00
Michael Natterer d1ded0617f More gimp_display_get_shell() instead of display->shell 2009-10-05 19:58:03 +02:00
Michael Natterer 297d205269 Use gimp_display_get_shell() also in gimpdisplay.c 2009-10-05 19:27:04 +02:00
Denis ARNAUD 356d11cbfc Updated breton translation 2009-10-05 06:21:07 +02:00
Michael Natterer 161f1346db Create the new display ID in set_property() not in gimp_display_new()
Make the ID a read-only property and set it when the "gimp"
construct-only property gets set. Removes code from gimp_display_new()
where it doesn't belong.
2009-10-04 22:00:04 +02:00
Sven Neumann 7e120a99f4 update the gtk+ dependency in INSTALL 2009-10-04 20:30:42 +02:00