mirror of
https://github.com/artizirk/wdisplays.git
synced 2026-10-03 12:55:42 +03:00
Merge branch 'apply-hotkey'
This commit is contained in:
@@ -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