| 271 | | { "RotateRight", GTK_STOCK_REDO, _("Rotate _Right"), NULL, NULL, NULL}, |
| 272 | | { "RotateLeft", GTK_STOCK_UNDO, _("Rotate Left"), NULL, NULL, NULL}, |
| | 273 | { "RotateRight", GTK_STOCK_REDO, _("Rotate _Right"), NULL, NULL, G_CALLBACK (main_window_rotate_right)}, |
| | 274 | { "RotateLeft", GTK_STOCK_UNDO, _("Rotate Left"), NULL, NULL, G_CALLBACK (main_window_rotate_left)}, |
| 353 | | main_window_go_to_first_page_cb (GtkWidget *, gpointer) |
| 354 | | { |
| 355 | | } |
| 356 | | |
| 357 | | void |
| 358 | | main_window_go_to_last_page_cb (GtkWidget *, gpointer) |
| 359 | | { |
| 360 | | } |
| 361 | | |
| 362 | | void |
| 363 | | main_window_go_to_next_page_cb (GtkWidget *, gpointer) |
| 364 | | { |
| 365 | | } |
| 366 | | |
| 367 | | void |
| 368 | | main_window_go_to_previous_page_cb (GtkWidget *, gpointer) |
| 369 | | { |
| | 355 | main_window_go_to_first_page_cb (GtkWidget *widget, gpointer data) |
| | 356 | { |
| | 357 | g_assert ( NULL != data && "The data parameter is NULL."); |
| | 358 | |
| | 359 | MainPter *pter = (MainPter *)data; |
| | 360 | pter->goToFirstPageActivated (); |
| | 361 | } |
| | 362 | |
| | 363 | void |
| | 364 | main_window_go_to_last_page_cb (GtkWidget *widget, gpointer data) |
| | 365 | { |
| | 366 | g_assert ( NULL != data && "The data parameter is NULL."); |
| | 367 | |
| | 368 | MainPter *pter = (MainPter *)data; |
| | 369 | pter->goToLastPageActivated (); |
| | 370 | } |
| | 371 | |
| | 372 | void |
| | 373 | main_window_go_to_next_page_cb (GtkWidget *widget, gpointer data) |
| | 374 | { |
| | 375 | g_assert ( NULL != data && "The data parameter is NULL."); |
| | 376 | |
| | 377 | MainPter *pter = (MainPter *)data; |
| | 378 | pter->goToNextPageActivated (); |
| | 379 | } |
| | 380 | |
| | 381 | void |
| | 382 | main_window_go_to_previous_page_cb (GtkWidget *widget, gpointer data) |
| | 383 | { |
| | 384 | g_assert ( NULL != data && "The data parameter is NULL."); |
| | 385 | |
| | 386 | MainPter *pter = (MainPter *)data; |
| | 387 | pter->goToPreviousPageActivated (); |
| | 388 | } |
| | 389 | |
| | 390 | void |
| | 391 | main_window_rotate_left (GtkWidget *widget, gpointer data) |
| | 392 | { |
| | 393 | g_assert ( NULL != data && "The data parameter is NULL."); |
| | 394 | |
| | 395 | MainPter *pter = (MainPter *)data; |
| | 396 | pter->rotateLeftActivated (); |
| | 397 | } |
| | 398 | |
| | 399 | void |
| | 400 | main_window_rotate_right (GtkWidget *widget, gpointer data) |
| | 401 | { |
| | 402 | g_assert ( NULL != data && "The data parameter is NULL."); |
| | 403 | |
| | 404 | MainPter *pter = (MainPter *)data; |
| | 405 | pter->rotateRightActivated (); |