summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-01-30 02:19:38 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-01-30 02:19:38 (GMT)
commiteacb69625d51707ac0a158815a53f71fb70968ce (patch)
tree8d14e34639f80a0955529604d9c0d3ccae4d7dde /src/gtkext
parent7bcec72d69c5350678ed6350636687c3c29bbc61 (diff)
Provided a new working Project menu.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@230 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/gtkextstatusbar.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gtkext/gtkextstatusbar.c b/src/gtkext/gtkextstatusbar.c
index e0ce43d..c89cfe4 100644
--- a/src/gtkext/gtkextstatusbar.c
+++ b/src/gtkext/gtkextstatusbar.c
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* gtkextstatusbar.h - prototypes pour la barre de statut améliorée
*
- * Copyright (C) 2009-2010 Cyrille Bagard
+ * Copyright (C) 2009-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -124,7 +124,7 @@ guint gtk_extended_status_bar_push(GtkExtStatusBar *bar, const gchar *message, g
{
guint result; /* Identifiant à retourner */
- gdk_threads_enter();
+ //gdk_threads_enter();
result = gtk_statusbar_push(GTK_STATUSBAR(bar), bar->context, message);
@@ -145,9 +145,9 @@ guint gtk_extended_status_bar_push(GtkExtStatusBar *bar, const gchar *message, g
}
else gtk_widget_hide(GTK_WIDGET(bar->progress));
- gdk_flush ();
+ //gdk_flush ();
- gdk_threads_leave();
+ //gdk_threads_leave();
return result;
@@ -181,12 +181,12 @@ void gtk_extended_status_bar_update_activity(GtkExtStatusBar *bar, guint id, gdo
g_snprintf(percent, 5, "%.0f%%", value * 100);
- gdk_threads_enter();
+ //gdk_threads_enter();
gtk_progress_bar_set_fraction(bar->progress, value);
gtk_progress_bar_set_text(bar->progress, percent);
- gdk_threads_leave();
+ //gdk_threads_leave();
}
@@ -210,7 +210,7 @@ void gtk_extended_status_bar_remove(GtkExtStatusBar *bar, guint id)
{
size_t i; /* Boucle de parcours */
- gdk_threads_enter();
+ //gdk_threads_enter();
gtk_statusbar_remove(GTK_STATUSBAR(bar), bar->context, id);
@@ -234,8 +234,8 @@ void gtk_extended_status_bar_remove(GtkExtStatusBar *bar, guint id)
else
gtk_widget_hide(GTK_WIDGET(bar->progress));
- gdk_flush ();
+ //gdk_flush ();
- gdk_threads_leave();
+ //gdk_threads_leave();
}