mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-24 15:56:25 -05:00
Add dialogs.h header.
This commit is contained in:
parent
6c37c0d989
commit
5c618681c4
2 changed files with 16 additions and 9 deletions
14
include/dialogs/dialogs.h
Normal file
14
include/dialogs/dialogs.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#ifndef ROFI_DIALOGS_DIALOGS_H
|
||||
#define ROFI_DIALOGS_DIALOGS_H
|
||||
|
||||
/**
|
||||
* List of available dialogs.
|
||||
*/
|
||||
|
||||
#include "dialogs/run.h"
|
||||
#include "dialogs/ssh.h"
|
||||
#include "dialogs/dmenu.h"
|
||||
#include "dialogs/script.h"
|
||||
#include "dialogs/window.h"
|
||||
#include "dialogs/combi.h"
|
||||
#endif // ROFI_DIALOGS_DIALOGS_H
|
|
@ -49,14 +49,7 @@
|
|||
#include "textbox.h"
|
||||
#include "x11-helper.h"
|
||||
#include "xrmoptions.h"
|
||||
// Switchers.
|
||||
#include "dialogs/run.h"
|
||||
#include "dialogs/ssh.h"
|
||||
#include "dialogs/dmenu.h"
|
||||
#include "dialogs/script.h"
|
||||
#include "dialogs/window.h"
|
||||
#include "dialogs/combi.h"
|
||||
|
||||
#include "dialogs/dialogs.h"
|
||||
|
||||
|
||||
// TEMP
|
||||
|
@ -1604,7 +1597,7 @@ static void help ()
|
|||
int code = execlp ( "man", "man", "-M", MANPAGE_PATH, "rofi", NULL );
|
||||
|
||||
if ( code == -1 ) {
|
||||
fprintf ( stderr, "Failed to execute man: %s\n", strerror ( errno ) );
|
||||
fprintf ( stderr, "Failed to execute manpage viewer: %s\n", strerror ( errno ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue