Michael Natterer
056e09a6cb
Remove the makefile.msc build system, it is unmaintained since 2008
2011-12-16 15:53:56 +01:00
Michael Natterer
42a5f8f834
Bug 666065 - "you can drop dockable dialog" of the toolbox
...
Set the height request of the "You can drop dockable dialogs here"
label to 0, so the toolbox can be properly resized to its minimum
again.
2011-12-16 09:40:54 +01:00
Michael Natterer
a25bfabc43
app: properly memory manage GimpColorSelectorPalette's context
...
so we don't access garbage pointers when the widget is moved between
docks, like when toggling SWM.
2011-12-11 02:44:14 +01:00
Michael Natterer
180cb656ae
Remove more gdk_pointer_grab() where they are not strictly needed
...
and replace them by gtk_grab_add()/remove().
2011-12-10 21:51:05 +01:00
Michael Natterer
01f92a3b48
app: get rid of server grabs for almost all canvas interaction
...
Because it's generally the right thing to do, and server grabs broke
badly with input devices / client side windows.
gimpdisplayshell-grab.c: change logic to only server-grab if an event
is passed to the pointer grab/ungrab functions, but always use
gtk_grab_add/remove() which is sufficient in most cases.
gimpdisplayshell-tool-events.c: have the grab functions grab the
server only for space-bar scrolling and do all tool interaction,
including ruler clicks, with gtk_grab_add/remove(). Refactor things
a bit to also use the grab API for button-2 scrolling.
gimpdeviceinfo-coords.c: transform the event's coords to the canvas'
coordinate system, they might come from a ruler now.
This fixes the following bugs:
Bug 645315 - gimp_display_shell_pointer_grab: gdk_pointer_grab failed...
Bug 644351 - Gimp misses some strokes especially when drawing fast
Bug 645747 - Gimp is now unusable on xfce4
2011-12-09 20:20:02 +01:00
Michael Natterer
dcf84f3910
app: set the correct resolution on the text style overlay's size entry
2011-12-03 23:56:51 +01:00
Michael Natterer
af0570372d
app: GimpTagEntry formatting cleanup, no logic changes
2011-12-01 20:24:37 +01:00
Michael Natterer
1d9ca9cdca
app: remove gtk_check_version(2,24,7) code from GimpActionGroup
2011-12-01 12:07:43 +01:00
Michael Natterer
9781aa65ea
Bug 658467 - Replace g_format_size_for_display() by g_format_size()
...
Use g_format_size() instead of g_format_size_for_display() because
the latter is deprecated.
2011-11-30 23:37:55 +01:00
Michael Natterer
9cd3e005aa
app: fix the PDB GimpBrushSelect dialog
...
It was warning like crazy and not showing opacity and paint mode
widgets.
2011-11-25 13:57:28 +01:00
Massimo Valentini
c34348a2cd
app: silence a harmless Gimp-Core-CRITICAL
...
Dragging a channel preview (not RGBA) over a layer preview
GIMP used to print:
Gimp-Core-CRITICAL **: gimp_container_get_child_index: ...
assertion `GIMP_IS_CONTAINER (container)' failed
2011-11-18 18:36:20 +01:00
Michael Natterer
ca17c91d9e
app: don't unparent the menu_button in gimp_dockbook_dispose()
...
because we don't own it. GTK+ failing to destroy it is no reason, this
needs to be fixed in GtkNotebook.
2011-11-17 00:17:46 +01:00
Michael Natterer
a547cc0940
app: don't leak GimpViewRendererImagefile's GtkIconInfo
2011-11-04 01:32:50 +01:00
Michael Natterer
c166e494ce
Bug 662948 - Wilber is squeezed
...
Separate Wilber sizing from GimpDock::set_host_geometry_hints()
because that method is never called in single-window mode.
2011-11-02 00:31:23 +01:00
Michael Natterer
16aae588b9
app: no need to move that assignment
...
and no need to initialize the entire struct explicitly.
2011-10-13 11:30:02 +02:00
Mukund Sivaraman
d047b1ca41
app (widgets): Init child_allocation, or garbage is added to action_allocation.y
2011-10-13 10:32:12 +05:30
Michael Natterer
846392b66c
app: move the "exclusive visible" logic to the core
...
but don't fix it for item trees yet (refactoring only). Kill the
"exclusive liked" function which only existed because it was so easy
to have, but was always utterly useless. Prove me wrong and I will
revive it.
2011-10-12 16:05:57 +02:00
Michael Natterer
fffd1920e2
app: don't hardcode MOD2 in GimpContainerTreeView either
...
Add new utility function gimp_get_all_modifiers_mask() which returns
all modifiers used for "useful" things on the current platform, like
in the commit below.
2011-10-10 00:17:20 +02:00
Michael Natterer
6c660e7ad5
app: add property GimpDataFactoryView:action-group
...
and remove the public gimp_data_factory_view_construct().
2011-10-09 22:12:32 +02:00
Michael Natterer
b3db7e6c4e
app: rename all tool-preset dialog related things to "tool presets"
...
not just "tool preset". It's also "brushes", "patterns" etc. and not
just "brush" or "pattern".
2011-10-09 21:55:58 +02:00
Michael Natterer
04e8ae8435
app: add menu-related properties to GimpContainerEditor
...
and remove the public gimp_container_editor_construct(), so this class
behaves like a proper object now.
2011-10-09 21:45:02 +02:00
Michael Natterer
4ba905052b
app: remove most code from the public gimp_container_editor_construct()
...
and move it to GObject::constructed().
2011-10-09 21:19:14 +02:00
Michael Natterer
5f3b3dafb9
app: add view-size and view-border-width props to GimpContainerEditor
...
and remove them from the various public construct() functions.
2011-10-09 21:04:49 +02:00
Michael Natterer
bef55fbb66
app: add view-type, container and context props to GimpContainerEditor
...
and remove them from the various public construct() functions. Had to
change construction in GimpDataFactoryView slightly because of GObject
construct property constraints.
2011-10-09 20:40:56 +02:00
Michael Natterer
3bf3b55536
app: add property GimpDataFactoryView:data-factors
...
and remove it from the evil public construct() function.
2011-10-09 19:08:31 +02:00
Michael Natterer
11239c4b17
app: don't use g_list_length() to check if a list is empty
2011-10-09 00:27:53 +02:00
Michael Natterer
d310dacbb1
app: remove "foo && " from "foo && GTK_IS_FOO (foo)"
2011-10-09 00:18:56 +02:00
Michael Natterer
374f4e5628
app: let GimpContainerTreeView's parent class handle MOD2-click
2011-10-07 01:02:54 +02:00
Michael Natterer
e5edb1188d
app: more s/GDK_CONTROL_MASK/gimp_get_toggle_behavior_mask()/
2011-10-07 01:02:54 +02:00
Michael Natterer
e2feb0c16f
app: use gtk_widget_get_modifier_mask() in GimpWindow
...
to figure the primary accel modifier, so this code is now generic.
2011-10-07 01:02:54 +02:00
Michael Natterer
efd9906e85
app: remove gimp_get_mod_separator(), it's unused now
2011-10-07 00:34:43 +02:00
Michael Natterer
a38faefba7
app: use toggle_behavior_mask not CONTROL to trigger zoom-on-scroll
2011-10-07 00:00:42 +02:00
Michael Natterer
1bff8224ad
app: use the toggle_behavior_mask instead of CONTROL to pick BG
...
And don't use gimp_get_mod_separator().
2011-10-07 00:00:42 +02:00
Michael Natterer
2ee5dbb98c
app: use toggle_behavior_mask instead of CONTROL in GimpThumbBox
...
Also, don't use gimp_get_mod_separator() but a translatable "-"
because the separator is empty on OSX.
2011-10-07 00:00:42 +02:00
Michael Natterer
c7d9988a7f
app: make gimp_suggest_modifiers() work on OSX
...
by checking for gimp_get_toggle_behavior_mask() instead of
GDK_CONTROL_MASK. This is a total hack but happens to simply
do the right thing on all platforms.
2011-10-06 22:56:05 +02:00
Michael Natterer
6d1b5c4241
app: pull virtual modifier replacement into gimp_get_mod_string()
...
and remove it from all other places. We only want to have the virtual
modifiers when displaying a modifier string (and in some other cases,
but these are all handled internally by GTK+).
2011-10-06 22:56:05 +02:00
Michael Natterer
f4141d6942
app: add a utility function that returns the "constrain" modifier
2011-10-06 16:42:42 +02:00
Michael Natterer
c0610697cb
app: remove widget parameter from gimp_modifiers_to_channel_op()
...
and simply use the default keymap.
2011-10-06 16:33:05 +02:00
Michael Natterer
10a9c660f8
app: add utility functions which return modifier masks
...
Simply get the masks from the default display's keymap, since
the widget makes absolutely no difference here.
2011-10-06 16:33:05 +02:00
Michael Natterer
4b3d3fe431
app: port the channels and paths dialog to portable selection modifiers
...
instead of hardcoding SHIFT and CONTROL.
2011-10-05 19:26:54 +02:00
Michael Natterer
f22d6b9d3b
app: use the portable EXTEND_SELECTION modifier instead of SHIFT
2011-10-05 19:26:54 +02:00
Michael Natterer
16d4d6fa94
app: replace virtual modifiers before displaying them as GimpEditor tooltip
2011-10-05 19:26:53 +02:00
Michael Natterer
9e44a199e5
app: use gimp_modifiers_to_channel_op()
...
instead of replicating its logic in a non-portable way.
2011-10-05 19:26:53 +02:00
Michael Natterer
fdf103ce08
app: add more modifier utility functions to gimpwidgets-utils.[ch]
...
- gimp_modifiers_to_channel_op() translates a modifier state to REPLACE,
ADD, SUBTRACT or INTERSECT.
- gimp_replace_virtual_modifiers() uses gdk_keymap_add_virtual_modifiers()
to replace the physical bits in a modifier state to their virtual
counterparts (and not just adds the virtual ones like the GDK
function).
2011-10-05 19:26:53 +02:00
Michael Natterer
f45cccbc82
app: make gimp_get_mod_string() a bit nicer
2011-10-05 18:47:37 +02:00
Michael Natterer
3982ddc39b
app: implement gimp_get_mod_string() using gtk_accelerator_get_label()
...
so it can handle all modifiers (also Mac ones).
Remove gimp_get_mod_name_shift,control,alt().
2011-10-05 01:30:59 +02:00
Michael Natterer
1459f5bb61
app: unparent GimpDockBook's menu button in dispose() not finalize()
...
because unparenting requires a fully functional object that can
be used as signal parameter. I have no clue why this doesn't
trigger criticals on X11.
2011-10-04 23:54:42 +02:00
Michael Natterer
f1d4dde36a
libgimpwidgets: add gdk_event_triggers_context_menu() to gimp3migration.[ch]
...
and remove gimp_button_event_triggers_context_menu() again. Update
all callers to use the new function.
2011-10-02 16:23:59 +02:00
Michael Natterer
2c175b068d
libgimpwidgets: add gtk_paned_new() to gimp3migration.[ch]
...
and use it all over the place.
2011-10-02 14:36:42 +02:00
Michael Natterer
16817c666f
libgimpwidgets: add gtk_scrollbar_new() to gimp3migration.[ch]
...
and use it all over the place.
2011-10-02 14:36:41 +02:00