[gnome-system-monitor/gnome-3-8] Focus the Processes tree on startup. https://bugzilla.gnome.org/show_bug.cgi?id=699095
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor/gnome-3-8] Focus the Processes tree on startup. https://bugzilla.gnome.org/show_bug.cgi?id=699095
- Date: Mon, 13 May 2013 17:19:10 +0000 (UTC)
commit dc77161a7b80e6ee1f117f2be7fabb100e34aab4
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 cbd326a..e965f66 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]