Commit graph

30245 commits

Author SHA1 Message Date
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
Mukund Sivaraman 197dddb5d5 wind: Delete dead assignment 2011-10-06 19:54:58 +05:30
Mukund Sivaraman 7fbc0fe540 file-psd: Delete dead variable and assignment 2011-10-06 19:51:04 +05:30
Mukund Sivaraman b613969d8b file-psd: Move variables to local block 2011-10-06 19:49:47 +05:30
Mukund Sivaraman c9e7186a35 app: Conditionally assign show_menu 2011-10-06 19:45:32 +05:30
Mukund Sivaraman d5c1e09643 file-gif-save: Delete dead variables and assignments 2011-10-06 19:42:47 +05:30
Mukund Sivaraman 030695b8d0 contrast-retinex: Delete redundant assignment and move variable to local block 2011-10-06 19:39:59 +05:30
Mukund Sivaraman db40cca290 file-xwd: Change if statements list to a switch 2011-10-06 19:35:21 +05:30
Mukund Sivaraman 957ca36576 file-xwd: Remove dead variable and assignment 2011-10-06 19:34:05 +05:30
Mukund Sivaraman 1dfec7dac8 sphere-designer: Remove useless variable 2011-10-06 19:32:56 +05:30
Mukund Sivaraman cf19e68205 warp: Delete dead variable and assignment 2011-10-06 19:30:49 +05:30
Mukund Sivaraman 9e4627730a file-sunras: Delete dead variable and assignment 2011-10-06 19:26:06 +05:30
Mukund Sivaraman b3337ee865 metadata: Delete dead assignment and move variable to local block 2011-10-06 19:24:56 +05:30
Mukund Sivaraman d6d2a0bbd1 app (gimprc): Delete dead assignment 2011-10-06 19:23:06 +05:30
Mukund Sivaraman 599c077548 edge: Delete dead variables and assignments 2011-10-06 19:21:14 +05:30
Mukund Sivaraman b11bc202f1 semi-flatten: Remove dead variable and assignment 2011-10-06 18:59:31 +05:30
Mukund Sivaraman 5deb726dfb gimpressionist: Remove 'step' variable which is equal to 'i' 2011-10-06 18:58:25 +05:30
Mukund Sivaraman e04edfa8e2 depth-merge: Delete redundant assignment 2011-10-06 09:11:53 +05:30
Mukund Sivaraman 61c47bf865 mosaic: Remove dead variable and assignment 2011-10-06 09:10:33 +05:30
Mukund Sivaraman e3b8d9885e rotate: Remove redundant assignment 2011-10-06 09:08:22 +05:30
Mukund Sivaraman b5288df912 convolution-matrix: Remove dead code and variable 2011-10-06 09:06:27 +05:30
Mukund Sivaraman 7048d9e46e tinyscheme: Remove dead assignment 2011-10-06 09:04:43 +05:30
Mukund Sivaraman 29e7d032a3 app (file-save-dialog): Remove dead code and variables 2011-10-06 09:01:51 +05:30
Mukund Sivaraman 4b75e13518 polar-coords: Remove redundant assignment 2011-10-06 08:53:34 +05:30
Mukund Sivaraman c4b709cdce edge: Remove dead variable and assignment 2011-10-06 08:51:07 +05:30
Mukund Sivaraman 12f6dba895 file-sunras: Use precomputed hdr_entries instead of recomputing it 2011-10-06 08:49:21 +05:30
Mukund Sivaraman 13cd1f6f80 blur-motion: Move variables into inner block, where they're used 2011-10-06 08:45:58 +05:30
Mukund Sivaraman 37d81cd396 film: Remove dead assignment (and variable) 2011-10-06 08:38:46 +05:30
Mukund Sivaraman ad3633110a app: Remove duplicate assignment 2011-10-06 08:37:41 +05:30
Mukund Sivaraman 3699475be9 app (xcf): Remove duplicate assignment 2011-10-06 08:35:00 +05:30
Mukund Sivaraman bdd7a934a7 file-gif-load: Conditionally compile debug code 2011-10-06 08:33:26 +05:30
Mukund Sivaraman 91bcc3dff4 file-sgi: Remove redundant assignment 2011-10-06 08:29:36 +05:30
Mukund Sivaraman 245b4482eb file-tiff-load: Remove function's dead args 2011-10-06 08:27:57 +05:30
Mukund Sivaraman bf31425640 file-sunras: Remove dead assignment (and variable) 2011-10-06 08:25:04 +05:30
Michael Natterer 990a4bd271 app: don't forget to move the start handle in GimpBlendTool
because the tool moves both handles when Alt is pressed.
2011-10-05 23:40:44 +02:00
Michael Natterer e8250320d5 app: use gdk_event_triggers_context_menu() for the image menu
and clean up button event handling a bit.
2011-10-05 20:04:42 +02:00
Michael Natterer c18c21f651 app: treat Meta_L and Meta_R as tool-relevant modifiers
for the Mac, they are still unhandled by tools though.
2011-10-05 19:44:24 +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 ad27b30525 app: get the "add" and "subtract" modifiers from the new portable API
instead of hardcoding SHIFT and CONTROL. Also replace virtual modifiers
before showing them as tooltips.
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
Mukund Sivaraman 643dceec02 libgimpwidgets: Add missing symbols to gimpwidgets.def 2011-10-05 09:25:21 +05:30
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 29a6c71f00 app: don't use GNU-only options when generating git-version.h 2011-10-04 23:36:21 +02:00