Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the AppIndicator gobject library is installed a tray icon will be shown. Currently allows switching between a peformance or balanced profile.
- Loading branch information
Showing
8 changed files
with
128 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gresources> | ||
<gresource prefix="/org/rnd2/cpupower_gui"> | ||
<file>window.glade</file> | ||
<file>window.ui</file> | ||
<file>tray.ui</file> | ||
</gresource> | ||
</gresources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Generated with glade 3.22.1 --> | ||
<interface> | ||
<requires lib="gtk+" version="3.20"/> | ||
<object class="GtkMenu" id="tray_menu"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="menu_type_hint">menu</property> | ||
<child> | ||
<object class="GtkMenuItem" id="sw_perf"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="label" translatable="yes">Swith to performance profile</property> | ||
<property name="use_underline">True</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkMenuItem" id="sw_balance"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="label" translatable="yes">Switch to balanced profile</property> | ||
<property name="use_underline">True</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkSeparatorMenuItem" id="sep"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkMenuItem" id="quit"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">False</property> | ||
<property name="label" translatable="yes">Quit</property> | ||
<property name="use_underline">True</property> | ||
</object> | ||
</child> | ||
</object> | ||
</interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters