anjuta r4326 - in trunk: . libanjuta
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4326 - in trunk: . libanjuta
- Date: Fri, 10 Oct 2008 09:19:16 +0000 (UTC)
Author: jhs
Date: Fri Oct 10 09:19:16 2008
New Revision: 4326
URL: http://svn.gnome.org/viewvc/anjuta?rev=4326&view=rev
Log:
2008-10-10 Ignacio Casal Quinteiro <nacho resa gmail com>
* libanjuta/anjuta-preferences-dialog.c:
* libanjuta/anjuta-status.c:
Removed more libgnome stuff.
Modified:
trunk/ChangeLog
trunk/libanjuta/anjuta-preferences-dialog.c
trunk/libanjuta/anjuta-status.c
Modified: trunk/libanjuta/anjuta-preferences-dialog.c
==============================================================================
--- trunk/libanjuta/anjuta-preferences-dialog.c (original)
+++ trunk/libanjuta/anjuta-preferences-dialog.c Fri Oct 10 09:19:16 2008
@@ -32,6 +32,7 @@
#include <config.h>
#include <string.h>
+#include <glib.h>
#include <glib/gi18n.h>
#include <gtk/gtkhbox.h>
#include <gtk/gtkliststore.h>
@@ -42,7 +43,6 @@
#include <gtk/gtktreeselection.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <libgnome/gnome-macros.h>
#include <cell-renderer-captioned-image.h>
#include <libanjuta/anjuta-preferences-dialog.h>
Modified: trunk/libanjuta/anjuta-status.c
==============================================================================
--- trunk/libanjuta/anjuta-status.c (original)
+++ trunk/libanjuta/anjuta-status.c Fri Oct 10 09:19:16 2008
@@ -555,10 +555,10 @@
if (text)
anjuta_status_set (status, "%s", text);
- gnome_appbar_set_progress_percentage (GNOME_APPBAR (status),
- percentage);
- progressbar = gnome_appbar_get_progress (GNOME_APPBAR (status));
- statusbar = gnome_appbar_get_status (GNOME_APPBAR (status));
+ gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (status->priv->progress_bar),
+ percentage);
+ progressbar = GTK_PROGRESS_BAR (status->priv->progress_bar);
+ statusbar = status->priv->status_bar;
gtk_widget_queue_draw (GTK_WIDGET (statusbar));
gtk_widget_queue_draw (GTK_WIDGET (progressbar));
if (GTK_WIDGET(progressbar)->window != NULL &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]