Lines 36-42
Link Here
|
36 |
Xfce.textdomain (Config.GETTEXT_PACKAGE, Config.PACKAGE_LOCALE_DIR); |
36 |
Xfce.textdomain (Config.GETTEXT_PACKAGE, Config.PACKAGE_LOCALE_DIR); |
37 |
application = new Xnp.Application (save_location (true)); |
37 |
application = new Xnp.Application (save_location (true)); |
38 |
|
38 |
|
39 |
button = Xfce.panel_create_button (); |
39 |
button = (Gtk.Button) Xfce.panel_create_button (); |
40 |
image = new Xfce.PanelImage.from_source ("xfce4-notes-plugin"); |
40 |
image = new Xfce.PanelImage.from_source ("xfce4-notes-plugin"); |
41 |
button.add (image); |
41 |
button.add (image); |
42 |
button.clicked.connect (() => { application.show_hide_notes (); }); |
42 |
button.clicked.connect (() => { application.show_hide_notes (); }); |