[gnome-commander] one instance mode: beep when trying to start another instance



commit b06dbe35ea646d737c549a60ef3a776436ad6aeb
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Wed Jan 11 23:54:15 2012 +0100

    one instance mode: beep when trying to start another instance

 src/main.cc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/main.cc b/src/main.cc
index 9d02358..25b12be 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -78,6 +78,7 @@ static UniqueResponse on_message_received (UniqueApp *app, UniqueCommand cmd, Un
         case UNIQUE_ACTIVATE:
             gtk_window_set_screen (*main_win, unique_message_data_get_screen (msg));
             gtk_window_present_with_time (*main_win, t);
+            gdk_beep ();
             break;
 
         default:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]