-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from andr3slelouch/development
Gnome 40 compability
- Loading branch information
Showing
7 changed files
with
266 additions
and
30 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "Optimus Manager Indicator", | ||
"description": "Intel/Hybrid/NVIDIA GPU Switch Note: The GPU mode activated doesn't show up in the options, by example: When you turn on the PC you are gonna be in Intel mode so Intel option is not gonna be shown. Note: Optimus Manager Indicator is made(for the moment) for Arch based distributions with optimus-manager.", | ||
"uuid": "[email protected]", | ||
"shell-version": ["3.36", "3.38"], | ||
"version": 4, | ||
"shell-version": ["3.36", "3.38", "40.0"], | ||
"version": 5, | ||
"url": "https://github.com/andr3slelouch/Optimus-Manager-Indicator" | ||
} |
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,69 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Generated with glade 3.38.2 --> | ||
<interface> | ||
<requires lib="gtk+" version="3.24"/> | ||
<!-- n-columns=2 n-rows=3 --> | ||
<object class="GtkGrid"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<child> | ||
<object class="GtkLabel" id="show_temp_lbl"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="label" translatable="yes">Always show GPU Temperature</property> | ||
</object> | ||
<packing> | ||
<property name="left-attach">0</property> | ||
<property name="top-attach">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkSwitch" id="change_temp_swc"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
</object> | ||
<packing> | ||
<property name="left-attach">1</property> | ||
<property name="top-attach">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel" id="restart_gnome_shell_lbl"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="label" translatable="yes">Restart Gnome Shell (alt + F2, type r and hit ENTER) to see the changes</property> | ||
</object> | ||
<packing> | ||
<property name="left-attach">0</property> | ||
<property name="top-attach">1</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkButton" id="save_prefs_btn"> | ||
<property name="label" translatable="yes">Save</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
<property name="receives-default">True</property> | ||
</object> | ||
<packing> | ||
<property name="left-attach">0</property> | ||
<property name="top-attach">2</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkButton" id="cancel_btn"> | ||
<property name="label" translatable="yes">Cancel</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
<property name="receives-default">True</property> | ||
</object> | ||
<packing> | ||
<property name="left-attach">1</property> | ||
<property name="top-attach">2</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<placeholder/> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<interface> | ||
<requires lib="gtk" version="4.0"/> | ||
<template class="PrefsWidget" parent="GtkGrid"> | ||
<property name="can-focus">0</property> | ||
<child> | ||
<object class="GtkLabel" id="show_temp_lbl"> | ||
<property name="can-focus">0</property> | ||
<property name="label" translatable="yes">Always show GPU Temperature</property> | ||
<layout> | ||
<property name="column">0</property> | ||
<property name="row">0</property> | ||
</layout> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkSwitch" id="change_temp_swc"> | ||
<layout> | ||
<property name="column">1</property> | ||
<property name="row">0</property> | ||
</layout> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkLabel" id="restart_gnome_shell_lbl"> | ||
<property name="can-focus">0</property> | ||
<property name="label" translatable="yes">Restart Gnome Shell (alt + F2, type r and hit ENTER) to see the changes</property> | ||
<layout> | ||
<property name="column">0</property> | ||
<property name="row">1</property> | ||
</layout> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkButton" id="save_prefs_btn"> | ||
<property name="label" translatable="yes">Save</property> | ||
<property name="receives-default">1</property> | ||
<layout> | ||
<property name="column">0</property> | ||
<property name="row">2</property> | ||
</layout> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkButton" id="cancel_btn"> | ||
<property name="label" translatable="yes">Cancel</property> | ||
<property name="receives-default">1</property> | ||
<layout> | ||
<property name="column">1</property> | ||
<property name="row">2</property> | ||
</layout> | ||
</object> | ||
</child> | ||
<child> | ||
<placeholder/> | ||
</child> | ||
</template> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<interface> | ||
<requires lib="gtk" version="4.0"/> | ||
<object class="GtkGrid"> | ||
<property name="can-focus">0</property> | ||
<child> | ||
<object class="GtkLabel" id="show_temp_lbl"> | ||
<property name="can-focus">0</property> | ||
<property name="label" translatable="yes">Always show GPU Temperature</property> | ||
<layout> | ||
<property name="column">0</property> | ||
<property name="row">0</property> | ||
</layout> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkSwitch" id="change_temp_swc"> | ||
<layout> | ||
<property name="column">1</property> | ||
<property name="row">0</property> | ||
</layout> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkLabel" id="restart_gnome_shell_lbl"> | ||
<property name="can-focus">0</property> | ||
<property name="label" translatable="yes">Restart Gnome Shell (alt + F2, type r and hit ENTER) to see the changes</property> | ||
<layout> | ||
<property name="column">0</property> | ||
<property name="row">1</property> | ||
</layout> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkButton" id="save_prefs_btn"> | ||
<property name="label" translatable="yes">Save</property> | ||
<property name="receives-default">1</property> | ||
<layout> | ||
<property name="column">0</property> | ||
<property name="row">2</property> | ||
</layout> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkButton" id="cancel_btn"> | ||
<property name="label" translatable="yes">Cancel</property> | ||
<property name="receives-default">1</property> | ||
<layout> | ||
<property name="column">1</property> | ||
<property name="row">2</property> | ||
</layout> | ||
</object> | ||
</child> | ||
<child> | ||
<placeholder/> | ||
</child> | ||
</object> | ||
</interface> |
Oops, something went wrong.