[gtranslator] Open files in the new window also.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtranslator] Open files in the new window also.
- Date: Thu, 11 Feb 2010 18:50:30 +0000 (UTC)
commit bbfe401560f58f4975cedf83c43f43b73a328d77
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Feb 11 19:49:59 2010 +0100
Open files in the new window also.
src/main.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index f349938..6466d11 100644
--- a/src/main.c
+++ b/src/main.c
@@ -119,13 +119,9 @@ unique_app_message_cb (UniqueApp *unique_app,
GtrWindow *window;
if (command == UNIQUE_NEW)
- {
- window = gtr_application_create_window (GTR_APPLICATION (unique_app));
-
- return UNIQUE_RESPONSE_OK;
- }
-
- window = gtr_application_get_active_window (GTR_APPLICATION (unique_app));
+ window = gtr_application_create_window (GTR_APPLICATION (unique_app));
+ else
+ window = gtr_application_get_active_window (GTR_APPLICATION (unique_app));
if (command == UNIQUE_OPEN)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]