Commit Graph

21 Commits

Author SHA1 Message Date
rim
be159c9a69 Improve settings saving (bug #15213) 2019-05-21 19:51:53 +02:00
Simon Steinbeiss
a18b8bd3c3 Move legend from tooltip to hide-able statusbar (Bug #14131) 2019-04-24 22:22:13 +02:00
rim
1c09b7329b Use the proper types, add casts where necessary (bug 14401) 2018-05-30 21:46:29 +02:00
rim
66a0d4bfc9 Mark unused params, remove unused macro and args (bug 14401) 2018-05-30 21:29:28 +02:00
Harald Judt
a91e05fb73 Save and restore the handle position across restarts 2014-12-19 16:10:49 +01:00
Landry Breuil
32443defff Merge branch 'peter/tree-model' 2014-12-04 20:57:16 +01:00
Landry Breuil
589ea153cf Add a show-memory-in-xbytes checkbox and its corresponding property 2014-12-04 20:37:31 +01:00
Peter de Ridder
dbd10ae655 Added the process tree to the settings. 2014-12-03 23:21:18 +01:00
Landry Breuil
aed546d1c1 Default "Show/hide the status icon" to FALSE
This way, the close button closes the taskmanager by default instead of hiding it
in the systray, which seems to confuse/annoy most users.
2014-12-01 10:20:32 +01:00
Mike Massonnet
36ccc36bb7 Implement option "Show application icons" 2010-10-04 19:54:44 +02:00
Mike Massonnet
95c3ef3246 Implement option "Toolbar style" 2010-09-29 16:40:30 +02:00
Mike Massonnet
39e08fb60e Implement option "Prompt for terminating tasks" 2010-09-27 14:57:22 +00:00
Mike Massonnet
f546aa846b Initial settings dialog shown on settings-tool-button click
Not yet finished, it includes control for some check buttons currently.
2010-08-08 14:12:49 +02:00
Mike Massonnet
06921c3ac1 Plug a dynamic leak
A leak occured in the timer code, and thus the memory was growing over
time. Cf. src/task-manager.c(model_update_tree_iter), the old_state
variable was not free'd.

Plugged other static leaks at the same time.
2010-06-02 01:02:40 +02:00
Mike Massonnet
58b85e2a73 Get the tree view columns reorderable
The tree view columns can be reordered, the state will be saved in the
configuration and reloaded at next start.
2010-05-27 23:57:08 +02:00
Mike Massonnet
9c021a087c Tweak default settings
Set default refresh rate to 750ms (makes updating snappier), don't show
with full command lines and turn more precision off.
2010-05-25 12:13:43 +02:00
Mike Massonnet
c0eb574089 Make status icon optional with the new setting “Show status icon” 2010-05-24 01:49:13 +02:00
Mike Massonnet
91d509ccdb New options “Refresh rate,” “More precision” and “Full command line"
New options are in the GUI although they don't do anything yet.
2010-05-22 22:21:51 +02:00
Mike Massonnet
d212ce6b43 Fix compiler warnings from --enable-debug=yes
Fixed old-style function definitions, dropped unused variables, renamed
signal to xtm_signal (it shadowed a previous global declaration from
signal.h,) dropped the G_UN/LIKELY calls, missing includes and casted
here and there.

The task-manager-*.c files /would/ have to be individually fixed.
2010-05-21 15:14:32 +02:00
Mike Massonnet
99a4a68097 Renamed Show "system" processes to "all" and added a GtkTreeModelFilter
<sigh>
  I started to rename "Show sytem processes" to "Show all processes"
  and included a GtkTreeModelFilter in between the GtkListStore and
  GtkTreeView but nooooo... I had to write private code to sort the
  columns. In fact the GtkTreeViewColumn class assumes the model to
  be sortable but GtkTreeModelFilter is not, although it provides an
  accessor function to the underlying model which is.

  And not to mention that understanding GtkTreeViewColumn is a task
  on its own! Having the code under the hand is the only exit.
</sigh>
2010-05-10 11:29:34 +02:00
Mike Massonnet
cc6dbd8373 Initial commit of new interface
Changes touching the build:
- Bumped version to 0.5.0.
- Removed dependency on Xfce libs (it only depends on GTK+-2.0.)
- Updated Makefile with new source files.
- Build ChangeLog through a script (remove it from source tree.)

More generally speaking, the interface is build on top of a GtkBuilder
UI definition, with a personal GtkTreeView and a Settings GObject to
update the information shown on the interface on changes. All the code
is being written with GObjects which will make it a lot easier to
separate GUI code and system code.
2010-05-01 15:34:25 +02:00