summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-18 01:10:23 +0100
committerinfirit <[email protected]>2014-12-18 01:10:23 +0100
commit3663ca884eb8c578ba372640cb5399a5419d48ca (patch)
tree4319c29d113437e6495dcbcea85f040a54371b80
parentb2d73fe3919f5c1c10d01cfa4108ea677f2ccdc0 (diff)
downloadmate-system-monitor-3663ca884eb8c578ba372640cb5399a5419d48ca.tar.bz2
mate-system-monitor-3663ca884eb8c578ba372640cb5399a5419d48ca.tar.xz
Set widget name for main application window
Taken from GSM commit: f7fdd5f17370548b533e1f8508fa774b88b4d4d0 From: Chris Kühl <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=633259
-rw-r--r--src/procman.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/procman.cpp b/src/procman.cpp
index a23aded..d11c7eb 100644
--- a/src/procman.cpp
+++ b/src/procman.cpp
@@ -731,7 +731,8 @@ main (int argc, char *argv[])
cb_change_current_page (GTK_NOTEBOOK(procdata->notebook), PROCMAN_TAB_SYSINFO, procdata);
}
- gtk_widget_show(procdata->app);
+ gtk_widget_set_name(procdata->app, "mate-system-monitor");
+ gtk_widget_show(procdata->app);
procman_debug("begin gtk_main");
kit.run();