Commit 48c4eb45 authored by Canek Peláez's avatar Canek Peláez
Browse files

Use accelerator for actions instead of key presses.

parent 1dfe4632
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -662,7 +662,6 @@
    <property name="resizable">False</property>
    <property name="window-position">3</property>
    <signal name="destroy" handler="on_window_destroy" swapped="no"/>
    <signal name="key-press-event" handler="on_window_key_press" swapped="no"/>
    <child type="titlebar">
      <object class="GtkHeaderBar" id="header_bar">
        <property name="visible">True</property>
+0 −6
Original line number Diff line number Diff line
@@ -287,12 +287,6 @@ namespace MLM {
            save_button.sensitive = true;
        }

        /* The on window key press callback. */
        [GtkCallback]
        private bool on_window_key_press(Gdk.EventKey e) {
            return false;
        }

        /**
         * Updates the encoding popover.
         * @param percentage the percentage of the encoding.