popup menu defined in .glade instead of code
[psensor.git] / src / ui.h
index 636a9f2..64eb05f 100644 (file)
--- a/src/ui.h
+++ b/src/ui.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2012 jeanfi@gmail.com
+ * Copyright (C) 2010-2013 jeanfi@gmail.com
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
@@ -49,6 +49,8 @@ struct ui_psensor {
 
        GtkWidget *menu_bar;
 
+       GtkWidget *popup_menu;
+
        /*
         * The main vertical box, top contains the menubar, bottom
         * contains the sensor_box.
@@ -89,4 +91,8 @@ void ui_show_about_dialog();
 
 void ui_enable_alpha_channel(struct ui_psensor *ui);
 
+void ui_cb_preferences(GtkMenuItem *mi, gpointer data);
+void ui_cb_about(GtkMenuItem *mi, gpointer data);
+void ui_cb_menu_quit(GtkMenuItem *mi, gpointer data);
+void ui_cb_sensor_preferences(GtkMenuItem *mi, gpointer data);
 #endif