[gnome-system-monitor] Focus the Processes tree on startup. https://bugzilla.gnome.org/show_bug.cgi?id=699095



commit 18f9cbdbd0a9abb2b404f5859f21f9b6d1c56b9c
Author: Robert Roth <robert roth off gmail com>
Date:   Sun Apr 28 13:12:27 2013 +0300

    Focus the Processes tree on startup.
    https://bugzilla.gnome.org/show_bug.cgi?id=699095

 src/callbacks.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/callbacks.cpp b/src/callbacks.cpp
index 7380977..543ed0f 100644
--- a/src/callbacks.cpp
+++ b/src/callbacks.cpp
@@ -401,6 +401,7 @@ cb_change_current_page (GtkNotebook *nb, gint num, gpointer data)
                 cb_timeout, app);
 
         update_sensitivity(app);
+        gtk_widget_grab_focus(app->tree);
     }
     else {
         if (app->timeout) {


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