Go to the source code of this file.
Defines | |
| #define | _(x) dgettext (GETTEXT_PACKAGE, x) |
| #define | N_(x) x |
Enumerations | |
| enum | { COLUMN_TITLE, COLUMN_CLASS, COLUMN_LAST } |
Functions | |
| static Window | window_from_string (const char *str) |
| static void | on_realize (GtkWidget *dialog, void *data) |
| static int | kill_window_question (const char *window_name, const char *parent_str, guint32 timestamp) |
| static char * | latin1_to_utf8 (const char *text) |
| static GtkWidget * | create_lame_apps_list (char **lame_apps) |
| static int | warn_about_no_sm_support (char **lame_apps, guint32 timestamp) |
| static int | error_about_command (const char *gconf_key, const char *command, const char *error, guint32 timestamp) |
| int | main (int argc, char **argv) |
Variables | |
| static gchar * | screen = NULL |
| static gchar * | timestamp_string = NULL |
| static gboolean | isset_kill_window_question = FALSE |
| static gboolean | isset_warn_about_no_sm_support = FALSE |
| static gboolean | isset_command_failed_error = FALSE |
| static gchar ** | remaining_args |
| static const GOptionEntry | options [] |
| #define _ | ( | x | ) | dgettext (GETTEXT_PACKAGE, x) |
Definition at line 32 of file metacity-dialog.c.
| #define N_ | ( | x | ) | x |
Definition at line 33 of file metacity-dialog.c.
| anonymous enum |
| static GtkWidget* create_lame_apps_list | ( | char ** | lame_apps | ) | [static] |
Definition at line 156 of file metacity-dialog.c.
References _, COLUMN_CLASS, COLUMN_LAST, COLUMN_TITLE, latin1_to_utf8(), and NULL.
Referenced by warn_about_no_sm_support().
| static int error_about_command | ( | const char * | gconf_key, | |
| const char * | command, | |||
| const char * | error, | |||
| guint32 | timestamp | |||
| ) | [static] |
| static int kill_window_question | ( | const char * | window_name, | |
| const char * | parent_str, | |||
| guint32 | timestamp | |||
| ) | [static] |
Definition at line 82 of file metacity-dialog.c.
References _, label, NULL, on_realize(), and TRUE.
Referenced by main().
| static char* latin1_to_utf8 | ( | const char * | text | ) | [static] |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 352 of file metacity-dialog.c.
References error_about_command(), isset_command_failed_error, isset_kill_window_question, isset_warn_about_no_sm_support, kill_window_question(), NULL, options, remaining_args, timestamp_string, and warn_about_no_sm_support().
| static void on_realize | ( | GtkWidget * | dialog, | |
| void * | data | |||
| ) | [static] |
Definition at line 66 of file metacity-dialog.c.
References window_from_string().
Referenced by kill_window_question().
| static int warn_about_no_sm_support | ( | char ** | lame_apps, | |
| guint32 | timestamp | |||
| ) | [static] |
Definition at line 232 of file metacity-dialog.c.
References _, create_lame_apps_list(), NULL, and TRUE.
Referenced by main().
| static Window window_from_string | ( | const char * | str | ) | [static] |
gboolean isset_command_failed_error = FALSE [static] |
gboolean isset_kill_window_question = FALSE [static] |
gboolean isset_warn_about_no_sm_support = FALSE [static] |
const GOptionEntry options[] [static] |
Initial value:
{
{ "screen", 0, 0, G_OPTION_ARG_STRING, &screen, NULL, NULL},
{ "timestamp", 0, 0, G_OPTION_ARG_STRING, ×tamp_string, NULL, NULL},
{ "kill-window-question", 'k', 0, G_OPTION_ARG_NONE,
&isset_kill_window_question, NULL, NULL},
{ "warn-about-no-sm-support", 'w', 0, G_OPTION_ARG_NONE,
&isset_warn_about_no_sm_support, NULL, NULL},
{ "command-failed-error", 'c', 0, G_OPTION_ARG_NONE,
&isset_command_failed_error, NULL, NULL},
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY,
&remaining_args, NULL, NULL},
{ NULL}
}
Definition at line 337 of file metacity-dialog.c.
Referenced by main(), and meta_parse_options().
gchar** remaining_args [static] |
gchar* screen = NULL [static] |
Definition at line 330 of file metacity-dialog.c.
Referenced by bell_flash_fullscreen(), border_size(), destroy_win(), disable_compositor(), enable_compositor(), get_window_format(), get_window_picture(), main(), meta_core_begin_grab_op(), meta_core_get_active_workspace(), meta_core_get_num_workspaces(), meta_core_get_workspace_name_with_index(), meta_display_process_key_event(), meta_frames_apply_shapes(), meta_frames_new(), meta_ui_create_frame_window(), meta_ui_get_pixbuf_from_pixmap(), meta_ui_tab_popup_new(), meta_window_menu_new(), meta_window_set_stack_position_no_sync(), meta_workspace_free(), meta_workspace_get_work_area_for_xinerama(), process_circulate_notify(), process_configure_notify(), process_create(), process_expose(), process_property_notify(), process_reparent(), regrab_screen_bindings(), repair_win(), resize_win(), restack_win(), win_extents(), xrender_add_window(), and xrender_get_window_pixmap().
gchar* timestamp_string = NULL [static] |
1.5.5