mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
deactivate not in use constructions
This commit is contained in:
parent
8113022cd4
commit
6f7a21705e
@ -30,10 +30,11 @@ impl Close {
|
|||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
|
|
||||||
|
/* @TODO not in use
|
||||||
/// Emit [activate](https://docs.gtk.org/gio/signal.SimpleAction.activate.html) signal
|
/// Emit [activate](https://docs.gtk.org/gio/signal.SimpleAction.activate.html) signal
|
||||||
pub fn activate(&self) {
|
pub fn activate(&self) {
|
||||||
self.gobject.activate(None);
|
self.gobject.activate(None);
|
||||||
}
|
} */
|
||||||
|
|
||||||
/// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html)
|
/// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html)
|
||||||
/// * set `DEFAULT_STATE` on `None`
|
/// * set `DEFAULT_STATE` on `None`
|
||||||
|
@ -30,10 +30,11 @@ impl CloseAll {
|
|||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
|
|
||||||
|
/* @TODO not in use
|
||||||
/// Emit [activate](https://docs.gtk.org/gio/signal.SimpleAction.activate.html) signal
|
/// Emit [activate](https://docs.gtk.org/gio/signal.SimpleAction.activate.html) signal
|
||||||
pub fn activate(&self) {
|
pub fn activate(&self) {
|
||||||
self.gobject.activate(None);
|
self.gobject.activate(None);
|
||||||
}
|
} */
|
||||||
|
|
||||||
/// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html)
|
/// Change action [state](https://docs.gtk.org/gio/method.SimpleAction.set_state.html)
|
||||||
/// * set `DEFAULT_STATE` on `None`
|
/// * set `DEFAULT_STATE` on `None`
|
||||||
|
@ -38,7 +38,6 @@ pub struct Page {
|
|||||||
cancellable: RefCell<Cancellable>,
|
cancellable: RefCell<Cancellable>,
|
||||||
// Actions
|
// Actions
|
||||||
browser_action: Rc<BrowserAction>,
|
browser_action: Rc<BrowserAction>,
|
||||||
window_action: Rc<WindowAction>,
|
|
||||||
tab_action: Rc<TabAction>,
|
tab_action: Rc<TabAction>,
|
||||||
action_page_load: SimpleAction,
|
action_page_load: SimpleAction,
|
||||||
// Components
|
// Components
|
||||||
@ -93,7 +92,6 @@ impl Page {
|
|||||||
id,
|
id,
|
||||||
// Actions
|
// Actions
|
||||||
browser_action,
|
browser_action,
|
||||||
window_action,
|
|
||||||
tab_action,
|
tab_action,
|
||||||
action_page_load: action_page_load.clone(),
|
action_page_load: action_page_load.clone(),
|
||||||
// Components
|
// Components
|
||||||
|
Loading…
x
Reference in New Issue
Block a user