Commit Graph

28484 Commits

Author SHA1 Message Date
Martin Nordholts f216e0b039 po: Update POTFILES.in 2010-10-31 08:07:33 +01:00
Michael Natterer 29d63afbb7 pdb: remove gimp-item-to-selection again 2010-10-30 22:19:22 +02:00
Michael Natterer 457a46a04c pdb: add new selection API which has less parameters than the old one
and uses the new context properties instead. This is work in progress
and subject to change. Don't use it in plug-ins/scripts yet!
2010-10-30 22:06:20 +02:00
Michael Natterer 108c6f4e41 pdb: preemtively update context docs for upcoming selection API changes 2010-10-30 21:58:00 +02:00
Alexia Death 8663b22c2a app: Fixes to brush scale->size replacement 2010-10-30 21:38:54 +03:00
Michael Natterer ae742f0920 app: some cleanup in the new brush size code 2010-10-30 19:56:24 +02:00
Michael Natterer 5bc3317b5a libgimpwidgets: fix the new prop_unit_combo_box to work like the oly unit menu
- don't forget to set the initial value
- set has_pixels and has_percent on the unit store from the param spec
2010-10-30 19:39:31 +02:00
Alexia Death 5d42803d7f app: Expose brush size in pixels, not as ratio 2010-10-30 19:51:07 +03:00
Michael Natterer b9a7c121a4 app: don't inherit from GtkHBox or GtkVBox
Instead, inherit from GtkBox directly and set the orientation in
init().  Replace more gtk_container_add() by gtk_box_pack_start() in
the reparented classes.
2010-10-30 15:44:46 +02:00
Michael Natterer 060a08da5a app: +1 2010-10-30 15:43:56 +02:00
Michael Natterer 56dee7245a app: and one more 2010-10-30 15:43:17 +02:00
Michael Natterer ebc92dc5b4 app: more gtk_container_add -> gtk_box_pack_start 2010-10-30 15:42:25 +02:00
Michael Natterer b2a2e3200e app: derive GimpDisplayShell from GtkBox instead of GtkVBox
and avoid gtk_container_add() on boxes in some more plavces.
2010-10-30 15:12:20 +02:00
Michael Natterer 79f0f5639b Don't use gtk_container_add() for adding to GtkBoxes
because the packing options are different for GtkH/VBox and GtkBox
itself which is now instantiable. Instead, always use
gtk_box_pack_start() and specify expanding explicitely.
2010-10-30 14:57:56 +02:00
Chao-Hsiung Liao bdd1cea93a Updated Traditional Chinese translation (Hong Kong and Taiwan) 2010-10-30 19:55:58 +08:00
Michael Natterer 186b037f94 app: formatting 2010-10-29 10:33:57 +02:00
Michael Natterer 59a4e70b86 app: don't reserve a height for the statusbar label's icon
Reserve only a width. The height gets ignored by GTK+ 2.x and breaks
layout positioning in GTK+ 3.x which uses pango-cairo for all text
rendering.
2010-10-29 10:31:04 +02:00
Michael Natterer dcdc09872d Bug 631934 - Interaction between Old text parameters and new region specific text attributes
This patch inserts GimpText's property values as attributes into the
rendered markup and work transparently for both the tool options and
the text PDB API.
2010-10-29 04:45:12 +02:00
Carles Ferrando 0da7773bb5 Updated Catalan (Valencian) translation 2010-10-29 00:33:19 +01:00
Simon Budig 5111498e11 More input validation in the psd load plugin
plug-ins/file-psd/psd-load.c: Avoid dereferencing a random pointer
on chn_a[cidx].data[i] when comp_mode is unrecognized.
Spotted by Mikael Magnusson <mikachu@gmail.com>.
2010-10-28 20:34:44 +02:00
Michael Natterer 0829e5b028 app: simplify how the colormap editor sets FG/BG colors
Set the FG/BG on the widget's own context and remove the "selected"
signal and its callback in dialogs-constructors.c
2010-10-28 03:09:53 +02:00
Michael Natterer 112ca01064 app: bye bye deprecated GtkPreview
Use a GimpPaletteView for the colormap editor.
2010-10-28 02:16:52 +02:00
Michael Natterer 32d5d1681b app: don't crash if the palette is NULL 2010-10-28 02:16:52 +02:00
Michael Natterer 9dee789cfd app: emit "update" when the viewable goes away via the weak notify 2010-10-28 02:16:51 +02:00
Michael Natterer d899328a1c app: some updates in the new colormap palette proxy code
- update the palette when single colormap entries change
- set the palette to 16 columns
- add an accessor for the palette
2010-10-28 02:16:51 +02:00
Marco Ciampa 6e01b28502 Updated italian translation 2010-10-27 23:52:09 +02:00
Alexia Death e8df164366 app: Add dynamics selector to the tool options 2010-10-27 21:49:24 +03:00
Michael Natterer a27b6f5f47 app: keep a GimpPalette around that proxies the image's indexed colormap
and add it to the palette factory as internal object. Work in progress
on the way to getting rid of the ugly code in the colormap editor.
2010-10-27 15:40:43 +02:00
Michael Natterer d1307a84a4 app: return TRUE from button_press() so the event doesn't get to the notebook 2010-10-27 15:39:52 +02:00
Michael Natterer f46122b862 app: add lots of accessors to GimpPalette
and use them all over the place instead of directly accessing the struct.
2010-10-27 14:36:44 +02:00
Martin Nordholts 5931fe5312 app/tests: test-tools.c formating 2010-10-26 19:06:32 +02:00
Michael Natterer 8c65edcc55 app: make GimpScaleComboBox build with GTK+ >= 2.23.1 2010-10-26 16:40:41 +02:00
Martin Nordholts d3c97238a3 app/tests: Fix inludes of non-UI tests
Eventually we might want to be more strict, but I think it will be
fine to depend on UI headers in non-UI tests. Non-UI tests just means
we don't need to initalize the UI.
2010-10-26 14:35:06 +02:00
Martin Nordholts 4fd051cc0d app/tests: Remove invalid redeclaration
I forgot this...
2010-10-26 14:34:10 +02:00
Martin Nordholts fc8ab634a8 app/tests: Add '/gimp-tools/crop_tool_can_crop' test
Begin adding a new set of tests meant to test tools. The first test is
a regression test for "Bug 315255 - SIGSEGV, while doing a crop".
2010-10-26 14:23:09 +02:00
Martin Nordholts e7b7bb7136 app/tests: Make gimp_ui_get_ui_manager() a global test util
Make gimp_ui_get_ui_manager() a global test util and make
gimp_test_utils_create_image() return void, clients can reach the new
image and display from the Gimp instance.
2010-10-26 14:23:09 +02:00
Martin Nordholts 62ece2ff18 app/tests: Make gimp_ui_synthesize_key_event() a global test util 2010-10-26 14:23:09 +02:00
Martin Nordholts edff4949bc app: Call gimp_log_init() in test init functions
Call gimp_log_init() in test init functions so we can use the
GIMP_DEBUG env var.
2010-10-26 14:23:09 +02:00
Martin Nordholts c33b287dab app: Register GimpToolAction for gimp_enum_get_value_name()
Register GimpToolAction so we can use gimp_enum_get_value_name() on
it.
2010-10-26 14:23:08 +02:00
Martin Nordholts 73d2f44210 app: Add some GimpRectangleTool GIMP_LOG() messages 2010-10-26 14:23:08 +02:00
Martin Nordholts ee81f23f0a app: Add gimp_enum_get_value_name() utility function 2010-10-26 14:23:08 +02:00
Martin Nordholts 3d82d40f5b app/tests: Improve gimp_test_utils_set_env_to_subdir() hint
Improve gimp_test_utils_set_env_to_subdir() hint by making it stand
out more from normal gdb output.
2010-10-26 14:23:08 +02:00
Martin Nordholts 1e747cbb19 app: Update gimp_display_shell_transform_xy_f() gtk-doc
gimp_display_shell_transfrom_xy() is removed.
2010-10-26 14:22:53 +02:00
Martin Nordholts 2056042e96 app/tests: Add gimp_test_utils_create_image() 2010-10-26 14:22:53 +02:00
Martin Nordholts 9e6f5000a5 app/tests: Give possible solution to 'keyboard_zoom_focus' failing 2010-10-26 14:21:27 +02:00
Michael Natterer 6fc4c42298 Bug 348183 - palette editor doesn't show all palette colors
Remove a crack eventbox and a double crack alignment and suddenly the
widget behaves properly. I have no idea what "important" feature I
killed with that removal, but the whole palette editing code needs
some serious chopping soon.
2010-10-25 22:54:55 +02:00
Joe Hansen 356690da1c Updated Danish translation 2010-10-24 17:34:17 +02:00
Mukund Sivaraman b072e75833 file-jpeg: Make cinfo struct static so asynchronous saves don't crash
The plug-in already makes a copy of the cinfo struct for asynchronous
save, but it seems that somewhere inside cinfo, a pointer points to
another region in this struct. So, everything is copied as-is, and
the pointer ends up pointing to somewhere in the save_image() stack
which is gone when that function returns.
2010-10-23 17:23:22 +05:30
Alexandre Prokoudine 150983ac60 po/ru.po: Fixed typos spotted by Maxim S. Barabash 2010-10-23 02:19:46 +04:00
Mukund Sivaraman 64ed52144a Update indentation 2010-10-23 00:39:03 +05:30