diff options
author | Clement Lefebvre <[email protected]> | 2015-09-06 12:42:06 +0100 |
---|---|---|
committer | Clement Lefebvre <[email protected]> | 2015-09-06 12:42:06 +0100 |
commit | 67aa8ee63cca12aac5fff8ae6548d0e210021bba (patch) | |
tree | ffab3b96e4bea9f54fff1b557edb3ac9d280d2c4 | |
parent | 7f8c9d4cfde0348448901f0bfcd4b1da9542c5a8 (diff) | |
download | mate-system-monitor-67aa8ee63cca12aac5fff8ae6548d0e210021bba.tar.bz2 mate-system-monitor-67aa8ee63cca12aac5fff8ae6548d0e210021bba.tar.xz |
Interface: Give the notebook 12px border width so it doesn't stick to the sides of the main window.
-rw-r--r-- | src/interface.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/interface.cpp b/src/interface.cpp index c2cf5c9..ae43278 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -767,11 +767,8 @@ create_main_window (ProcData *procdata) /* create the main notebook */ procdata->notebook = notebook = gtk_notebook_new (); - gtk_box_pack_start (GTK_BOX (main_box), - notebook, - TRUE, - TRUE, - 0); + gtk_box_pack_start (GTK_BOX (main_box), notebook, TRUE, TRUE, 0); + gtk_container_set_border_width (GTK_CONTAINER (notebook), 12); sysinfo_box = gtk_hbox_new(TRUE, 0); // procman_create_sysinfo_view(); sysinfo_label = gtk_label_new(_("System")); @@ -815,11 +812,10 @@ create_main_window (ProcData *procdata) /* create the statusbar */ procdata->statusbar = gtk_statusbar_new(); - gtk_box_pack_end(GTK_BOX(main_box), procdata->statusbar, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(main_box), procdata->statusbar, FALSE, FALSE, 0); procdata->tip_message_cid = gtk_statusbar_get_context_id (GTK_STATUSBAR (procdata->statusbar), "tip_message"); - action = gtk_action_group_get_action (procdata->action_group, "ShowDependencies"); gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), procdata->config.show_tree); |