mirror of
https://github.com/artizirk/wdisplays.git
synced 2026-10-23 18:24:56 +03:00
Merge branch 'apply-hotkey'
This commit is contained in:
commit
0abc1bf4f0
2 files changed
+4
No files matched your search
@@ -302,6 +302,7 @@
|
||||
<style>
|
||||
<class name="suggested-action"/>
|
||||
</style>
|
||||
<accelerator key="Return" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="pack_type">end</property>
|
||||
|
||||
@@ -301,6 +301,9 @@ static void queue_canvas_draw(struct wd_state *state) {
|
||||
}
|
||||
|
||||
static void show_apply(struct wd_state *state) {
|
||||
if (!gtk_widget_get_sensitive(state->stack)) {
|
||||
return;
|
||||
}
|
||||
const gchar *page = "title";
|
||||
if (has_changes(state)) {
|
||||
if (state->autoapply) {
|
||||
|
||||
Reference in new issue
Block a user