[gnac/devel] Fixed a bug preventing the main window from being properly shown
- From: Benoît Dupasquier <bdupasqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnac/devel] Fixed a bug preventing the main window from being properly shown
- Date: Fri, 18 Jun 2010 19:36:54 +0000 (UTC)
commit b4c65825f758fdb0c752295a10109814793416b3
Author: Benoît Dupasquier <bdupasqu src gnome org>
Date: Fri Jun 18 20:36:30 2010 +0100
Fixed a bug preventing the main window from being properly shown
src/gnac-ui.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gnac-ui.c b/src/gnac-ui.c
index 2fcd061..1b2f0e3 100644
--- a/src/gnac-ui.c
+++ b/src/gnac-ui.c
@@ -745,6 +745,7 @@ gnac_ui_message_received_cb(UniqueApp *app,
switch (command)
{
case UNIQUE_ACTIVATE:
+ gtk_widget_show_all(GTK_WIDGET(main_window));
gtk_window_set_screen(main_window,
unique_message_data_get_screen(message));
gtk_window_present_with_time(main_window, time);
@@ -769,7 +770,7 @@ gnac_ui_message_received_cb(UniqueApp *app,
break;
default:
- g_printerr("Received unknown libunique command: %d\n", command);
+ libgnac_debug("Received unknown libunique command: %d\n", command);
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]