diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-22 12:14:36 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-22 12:33:22 +0100 |
commit | 39321c5ffa9b4196308575be6dd19f2b2924214f (patch) | |
tree | 55b71d0e0cac5d34a86fbe2785679f5097d20ef3 /libreofficekit | |
parent | 929a8f04af36b10825c80b5fffbf11c4e6f3dc01 (diff) |
LOK: remove unused LOK_PARTMODE_EMBEDDEDOBJ
Change-Id: I8cbb5b7a134fb84bd2c363b06f06f7f40964521f
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx index d4d010feede2..ae6cfa666096 100644 --- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx @@ -293,11 +293,8 @@ static void changePart( GtkWidget* pSelector, gpointer /* pItem */ ) static void populatePartModeSelector( GtkComboBoxText* pSelector ) { - gtk_combo_box_text_append_text( pSelector, "Default" ); - gtk_combo_box_text_append_text( pSelector, "Slide" ); + gtk_combo_box_text_append_text( pSelector, "Standard" ); gtk_combo_box_text_append_text( pSelector, "Notes" ); - gtk_combo_box_text_append_text( pSelector, "Combined (SlideNotes)" ); - gtk_combo_box_text_append_text( pSelector, "Embedded Objects" ); gtk_combo_box_set_active( GTK_COMBO_BOX(pSelector), 0 ); } @@ -312,10 +309,6 @@ static void changePartMode( GtkWidget* pSelector, gpointer /* pItem */ ) { lok_docview_set_partmode( LOK_DOCVIEW(pDocView), ePartMode ); } - - // The number of items could change e.g. if we change from slide - // to embeddede obj mode -- hence we should update the part list. - populatePartSelector(); } #endif |