Move context_menu into right header
This commit is contained in:
parent
63163fb498
commit
08019dc268
@ -30,8 +30,6 @@
|
|||||||
|
|
||||||
GMainLoop *mainloop = NULL;
|
GMainLoop *mainloop = NULL;
|
||||||
|
|
||||||
GSList *rules = NULL;
|
|
||||||
|
|
||||||
/* misc functions */
|
/* misc functions */
|
||||||
static gboolean run(void *data);
|
static gboolean run(void *data);
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
#define ColFG 1
|
#define ColFG 1
|
||||||
#define ColBG 0
|
#define ColBG 0
|
||||||
|
|
||||||
extern GSList *rules;
|
|
||||||
extern const char *colors[3][3];
|
extern const char *colors[3][3];
|
||||||
|
|
||||||
void wake_up(void);
|
void wake_up(void);
|
||||||
@ -23,7 +22,6 @@ int dunst_main(int argc, char *argv[]);
|
|||||||
|
|
||||||
void usage(int exit_status);
|
void usage(int exit_status);
|
||||||
void print_version(void);
|
void print_version(void);
|
||||||
void context_menu(void);
|
|
||||||
void pause_signal_handler(int sig);
|
void pause_signal_handler(int sig);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -270,10 +270,7 @@ char *invoke_dmenu(const char *dmenu_input)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/* see menu.h */
|
||||||
* Open the context menu that let's the user
|
|
||||||
* select urls/actions/etc
|
|
||||||
*/
|
|
||||||
void context_menu(void)
|
void context_menu(void)
|
||||||
{
|
{
|
||||||
GError *err = NULL;
|
GError *err = NULL;
|
||||||
|
@ -7,5 +7,10 @@ void open_browser(const char *in);
|
|||||||
void invoke_action(const char *action);
|
void invoke_action(const char *action);
|
||||||
void regex_teardown(void);
|
void regex_teardown(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Open the context menu that lets the user select urls/actions/etc.
|
||||||
|
*/
|
||||||
|
void context_menu(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/* vim: set tabstop=8 shiftwidth=8 expandtab textwidth=0: */
|
/* vim: set tabstop=8 shiftwidth=8 expandtab textwidth=0: */
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
#include "dunst.h"
|
#include "dunst.h"
|
||||||
|
|
||||||
|
GSList *rules = NULL;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Apply rule to notification.
|
* Apply rule to notification.
|
||||||
*/
|
*/
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "src/dunst.h"
|
#include "src/dunst.h"
|
||||||
#include "src/log.h"
|
#include "src/log.h"
|
||||||
#include "src/markup.h"
|
#include "src/markup.h"
|
||||||
|
#include "src/menu.h"
|
||||||
#include "src/notification.h"
|
#include "src/notification.h"
|
||||||
#include "src/queues.h"
|
#include "src/queues.h"
|
||||||
#include "src/settings.h"
|
#include "src/settings.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user