aboutsummaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
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.
2017-07-24Reset sort order on set_view_type() (#111)bp0
* Reset sort order on set_view_type() Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-22Reset GtkTreeSortable when changing view typesLeandro Pereira
This should fix #16.
2017-07-12Changes related to gettext and shell interface quirksBurt P
* Fixes for "..." special fields. * Computer->Summary and Computer->OS are more translatable, and and if the label is translated, the special code for updating the ... will still work. * Devices->Memory labels are currently not translated, some limitations exist. The labels were being double-translated on update. The earlier fix for Summary->RAM breaks if they are translated. * A bunch of trailing whitespace in the edited files was removed by the editor, and that created some noise in the diff. A rather frustrating experience. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-03Do not select first item if reloading moduleLeandro Pereira
2017-07-02Select first item automatically when opening a dual paneLeandro Pereira
I've seen a lot of people using HardInfo and never clicking in the top pane to get more information about a hardware item. By selecting the first item automatically, this gives a clue that more information can be obtained without being obnoxious with popups and other annoyances.
2017-04-09Update report.cTotalCaesar659
2017-04-09Update callbacks.cTotalCaesar659
2016-12-31Make auto-updatable fields translatableLeandro Pereira
2016-12-30Fix compile time errors in syncmanager.cLeandro Pereira
2016-12-30Use g_utf8_strchr() instead of strchr() in shell parametersLeandro Pereira
This should help with translations.
2016-11-25Fix use after free while generating reportsLeandro Pereira
Found with AddressSanitizer.
2016-08-01Simplify relative percentage calculationLeandro Pereira
Use a simple linear interpolation.
2016-07-31Fix percentage display in benchmarksLeandro Pereira
2016-07-31Fix sorting of benchmark resultsLeandro Pereira
2016-07-30Fix buffer overflow in loadgraph while shifting dataLeandro Pereira
2016-07-30Close stream if ReportContext couldn't be createdLeandro Pereira
2016-07-30Bump version to 0.6 alphaLeandro Pereira
2016-07-30Update XML-RPC endpointLeandro Pereira
Still not working; I've lost the original source code and database, but at least I control the hardinfo.org domain so I can make this work again someday.
2016-07-30Remove remote featureLeandro Pereira
This has no encryption, SSH credentials are stored in plain text, etc.
2016-07-30Remove help viewerLeandro Pereira
It's very unlikely I'll every write documentation for HardInfo anyway.
2015-10-25ARM fixes.jamesbond
2015-10-25stability fixes & add fatdog64 recognitionjamesbond
2014-11-03Fix compilation with GTK+ older than 2.18Leandro Pereira
Based on patch by @mckaygerhard. Fixes #2.
2014-01-03Add initial translation support (patch from rodin.s)Julien Lavergne
2012-01-27Update Copyright year in about dialogLeandro Pereira
2012-01-27Cleanups in report.cLeandro Pereira
2012-01-27Force shell vpaned to a sane size when changing view typesLeandro Pereira
2011-12-30Do not create another server loop if one has been already created previouslyLeandro Pereira
2011-12-04Remove all usages of if (ptr) free(ptr) since free() already performs ↵Leandro Pereira
null-checks.
2011-11-24Make sure note (usually used by the benchmark module) is closed when ↵Leandro Pereira
swapping view mode