Age | Commit message (Collapse) | Author |
|
new flag ^ wasn't skipped
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* fix key_is_highlighted() and key_wants_details() so that they
don't look for flags in the label.
* fix -r -f text, g_hash-related warnings from icon cache
* add MODULE_FLAG_HIDE flag to hide module entries instead of
using the '#' at the beginning of string hack, which didn't
work everywhere, and screwed up translated strings.
* hide GPU Drawing benchmark
See: https://github.com/lpereira/hardinfo/issues/329
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
This avoids the detail view to be populated should the new view type be
empty (e.g. no printers set up in the machine).
|
|
Also fixed a FIXME: use g_key_file_get_string_list().
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
This allows link clicks to be intercepted so that they might
be used by the application internally before falling back
to the system uri handler.
I've also found the default GTK label link handler to be unreliable
outside of GNOME Shell, and this will use xdg-open instead.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
* tag was always included even when it didn't need to be. Now only
include it when tag specified, flagged, or includes an icon.
This messed up the existing update fields system.
* The update fields system has been changed to allow updating by tag
instead of the translated label. By label still works, however.
I think it would be best to switch to using tags in the future.
* info_flatten() calls flatten_shell_param() after flatten_group()
which could cause a field name or tag to be used after it was freed.
Created special free functions to handle this after all is used.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
This change has been made mostly because we need more control in how
things are displayed, and fighting GTK+ so that this is possible isn't
going to cut it.
For instance, it is now possible to display links -- albeit only
external links at the moment, but internal links will be possible,
allowing for instance for one to click in a kernel module dependency to
know more about that particular module. Links will also be useful to
go to the vendor website, and maybe other things (like web search for
Vendor + Product ID) and whatnot.
Eventually this will replace the summary view altogether. That code
has a lot of drawbacks, including not being able to have its contents
copied to the clipboard, appear in reports, or have auto-updating
fields. It stays for now, but it will be gone before 0.6 is released.
I had forgotten how messy this code is. One of the reasons I lost the
interest in this project... I want to hack on a nicer code base but I
also lack the strong motivation to write the shell from the scratch.
|
|
This is still *very* messy, but...
The idea here is to change the ViewType as early as possible, because
a new ViewType that isn't related to the treeviews will be introduced.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Let $ShellParam$ groups change it again -- this fixes an issue where
some modules were displaying with the wrong ViewType.
|
|
|
|
|
|
Fixes
https://github.com/lpereira/hardinfo/issues/317
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
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>
|
|
Fix small typo in 1906d3027dc3ad8b9b5533712299d48e265c852c
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Use just the symbolic name "hardinfo", allowing for icon packs to
provide alternative icons.
Fixes #227
|
|
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Touched files were changed to 0755 in
6f8cedca0671ab68514352c64579546547804475
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Require 2.10, so checking anything less isn't needed.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Shows some code that could be simplified if GTK+2 requirement was
increased.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Renamed in GTK+2.0, but compatibility macro remained until 3.0.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Old load graph still uses ints internally.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
|