Commit Graph

29672 Commits

Author SHA1 Message Date
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
Kristjan SCHMIDT cf2bf03fe7 Updated Esperanto translation 2011-05-06 15:44:16 +02:00
Mukund Sivaraman 17c5e114c3 file-mng: Call png_set_*() functions after png_set_IHDR() 2011-05-06 16:28:25 +05:30
Mukund Sivaraman cbc2ffc7c2 file-mng: Specify the interlace type explicitly 2011-05-06 16:17:56 +05:30
Martin Nordholts dfc11599d1 app: Small --dump-pdb-procedures-deprecated cleanup 2011-05-06 07:29:01 +02:00
Martin Nordholts d9264c6bd5 app/tests: Fixup test-gimpidtable.c
Fixup of test-gimpidtable.c of things sleepy eyes and brains missed.
2011-05-06 07:23:16 +02:00
Daniel Mustieles b69a053245 Updated Spanish translation 2011-05-05 19:51:55 +02:00
Daniel Mustieles 3cf5f4a553 Updated Spanish translation 2011-05-05 19:28:28 +02:00
Mukund Sivaraman ae654a7aae file-png: Update comment for png_set_IHDR() 2011-05-05 20:47:53 +05:30
Mukund Sivaraman fbbeb8d629 file-png: Call png_set_*() functions after png_set_IHDR() 2011-05-05 20:36:45 +05:30