Initial commit (Pluma 1.13 - GTK 3.10)

This commit is contained in:
Clement Lefebvre
2016-01-25 10:45:34 +00:00
parent 36bb31d799
commit 3a62ddff64
16 changed files with 852 additions and 35 deletions

View File

@@ -37,9 +37,6 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#ifdef WITH_MATEDESKTOP
#include <libmate-desktop/mate-aboutdialog.h>
#endif
#include "pluma-commands.h"
#include "pluma-debug.h"
@@ -87,13 +84,8 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window)
pluma_debug (DEBUG_COMMANDS);
#ifdef WITH_MATEDESKTOP
mate_show_about_dialog(GTK_WINDOW(window),
#else
gtk_show_about_dialog(GTK_WINDOW(window),
#endif
"program-name", "Pluma",
"authors", authors,
"comments", _(comments),
"copyright", copyright,

View File

@@ -655,8 +655,8 @@ build_tab_label (PlumaPanel *panel,
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
#endif
#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_set_margin_start (label, 0);
gtk_widget_set_margin_end (label, 0);
gtk_widget_set_margin_left (label, 0);
gtk_widget_set_margin_right (label, 0);
gtk_widget_set_margin_top (label, 0);
gtk_widget_set_margin_bottom (label, 0);
#else

View File

@@ -307,8 +307,8 @@ pluma_tab_label_init (PlumaTabLabel *tab_label)
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
#endif
#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_set_margin_start (label, 0);
gtk_widget_set_margin_end (label, 0);
gtk_widget_set_margin_left (label, 0);
gtk_widget_set_margin_right (label, 0);
gtk_widget_set_margin_top (label, 0);
gtk_widget_set_margin_bottom (label, 0);
#else