2
* C Interface: appchooserdlg
7
* Author: Hong Jen Yee (PCMan) <pcman.tw (AT) gmail.com>, (C) 2006
9
* Copyright: See COPYING file that comes with this distribution
13
#ifndef _APP_CHOOSER_DLG_H_
14
#define _APP_CHOOSER_DLG_H_
17
#include "vfs-mime-type.h"
21
/* Let the user choose a application */
22
const gchar* ptk_choose_app_for_mime_type( GtkWindow* parent,
23
VFSMimeType* mime_type );
25
/* Let the user choose a application */
26
GtkWidget* app_chooser_dialog_new( GtkWindow* parent, VFSMimeType* mime_type );
29
* Return selected application in a ``newly allocated'' string.
30
* Returned string is the file name of the *.desktop file or a command line.
31
* These two can be separated by check if the returned string is ended
34
const gchar* app_chooser_dialog_get_selected_app( GtkWidget* dlg );
37
* Check if the user set the selected app default handler.
39
gboolean app_chooser_dialog_get_set_default( GtkWidget* dlg );
43
on_notebook_switch_page (GtkNotebook *notebook,
44
GtkNotebookPage *page,
49
on_browse_btn_clicked (GtkButton *button,