gimp r25388 - in trunk: . app/display
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25388 - in trunk: . app/display
- Date: Mon, 7 Apr 2008 13:50:57 +0100 (BST)
Author: neo
Date: Mon Apr 7 13:50:57 2008
New Revision: 25388
URL: http://svn.gnome.org/viewvc/gimp?rev=25388&view=rev
Log:
2008-04-07 Sven Neumann <sven gimp org>
* app/display/gimpdisplay-handlers.c (gimp_display_saved_handler):
use gimp_statusbar_push_temp() directly instead of going through
gimp_message(). Use the GTK_STOCK_SAVE icon for the statusbar
message.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplay-handlers.c
Modified: trunk/app/display/gimpdisplay-handlers.c
==============================================================================
--- trunk/app/display/gimpdisplay-handlers.c (original)
+++ trunk/app/display/gimpdisplay-handlers.c Mon Apr 7 13:50:57 2008
@@ -24,13 +24,14 @@
#include "config/gimpdisplayconfig.h"
-#include "core/gimp.h"
#include "core/gimpimage.h"
#include "file/file-utils.h"
#include "gimpdisplay.h"
#include "gimpdisplay-handlers.h"
+#include "gimpdisplayshell.h"
+#include "gimpstatusbar.h"
#include "gimp-intl.h"
@@ -149,10 +150,13 @@
const gchar *uri,
GimpDisplay *display)
{
- gchar *filename = file_utils_uri_display_name (uri);
+ GtkWidget *statusbar = GIMP_DISPLAY_SHELL (display->shell)->statusbar;
+ gchar *filename;
- gimp_message (display->gimp, G_OBJECT (display), GIMP_MESSAGE_INFO,
- _("Image saved to '%s'"), filename);
+ filename = file_utils_uri_display_name (uri);
+
+ gimp_statusbar_push_temp (GIMP_STATUSBAR (statusbar), GTK_STOCK_SAVE,
+ _("Image saved to '%s'"), filename);
g_free (filename);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]