Michael Natterer
cebd34293c
app: don't populate the tool preset factory with data in no-interface mode
...
but keep the factory around anyway so the code stays simple.
2011-05-17 14:54:40 +02:00
João S. O. Bueno
84dcf6281e
pygimp: add public Item.from_id method
...
Allows the integer IDs returned by the PDB to be promoted to Python
objects. This removes a release blocking factor for pygimp and also
sets base for refactoring pygimp object methods into
pure Python.
2011-05-16 10:13:00 -04:00
João S. O. Bueno
3de6cc5f74
pygimp: Creates the "gimp.Item" class
...
Creates a gimp.Item class and change the hyerarchy so that
Python Vectors, Layers and Drawable classes inherit from it.
Still not working properly, as PDB calls returns raw integer
ID's instead of proper Python objects.
2011-05-16 10:12:59 -04:00
Michael Natterer
ab3fe10275
plug-ins: remove some more -Wunused-but-set-variable
2011-05-15 21:12:49 +02:00
Michael Natterer
ab0b88b5db
app: replace the last GtkObject members by GtkAdjustment
...
Also get rid of some unneeded GTK_ADJUSTMENT() casts and replace some
local GtkObject veriables by GtkAdjustment.
2011-05-15 17:00:41 +02:00
Michael Natterer
5642297109
app: fix PDB parameter type mapping for GIMP_TYPE_ITEM_ID
...
and return GIMP_PDB_ITEM for GIMP_TYPE_ITEM_ID.
2011-05-15 01:47:21 +02:00
Martin Nordholts
cf4a4bf5a6
app: Make gimp_session_info_dock_restore() take a GimpDockContainer
2011-05-13 21:25:39 +02:00
Martin Nordholts
7edf717bae
app: Add image_window boolean to GimpDialogFactoryEntry
...
Add image_window boolean to GimpDialogFactoryEntry and rename
FOREIGN_NOT_HIDEABLE() to IMAGE_WINDOW(). We need to treat image
windows a bit special when we restore a single-window mode session.
2011-05-13 21:25:39 +02:00
Martin Nordholts
0f19471e22
app: Make GimpDockContainer::get_docks() return a new list
...
Make GimpDockContainer::get_docks() return a new list and not just a
pointer to a list so that GimpImageWindow can implement it (who needs
to merge its two GimpDockColumns lists).
2011-05-13 21:04:23 +02:00
Martin Nordholts
00c2d15a3a
app: Add GimpDockContainer::add_dock()
...
Add GimpDockContainer::add_dock() and use it in
gimp_session_info_dock_restore().
2011-05-13 21:04:23 +02:00
Martin Nordholts
ab1b50ad4a
app: Add GimpDockContainer::get_ui_manager()
...
Add GimpDockContainer::get_ui_manager() and make GimpDockWindow
implement it. Primary client is session restoration code.
2011-05-13 18:56:41 +02:00
João S. O. Bueno
d15cebe649
plug-ins: Fix procedure and file name, list file for translation
2011-05-13 10:50:25 -04:00
Michael Natterer
896e29c5f1
app: gimp_session_info_dock_restore(): remove empty dockbooks after restoring
...
so we don't end up with empty windows if restoring all dockables in
the dock failed.
2011-05-12 21:23:07 +02:00
Michael Natterer
6bf7f7e429
app: ref the session info in gimp_dialog_factory_add_session_info()
...
and unref it in the callers after adding it. That's the proper way of
doing it and fixes another warning when restoring a dock fails.
2011-05-12 21:23:07 +02:00
Michael Natterer
9e60dd547d
app: keep a ref to the session info in gimp_session_info_restore()
...
because failing to restore a dock can destroy the newly created dock
and implicitly unref the session info.
2011-05-12 21:23:06 +02:00
Michael Natterer
68a56a861e
app: gimp_session_info_book_restore(): don't set a non-existing current page
...
Don't set the first page of the restored dockbook active if there are
less than two pages. Also add a comment that explains why we return
the dockbook even though we know that all its dockables failed to
restore.
2011-05-12 21:23:06 +02:00
Michael Natterer
80cf95319e
app: gimp_session_info_dockable_restore(): don't return existing singletons
...
Instead, return NULL. The singleton dockable can't be restored in this
dock because it's already open in another dock.
2011-05-12 21:23:06 +02:00
Kristjan SCHMIDT
f37394cd0f
Add Esperanto translation
2011-05-12 20:59:13 +02:00
João S. O. Bueno
4245b6bbe1
plug-ins: Create save Gradient as CSS3 python-script
...
A script to enable seamlesly save GIMP gradients as
CSS3 gradients, conformant to w3c and current existing
implementations: mozilla and webkit.
2011-05-12 13:48:26 -04:00
Martin Nordholts
c70dc8f86d
app: Add NULL check in gimp_dock_container_get_docks()
2011-05-12 06:51:40 +02:00
Martin Nordholts
3286ba8ba8
Update NEWS
2011-05-12 06:42:31 +02:00
Mukund Sivaraman
9f7ad1cea0
Update NEWS about libpng
2011-05-12 08:44:30 +05:30
Michael Natterer
05cd8670c3
libgimpwidgets: deprecate gimp_toggle_button_sensitive_update()
...
Use g_object_bind_property() instead.
2011-05-11 22:13:33 +02:00
Mikael Magnusson
80e18bdee0
app: Fix tooltip for "Use editor" checkbox
2011-05-11 22:09:21 +02:00
Michael Natterer
3184c0f339
app: use g_object_bind_property() to set sensitivity here too
2011-05-11 11:43:19 +02:00
Michael Natterer
77b615e899
plug-ins: use g_object_bind_property() to set widgets sensitive
...
depending on toggle buttons instead of libgimpwidgets' "set_sensitive"
hack.
2011-05-11 11:41:26 +02:00
Martin Nordholts
6d421f9d4d
app: Add and use gimp_session_info_get_info_with_widget()
...
Add and use helper function
gimp_session_info_get_info_with_widget(). Might need it for
GimpImageWindow later...
2011-05-09 19:55:51 +02:00
Martin Nordholts
4b9243fc60
app: Make GimpDockWindow implement GimpDockContainer
...
Make GimpDockWindow implement the GimpDockContainer interface. The
plan is to make GimpImageWindow also implement the GimpDockContainer
interface when we start to session manage docks in single-window mode.
2011-05-09 19:55:51 +02:00
Martin Nordholts
2287b6e008
app: Add a GimpDockContainer interface
...
We now have to classes that contain docks, GimpDockWindow and
GimpImageWindow (in single-window mode). Introduce a GimpDockContainer
interface so we can cope with these in an abstract way.
2011-05-09 19:43:28 +02:00
Martin Nordholts
1d12dc8e86
app: Sort widgets/widgets-types.h
2011-05-09 18:37:40 +02:00
Michael Natterer
e91890f659
app: always use the first display's image window as single-window
...
so the tabs are in the order of the global display list which is the
order of the image menu items and their ALT+number shortcuts.
2011-05-08 21:41:06 +02:00
Mukund Sivaraman
f93398b4cf
file-bmp: Fix typo in comment
2011-05-08 23:33:17 +05:30
Mukund Sivaraman
b3a4a00d29
file-bmp: Use BITMAPV5HEADER structure (bug #649741 )
2011-05-08 22:57:39 +05:30
Mukund Sivaraman
a713175375
file-bmp: Rewrite code
2011-05-08 22:10:20 +05:30
Mukund Sivaraman
4978f370fe
file-bmp: Rewrite code
2011-05-08 21:22:31 +05:30
Michael Natterer
3b71b71c4c
app: always add ALT+number accelerators to the image window menu items
...
There is no reason why we should have them only in single-window-mode.
The accels are numbered in the order the displays are opened, which is
also the order they appear in the menu. The only thing that needs to
be taken care of is that switching to SWM swallows the image windows
into the single window in the right order. Fixes bug #647524 .
2011-05-08 00:00:55 +02:00
Michael Natterer
1ebd2b5113
Revert "app: Make alt+[number] switch tabs in single-window mode"
...
This reverts commit 110b3daa97
.
2011-05-07 23:54:54 +02:00
Michael Natterer
d7b8f8e81f
app: formatting in gimpdisplayshell-selection.c
2011-05-07 22:33:05 +02:00
Kristjan SCHMIDT
cd81632ad0
Updated Esperanto translation
2011-05-07 19:36:19 +02:00
Kristjan SCHMIDT
03a3d01fb3
Updated Esperanto translation
2011-05-07 19:30:27 +02:00
Mukund Sivaraman
0654b73964
gradient-map: Free gradient_name when done using it
2011-05-07 06:44:22 +05:30
Mukund Sivaraman
24ac01bfa9
app: Fix corruption while in use of imported uri
2011-05-07 05:52:31 +05:30
Mikael Magnusson
9e771c3160
file-uri: use correct variable type
...
uri-backend-libcurl.c:195: warning: call to '_curl_easy_getinfo_err_long'
declared with attribute warning: curl_easy_getinfo expects a pointer to
long for this info
2011-05-07 01:34:34 +02:00
Michael Natterer
604d50fc36
Bug 155733 - need to check return values of gimp_drawable_mask_bounds()
...
Apply modified patch from Brennan Shacklett that fixes some more
plug-ins.
2011-05-07 01:11:56 +02:00
Mikael Magnusson
a4cf150191
Bug 649610 - Gimp does not initialize as long as the splash screen is not mapped
...
app: don't use gtk_widget_show_now as that blocks until the window maps.
2011-05-07 00:14:59 +02:00
Yoshinori Yamakawa
759fad8189
file-psd: Make file-psd-save embed color profile
2011-05-06 20:08:57 +05:30
Mukund Sivaraman
1a025e4fbd
selection-to-path: Fix an uninitialized variable
2011-05-06 19:48:20 +05:30
Mukund Sivaraman
904d3452b9
file-mng: Indent some code
2011-05-06 19:33:46 +05:30
Mukund Sivaraman
5b999ab3f9
file-png: Indent some code
2011-05-06 19:33:46 +05:30
Kristjan SCHMIDT
252c88c3a9
Add Esperanto translation
2011-05-06 15:54:30 +02:00