Many changes to setup colours, update window positions, put notes on desktop, etc.
Signed-off-by: Hans Dijkema <hans@dijkewijk.nl>
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -6,6 +6,7 @@ extern "C" {
|
||||
}
|
||||
|
||||
#include "yellownotes.h"
|
||||
#include "exe_path.h"
|
||||
|
||||
SIGNAL(YellowNotes, on_tray_activate, popupTrayMenu)
|
||||
|
||||
@@ -22,9 +23,12 @@ static void activate (GtkApplication* app, gpointer user_data)
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
GtkLoader l;
|
||||
WhereAmI w;
|
||||
|
||||
srand(time(NULL)); // seed with current time
|
||||
|
||||
std::string my_path = w.containing_folder();
|
||||
|
||||
try {
|
||||
l.loadGtk();
|
||||
} catch(std::string msg) {
|
||||
|
||||
Reference in New Issue
Block a user