summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
2019-07-04Rename Shell->{info,moreinfo} to {info,moreinfo}_treeLeandro Pereira
2019-07-04There's no need for the side bar to be resizableLeandro Pereira
2019-06-30Updated contributors listOndrej Čerman
2019-06-29Fix Computer->Memory after b2b1302baLeandro Pereira
2019-06-29Support icons in InfoFieldsLeandro Pereira
2019-06-28Only add icons if keys begin with Icon$ prefix (not Icon)Leandro Pereira
2019-06-28Always reset view type to normalLeandro Pereira
Let $ShellParam$ groups change it again -- this fixes an issue where some modules were displaying with the wrong ViewType.
2019-06-25Show icons in View menu in GTK+3 buildsLeandro Pereira
2019-06-25ShellNote should be colored in GTK+3 buildsLeandro Pereira
2019-06-25Enable custom stock icons in GTK+3 buildLeandro Pereira
2019-06-20Show Refresh/Copy icons again in toolbarLeandro Pereira
2018-12-04Replaces the uber-graph submodule with a local forkBurt P
Includes the hardinfo-required source files directly instead of using a git submodule. The original is unmaintained. Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-03Fix #317: Paned position resets on reload_section()Burt P
Fixes https://github.com/lpereira/hardinfo/issues/317 Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-06Fix missing iconsBurt P
Fixes https://github.com/lpereira/hardinfo/issues/304 After 9eaf1a7a96aabc021594bcc6f5fe2ef60da8fb0c, the whole key part, including the opening and closing '$', is stored in INFO_TREE_COL_DATA so that the key_*() functions can be used against it anywhere. The first '$' no longer needs to be skipped. Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04report: add "shell" report formatBurt P
Just dumps the conf/keyfile-format output. Very useful for development. Try `hardinfo -s -w -r -f shell >shell_dump.txt` Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04add very-verbose parameterBurt P
Dumps any "moreinfo" for all items. Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04shell: the label part should already have been translatedBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04shell/report: allow "moreinfo" details to appear in reportsBurt P
Fixes https://github.com/lpereira/hardinfo/issues/223 The first item to use it will be Devices/Processors/Package Info. Signed-off-by: Burt P <pburt0@gmail.com>
2018-05-27Moving configuration files to user's configuration folderTotalCaesar659
Build the configuration file path using g_get_user_config_dir() instead of g_get_home_dir().
2018-03-12shell: fix hardinfo window iconBurt P
Fix small typo in 1906d3027dc3ad8b9b5533712299d48e265c852c Signed-off-by: Burt P <pburt0@gmail.com>
2018-03-12report: highlight "selected" itemsBurt P
For benchmark results, the current machine will be highlighted in the list by using the shell's select marker. Signed-off-by: Burt P <pburt0@gmail.com>
2018-03-12Do not use hardcoded path for iconLeandro Pereira
Use just the symbolic name "hardinfo", allowing for icon packs to provide alternative icons. Fixes #227
2018-02-22report.c: don't try to use column values that weren't provided (html version)Burt P
Like 96980fbf494d9c453c6b558967c90c55e41abe2d, but the html version of that function. Fixes https://github.com/lpereira/hardinfo/issues/217 Signed-off-by: Burt P <pburt0@gmail.com>
2017-12-09report.c: don't try to use colum values that weren't providedBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-10-09Fixed compilation warning when building on GTK3TotalCaesar659
2017-09-28Fix more compilation warnings when building with GTK+3TotalCaesar659
2017-09-26shell: select Computer Summary at startBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-09-21Ensure report saving dialog buttons are translatableTotalCaesar659
2017-09-21Do not use deprecated GtkDialog method when building for GTK+ 3TotalCaesar659
2017-09-10Remove the appended "Module" from about module dialog titleBurt P
The string is constructed one word at a time, "About", X, "Module" and it ends up being very strange in languages other than English. Cutting out the module makes it a little better, and not much is lost. A module could add "Module" to it's title, and then at least that string can be translated as a complete unit. Signed-off-by: Burt P <pburt0@gmail.com>
2017-09-03Do not use deprecated GtkStockTotalCaesar659
GtkStock has been deprecated in GTK+ 3.0, so use strings that work in both GTK+ 2 and GTK+ 3.
2017-08-21Use translations for about module dialogBurt P
The about modules strings were marked for translation and translated, but the about dialog wasn't using the translation. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Add ability to specify selected row, use it in benchmark resultsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-09Add translator credits to the about dialogLeandro Pereira
Just translate the msgid "translator-credits". If left untranslated, the about dialog will hide the tab.
2017-08-07Reset some file modes to 0644Burt P
Touched files were changed to 0755 in 6f8cedca0671ab68514352c64579546547804475 Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-06GTK3 changes for syncmanager.cBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04Remove unnecessary GTK_CHECK_VERSION()sBurt P
Require 2.10, so checking anything less isn't needed. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04Remove tree_view_save_image()/cb_save_graphic() -related.Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04Change some GTK_CHECK_VERSION()s to earliest version supportedBurt P
Shows some code that could be simplified if GTK+2 requirement was increased. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04gtk_notebook_set_page() -> gtk_notebook_set_current_page()Burt P
Renamed in GTK+2.0, but compatibility macro remained until 3.0. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04loadgraph: back to gtk2 onlyBurt P
gtk3 uses uber-graph. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-04About dialog changesBurt P
* Use a define for copyright latest year, also used by `hardinfo --version` * Don't translate Jakub Szypulka * Add myself to contributors list Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30gtk3: loadgraph/uber-graph: support multiple lines on the graphBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30gtk3: some leftovers from recent commitsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30gtk3: Christian Hergert's uber-graph replacing loadgraphBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30loadgraph: make loadgraph opaque, sample gdoubleBurt P
Old load graph still uses ints internally. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30gtk: TODO:GTK3 noteBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30GTK3 updatesBurt P
* Use gtk_widget_get_window() instead of ->window cmake: * add option to build against gtk3 `-DHARDINFO_GTK3=1` * combine hardinfo-shell static library and hardinfo * disable guibench for gtk3 hardinfo/util.c: * widget_set_cursor() gtk3 changes * For now, the whole function tree_view_save_image() is disabled for gtk3. shell/shell.c: * add gtk_notebook_set_page() compatibility macro if not defined * shell_summary_add_item() fixes * Disable RANGE_GET_VALUE() RANGE_SET_VALUE() macros for GTK3. This is a nigtmare onion to try and peel. shell/callbacks.c: * gtk_about_dialog_set_name() -> gtk_about_dialog_set_program_name() after GTK+2.12. shell/loadgraph.c: * builds, but not yet functioning under gtk3 Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30Started GTK3 supportTotalCaesar659
2017-07-29Make about dialogs transientLeandro Pereira
On compliant window managers, they will be modal dialogs, shown in the middle of the screen. Similar to the report dialog and the sync manager.