summaryrefslogtreecommitdiff
path: root/capplets/default-applications/mate-da-capplet.h
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-06 08:07:40 -0300
committerPerberos <[email protected]>2011-12-06 08:07:40 -0300
commit06d81df2871a25a93cdf7cffaf87f5cd4f15fe84 (patch)
tree179ab36bc08a88e6f2c07b0847a378a34d9b2f13 /capplets/default-applications/mate-da-capplet.h
parentd4d97389b3a30d43edadcd059ffcf584a4f4d914 (diff)
downloadmate-control-center-06d81df2871a25a93cdf7cffaf87f5cd4f15fe84.tar.bz2
mate-control-center-06d81df2871a25a93cdf7cffaf87f5cd4f15fe84.tar.xz
adding support for select text editor and file manager
Diffstat (limited to 'capplets/default-applications/mate-da-capplet.h')
-rw-r--r--capplets/default-applications/mate-da-capplet.h40
1 files changed, 27 insertions, 13 deletions
diff --git a/capplets/default-applications/mate-da-capplet.h b/capplets/default-applications/mate-da-capplet.h
index e149e39b..3b9d328f 100644
--- a/capplets/default-applications/mate-da-capplet.h
+++ b/capplets/default-applications/mate-da-capplet.h
@@ -66,6 +66,14 @@
#define DEFAULT_APPS_KEY_IMAGE_EXEC DEFAULT_APPS_KEY_IMAGE_PATH"/exec"
#define DEFAULT_APPS_KEY_IMAGE_NEEDS_TERM DEFAULT_APPS_KEY_IMAGE_PATH"/needs_term"
+#define DEFAULT_APPS_KEY_TEXT_PATH "/desktop/mate/applications/text"
+#define DEFAULT_APPS_KEY_TEXT_EXEC DEFAULT_APPS_KEY_TEXT_PATH"/exec"
+#define DEFAULT_APPS_KEY_TEXT_NEEDS_TERM DEFAULT_APPS_KEY_TEXT_PATH"/needs_term"
+
+#define DEFAULT_APPS_KEY_FILE_PATH "/desktop/mate/applications/file"
+#define DEFAULT_APPS_KEY_FILE_EXEC DEFAULT_APPS_KEY_FILE_PATH"/exec"
+#define DEFAULT_APPS_KEY_FILE_NEEDS_TERM DEFAULT_APPS_KEY_FILE_PATH"/needs_term"
+
#define DEFAULT_APPS_KEY_VISUAL_PATH "/desktop/mate/applications/at/visual"
#define DEFAULT_APPS_KEY_VISUAL_EXEC DEFAULT_APPS_KEY_VISUAL_PATH"/exec"
#define DEFAULT_APPS_KEY_VISUAL_STARTUP DEFAULT_APPS_KEY_VISUAL_PATH"/startup"
@@ -74,9 +82,7 @@
#define DEFAULT_APPS_KEY_MOBILITY_EXEC DEFAULT_APPS_KEY_MOBILITY_PATH"/exec"
#define DEFAULT_APPS_KEY_MOBILITY_STARTUP DEFAULT_APPS_KEY_MOBILITY_PATH"/startup"
-typedef struct _MateDACapplet MateDACapplet;
-
-struct _MateDACapplet {
+typedef struct _MateDACapplet {
GtkBuilder* builder;
GtkIconTheme* icon_theme;
@@ -94,7 +100,8 @@ struct _MateDACapplet {
GtkWidget* text_combo_box;
GtkWidget* image_combo_box;
-
+ /* navegador web
+ * por el momento default,new_win,new_tab no se utilizan */
GtkWidget* web_browser_command_entry;
GtkWidget* web_browser_command_label;
GtkWidget* web_browser_terminal_checkbutton;
@@ -106,37 +113,44 @@ struct _MateDACapplet {
GtkWidget* file_manager_command_entry;
GtkWidget* file_manager_command_label;
GtkWidget* file_manager_terminal_checkbutton;
- GtkWidget* file_manager_default_radiobutton;
- GtkWidget* file_manager_new_win_radiobutton;
- GtkWidget* file_manager_new_tab_radiobutton;
+ /* editor de texto */
+ GtkWidget* text_editor_command_entry;
+ GtkWidget* text_editor_command_label;
+ GtkWidget* text_editor_terminal_checkbutton;
+ /* cliente de correo */
GtkWidget* mail_reader_command_entry;
GtkWidget* mail_reader_command_label;
GtkWidget* mail_reader_terminal_checkbutton;
+ /* terminal */
GtkWidget* terminal_command_entry;
GtkWidget* terminal_command_label;
GtkWidget* terminal_exec_flag_entry;
GtkWidget* terminal_exec_flag_label;
+ /* visor de imagenes */
+ GtkWidget* image_viewer_command_entry;
+ GtkWidget* image_viewer_command_label;
+ GtkWidget* image_viewer_terminal_checkbutton;
+
+ /* reproductor de musica */
GtkWidget* media_player_command_entry;
GtkWidget* media_player_command_label;
GtkWidget* media_player_terminal_checkbutton;
+ /* accesibilidad visual */
GtkWidget* visual_command_entry;
GtkWidget* visual_command_label;
GtkWidget* visual_startup_checkbutton;
+ /* accesibilidad motriz */
GtkWidget* mobility_command_entry;
GtkWidget* mobility_command_label;
GtkWidget* mobility_startup_checkbutton;
- GtkWidget* image_viewer_command_entry;
- GtkWidget* image_viewer_command_label;
- GtkWidget* image_viewer_terminal_checkbutton;
-
MateConfClient* mateconf;
GList* web_browsers;
@@ -145,9 +159,9 @@ struct _MateDACapplet {
GList* media_players;
GList* visual_ats;
GList* mobility_ats;
- /* Para el File Manager */
GList* file_managers;
+ GList* text_editors;
GList* image_viewers;
-};
+} MateDACapplet;
#endif